query-03804b731f419f837d97f9d442aa3e1b
title:P301 > P1753 SELECT ?item ?is WHERE { ?item wdt:P301 ?is . ?is wdt:P31 wd:Q13406463 . MINUS { ?is 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:P301 > P1753
SELECT ?item ?is
WHERE {
?item wdt:P301 ?is .
?is wdt:P31 wd:Q13406463 .
MINUS { ?is 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;
v2("?is"):::projected
v1("?item"):::projected
v3("?n")
c5(["wd:Q12139612"]):::iri
c3(["wd:Q13406463"]):::iri
v1 --"wdt:P301"--> v2
v2 --"wdt:P31"--> c3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> v3
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P279"--> c5
end
end