next
previous
items

Data table via SPARQL

GDP vs. GHG per capita per country from 1990-2010 (Eurostat, EEA)

Data table via SPARQL Published 03 Apr 2012 Last modified 23 Mar 2022
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
data sources: Population on 1 January by broad age group and sex: (http://epp.eurostat.ec.europa.eu/portal/page/portal/product_details/dataset?p_product_code=DEMO_PJANBROAD), Greenhouse Gas Emissions (source: EEA) (http://epp.eurostat.ec.europa.eu/portal/page/portal/product_details/dataset?p_product_code=ENV_AIR_GGE), GDP per capita - Annual Data (http://epp.eurostat.ec.europa.eu/portal/page/portal/product_details/dataset?p_product_code=NAMA_AUX_GPH)

Download this dataset

Dataset preview

(Live Query)

country year gdppercapita ghgpercapita population ghgtotal

Received 0 rows in 0.031 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/gdp-vs.-ghg-per-capita-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 qb: <http://purl.org/linked-data/cube#>
PREFIX e: <http://eurostat.linked-statistics.org/property#>
PREFIX code: <http://purl.org/linked-data/sdmx/2009/code#>
PREFIX measure: <http://purl.org/linked-data/sdmx/2009/measure#>
PREFIX dimension: <http://purl.org/linked-data/sdmx/2009/dimension#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dataset: <http://eurostat.linked-statistics.org/data/>

SELECT ?country
       ?year
       xsd:double(?gdp) AS ?gdppercapita
       1000.0 * xsd:double(?ghgtotal) / xsd:double(?population) AS ?ghgpercapita
       xsd:double(?population) AS ?population
       xsd:double(?ghgtotal) AS ?ghgtotal
WHERE {
 GRAPH <http://eurostat.linked-statistics.org/data/demo_pjanbroad.rdf> {
  ?popobs qb:dataSet dataset:demo_pjanbroad ;
        dimension:timePeriod ?year;
        dimension:freq code:freq-A;
        e:age <http://eurostat.linked-statistics.org/dic/age#TOTAL>; 
        e:sex <http://eurostat.linked-statistics.org/dic/sex#T>;
        e:geo ?ucountry;
        measure:obsValue ?population.
 }
 GRAPH <http://eurostat.linked-statistics.org/data/env_air_gge.rdf> {
  ?ghgobs qb:dataSet dataset:env_air_gge ;
        e:geo ?ucountry;
        dimension:timePeriod ?year;
        e:airsect <http://eurostat.linked-statistics.org/dic/airsect#TOT_X_5>;
        measure:obsValue ?ghgtotal.
 }
 GRAPH <http://eurostat.linked-statistics.org/data/nama_aux_gph.rdf> {
  ?gdpobs qb:dataSet dataset:nama_aux_gph ;
        dimension:timePeriod ?year;
        dimension:freq code:freq-A;
        e:geo ?ucountry;
        e:unit <http://eurostat.linked-statistics.org/dic/unit#EUR_HAB>;
        e:indic_na <http://eurostat.linked-statistics.org/dic/indic_na#RGDPH>;
        measure:obsValue ?gdp.
 }
 GRAPH <http://eurostat.linked-statistics.org/dic/geo.rdf> {
  ?ucountry rdfs:label ?country. }
} ORDER BY ?country ?year


Permalinks

Document Actions