query-d72c0458b5cc3160b2e8678b1ef006d2

rq turtle/ttl

Propertiesaward received (P166)instance of (P31)subclass of (P279)

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 ?itemLabel ?date ?snac ?inst ?instLabel
WHERE 
{
  ?item wdt:P166 wd:Q18748039.
  ?item wdt:P166 ?award.
  ?award wdt:P31/wdt:P279* wd:Q7191.
  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; v2("?award") v1("?item"):::projected a1((" ")) c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q18748039"]):::iri c5(["wd:Q7191"]):::iri v1 --"wdt:P166"--> c2 v1 --"wdt:P166"--> v2 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end