Generation of waste excluding major mineral wastes

Data table via SPARQL expired Published 12 Sep 2016 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)

date category obsValue
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture, forestry and fishing" "63.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Construction" "39.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Energy and extraction" "102.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "205"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Manufacturing" "271.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "131.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Water and waste sector" "126.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture, forestry and fishing" "57.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "Construction" "45.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "Energy and extraction" "107.1"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 35 rows in 0.064 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/generation-of-waste-excluding-major/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 nace_r2: <http://dd.eionet.europa.eu/vocabulary/eurostat/nace_r2/>
PREFIX hazard: <http://dd.eionet.europa.eu/vocabulary/eurostat/hazard/>
PREFIX waste: <http://dd.eionet.europa.eu/vocabulary/eurostat/waste/>
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>

SELECT DISTINCT
year(?date) as ?date
?category
round(sum(?obsValue)/100000)/10.0 as ?obsValue
WHERE {{
GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/env_wasgen.rdf.gz> 
  {{ 
    _:env_wasgen sdmx-dimension:timePeriod ?date . 
    _:env_wasgen property:hazard hazard:TOTAL . 
    _:env_wasgen property:waste waste:TOT_X_MIN . 
    _:env_wasgen sdmx-dimension:refArea geo:EU28 . 
    _:env_wasgen sdmx-attribute:unitMeasure unit:T . 
    { 
      { SELECT 'Agriculture, forestry and fishing' as ?category {} }
      _:env_wasgen property:nace_r2 nace_r2:A . 
      _:env_wasgen sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'Energy and extraction' as ?category {} }
      _:env_wasgen property:nace_r2 ?nace_r2 .
      FILTER (?nace_r2 in (nace_r2:B, nace_r2:D))
      _:env_wasgen sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'Manufacturing' as ?category {} }
      _:env_wasgen property:nace_r2 ?nace_r2 .
      FILTER (?nace_r2 in (nace_r2:C10-C12, nace_r2:C13-C15, 
                           nace_r2:C16, nace_r2:C17_C18, nace_r2:C19, 
                           nace_r2:C20-C22, nace_r2:C23, nace_r2:C24_C25,
                           nace_r2:C26-C30, nace_r2:C31-C33))
      _:env_wasgen sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'Water and waste sector' as ?category {} }
      _:env_wasgen property:nace_r2 ?nace_r2 .
      FILTER (?nace_r2 in (nace_r2:E36_E37_E39, nace_r2:E38, nace_r2:G4677))
      _:env_wasgen sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'Construction' as ?category {} }
      _:env_wasgen property:nace_r2 nace_r2:F .
      _:env_wasgen sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'Services' as ?category {} }
      _:env_wasgen property:nace_r2 nace_r2:G-U_X_G4677 .
      _:env_wasgen sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'Households' as ?category {} }
      _:env_wasgen property:nace_r2 nace_r2:EP_HH .
      _:env_wasgen sdmx-measure:obsValue ?obsValue .
    }

  }}
}}
GROUP BY ?geo ?category ?date
ORDER BY ?date ?category


Related content

Document Actions