next
previous
items

Data table via SPARQL

Total municipal waste recycled in each European country in 2004 and 2012, stated in percentage

Data table via SPARQL Published 16 Jul 2014 Last modified 26 Aug 2017
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 2004 2012
"Austria" "60"^^<http://www.w3.org/2001/XMLSchema#decimal> "59"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Belgium" "51"^^<http://www.w3.org/2001/XMLSchema#decimal> "57"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Bosnia and Herzegovina" "0"^^<http://www.w3.org/2001/XMLSchema#decimal> ""
"Bulgaria" "17"^^<http://www.w3.org/2001/XMLSchema#decimal> "25"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Cyprus" "3"^^<http://www.w3.org/2001/XMLSchema#decimal> "21"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Czech Republic" "5"^^<http://www.w3.org/2001/XMLSchema#decimal> "23"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Denmark" "34"^^<http://www.w3.org/2001/XMLSchema#decimal> "45"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Estonia" "25"^^<http://www.w3.org/2001/XMLSchema#decimal> "32"^^<http://www.w3.org/2001/XMLSchema#decimal>
"European Union (27 countries)" "31"^^<http://www.w3.org/2001/XMLSchema#decimal> "41"^^<http://www.w3.org/2001/XMLSchema#decimal>
"European Union (28 countries)" "0"^^<http://www.w3.org/2001/XMLSchema#decimal> "41"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 34 rows in 0.001 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/total-municipal-waste-recycled-in/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 property: <http://rdfdata.eionet.europa.eu/eurostat/property#> 
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/> 
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/> 
PREFIX wst: <http://dd.eionet.europa.eu/vocabulary/eurostat/wst_oper/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX sdmx-attribute: <http://purl.org/linked-data/sdmx/2009/attribute#> 

SELECT
?country
sum(?2004) as ?2004
sum(?2012) as ?2012
{{
SELECT
    ?geo
    bif:either(?ugeo = 'DE', 'Germany', ?country) as ?country  
    bif:either(year(?date) = 2004, round((sum(?RCY_M)+sum(?RCY_OC))/sum(?GEN)*100), 0) as ?2004
    bif:either(year(?date) = 2012, round((sum(?RCY_M)+sum(?RCY_OC))/sum(?GEN)*100), 0) as ?2012
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 .
        _:env_wasmun sdmx-attribute:unitMeasure unit:THS_T .
        { 
	_:env_wasmun property:wst_oper wst:GEN .
        _:env_wasmun sdmx-measure:obsValue ?GEN . 
	} UNION { 
	_:env_wasmun property:wst_oper wst:RCY_M . 
        _:env_wasmun sdmx-measure:obsValue ?RCY_M . 
	} UNION { 
	_:env_wasmun property:wst_oper wst:RCY_OC .
        _:env_wasmun sdmx-measure:obsValue ?RCY_OC .
	} 
  } 
  ?geo skos:prefLabel ?country .
  ?geo skos:notation ?ugeo . FILTER (?ugeo != 'RS' and ?ugeo != 'MK' and ?ugeo != 'HR' and ?ugeo != 'PL' and ?ugeo != 'IS')
} 
GROUP BY ?country ?ugeo ?geo ?date
}}
GROUP BY ?country 
ORDER BY ?country


Permalinks

Document Actions