next
previous
items

Data table via SPARQL

Eurostat average population for 2011

Data table via SPARQL Published 06 Aug 2013 Last modified 12 May 2021
from demo_gind indicator

Download this dataset

Dataset preview

(Live Query)

ISO2 country average_population year
"AD" "Andorra"@en "84549"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>
"AM" "Armenia"@en "3256066"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>
"AT" "Austria"@en "8389771"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>
"AZ" "Azerbaijan"@en "9054332"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>
"BA" "Bosnia and Herzegovina"@en "3843479"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>
"BE" "Belgium"@en "10895586"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>
"BG" "Bulgaria"@en "7534289"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>
"BY" "Belarus"@en "9480686"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>
"CH" "Switzerland"@en "7824909"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>
"CY" "Cyprus"@en "829446"^^<http://www.w3.org/2001/XMLSchema#decimal> "2010"^^<http://www.w3.org/2001/XMLSchema#int>

Received 147 rows in 0.004 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/eurostat-average-population-for-2011/daviz.json

For system integrators

The following info can be used by a system developer / database administrator in order to retrieve this dataset programmatically over the web using a SPARQL client.

Are you new to Linked Data technology? visit http://linkeddata.org



semantic.eea.europa.eu/sparql

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX cr: <http://cr.eionet.europa.eu/ontologies/contreg.rdf#>
PREFIX property: <http://rdfdata.eionet.europa.eu/eurostat/property#> 
PREFIX g: <http://rdfdata.eionet.europa.eu/eurostat/dic/geo#>
PREFIX indic: <http://rdfdata.eionet.europa.eu/eurostat/dic/indic_de#>
PREFIX sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#>
PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#>

SELECT DISTINCT
?ugeo as ?ISO2
?country
?obsValue as ?average_population
year(?timePeriod) as ?year

WHERE { 
 GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/demo_gind.rdf.gz> { 
  _:demo_gind sdmx-dimension:refArea ?geo FILTER (?geo != g:RU) .
  _:demo_gind property:indic_de indic:AVG .
  _:demo_gind sdmx-dimension:timePeriod ?timePeriod FILTER (?timePeriod > "2009-01-01"^^xsd:date) .
  _:demo_gind sdmx-measure:obsValue ?obsValue .
  }
  ?geo skos:notation ?ugeo . 
  ?geo skos:prefLabel ?country .
} order by ?year

Error when running query:

Error. Traceback (most recent call last):
  File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/Method.py", line 287, in run_with_timeout
    ret = func(*args, **kwargs)
  File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/Method.py", line 215, in query_and_get_result
    result = sparql.query(*args, timeout = kwargs.get("timeout", 0) or 0)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 747, in query
    return s.query(query, timeout, raw=raw)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 416, in query
    return q.query(query, timeout, raw=raw)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 571, in query
    response = self._request(statement, timeout)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 558, in _request
    response = self._build_response(query, opener, buf, timeout)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 543, in _build_response
    timeout if timeout > 0 else None)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 514, in _get_response
    response = opener.open(request, timeout=timeout)
  File "/usr/local/lib/python2.7/urllib2.py", line 421, in open
    protocol = req.get_type()
  File "/usr/local/lib/python2.7/urllib2.py", line 283, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: semantic.eea.europa.eu/sparql


Permalinks

Tags

Filed under:
Filed under: population
Document Actions