query-1d53a919cec80fbf4569a8ec15e34c54

rq turtle/ttl

TODO Trash(P279)subclass of One or more of (P31)instance of Zero or more of

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 DISTINCT ?item ?itemLabel WHERE {
  ?item ((wdt:P31*)/(wdt:P279+)) ?values.
  VALUES ?values {
    wd:Q169872
    wd:Q1441305
  }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v3("?values") a1((" ")) c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> v3 bind0[/VALUES ?values/] bind0-->v3 bind00(["wd:Q169872"]) bind00 --> bind0 bind01(["wd:Q1441305"]) bind01 --> bind0 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end