next
previous
items

Changes in Nitrogen balance and GVA of agriculture

Data table via SPARQL Published 02 Dec 2013 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)

country change_n change_gva
"Austria"@en "-37.98"^^<http://www.w3.org/2001/XMLSchema#decimal> "10.23"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Belgium"@en "-31.34"^^<http://www.w3.org/2001/XMLSchema#decimal> "-31.07"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Bulgaria"@en "-44.16"^^<http://www.w3.org/2001/XMLSchema#decimal> "32.95"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Czech Republic"@en "3.46"^^<http://www.w3.org/2001/XMLSchema#decimal> "48.23"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Denmark"@en "-17.79"^^<http://www.w3.org/2001/XMLSchema#decimal> "-55.75"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Finland"@en "-6.26"^^<http://www.w3.org/2001/XMLSchema#decimal> "-24.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"France"@en "-20.92"^^<http://www.w3.org/2001/XMLSchema#decimal> "-4.84"^^<http://www.w3.org/2001/XMLSchema#decimal>
"United Kingdom"@en "-21.34"^^<http://www.w3.org/2001/XMLSchema#decimal> "-12.37"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Greece"@en "-50.74"^^<http://www.w3.org/2001/XMLSchema#decimal> "-23.17"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Hungary"@en "-188.72"^^<http://www.w3.org/2001/XMLSchema#decimal> "44.79"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 23 rows in 0.001 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/changes-in-nitrogen-balance-and/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



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 skos: <http://www.w3.org/2004/02/skos/core#> 
PREFIX property: <http://rdfdata.eionet.europa.eu/eurostat/property#> 
PREFIX u: <http://rdfdata.eionet.europa.eu/eurostat/dic/unit#> 
PREFIX indic_na: <http://rdfdata.eionet.europa.eu/eurostat/dic/indic_na#>
PREFIX nace_r2: <http://rdfdata.eionet.europa.eu/eurostat/dic/nace_r2#>
PREFIX nutrient: <http://rdfdata.eionet.europa.eu/eurostat/dic/nutrient#>
PREFIX indic_ag: <http://rdfdata.eionet.europa.eu/eurostat/dic/indic_ag#>

SELECT 
bif:either (?ugeo = 'DE', 'Germany', ?country_tmp) as ?country

(round( (sum(?n_2008)-sum(?n_2000)) / sum(?n_2000)*10000))/100.0 as ?change_n
(round( (sum(?gva_2008)-sum(?gva_2000)) / sum(?gva_2000)*10000))/100.0 as ?change_gva

{{
SELECT 
?date
?ugeo
?country_tmp

bif:either(year(?date) = 2000, sum(?nama_nace64_c),0) AS ?gva_2000
bif:either(year(?date) = 2000, sum(?aei_pr_gnb),0) AS ?n_2000

bif:either(year(?date) = 2008, sum(?nama_nace64_c),0) AS ?gva_2008
bif:either(year(?date) = 2008, sum(?aei_pr_gnb),0) AS ?n_2008

WHERE { 
    {
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/aei_pr_gnb.rdf.gz>  { 
      _:aei_pr_gnb sdmx-dimension:timePeriod ?date FILTER (year(?date) in (2000, 2008))
      _:aei_pr_gnb property:indic_ag indic_ag:BAL . 
      _:aei_pr_gnb property:nutrient nutrient:N .
      _:aei_pr_gnb property:geo ?geo . 
      OPTIONAL { _:aei_pr_gnb sdmx-measure:obsValue ?aei_pr_gnb . }
    } 
  } UNION {
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nama_nace64_c.rdf.gz>  { 
      _:nama_nace64_c sdmx-dimension:timePeriod ?date FILTER (year(?date) in (2000, 2008))
      _:nama_nace64_c property:indic_na indic_na:B1G . 
      _:nama_nace64_c property:nace_r2 nace_r2:A01 . 
      _:nama_nace64_c property:unit u:MIO_EUR . 
      _:nama_nace64_c property:geo ?geo . 
      OPTIONAL { _:nama_nace64_c sdmx-measure:obsValue ?nama_nace64_c . }
    }
  }
  ?geo skos:prefLabel ?country_tmp .
  ?geo skos:notation ?ugeo . 
  ?eeageo owl:sameAs ?geo . 
  ?eeageo skos:inScheme <http://rdfdata.eionet.europa.eu/eea/countries/> . 
  ?memberOf skos:member ?eeageo . 
  ?memberOf skos:notation ?memberOfcode . FILTER (?memberOfcode IN ('EEA33'))
} 
GROUP BY ?date ?ugeo ?country_tmp 
}}
GROUP BY ?country_tmp ?ugeo
HAVING(sum(?n_2000) != 0 && sum(?gva_2000) != 0)
ORDER BY ?country_tmp


Permalinks

Temporal coverage

Document Actions