query-fbb880d69413d1456339a8fe42470c2a
Number of participants
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:LineChart
PREFIX target: <http://www.wikidata.org/entity/Q1961016>
SELECT
?year
?number_of_participants
WHERE {
?event wdt:P179 target: ;
wdt:P580 ?datetime ;
wdt:P1132 ?number_of_participants .
BIND(STR(YEAR(?datetime)) AS ?year)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?year
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?datetime")
v2("?event")
v4("?number_of_participants"):::projected
v5("?year"):::projected
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2([http://www.wikidata.org/entity/Q1961016]):::iri
v2 --"wdt:P179"--> c2
v2 --"wdt:P580"--> v3
v2 --"wdt:P1132"--> v4
bind0[/"str(year-from-dateTime(?datetime))"/]
v3 --o bind0
bind0 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end