next
previous
items

Data table via SPARQL

Municipal waste generated per capita in EU28

Data table via SPARQL Published 25 Apr 2014 Last modified 29 Jan 2016

Download this dataset

Dataset preview

(Live Query)

date country value
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "European Union (28 countries)" "304"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "European Union (28 countries)" "391"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "European Union (28 countries)" "515"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "European Union (28 countries)" "491"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 4 rows in 0.022 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/municipal-waste-generated-per-capita-2/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 geo: <http://rdfdata.eionet.europa.eu/eurostat/dic/geo#>

SELECT
year(?date) as ?date
'European Union (28 countries)' as ?country
round(sum(?env_wasmun)/sum(?value)*1000000) as ?value

WHERE {
{  
GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/env_wasmun.rdf.gz> 
  {
  _:env_wasmun sdmx-dimension:timePeriod ?date . FILTER (year(?date) in (2004, 2012) ) 
  _:env_wasmun sdmx-dimension:refArea ?geo . FILTER (?geo in (geo:EU27, geo:HR))
  _:env_wasmun property:wst_oper <http://rdfdata.eionet.europa.eu/eurostat/dic/wst_oper#GEN> . 
  _:env_wasmun sdmx-attribute:unitMeasure <http://rdfdata.eionet.europa.eu/eurostat/dic/unit#1000T> . 
  _:env_wasmun sdmx-measure:obsValue ?env_wasmun .
  }
  } UNION {
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/demo_pjan.rdf.gz> 
  {
  ?demo_pjan sdmx-dimension:timePeriod ?date . FILTER (year(?date) in (2004, 2012))
  ?demo_pjan sdmx-dimension:refArea ?geo . FILTER (?geo in (geo:EU27, geo:HR))
  ?demo_pjan sdmx-dimension:age <http://rdfdata.eionet.europa.eu/eurostat/dic/age#TOTAL> .
  ?demo_pjan sdmx-dimension:sex <http://purl.org/linked-data/sdmx/2009/code#sex-T> .
  ?demo_pjan sdmx-measure:obsValue ?value .
  }
}
 ?geo rdf-schema:label ?country .
 
}
GROUP BY ?date ?geo


Permalinks

Document Actions