query-210adbe9b78a301ad676086ddcba63b7

rq turtle/ttl

= subfamily (Q2455704) =

Use at

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:Q2455704 .
      ?item (wdt:P171)* ?higherParent .  
      ?higherParent wdt:P944 wd:Q743780 .
      FILTER(!(STRENDS(?taxonName, "oideae")))
}
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:Q2455704"]):::iri c7(["wd:Q743780"]):::iri f0[["not ends-with(?taxonName,'oideae')"]] f0 --> v1 v2 --"wdt:P225"--> v1 v2 --"wdt:P105"--> c4 v2 --"wdt:P171"--> v3 v3 --"wdt:P944"--> c7