query-5fa24ede1c483d915ae37408db30a929

rq turtle/ttl

because pywikibot’s SPARQL iterator looks for that particular variable name. ?item variable to ?taxonThis query already shows the fixed taxon name by replacing the two broken characters. We don’t need that here, since we’ll do the replacing in Python. We also need to change the

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item
WHERE
{
  ?item wdt:P1843 ?commonName.
  FILTER(CONTAINS(?commonName, "í") && CONTAINS(?commonName, " ")).
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?commonName") v2("?item"):::projected f0[["contains(?commonName,'í')contains(?commonName,' ')"]] f0 --> v1 v2 --"wdt:P1843"--> v1