query-ff6fa58c466adca013e561f8ba925f14
P1559 missing (works also with P735, P569, P570, P19, P20, P21, P27, P31)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item WHERE {
?item p:P106/ps:P106/wdt:P279* wd:Q26270618
MINUS { ?item wdt:P1559 ?dummy }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?dummy")
v1("?item"):::projected
a1((" "))
a2((" "))
c4(["wd:Q26270618"]):::iri
v1 --"p:P106"--> a1
a1 --"p:statement/P106"--> a2
a2 --"p:direct/P279"--> c4
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"p:direct/P1559"--> v2
end