next
previous
items

Data table via SPARQL

Share of renewable electricity in gross electricity consumption, country breakdown

Data table via SPARQL Published 24 Nov 2014 Last modified 29 Jan 2016

Download this dataset

Dataset preview

(Live Query)

ugeo date renewable
"Croatia" "2010 Target" ""
"Germany" "2010 Target" "13"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Lithuania" "2010 Target" "7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Spain" "2010 Target" "29"^^<http://www.w3.org/2001/XMLSchema#decimal>
"European Union (28 countries)" "2010 Target" "21"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Poland" "2010 Target" "8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Iceland" "2010 Target" "13"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Slovakia" "2010 Target" "31"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Czech Republic" "2010 Target" "8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Finland" "2010 Target" "32"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 221 rows in 0.003 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/share-of-renewable-electricity-in/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



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://rdfdata.eionet.europa.eu/eurostat/dic/geo#>
PREFIX unit: <http://rdfdata.eionet.europa.eu/eurostat/dic/unit#>
PREFIX product: <http://dd.eionet.europa.eu/vocabulary/eurostat/product/>
PREFIX indic_nrg: <http://dd.eionet.europa.eu/vocabulary/eurostat/indic_nrg/>
PREFIX tableFile: <http://semantic.eea.europa.eu/project/indicators/gap_filling_data/ENER030/renewable_electricity_Indicative_target_2010.tsv#>

SELECT 
?ugeo
bif:either(?date = 2010, '2010 Target', ?date) as ?date
?renewable
{{
SELECT
bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?ugeo
year(?date) as ?date
bif:either( sum(?target) > 0, sum(?target), round((sum(?all_renewable))/sum(?total_power)*1000)/10.0 ) as ?renewable
WHERE {
{  
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_105a.rdf.gz> 
  { 
    _:nrg_105a sdmx-dimension:timePeriod ?date .
    FILTER (year(?date) in (1990, 1995, 2000, 2005, 2011, 2012))
    _:nrg_105a property:product product:6000 . 
    _:nrg_105a sdmx-attribute:unitMeasure unit:GWH .
    _:nrg_105a property:indic_nrg ?indic_nrg .
    _:nrg_105a sdmx-dimension:refArea ?geo . 
    FILTER (?geo != geo:EA18 and ?geo != geo:EU15 and ?geo != geo:MK and ?geo != geo:RS and ?geo != geo:ME)
    {
      FILTER (?indic_nrg in (indic_nrg:15_107034, indic_nrg:15_107035,indic_nrg:15_107044, indic_nrg:15_107045,indic_nrg:14_1070421, indic_nrg:14_1070431,indic_nrg:14_1070422, indic_nrg:14_1070432,indic_nrg:15_107038, indic_nrg:15_107039, indic_nrg:15_107040, indic_nrg:15_107041,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:15_107046, indic_nrg:15_107047,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))
      _:nrg_105a sdmx-measure:obsValue ?all_renewable .
    } UNION {
      FILTER (?indic_nrg in (indic_nrg:B_100900, indic_nrg:17_107000)) 
      _:nrg_105a sdmx-measure:obsValue ?total_power .
    }
  }
 } UNION {
 GRAPH <http://semantic.eea.europa.eu/project/indicators/gap_filling_data/ENER030/renewable_electricity_Indicative_target_2010.tsv> 
   { 
     _:rec tableFile:date ?date .     
     _:rec tableFile:geo ?geo .
     _:rec tableFile:target ?target .
   } 
 }
?geo rdfs:label ?ugeo .
}
GROUP BY ?geo ?date ?ugeo

}}
ORDER BY ?date


Permalinks

Document Actions