next
previous
items

Data table via SPARQL

Average annual growth rates for different fuels 1990-2014

Data table via SPARQL Published 18 May 2016 Last modified 28 May 2016
This is an old version, kept for reference only.

Go to latest version

Download this dataset

Dataset preview

(Live Query)

product_label period value
"Gas" "1990-2014" "0.65"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Nuclear heat" "1990-2014" "0.41"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Renewable energies" "1990-2014" "4.38"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Solid fuels" "1990-2014" "-2.18"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Total petroleum products" "1990-2014" "-0.66"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 5 rows in 0.001 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/average-annual-growth-rates-for-5/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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
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 geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>
PREFIX product: <http://dd.eionet.europa.eu/vocabulary/eurostat/product/>
PREFIX indic_nrg: <http://dd.eionet.europa.eu/vocabulary/eurostat/indic_nrg/>

SELECT 
?product_label
'1990-2014' as ?period
round(((bif:power((sum(?2014)/sum(?1990)),(1/24.0)))-1)*10000)/100.0 as ?value

{{
SELECT
?product_label

bif:either (year(?date) = 1990, sum(?B_100900) - COALESCE(sum(?B_101600),0), 0) as ?1990 
bif:either (year(?date) = 2014, sum(?B_100900) - COALESCE(sum(?B_101600),0), 0) as ?2014

WHERE {
  {  
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_100a.rdf.gz> 
    {
    _:nrg_100a sdmx-dimension:refArea geo:EU28 .
    _:nrg_100a sdmx-attribute:unitMeasure unit:KTOE .
    _:nrg_100a sdmx-dimension:timePeriod ?date .
    
    _:nrg_100a property:product ?product . 
    FILTER (?product in (product:2000, product:3000, product:4000, product:5100, product:5500))
    {
      _:nrg_100a property:indic_nrg indic_nrg:B_100900 .
      _:nrg_100a sdmx-measure:obsValue ?B_100900 .
    } UNION {
      _:nrg_100a property:indic_nrg indic_nrg:B_101600 .
      _:nrg_100a sdmx-measure:obsValue ?B_101600 .
    }

    } 
    ?product rdfs:label ?product_label .
  }
}

GROUP BY ?date ?product_label ?product

}}
ORDER BY  ?product_label


Permalinks

Document Actions