query-8eeb5848d1aa0c56e71aed72edb9ef16

rq turtle/ttl

Things called a "loom"

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:Q173056; 
  rdfs:label ?name FILTER (lang(?name)="en") FILTER STRENDS(?name, " loom")
} 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:Q173056"]):::iri f0[["ends-with(?name,' loom')"]] 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