next
previous
items

Data table via SPARQL

Change in share of renewable energies in primary energy demand

Data table via SPARQL Published 20 Oct 2014 Last modified 26 Aug 2017
This is an old version, kept for reference only.

Go to latest version
This page was archived on 26 Aug 2017 with reason: A new version has been published

Download this dataset

Dataset preview

(Live Query)

date country value tsdcc320_0000 tsdcc320_5500 target
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Luxembourg" "0.51"^^<http://www.w3.org/2001/XMLSchema#decimal> "3508"^^<http://www.w3.org/2001/XMLSchema#decimal> "18"^^<http://www.w3.org/2001/XMLSchema#decimal> "12"^^<http://www.w3.org/2001/XMLSchema#int>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Hungary" "2.59"^^<http://www.w3.org/2001/XMLSchema#decimal> "28847"^^<http://www.w3.org/2001/XMLSchema#decimal> "746"^^<http://www.w3.org/2001/XMLSchema#decimal> ""
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Latvia" "13.17"^^<http://www.w3.org/2001/XMLSchema#decimal> "7932"^^<http://www.w3.org/2001/XMLSchema#decimal> "1045"^^<http://www.w3.org/2001/XMLSchema#decimal> ""
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Poland" "1.53"^^<http://www.w3.org/2001/XMLSchema#decimal> "103314"^^<http://www.w3.org/2001/XMLSchema#decimal> "1580"^^<http://www.w3.org/2001/XMLSchema#decimal> ""
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Slovakia" "1.51"^^<http://www.w3.org/2001/XMLSchema#decimal> "21773"^^<http://www.w3.org/2001/XMLSchema#decimal> "328"^^<http://www.w3.org/2001/XMLSchema#decimal> ""
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Denmark" "5.77"^^<http://www.w3.org/2001/XMLSchema#decimal> "17918"^^<http://www.w3.org/2001/XMLSchema#decimal> "1033"^^<http://www.w3.org/2001/XMLSchema#decimal> "12"^^<http://www.w3.org/2001/XMLSchema#int>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Cyprus" "0.37"^^<http://www.w3.org/2001/XMLSchema#decimal> "1601"^^<http://www.w3.org/2001/XMLSchema#decimal> "6"^^<http://www.w3.org/2001/XMLSchema#decimal> ""
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Italy" "4.22"^^<http://www.w3.org/2001/XMLSchema#decimal> "153511"^^<http://www.w3.org/2001/XMLSchema#decimal> "6472"^^<http://www.w3.org/2001/XMLSchema#decimal> "12"^^<http://www.w3.org/2001/XMLSchema#int>
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Malta" "0.17"^^<http://www.w3.org/2001/XMLSchema#decimal> "585"^^<http://www.w3.org/2001/XMLSchema#decimal> "1"^^<http://www.w3.org/2001/XMLSchema#decimal> ""
"1990"^^<http://www.w3.org/2001/XMLSchema#int> "Netherlands" "1.11"^^<http://www.w3.org/2001/XMLSchema#decimal> "66674"^^<http://www.w3.org/2001/XMLSchema#decimal> "738"^^<http://www.w3.org/2001/XMLSchema#decimal> "12"^^<http://www.w3.org/2001/XMLSchema#int>

Received 813 rows in 0.021 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/change-in-share-of-renewable-1/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 qb: <http://purl.org/linked-data/cube#> 
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 rdf-schema: <http://www.w3.org/2000/01/rdf-schema#>
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/>

SELECT DISTINCT
year(?date) as ?date
bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?country
(round(sum(?tsdcc320_5500)/sum(?tsdcc320_0000)*10000))/100.0 as ?value
sum(?tsdcc320_0000) as ?tsdcc320_0000
sum(?tsdcc320_5500) as ?tsdcc320_5500
#xsd:integer(12) as ?target

bif:either (?geo in (geo:EU15, geo:SE, geo:AT, geo:FI, geo:PT,geo:DK, geo:ES, geo:DE, geo:IT, geo:IE, geo:FR, geo:EL, geo:IE, geo:BE, geo:NL, geo:UK, geo:LU), xsd:integer(12), '') as ?target

WHERE { 
_:tsdcc320 qb:dataSet <http://rdfdata.eionet.europa.eu/eurostat/data/tsdcc320>. 
_:tsdcc320 sdmx-dimension:timePeriod ?date . FILTER (year(?date) >= 1990)
_:tsdcc320 sdmx-dimension:refArea ?geo . 
_:tsdcc320 sdmx-attribute:unitMeasure unit:1000TOE . 

?geo rdf-schema:label ?ugeo

{
  _:tsdcc320 property:product product:0000 . 
  _:tsdcc320 sdmx-measure:obsValue ?tsdcc320_0000  . 
} UNION {
  _:tsdcc320 property:product product:5500 . 
  _:tsdcc320 sdmx-measure:obsValue ?tsdcc320_5500  . 
}

}
GROUP BY ?date ?ugeo ?geo
HAVING sum(?tsdcc320_0000) > 0
ORDER BY ?date


Permalinks

Document Actions