query-befb25c6ee20d72678e78ef624fc6bed

rq turtle/ttl

Things called "___ phonology"

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?thing ?name WHERE {
VALUES ?prop {wdt:P279 wdt:P31}
?thing ?prop wd:Q40998; 
  rdfs:label ?name FILTER (lang(?name)="en") FILTER STRENDS(?name, " phonology")
} ORDER BY ?name

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?name"):::projected v2("?prop") v3("?thing"):::projected c3(["wd:Q40998"]):::iri f0[["ends-with(?name,' phonology')"]] f0 --> v1 f1[["?name = 'en'"]] f1 --> v1 bind2[/VALUES ?prop/] bind2-->v2 bind20(["wdt:P279"]) bind20 --> bind2 bind21(["wdt:P31"]) bind21 --> bind2 v3 -->v2--> c3 v3 --"rdfs:label"--> v1