query-236732d2ac97f87834e01c696009e442
Mettre la capitale d'un territoire comme coordonnées ne semble pas l'habitude en Wikidata, mais l'exception:
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#>
SELECT ?estat ?coordinate ?estatLabel
WHERE {
?estat wdt:P31 wd:Q3624078.
?estat wdt:P625 ?coordinate .
SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,en,es".}
}
#defaultView:Map
Query found at
- https://www.wikidata.org/w/index.php?title=Topic:W3fro3tzcn0itcb9&topic_showPostId=w3fzqlz0mdbuw97x#flow-post-w3fzqlz0mdbuw97x
- https://www.wikidata.org/w/index.php?title=Topic:W3fro3tzcn0itcb9&topic_showPostId=w3i7ercqspw6otyu#flow-post-w3i7ercqspw6otyu
- https://www.wikidata.org/wiki/Topic:W3fro3tzcn0itcb9
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?coordinate"):::projected
v1("?estat"):::projected
c2(["wd:Q3624078"]):::iri
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,ca,en,es"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P625"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end