query-40823a61316c557bae99984e00d397aa
Map
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?entity ?entityDescription ?sl ?coordinate_location WHERE {
?entity (wdt:P31/(wdt:P279*)) wd:Q16023747;
wdt:P17 wd:Q30.
OPTIONAL { ?entity wikibase:sitelinks ?sl. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?entity wdt:P625 ?coordinate_location. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?coordinate_location"):::projected
v1("?entity"):::projected
v2("?sl"):::projected
a1((" "))
c3(["wd:Q16023747"]):::iri
c8(["bd:serviceParam"]):::iri
c5(["wd:Q30"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P17"--> c5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wikibase:sitelinks".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P625".-> v3
end