next
previous
items

Data table via SPARQL

Environmental protection expenditure as a % of GDP

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

Download this dataset

Dataset preview

(Live Query)

date ugeo obsValue
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "3.24"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "3.44"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "3.31"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "2.02"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "2.03"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "1.44"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "2.34"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "1.99"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2013"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "2.48"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Switzerland" "1.3"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 96 rows in 0.002 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/environmental-protection-expenditure-as-a/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
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 (2003, 2008, 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


Permalinks

Document Actions