next
previous
items

Data table via SPARQL

Manufacturing and service waste (excluding major mineral wastes)

Data table via SPARQL Published 24 Mar 2016 Last modified 22 Aug 2016

Download this dataset

Dataset preview

(Live Query)

date manufacturing_waste services_waste
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "100"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "92.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "108.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "87.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "89.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2010"^^<http://www.w3.org/2001/XMLSchema#int> "74.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "89.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "74"^^<http://www.w3.org/2001/XMLSchema#decimal> "80.5"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 5 rows in 0.005 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/manufacturing-service-waste-excluding-major-mineral-wastes-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 rdf-schema: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>
PREFIX waste: <http://dd.eionet.europa.eu/vocabulary/eurostat/waste/>
PREFIX hazard: <http://dd.eionet.europa.eu/vocabulary/eurostat/hazard/>
PREFIX nace_r2: <http://dd.eionet.europa.eu/vocabulary/eurostat/nace_r2/>

SELECT DISTINCT
year(?date) as ?date
#sum(?wasgen_c) as ?wasgen_C
#sum(?wasgen_G_U_X_G4677) as ?wasgen_G_U_X_G4677
#sum(?wasgen_c_idx) as ?wasgen_C_idx
#sum(?wasgen_G_U_X_G4677_idx) as ?wasgen_G_U_X_G4677_idx

round(( sum(?wasgen_C) / sum(?wasgen_C_idx) )*1000)/10.0 as ?manufacturing_waste
round(( sum(?wasgen_G_U_X_G4677) / sum(?wasgen_G_U_X_G4677_idx) )*1000)/10.0 as ?services_waste

WHERE {{
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/env_wasgen.rdf.gz> 
    {{ 
        _:env_wasgen sdmx-dimension:timePeriod ?date . 
        _:env_wasgen sdmx-dimension:refArea geo:EU28 . 
        _:env_wasgen property:hazard hazard:TOTAL . 
        _:env_wasgen sdmx-attribute:unitMeasure unit:T . 
        _:env_wasgen property:waste waste:TOT_X_MIN . 

        {
          _:env_wasgen property:nace_r2 ?nace_r2 . 
          FILTER (regex(?nace_r2, 'C'))
          _:env_wasgen sdmx-measure:obsValue ?wasgen_C .
        } UNION {
          _:env_wasgen property:nace_r2 nace_r2:G-U_X_G4677 .
          _:env_wasgen sdmx-measure:obsValue ?wasgen_G_U_X_G4677 .
        }

        _:env_wasgen_idx sdmx-dimension:timePeriod ?date_idx . 
        FILTER (year(?date_idx) = 2004)
        _:env_wasgen_idx sdmx-dimension:refArea geo:EU28 . 
        _:env_wasgen_idx property:hazard hazard:TOTAL . 
        _:env_wasgen_idx sdmx-attribute:unitMeasure unit:T . 
        _:env_wasgen_idx property:waste waste:TOT_X_MIN . 

        {
          _:env_wasgen_idx property:nace_r2 ?nace_r2 . 
          FILTER (regex(?nace_r2, 'C'))
          _:env_wasgen_idx sdmx-measure:obsValue ?wasgen_C_idx .
        } UNION {
          _:env_wasgen_idx property:nace_r2 nace_r2:G-U_X_G4677 .
          _:env_wasgen_idx sdmx-measure:obsValue ?wasgen_G_U_X_G4677_idx .
        }
    }}
}}
GROUP BY ?date
ORDER BY ?date


Permalinks

Document Actions