query-ebd31eecc49181b2b26ec91dc4b55050
= family (Q35409) =
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?item ?taxonName WHERE {
?item wdt:P225 ?taxonName .
?item wdt:P105 wd:Q35409 .
?item (wdt:P171)* ?higherParent .
?higherParent wdt:P944 wd:Q743780 .
FILTER(!(STRENDS(?taxonName, "aceae")))
}
ORDER BY ASC(?taxonName)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?higherParent")
v2("?item"):::projected
v1("?taxonName"):::projected
c4(["wd:Q35409"]):::iri
c7(["wd:Q743780"]):::iri
f0[["not ends-with(?taxonName,'aceae')"]]
f0 --> v1
v2 --"wdt:P225"--> v1
v2 --"wdt:P105"--> c4
v2 --"wdt:P171"--> v3
v3 --"wdt:P944"--> c7