query-8485e1dac9c30bb3973b954f07f3363b
Propertiesaward received (P166)
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#>
SELECT ?number_of_corecipients ?award ?awardLabel
WHERE {
{
SELECT ?award (COUNT(?recipient) AS ?number_of_corecipients) WHERE {
?recipient wdt:P166 wd:Q6596243 .
?recipient wdt:P166 ?award .
FILTER (?award != wd:Q6596243)
}
GROUP BY ?award
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}
ORDER BY DESC(?number_of_corecipients)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?award"):::projected
v4("?number_of_corecipients"):::projected
v3("?recipient")
c4(["bd:serviceParam"]):::iri
c1(["wd:Q6596243"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?award != 'wd:Q6596243'"]]
f0 --> v2
v3 --"wdt:P166"--> c1
v3 --"wdt:P166"--> v2
bind2[/"count(?recipient)"/]
v3 --o bind2
bind2 --as--o v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end