query-eda74f22ff6c0ad16da2abe1960432ae
Graphique avec la provenance des participants au Prix de Lausanne (Q673014)
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#>
#Participants Prix de Lausanne selon leur nationalité, affichage des pays en croate
#defaultView:BubbleChart
SELECT ?citizenshipLabel (COUNT(DISTINCT ?participant) AS ?count) WHERE {
?participant wdt:P31 wd:Q5.
?participant wdt:P1344 wd:Q673014.
?participant wdt:P27 ?citizenship.
SERVICE wikibase:label { bd:serviceParam wikibase:language "hr,fr". }
}
GROUP BY ?citizenshipLabel
ORDER BY DESC(?count)
Query found at
- https://www.wikidata.org/wiki/User:Gilliane/Tipps/SPARQL-PrixdeLausanne
- https://www.wikidata.org/wiki/Wikidata_talk:Events/AAFSaint%C3%8919
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?citizenship")
v4("?count")
v2("?participant"):::projected
c9(["hr,fr"]):::literal
c7(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c4(["wd:Q673014"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P1344"--> c4
v2 --"wdt:P27"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind1[/"count(?participant)"/]
v2 --o bind1
bind1 --as--o v4