Final energy consumption of fuel type and sector

Data table via SPARQL Published 11 Apr 2019 Last modified 11 Apr 2019
Topics: ,

Download this dataset

Dataset preview

(Live Query)

date product_label indic_nrg_label share obsValue
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Electrical energy" "Transport" "2.87"^^<http://www.w3.org/2001/XMLSchema#decimal> "5.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Electrical energy" "Residential" "28.16"^^<http://www.w3.org/2001/XMLSchema#decimal> "52.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Electrical energy" "Industry" "45.97"^^<http://www.w3.org/2001/XMLSchema#decimal> "85.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Electrical energy" "Services" "20.41"^^<http://www.w3.org/2001/XMLSchema#decimal> "37.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Natural gas" "Industry" "46.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "97.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Natural gas" "Residential" "36.33"^^<http://www.w3.org/2001/XMLSchema#decimal> "76.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Natural gas" "Transport" "0.16"^^<http://www.w3.org/2001/XMLSchema#decimal> "0.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Natural gas" "Services" "12.41"^^<http://www.w3.org/2001/XMLSchema#decimal> "26.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Petroleum" "Industry" "13.58"^^<http://www.w3.org/2001/XMLSchema#decimal> "60.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Petroleum" "Transport" "62.02"^^<http://www.w3.org/2001/XMLSchema#decimal> "278.4"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 540 rows in 0.092 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/final-energy-consumption-of-fuel/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 DISTINCT
year(?date) as ?date
bif:either(?product = product:0000, "Total", bif:either(?product = product:3000, "Petroleum", ?product_label)) as ?product_label
replace(?indic_nrg_label, "Final Energy Consumption - ", "") as ?indic_nrg_label
(round((sum(?obsValue))/((sum(?B_101700)))*10000))/100.0 as ?share
round(sum(?obsValue)/100)/10.0 as ?obsValue

WHERE {
{  
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_110a.rdf.gz> 
  {
    _:nrg_110a sdmx-dimension:refArea geo:EU28 .
    _:nrg_110a sdmx-attribute:unitMeasure unit:KTOE .
    _:nrg_110a sdmx-dimension:timePeriod ?date .
    _:nrg_110a property:product ?product .
    FILTER (?product in (product:0000, product:3000, product:6000, 
                         product:4100, product:2000 ))

    _:nrg_110a property:indic_nrg ?indic_nrg .
    FILTER (?indic_nrg in (indic_nrg:B_101800, 
                           indic_nrg:B_101900, 
                           indic_nrg:B_102010, 
                           indic_nrg:B_102035))

    _:nrg_110a sdmx-measure:obsValue ?obsValue .

    _:nrg_110a_total sdmx-dimension:refArea geo:EU28 .
    _:nrg_110a_total sdmx-attribute:unitMeasure unit:KTOE .
    _:nrg_110a_total sdmx-dimension:timePeriod ?date .
    _:nrg_110a_total property:product ?product .
    _:nrg_110a_total property:indic_nrg indic_nrg:B_101700 .
    _:nrg_110a_total sdmx-measure:obsValue ?B_101700 .
  }
 }
 ?product skos:prefLabel ?product_label .
 ?indic_nrg skos:prefLabel ?indic_nrg_label .
 #FILTER (year(?date) = 2016)
}
GROUP BY ?product_label ?indic_nrg_label ?date ?indic_nrg ?product
ORDER BY ?date ?product_label


Temporal coverage

Document Actions
European Environment Agency (EEA)
Kongens Nytorv 6
1050 Copenhagen K
Denmark
Phone: +45 3336 7100