Data table via SPARQL
Share of renewable energy in gross final energy consumption
Download this dataset
Dataset preview
(Live Query)
Received 489 rows in 0.068 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.
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
- Permalink to this version
- 0fd826f5014c4a15b87d2f71403d6d4e
- Permalink to latest version
- TKGWA2SQ6B
Older versions
Geographic coverage
Temporal coverage
For references, please go to https://www.eea.europa.eu/data-and-maps/daviz/sds/share-of-renewable-energy-in-gross-2 or scan the QR code.
PDF generated on 28 May 2022, 10:58 AM
Document Actions
Share with others