query-61222c96f48c2ba0a7aab5fbe9c3713a
How do I get the full time series of data for items like Population or Number of Out-of-school Children?. How do I write a query to give me back the time series of data for Population? My query as is is extremely simple and only returns a single value. I'm not able to find any example queries that showcase this functionality. https://www.wikidata.org/wiki/Q27Let's say I'm looking at
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?population WHERE {
BIND(wd:Q27 as ?Ireland).
?Ireland wdt:P1082 ?population.
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?Ireland")
v2("?population"):::projected
bind0[/"'wd:Q27'"/]
bind0 --as--o v1
v1 --"wdt:P1082"--> v2