query-084ff4d0ce6f36ecde19c75267dbedf6
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#>
# lakes in Italy without P131
SELECT ?item ?itemLabel ?coord
WHERE {
?item wdt:P17 wd:Q38.
?item wdt:P625 ?coord .
?item wdt:P31/wdt:P279* wd:Q23397.
MINUS {?item wdt:P131 []}
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,ca,en,es,an,eu,pl,sv,ceb" .
}
}
#defaultView:Map
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?coord"):::projected
v1("?item"):::projected
a2((" "))
a1((" "))
c6(["wd:Q23397"]):::iri
c2(["wd:Q38"]):::iri
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,it,ca,en,es,an,eu,pl,sv,ceb"]):::literal
v1 --"wdt:P17"--> c2
v1 --"wdt:P625"--> v2
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c6
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P131"--> a2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end