query-313f8ded5e952e5473effaac92dc67c5

rq turtle/ttl

logical-orThe template has a problem with the logical-or-operator (||). The query is cut. E.g.

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/> 
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?item ?taxonName WHERE {
  ?item wdt:P225 ?taxonName .
  ?item wdt:P105 wd:Q35409 . # family
  FILTER(!(STRENDS(?taxonName, "idae") || STRENDS(?taxonName, "aceae")))
}

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:Q35409"]):::iri f0[["not (ends-with(?taxonName,'idae') || ends-with(?taxonName,'aceae'))"]] f0 --> v1 v2 --"wdt:P225"--> v1 v2 --"wdt:P105"--> c5