next
previous
items

Gross electricity production by fuel

Data table via SPARQL Published 17 Sep 2018 Last modified 24 Jun 2020
30 min read
Topics:

Download this dataset

Dataset preview

(Live Query)

year ugeo sector obsValue
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "Coal and lignite" "6.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "Natural and derived gas" "8.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "Nuclear" "0"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "Oil" "1.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Coal and lignite" "17.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Natural and derived gas" "8.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Nuclear" "42.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Oil" "1.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "Coal and lignite" "21"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Bulgaria" "Natural and derived gas" "3.4"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 3132 rows in 0.046 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/gross-electricity-production-by-fuel-4/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 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 
  year(?date) as ?year
  bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?ugeo
  ?sector
  round(sum(xsd:double(?obsValue))/100.0)/10.0 as ?obsValue
WHERE {
  {  
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_105a.rdf.gz> 
    {
    _:nrg_105a sdmx-dimension:refArea ?geo .
    _:nrg_105a sdmx-attribute:unitMeasure unit:GWH .
    _:nrg_105a sdmx-dimension:timePeriod ?date .
    _:nrg_105a property:product product:6000 .
    {
      { SELECT 'Oil' as ?sector {} }
      _:nrg_105a property:indic_nrg ?indic_nrg . 
      FILTER (?indic_nrg in (indic_nrg:22_108701,indic_nrg:22_108702,indic_nrg:22_108703,
      indic_nrg:22_108704,indic_nrg:22_108711, indic_nrg:22_108712,indic_nrg:22_108713,
      indic_nrg:22_108714,indic_nrg:22_108721,indic_nrg:22_108722,indic_nrg:22_108723,
      indic_nrg:22_108724,indic_nrg:22_108731, indic_nrg:22_108732,indic_nrg:22_108733,
      indic_nrg:22_108734,indic_nrg:22_108741,indic_nrg:22_108742,indic_nrg:22_108743,
      indic_nrg:22_108744,indic_nrg:22_108751,indic_nrg:22_108752,indic_nrg:22_108753,
      indic_nrg:22_108754,indic_nrg:22_108761,indic_nrg:22_108762,indic_nrg:22_108763,
      indic_nrg:22_108764,indic_nrg:22_108771,indic_nrg:22_108772,indic_nrg:22_108773,
      indic_nrg:22_108774,indic_nrg:22_108781,indic_nrg:22_108782,indic_nrg:22_108783,
      indic_nrg:22_108784,indic_nrg:22_108791,indic_nrg:22_108792,indic_nrg:22_108793,
      indic_nrg:22_108794,indic_nrg:22_108801,indic_nrg:22_108802,indic_nrg:22_108803, 
      indic_nrg:22_108804,indic_nrg:22_108811,indic_nrg:22_108812,indic_nrg:22_108813,
      indic_nrg:22_108814))
      _:nrg_105a sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'Coal and lignite' as ?sector {} }
      _:nrg_105a property:indic_nrg ?indic_nrg .
      FILTER (?indic_nrg in (indic_nrg:22_108501,indic_nrg:22_108502,indic_nrg:22_108503,
      indic_nrg:22_108504,indic_nrg:22_108511,indic_nrg:22_108512,indic_nrg:22_108513,
      indic_nrg:22_108514,indic_nrg:22_108521,indic_nrg:22_108522,indic_nrg:22_108523,
      indic_nrg:22_108524,indic_nrg:22_108531,indic_nrg:22_108532,indic_nrg:22_108533, 
      indic_nrg:22_108534, indic_nrg:22_108541,indic_nrg:22_108542,indic_nrg:22_108543,
      indic_nrg:22_108544,indic_nrg:22_108551,indic_nrg:22_108552,indic_nrg:22_108553,
      indic_nrg:22_108554,indic_nrg:22_108561,indic_nrg:22_108562,indic_nrg:22_108563,
      indic_nrg:22_108564,indic_nrg:22_108571,indic_nrg:22_108572,indic_nrg:22_108573,
      indic_nrg:22_108574,indic_nrg:22_108581,indic_nrg:22_108582,indic_nrg:22_108583,
      indic_nrg:22_108584,indic_nrg:22_108591,indic_nrg:22_108592,indic_nrg:22_108593,
      indic_nrg:22_108594,indic_nrg:22_108601,indic_nrg:22_108602,indic_nrg:22_108603,
      indic_nrg:22_108604))
      _:nrg_105a sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'Natural and derived gas' as ?sector {} }
      _:nrg_105a property:indic_nrg ?indic_nrg .
      FILTER (?indic_nrg in (indic_nrg:22_108891,indic_nrg:22_108892,indic_nrg:22_108893,
      indic_nrg:22_108894,indic_nrg:22_108611,indic_nrg:22_108612,indic_nrg:22_108613,
      indic_nrg:22_108614,indic_nrg:22_108621,indic_nrg:22_108622,indic_nrg:22_108623,
      indic_nrg:22_108624,indic_nrg:22_108631,indic_nrg:22_108632,indic_nrg:22_108633,
      indic_nrg:22_108634,indic_nrg:22_108641,indic_nrg:22_108642,indic_nrg:22_108643,
      indic_nrg:22_108644))
      _:nrg_105a sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'Nuclear' as ?sector {} }
      _:nrg_105a property:indic_nrg ?indic_nrg . 
      FILTER (?indic_nrg in (indic_nrg:15_107030,indic_nrg:15_107031,
                             indic_nrg:15_107032,indic_nrg:15_107033))
      _:nrg_105a sdmx-measure:obsValue ?obsValue .
    }
   }
  }
  ?geo rdfs:label ?ugeo .
  FILTER (?geo in (geo:AT, geo:BE, geo:BG, geo:CY, geo:CZ, geo:DE, geo:DK,
                     geo:EE, geo:EL, geo:ES, geo:FI, geo:FR, geo:HR, geo:HU,
                     geo:IE, geo:IT, geo:LT, geo:LU, geo:LV, geo:MT, geo:NL,
                     geo:PL, geo:PT, geo:RO, geo:SE, geo:SI, geo:SK, geo:UK, 
                     geo:EU28))

  FILTER (year(?date) >= 1990)
} 
GROUP BY year(?date) ?geo ?sector ?ugeo
ORDER BY ?date ?ugeo ?sector


Permalinks

Geographic coverage

Temporal coverage

Tags

Filed under:
Filed under: electricity preduction
Document Actions