query-709aa015c2b6b9d3ab80ee2dc8c05f2a
= tribe (Q227936) =
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:Q227936 .
?item (wdt:P171)* ?higherParent .
?higherParent wdt:P944 wd:Q743780 .
FILTER(!(STRENDS(?taxonName, "eae"))) # TODO
}
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
c7(["wd:Q743780"]):::iri
c4(["wd:Q227936"]):::iri
f0[["not ends-with(?taxonName,'eae')"]]
f0 --> v1
v2 --"wdt:P225"--> v1
v2 --"wdt:P105"--> c4
v2 --"wdt:P171"--> v3
v3 --"wdt:P944"--> c7