next
previous
items

Data table via SPARQL

Final energy consumption of fuel type for other sectors

Data table via SPARQL Published 15 Apr 2019 Last modified 15 Apr 2019
This is an old version, kept for reference only.

Go to latest version
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" "Other" "0.86"^^<http://www.w3.org/2001/XMLSchema#decimal> "4.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Natural gas" "Other" "1.63"^^<http://www.w3.org/2001/XMLSchema#decimal> "10.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Petroleum" "Other" "1.71"^^<http://www.w3.org/2001/XMLSchema#decimal> "23.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Solid fuels" "Other" "0.87"^^<http://www.w3.org/2001/XMLSchema#decimal> "3.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "Other" "1.43"^^<http://www.w3.org/2001/XMLSchema#decimal> "46.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1991"^^<http://www.w3.org/2001/XMLSchema#int> "Electrical energy" "Other" "0.87"^^<http://www.w3.org/2001/XMLSchema#decimal> "4.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1991"^^<http://www.w3.org/2001/XMLSchema#int> "Natural gas" "Other" "1.81"^^<http://www.w3.org/2001/XMLSchema#decimal> "12"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1991"^^<http://www.w3.org/2001/XMLSchema#int> "Petroleum" "Other" "1.62"^^<http://www.w3.org/2001/XMLSchema#decimal> "22.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1991"^^<http://www.w3.org/2001/XMLSchema#int> "Solid fuels" "Other" "1.09"^^<http://www.w3.org/2001/XMLSchema#decimal> "3.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1991"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "Other" "1.46"^^<http://www.w3.org/2001/XMLSchema#decimal> "47.8"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 135 rows in 0.039 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/final-energy-consumption-of-fuel-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 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
"Other" as ?indic_nrg_label

(round((sum(?B_102000)-sum(?B_102010)-sum(?B_102035))/((sum(?B_101700)))*10000))/100.0 as ?share
round((sum(?B_102000)-sum(?B_102010)-sum(?B_102035))/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:B_102000 .
      _:nrg_110a sdmx-measure:obsValue ?B_102000 .
    } UNION {
      _:nrg_110a property:indic_nrg indic_nrg:B_102010 .
      _:nrg_110a sdmx-measure:obsValue ?B_102010 .
    } UNION {
      _:nrg_110a property:indic_nrg indic_nrg:B_102035 .
      _:nrg_110a sdmx-measure:obsValue ?B_102035 .
    }
    
    _: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 ?product
ORDER BY ?date ?product_label


Permalinks

Geographic coverage

Temporal coverage

Topics

Topics:

Tags

Document Actions