query-9b40f62ca4373de76e70dd54128f9429

rq turtle/ttl

Incorrect subfamily name

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?taxonName WHERE {
  ?item wdt:P225 ?taxonName .
  ?item wdt:P105 wd:Q2455704 . # subfamily  
  FILTER(!(STRENDS(?taxonName, "inae") || STRENDS(?taxonName, "oideae")))
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?taxonName"):::projected c5(["wd:Q2455704"]):::iri f0[["not (ends-with(?taxonName,'inae') || ends-with(?taxonName,'oideae'))"]] f0 --> v1 v2 --"wdt:P225"--> v1 v2 --"wdt:P105"--> c5