Wikidata:WikiProject Civil Defense/List of shelters

From Wikidata
Jump to navigation Jump to search

Context[edit]

Query[edit]

Wikidata[edit]

The following query uses these:

  • Properties: subclass of (P279)  View with Reasonator View with SQID, country (P17)  View with Reasonator View with SQID, located in the administrative territorial entity (P131)  View with Reasonator View with SQID, coordinate location (P625)  View with Reasonator View with SQID, official website (P856)  View with Reasonator View with SQID, instance of (P31)  View with Reasonator View with SQID
    # shelter (Q7493941) / basic architectural structure or building providing protection from the local environment
    SELECT DISTINCT ?item ?itemLabel ?itemDescription ?countryLabel ?located_in_adm ?coordinate_location ?official_website WHERE {
      VALUES ?instances_of {
        wd:Q7493941
      }
      { ?item (p:P31/ps:P31/(wdt:P279*)) ?instances_of. }
      OPTIONAL { ?item wdt:P17 ?country. }
      OPTIONAL { ?item wdt:P131 ?located_in_adm. }
      OPTIONAL { ?item wdt:P625 ?coordinate_location. }
      OPTIONAL { ?item wdt:P856 ?official_website. }
      SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,de,fr,ru,es,ja,zh,ar". }
    }
    ORDER BY (?countryLabel) (?located_in_adm)
    

OpenStreetMap[edit]

https://overpass-turbo.eu/s/1nBu

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“shelter”
*/
[out:json][timeout:25];
// gather results
(
  // query part for: “shelter”
  node["amenity"="shelter"]({{bbox}});
  way["amenity"="shelter"]({{bbox}});
  relation["amenity"="shelter"]({{bbox}});
);
// print results
out body;
>;
out skel qt;

List[edit]

 Please run the queries