next
previous
items

Data table via SPARQL

Use of resorces , domestic material consumption (DMC) per capita

Data table via SPARQL Published 19 Mar 2015 Last modified 18 Nov 2024
This is an old version, kept for reference only.

Go to latest version
This page was archived on 26 Aug 2017 with reason: A new version has been published

Download this dataset

Dataset preview

(Live Query)

country 2002 2007 2012
"Austria" "23.822"^^<http://www.w3.org/2001/XMLSchema#decimal> "24.638"^^<http://www.w3.org/2001/XMLSchema#decimal> "21.826"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Belgium" "14.864"^^<http://www.w3.org/2001/XMLSchema#decimal> "16.901"^^<http://www.w3.org/2001/XMLSchema#decimal> "14.081"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Bulgaria" "14.043"^^<http://www.w3.org/2001/XMLSchema#decimal> "18.837"^^<http://www.w3.org/2001/XMLSchema#decimal> "17.978"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Croatia" "11.007"^^<http://www.w3.org/2001/XMLSchema#decimal> "13.587"^^<http://www.w3.org/2001/XMLSchema#decimal> "9.426"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Cyprus" "25.809"^^<http://www.w3.org/2001/XMLSchema#decimal> "27.313"^^<http://www.w3.org/2001/XMLSchema#decimal> "19.246"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Czech Republic" "17.015"^^<http://www.w3.org/2001/XMLSchema#decimal> "19.095"^^<http://www.w3.org/2001/XMLSchema#decimal> "14.985"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Denmark" "21.908"^^<http://www.w3.org/2001/XMLSchema#decimal> "26.475"^^<http://www.w3.org/2001/XMLSchema#decimal> "21.664"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Estonia" "16.539"^^<http://www.w3.org/2001/XMLSchema#decimal> "28.96"^^<http://www.w3.org/2001/XMLSchema#decimal> "29.092"^^<http://www.w3.org/2001/XMLSchema#decimal>
"European Union (28 countries)" "15.435"^^<http://www.w3.org/2001/XMLSchema#decimal> "16.766"^^<http://www.w3.org/2001/XMLSchema#decimal> "13.493"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Finland" "34.347"^^<http://www.w3.org/2001/XMLSchema#decimal> "38.75"^^<http://www.w3.org/2001/XMLSchema#decimal> "33.252"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 33 rows in 0.001 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/use-of-resorces-domestic-material-3/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 sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#> 
PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#> 
PREFIX sdmx-attribute: <http://purl.org/linked-data/sdmx/2009/attribute#> 
PREFIX property: <http://rdfdata.eionet.europa.eu/eurostat/property#> 
PREFIX rdf-schema: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX indic_nv: <http://dd.eionet.europa.eu/vocabulary/eurostat/indic_nv/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>
PREFIX material: <http://dd.eionet.europa.eu/vocabulary/eurostat/material/>

SELECT
?country
sum(xsd:decimal(?2002)) as ?2002
sum(xsd:decimal(?2007)) as ?2007
sum(xsd:decimal(?2012)) as ?2012

{{
SELECT 
?geo
bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?country 
bif:either(year(?date) = 2002, ?env_ac_mfa, 0) as ?2002
bif:either(year(?date) = 2007, ?env_ac_mfa, 0) as ?2007
bif:either(year(?date) = 2012, ?env_ac_mfa, 0) as ?2012

WHERE {
{  
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/env_ac_mfa.rdf.gz> 
  {
  _:env_ac_mfa sdmx-dimension:refArea ?geo .
  _:env_ac_mfa sdmx-dimension:timePeriod ?date .
  _:env_ac_mfa sdmx-measure:obsValue ?env_ac_mfa  .
  _:env_ac_mfa property:material material:TOTAL .
  _:env_ac_mfa property:indic_nv indic_nv:DMC .
  _:env_ac_mfa sdmx-attribute:unitMeasure unit:T_HAB .
  } 
  ?geo rdf-schema:label ?ugeo .
}
}
GROUP BY ?country ?geo
}}
ORDER BY ?country

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

Document Actions