next
previous
items

Data table via SPARQL

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

Data table via SPARQL Published 11 Apr 2019 Last modified 24 Jun 2020
29 min read
This is an old version, kept for reference only.

Go to latest version

Download this dataset

Dataset preview

(Live Query)

date_original date 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>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "58"^^<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>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "54"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "2004"^^<http://www.w3.org/2001/XMLSchema#int> "Bosnia and Herzegovina" "0"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<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>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "35"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "2017"^^<http://www.w3.org/2001/XMLSchema#int> "Croatia" "24"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2007"^^<http://www.w3.org/2001/XMLSchema#int> "2004"^^<http://www.w3.org/2001/XMLSchema#int> "Croatia" "3"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 64 rows in 0.002 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/total-municipal-waste-recycled-in-6/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
year(?date) as ?date_original
bif:either(year(?date) <2009, 2004, 2017) as ?date
bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?ugeo
round((sum(coalesce(?RCY_M, 0))+sum(coalesce(?RCY_C_D,0)))/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_C_D .
          _:env_wasmun sdmx-measure:obsValue ?RCY_C_D .
	} 

        {
          SELECT 
            min(?date) as ?date
            ?geo
            {
               _:env_wasmun sdmx-dimension:timePeriod ?date . 
               FILTER (?date >= "2004-01-01"^^xsd:dateTime)
               _: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_C_D .
                 _:env_wasmun sdmx-measure:obsValue ?RCY_C_D .
 	       } 
            }
        } UNION {
          SELECT 
            max(?date) as ?date
            ?geo
            {
               _:env_wasmun sdmx-dimension:timePeriod ?date . 
               FILTER (?date >= "2004-01-01"^^xsd:dateTime)
               _: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_C_D .
                 _:env_wasmun sdmx-measure:obsValue ?RCY_C_D .
 	       } 
            }
        }
  }
  ?geo rdfs:label ?ugeo .
  FILTER (?geo != geo:AL && ?geo != geo:CZ && ?geo != geo:ME &&
          ?geo != geo:IS && ?geo != geo:PL && 
          ?geo != geo:EU27 && ?geo != geo:MK)
} 
GROUP BY ?ugeo ?geo ?date
ORDER BY ?ugeo


Permalinks

Geographic coverage

Temporal coverage

Tags

Filed under:
Filed under: municipal waste
Document Actions