next
previous
items

Data table via SPARQL

Greece - Ireland - Total municipal waste recycled in each European country in 2004 and 2013, stated in percentage

Data table via SPARQL Published 31 Aug 2016 Last modified 31 Aug 2016

Download this dataset

Dataset preview

(Live Query)

date country value
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Greece" "10"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Ireland" "29"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Greece" "19"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Ireland" "37"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 4 rows in 0.022 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/greece-ireland-total-municipal-waste/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



http://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#> 
PREFIX common_countries: <http://dd.eionet.europa.eu/vocabulary/common/countries/>

SELECT
#due to change in data collection method: 2004 for PL -> 2005

bif:either(year(?date) = 2013, 2014, year(?date)) as ?date
?ugeo as ?country  
round((sum(?RCY_M)+sum(?RCY_OC))/sum(?GEN)*100) 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, 2013))
	_: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:exactMatch ?eeauri .
  ?eeauri skos:inScheme common_countries: .
  ?eeauri rdfs:label ?ugeo . 
  FILTER (?geo in (geo:EL, geo:IE))
} 
GROUP BY ?country ?ugeo ?geo ?date
ORDER BY ?date ?country


Permalinks

Document Actions