next
previous
items

Data table via SPARQL

Packaging waste recycling

Data table via SPARQL Published 21 Jun 2016 Last modified 05 Dec 2016
This is an old version, kept for reference only.

Go to latest version

Download this dataset

Dataset preview

(Live Query)

date ugeo generated_waste recycled_waste share minimum_target
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "1303528"^^<http://www.w3.org/2001/XMLSchema#decimal> "867939"^^<http://www.w3.org/2001/XMLSchema#decimal> "66.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "1101839"^^<http://www.w3.org/2001/XMLSchema#decimal> "729591"^^<http://www.w3.org/2001/XMLSchema#decimal> "66.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "1741867"^^<http://www.w3.org/2001/XMLSchema#decimal> "1416804"^^<http://www.w3.org/2001/XMLSchema#decimal> "81.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "1631905"^^<http://www.w3.org/2001/XMLSchema#decimal> "1246432"^^<http://www.w3.org/2001/XMLSchema#decimal> "76.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "378668"^^<http://www.w3.org/2001/XMLSchema#decimal> "234901"^^<http://www.w3.org/2001/XMLSchema#decimal> "62"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Croatia" "204708"^^<http://www.w3.org/2001/XMLSchema#decimal> "107957"^^<http://www.w3.org/2001/XMLSchema#decimal> "52.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Cyprus" "145056"^^<http://www.w3.org/2001/XMLSchema#decimal> "31927"^^<http://www.w3.org/2001/XMLSchema#decimal> "22"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Cyprus" "78703"^^<http://www.w3.org/2001/XMLSchema#decimal> "44521"^^<http://www.w3.org/2001/XMLSchema#decimal> "56.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Czech Republic" "775981"^^<http://www.w3.org/2001/XMLSchema#decimal> "432403"^^<http://www.w3.org/2001/XMLSchema#decimal> "55.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Czech Republic" "1019805"^^<http://www.w3.org/2001/XMLSchema#decimal> "744281"^^<http://www.w3.org/2001/XMLSchema#decimal> "73"^^<http://www.w3.org/2001/XMLSchema#decimal> "55"^^<http://www.w3.org/2001/XMLSchema#int>

Received 56 rows in 0.002 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/packaging-waste-recycling-1/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 sdmx-attribute: <http://purl.org/linked-data/sdmx/2009/attribute#> 
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
PREFIX property: <http://rdfdata.eionet.europa.eu/eurostat/property#> 
PREFIX wst_oper: <http://dd.eionet.europa.eu/vocabulary/eurostat/wst_oper/>
PREFIX stk_flow: <http://dd.eionet.europa.eu/vocabulary/eurostat/stk_flow/>
PREFIX waste: <http://dd.eionet.europa.eu/vocabulary/eurostat/waste/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>
PREFIX rdf-schema: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>

SELECT DISTINCT
bif:either(year(?date) > 2010, 2014, year(?date) ) as ?date
?ugeo
sum(?generated_waste) as ?generated_waste
sum(?recycled_waste) as ?recycled_waste
round((sum(?recycled_waste)/sum(?generated_waste))*1000)/10.0 as ?share
55 as ?minimum_target
WHERE {{
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/env_waspac.rdf.gz> 
    {{
      _:env_waspac sdmx-dimension:timePeriod ?date .
      _:env_waspac property:stk_flow stk_flow:DOM . 
      _:env_waspac property:waste waste:W1501 . 
      _:env_waspac sdmx-dimension:refArea ?geo . 
      _:env_waspac sdmx-attribute:unitMeasure unit:T . 
      {
        _:env_waspac property:wst_oper wst_oper:GEN .
        _:env_waspac sdmx-measure:obsValue ?generated_waste .
      } UNION {
        _:env_waspac property:wst_oper wst_oper:RCY .
        _:env_waspac sdmx-measure:obsValue ?recycled_waste .
      }


      #select the max year per country
      {
          SELECT DISTINCT
            max(?date) as ?date
            ?geo
          WHERE {{
           GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/env_waspac.rdf.gz> 
              {{
                _:env_waspac sdmx-dimension:timePeriod ?date .
                _:env_waspac sdmx-dimension:refArea ?geo . 
              }}
          }}
          GROUP BY ?geo 
      } UNION {
        {
      #select 2004 year per country
          SELECT DISTINCT
            ?date
            ?geo
          WHERE {{
            GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/env_waspac.rdf.gz> 
            {{
              _:env_waspac sdmx-dimension:timePeriod ?date .
              _:env_waspac sdmx-dimension:refArea ?geo .
              FILTER (year(?date) = 2004)
            }}
          }}
          GROUP BY ?geo 
        }
      }
    }}
    ?geo skos:exactMatch ?eeauri .
    ?eeauri skos:inScheme <http://dd.eionet.europa.eu/vocabulary/common/countries/> .
    ?eeauri rdfs:label ?ugeo .
}}
GROUP BY ?ugeo ?geo ?date
ORDER BY ?ugeo


Permalinks

Document Actions