query-43a3f1734cf74e91616cd88e0fc628dc
Popular class for Paralympic swimmers
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#>
#Paralympic swiming class popularity
#added before 2016-10
#illustrates bubblechart view, count
#defaultView:BubbleChart
SELECT ?swimmingClassLabel (COUNT(?person) AS ?count)
WHERE
{
?person wdt:P106 wd:Q10843402.
?person wdt:P2094 ?swimmingClass.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
GROUP BY ?swimmingClassLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count")
v1("?person"):::projected
v2("?swimmingClass")
c5(["bd:serviceParam"]):::iri
c7(["en"]):::literal
c2(["wd:Q10843402"]):::iri
v1 --"wdt:P106"--> c2
v1 --"wdt:P2094"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind1[/"count(?person)"/]
v1 --o bind1
bind1 --as--o v3