query-1d8922e431aacecf69a7f4c162a5557e
Thierry Caro
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 ?item ?itemLabel where {
filter not exists { ?place wdt:P2633 ?item }
?item wdt:P279* wd:Q1071 .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "fr,en" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?place")
c5(["bd:serviceParam"]):::iri
c3(["wd:Q1071"]):::iri
c7(["fr,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P2633"--> e0v2
e0v2("?item"):::projected
e0v1("?place"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P2633"--> v2
v2 --"wdt:P279"--> c3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end