next
previous
items

Data table via SPARQL

Total municipal waste recycled in each European country, stated in percentage

Data table via SPARQL Published 03 Aug 2017 Last modified 22 Aug 2017
29 min read
This is an old version, kept for reference only.

Go to latest version

Download this dataset

Dataset preview

(Live Query)

date date_original ugeo value
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "2004"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "57"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2015"^^<http://www.w3.org/2001/XMLSchema#int> "2015"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "57"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "2004"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "52"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2015"^^<http://www.w3.org/2001/XMLSchema#int> "2015"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "53"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2015"^^<http://www.w3.org/2001/XMLSchema#int> "2015"^^<http://www.w3.org/2001/XMLSchema#int> "Bosnia and Herzegovina" "0"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "2004"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "17"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2015"^^<http://www.w3.org/2001/XMLSchema#int> "2015"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "29"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "2007"^^<http://www.w3.org/2001/XMLSchema#int> "Croatia" "3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2015"^^<http://www.w3.org/2001/XMLSchema#int> "2015"^^<http://www.w3.org/2001/XMLSchema#int> "Croatia" "18"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2015"^^<http://www.w3.org/2001/XMLSchema#int> "2015"^^<http://www.w3.org/2001/XMLSchema#int> "Cyprus" "18"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 66 rows in 0.026 seconds.


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



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
bif:either(year(?date) <2009, 2004, 2015) as ?date
year(?date) as ?date_original
bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?ugeo
#round((sum(coalesce(?RCY_M,0))+sum(coalesce(?RCY_OC,0)))/sum(?GEN)*100) as ?value
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 . 
	_: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 .
	} 

        {
          SELECT 
            min(?date) as ?date
            ?geo
            sum(?RCY_OC)
            sum(?RCY_M)
            {
               _:env_wasmun sdmx-dimension:timePeriod ?date . 
               FILTER (year(?date) >= 2004)
               _:env_wasmun sdmx-dimension:refArea ?geo .
               { 
	         _: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 .
 	       } 
            }
            HAVING sum(?RCY_OC)>0 && sum(?RCY_M) >0
        } UNION {
          SELECT 
            max(?date) as ?date
            ?geo
            sum(?RCY_OC)
            sum(?RCY_M)
            {
               _:env_wasmun sdmx-dimension:timePeriod ?date . 
               FILTER (year(?date) >= 2004)
               _:env_wasmun sdmx-dimension:refArea ?geo .
               { 
	         _: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 .
 	       } 
            }
            #HAVING sum(?RCY_OC)>0 && sum(?RCY_M) >0
        }
 
  }
  ?geo rdfs:label ?ugeo .
  FILTER (?geo != geo:AL && ?geo != geo:TR &&
          ?geo != geo:CZ && ?geo != geo:IS)
} 
GROUP BY ?ugeo ?geo ?date
ORDER BY ?ugeo


Permalinks

Geographic coverage

Temporal coverage

Tags

Filed under:
Filed under: municipal waste
Document Actions