query-1ec9a6b8dfa61666a44f8f2dda5e2f59
TODO
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 distinct ?item ?itemLabel ?coord
WHERE
{
?item wdt:P27 wd:Q20 .
?item wdt:P19 ?pob.
?pob wdt:P625 ?coord.
filter not exists {?pob wdt:P17/wdt:P131* wd:Q20.}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?coord"):::projected
v2("?item"):::projected
v1("?pob")
a1((" "))
c8(["bd:serviceParam"]):::iri
c3(["wd:Q20"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P17"--> e0a1
e0a1 --"wdt:P131"--> e0c3
e0v1("?pob"):::projected
e0a1((" ")):::projected
e0c3(["wd:Q20"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
f0 --> c2
f0 --> c3
v1 --"wdt:P17"--> a1
a1 --"wdt:P131"--> c3
v2 --"wdt:P27"--> c3
v2 --"wdt:P19"--> v1
v1 --"wdt:P625"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end