query-398d9e2932ef347b2e46c7de669fd423
Species whose parent taxon is not a genusWikidata:Request a query/Archive/2017/09#Species whose parent taxon is not a genus (Q3025161)series , (Q5998839)subsection , (Q3181348)section , (Q3238261)subgenus , (Q34740)genus not a
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item WHERE {
?item wdt:P105 wd:Q7432 .
?item wdt:P171 ?genus .
MINUS { ?genus wdt:P105 wd:Q34740 } .
MINUS { ?genus wdt:P105 wd:Q3238261 } .
MINUS { ?genus wdt:P105 wd:Q3181348 } .
MINUS { ?genus wdt:P105 wd:Q5998839 } .
MINUS { ?genus wdt:P105 wd:Q3025161 } .
} LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?genus")
v1("?item"):::projected
c5(["wd:Q3238261"]):::iri
c7(["wd:Q5998839"]):::iri
c2(["wd:Q7432"]):::iri
c4(["wd:Q34740"]):::iri
c8(["wd:Q3025161"]):::iri
c6(["wd:Q3181348"]):::iri
v1 --"wdt:P105"--> c2
v1 --"wdt:P171"--> v2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P105"--> c4
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P105"--> c5
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P105"--> c6
end
subgraph minus3["MINUS"]
style minus3 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P105"--> c7
end
subgraph minus4["MINUS"]
style minus4 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P105"--> c8
end