query-a3adff73a0f2a4c9bf8df2971291b5b7
TODO
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:LineChart
# The number of cases of recoveries in regions of Russia by dates.
SELECT ?state ?dates ?recoveryNum ?locationLabel WHERE {
wd:Q84098939 wdt:P527 ?state.
?state wdt:P276 ?location.
?state p:P8010 ?recoveries.
?recoveries pq:P585 ?dates;
ps:P8010 ?recoveryNum.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?dates
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?dates"):::projected
v3("?location")
v4("?recoveries")
v5("?recoveryNum"):::projected
v2("?state"):::projected
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c1(["wd:Q84098939"]):::iri
c1 --"p:direct/P527"--> v2
v2 --"p:direct/P276"--> v3
v2 --"p:P8010"--> v4
v4 --"p:qualifier/P585"--> v1
v4 --"p:statement/P8010"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end