next
previous
items

Data table via SPARQL

Gross electricity production by fuel

Data table via SPARQL Published 15 Jul 2016 Last modified 11 Dec 2016
This is an old version, kept for reference only.

Go to latest version

Download this dataset

Dataset preview

(Live Query)

year ugeo sector obsValue
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "Coal and lignite" "6191"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "Natural and derived gas" "8536"^^<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" "1880"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "Renewables " "33633"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Coal and lignite" "17095"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Natural and derived gas" "8165"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Nuclear" "42722"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Oil" "1314"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "Renewables " "1186"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 3625 rows in 0.058 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/gross-electricity-production-by-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 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
  sum(?obsValue) 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 .
    } UNION {
      { SELECT 'Renewables ' as ?sector {} }
      _:nrg_105a property:indic_nrg ?indic_nrg .
      FILTER (?indic_nrg in (indic_nrg:15_107034,indic_nrg:15_107035,indic_nrg:14_1070421,
      indic_nrg:14_1070422,indic_nrg:14_1070431,indic_nrg:14_1070432,indic_nrg:15_107046,
      indic_nrg:15_107047,indic_nrg:22_108911,indic_nrg:22_108912,indic_nrg:22_108913,
      indic_nrg:22_108914,indic_nrg:22_108931,indic_nrg:22_108932,indic_nrg:22_108933,
      indic_nrg:22_108934,indic_nrg:22_108941,indic_nrg:22_108942,indic_nrg:22_108943,
      indic_nrg:22_108944,indic_nrg:22_108951,indic_nrg:22_108952,indic_nrg:22_108953,
      indic_nrg:22_108954,indic_nrg:22_108971,indic_nrg:22_108972,indic_nrg:22_108973,
      indic_nrg:22_108974,indic_nrg:15_107038,indic_nrg:15_107039,indic_nrg:15_107040,
      indic_nrg:15_107041,indic_nrg:15_107044,indic_nrg:15_107045))
      _: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

Document Actions