next
previous
items

Data table via SPARQL

Final energy consumption of fuel type and sector

Data table via SPARQL Published 11 Jun 2019 Last modified 24 Jun 2020
Topics:

Download this dataset

Dataset preview

(Live Query)

date siec_label nrg_bal_label share obsValue obsValue_total
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "commercial and public services" "10.71"^^<http://www.w3.org/2001/XMLSchema#decimal> "110.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "1033.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "households" "26.52"^^<http://www.w3.org/2001/XMLSchema#decimal> "274.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "1033.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "industry" "33.06"^^<http://www.w3.org/2001/XMLSchema#decimal> "341.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "1033.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "transport" "25.18"^^<http://www.w3.org/2001/XMLSchema#decimal> "260.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "1033.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Electricity" "commercial and public services" "20.55"^^<http://www.w3.org/2001/XMLSchema#decimal> "38.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "185.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Electricity" "households" "28.16"^^<http://www.w3.org/2001/XMLSchema#decimal> "52.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "185.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Electricity" "industry" "45.97"^^<http://www.w3.org/2001/XMLSchema#decimal> "85.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "185.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Electricity" "transport" "2.87"^^<http://www.w3.org/2001/XMLSchema#decimal> "5.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "185.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Natural gas" "commercial and public services" "12.41"^^<http://www.w3.org/2001/XMLSchema#decimal> "26.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "211"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Natural gas" "households" "36.34"^^<http://www.w3.org/2001/XMLSchema#decimal> "76.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "211"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 560 rows in 0.015 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/final-energy-consumption-of-fuel-2/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 property: <http://rdfdata.eionet.europa.eu/eurostat/property#>
PREFIX siec: <http://dd.eionet.europa.eu/vocabulary/eurostat/siec/>
PREFIX nrg_bal: <http://dd.eionet.europa.eu/vocabulary/eurostat/nrg_bal/>
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>

SELECT DISTINCT
year(?date) as ?date
?siec_label
replace(replace(replace(replace(?nrg_bal_label, "Final consumption - ", ""), "other sectors - ", ""), " - energy use", ""), " sector", "") as ?nrg_bal_label
(round((sum(?obsValue))/((sum(?obsValue_total)))*10000))/100.0 as ?share
round(sum(?obsValue)/100)/10.0 as ?obsValue
round(sum(?obsValue_total)/100)/10.0 as ?obsValue_total


WHERE { 
 GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_bal_c.rdf.gz> {
    ?nrg_bal_c sdmx-dimension:refArea geo:EU28 .
    ?nrg_bal_c sdmx-attribute:unitMeasure unit:KTOE .
    ?nrg_bal_c sdmx-dimension:timePeriod ?date .
    ?nrg_bal_c property:siec ?siec .
    ?nrg_bal_c property:nrg_bal ?nrg_bal .
    FILTER (?siec in (siec:C0000X0350-0370, siec:O4000XBIO, siec:G3000, 
                      siec:E7000, siec:TOTAL))

    FILTER (?nrg_bal IN (nrg_bal:FC_IND_E, nrg_bal:FC_TRA_E, 
                         nrg_bal:FC_OTH_HH_E, nrg_bal:FC_OTH_CP_E))

    ?nrg_bal_c sdmx-measure:obsValue ?obsValue .

    ?nrg_bal_c_total sdmx-dimension:refArea geo:EU28 .
    ?nrg_bal_c_total sdmx-attribute:unitMeasure unit:KTOE .
    ?nrg_bal_c_total sdmx-dimension:timePeriod ?date .
    ?nrg_bal_c_total property:siec ?siec .
    ?nrg_bal_c_total property:nrg_bal ?nrg_bal_total .


    FILTER (?nrg_bal_total IN (nrg_bal:FC_E))

    ?nrg_bal_c_total sdmx-measure:obsValue ?obsValue_total .

  }
  ?siec rdfs:label ?siec_label .
  ?nrg_bal rdfs:label ?nrg_bal_label .
}
ORDER BY ?date ?siec_label ?nrg_bal_label


Permalinks

Geographic coverage

Temporal coverage

Topics

Topics:

Tags

Document Actions