query-12ea2fa47fa81f3d46adfaab9e74032b

rq turtle/ttl

Find string in descriptionHi! I've tried the following query

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemDescription
WHERE {
  ?item wdt:P106 wd:Q82955 .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "tr" . }
  FILTER(CONTAINS(STR(?itemDescription),"Alman politikacılar"))
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?itemDescription"):::projected c5(["bd:serviceParam"]):::iri c3(["wd:Q82955"]):::iri c7(["tr"]):::literal f0[["contains(str(?itemDescription),'Alman politikacılar')"]] f0 --> v1 v2 --"wdt:P106"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end