query-a0b2af5fe5d2195b7a2a12e1ceefd8aa
title:P910 > P1754 SELECT ?item ?v WHERE { ?item wdt:P910 ?v . ?item wdt:P31 wd:Q13406463 . MINUS { ?item wdt:P31 ?n . MINUS { ?n wdt:P279 wd:Q12139612 . } } }
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#title:P910 > P1754
SELECT ?item ?v
WHERE {
?item wdt:P910 ?v .
?item wdt:P31 wd:Q13406463 .
MINUS { ?item wdt:P31 ?n .
MINUS { ?n wdt:P279 wd:Q12139612 . } }
}
Query found at
- https://www.wikidata.org/wiki/User:Ep%C3%ACdosis/Queries
- https://www.wikidata.org/wiki/User:Ep%C3%ACdosis/sandbox
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v3("?n")
v2("?v"):::projected
c5(["wd:Q12139612"]):::iri
c3(["wd:Q13406463"]):::iri
v1 --"wdt:P910"--> v2
v1 --"wdt:P31"--> c3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> v3
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P279"--> c5
end
end