query-738b66ad41e576f782af6cec480b3616
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?lang WHERE {
?item wdt:P27 wd:Q142 .
filter not exists {?item wdt:P19/wdt:P131* wd:Q142 .}
} limit 1200
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
c3(["wd:Q142"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P19"--> e0a1
e0a1 --"wdt:P131"--> e0c3
e0v1("?item"):::projected
e0a1((" ")):::projected
e0c3(["wd:Q142"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
f0 --> c2
f0 --> c3
v1 --"wdt:P19"--> a1
a1 --"wdt:P131"--> c3
v1 --"wdt:P27"--> c3