next
previous
items

Data table via SPARQL

Environmental protection expenditure by country split by organisation type

Data table via SPARQL Published 29 Aug 2016 Last modified 29 Aug 2016

Download this dataset

Dataset preview

(Live Query)

date ugeo nace_r2_label obsValue
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "Industry" "0.29"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Industry" "0.29"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "Industry" "0.61"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2013"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "Industry" "0.76"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Cyprus" "Industry" "0.17"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Czech Republic" "Industry" "0.86"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2013"^^<http://www.w3.org/2001/XMLSchema#int> "Czech Republic" "Industry" "0.96"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Estonia" "Industry" "0.47"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Spain" "Industry" "0.23"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Finland" "Industry" "0.44"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 101 rows in 0.002 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/environmental-protection-expenditure-by-country/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 env_exp: <http://dd.eionet.europa.eu/vocabulary/eurostat/env_exp/>
PREFIX nace_r2: <http://dd.eionet.europa.eu/vocabulary/eurostat/nace_r2/>
PREFIX env_dom: <http://dd.eionet.europa.eu/vocabulary/eurostat/env_dom/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>
PREFIX common_countries: <http://dd.eionet.europa.eu/vocabulary/common/countries/>

SELECT DISTINCT 
year(?date) as ?date
?ugeo
bif:either(?nace_r2 = nace_r2:B-E36, 'Industry',
bif:either(?nace_r2 = nace_r2:EP_GOV, 'Government',
bif:either(?nace_r2 = nace_r2:EP_SPE, 'Specialized service provider',''))) as ?nace_r2_label

round(sum(xsd:double(?obsValue))*100)/100.0 as ?obsValue
  WHERE {
  {
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/env_ac_exp2.rdf.gz>
    {
      _:env_ac_exp2 sdmx-dimension:timePeriod ?date .
      FILTER (year(?date) in (2012, 2013))
      _:env_ac_exp2 sdmx-dimension:refArea ?geo . 
      _:env_ac_exp2 property:env_dom env_dom:ED1000 .
      _:env_ac_exp2 property:env_exp env_exp:EE1000 .
      _:env_ac_exp2 sdmx-attribute:unitMeasure unit:PC_GDP .
      _:env_ac_exp2 property:nace_r2 ?nace_r2 . 
      FILTER (?nace_r2 in (nace_r2:B-E36, nace_r2:EP_GOV, nace_r2:EP_SPE))

      _:env_ac_exp2 sdmx-measure:obsValue ?obsValue .
    }
    ?geo skos:exactMatch ?eeauri .
    ?eeauri skos:inScheme common_countries: .
    ?eeauri rdfs:label ?ugeo .
  }
}
GROUP BY ?date ?ugeo ?nace_r2


Permalinks

Document Actions