next
previous
items

Data table via SPARQL

Share of renewable energy in gross final energy consumption

Data table via SPARQL Published 27 Aug 2018 Last modified 24 Jun 2020
34 min read
Topics:

Download this dataset

Dataset preview

(Live Query)

ugeo date obsValue
"Albania" "2004" "28"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Albania" "2005" "30"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Albania" "2006" "32"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Albania" "2007" "33"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Albania" "2008" "32"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Albania" "2009" "31"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Albania" "2010" "32"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Albania" "2011" "31"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Albania" "2012" "35"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Albania" "2013" "33"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 489 rows in 0.007 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/share-of-renewable-energy-in-gross-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 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 indic_eu: <http://dd.eionet.europa.eu/vocabulary/eurostat/indic_eu/>

SELECT
bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?ugeo
bif:either(?date = 'TARGET','Target 2020', bif:either(?date != 'TARGET', substr(xsd:string(?date), 1,4) , ?date)) as ?date
sum(?obsValue) as ?obsValue
WHERE { 
 GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/t2020_31.rdf.gz> 
  { 
    {
    ?t2020_31 sdmx-dimension:timePeriod ?date . 
    ?t2020_31 property:indic_eu indic_eu:T2020_31 . 
    ?t2020_31 sdmx-dimension:refArea ?geo . 
    ?t2020_31 sdmx-attribute:unitMeasure unit:PC . 
    ?t2020_31 sdmx-measure:obsValue ?obsValue .
    } UNION {
      { SELECT 'TARGET' as ?date geo:NO as ?geo 67.5 as ?obsValue {} }
    } UNION {
      { SELECT 'TARGET' as ?date geo:IS as ?geo 64 as ?obsValue {} }
    } UNION {
      { SELECT 'TARGET' as ?date geo:MK as ?geo 28 as ?obsValue {} }
    } UNION {
      { SELECT 'TARGET' as ?date geo:AL as ?geo 38 as ?obsValue {} }
    } UNION {
      { SELECT 'TARGET' as ?date geo:ME as ?geo 33 as ?obsValue {} }
    }
  }
  ?geo rdfs:label ?ugeo .
}
GROUP BY ?date ?geo ?ugeo ?unit
ORDER BY ?ugeo ?date


Permalinks

Geographic coverage

Temporal coverage

Topics

Topics:

Tags

Filed under:
Filed under: renewable energies
Document Actions