query-79a77d248c237756e17f7926cd7a4838
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#defaultView:Map
SELECT DISTINCT ?item ?coord {
?item wdt:P131+ wd:Q16 .
MINUS { ?item wdt:P18 [] } .
OPTIONAL { ?item wdt:P625 ?coord } .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?coord"):::projected
v1("?item"):::projected
a1((" "))
c2(["wd:Q16"]):::iri
v1 --"wdt:P131"--> c2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P18"--> a1
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P625".-> v2
end