query-d652935448b68b1e223234a82b993292
Image gallery of winners
Use at
- https://query.wikidata.org/sparql
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#>
#defaultView:ImageGrid
#title:Screen Nation award winners
SELECT DISTINCT ?winner ?winnerLabel (SAMPLE(?img) AS ?image) WHERE {
?award wdt:P31/wdt:P279/wdt:P279 wd:Q7439004. # Screen Nation awards
?winner wdt:P166 ?award; wdt:P18 ?img
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} GROUP BY ?winner ?winnerLabel
ORDER BY ?winnerLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?award")
v5("?image")
v4("?img"):::projected
v3("?winner"):::projected
v1("?winnerLabel"):::projected
a1((" "))
a2((" "))
c7(["bd:serviceParam"]):::iri
c3(["wd:Q7439004"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> a2
a2 --"wdt:P279"--> c3
v3 --"wdt:P166"--> v2
v3 --"wdt:P18"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"sample(?img)"/]
v4 --o bind1
bind1 --as--o v5