next
previous
items

Data table via SPARQL

Efficiency (electricity and heat) production from conventional thermal plants

Data table via SPARQL Published 14 Jul 2016 Last modified 27 Oct 2016
This is an old version, kept for reference only.

Go to latest version
Topics:

Download this dataset

Dataset preview

(Live Query)

ugeo first_year last_year delta
"Moldova" "45.2"^^<http://www.w3.org/2001/XMLSchema#double> "81.9"^^<http://www.w3.org/2001/XMLSchema#double> "36.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Malta" "26.4"^^<http://www.w3.org/2001/XMLSchema#double> "37.6"^^<http://www.w3.org/2001/XMLSchema#double> "11.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Lithuania" "69.1"^^<http://www.w3.org/2001/XMLSchema#double> "78.2"^^<http://www.w3.org/2001/XMLSchema#double> "9.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Belgium" "48.4"^^<http://www.w3.org/2001/XMLSchema#double> "53.1"^^<http://www.w3.org/2001/XMLSchema#double> "4.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Serbia" "31.0"^^<http://www.w3.org/2001/XMLSchema#double> "35.7"^^<http://www.w3.org/2001/XMLSchema#double> "4.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Cyprus" "34.9"^^<http://www.w3.org/2001/XMLSchema#double> "39.1"^^<http://www.w3.org/2001/XMLSchema#double> "4.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Czech Republic" "43.7"^^<http://www.w3.org/2001/XMLSchema#double> "47.9"^^<http://www.w3.org/2001/XMLSchema#double> "4.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"France" "51.9"^^<http://www.w3.org/2001/XMLSchema#double> "56.0"^^<http://www.w3.org/2001/XMLSchema#double> "4.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Kosovo (under United Nations Security Council Resolution 1244/99)" "31.0"^^<http://www.w3.org/2001/XMLSchema#double> "34.7"^^<http://www.w3.org/2001/XMLSchema#double> "3.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Bosnia and Herzegovina" "22.5"^^<http://www.w3.org/2001/XMLSchema#double> "26.0"^^<http://www.w3.org/2001/XMLSchema#double> "3.5"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 41 rows in 0.001 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/efficiency-electricity-and-heat-production-11/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 owl: <http://www.w3.org/2002/07/owl#>
PREFIX sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#> 
PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#> 
PREFIX property: <http://rdfdata.eionet.europa.eu/eurostat/property#> 
PREFIX indic_nrg: <http://dd.eionet.europa.eu/vocabulary/eurostat/indic_nrg/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>
PREFIX product: <http://dd.eionet.europa.eu/vocabulary/eurostat/product/>
PREFIX sdmx-attribute: <http://purl.org/linked-data/sdmx/2009/attribute#> 

SELECT
bif:either (?ugeo = 'DE', 'Germany', ?country) as ?ugeo
sum(xsd:double(?first_year)) as ?first_year
sum(xsd:double(?last_year)) as ?last_year
round((sum(xsd:double(?last_year))-sum(xsd:double(?first_year)))*10)/10.0 as ?delta
{{
SELECT
?country
?ugeo
bif:either(?year = 2005, sum(?efficiency_rate),0) AS ?first_year
bif:either(?year = 2014, sum(?efficiency_rate),0) AS ?last_year
{{
SELECT DISTINCT
    ?country
    ?ugeo
    year(?date) as ?year
    #sum(?nrg_110a_6000_5200)
    #sum(?nrg_110a_0000)
    round(( ( sum(?nrg_110a_6000_5200) ) / ( sum(?nrg_110a_0000) ) )*1000)/10.0 as ?efficiency_rate
  WHERE {{
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_110a.rdf.gz> { 
    {    
    _:nrg_110a sdmx-dimension:timePeriod ?date .
    _:nrg_110a sdmx-dimension:refArea ?geo  . 
    _:nrg_110a sdmx-attribute:unitMeasure unit:KTOE .
    
    {
      _:nrg_110a property:product ?product . FILTER (?product in (product:6000, product:5200 ))
      _:nrg_110a property:indic_nrg indic_nrg:B_101121 . 
      _:nrg_110a sdmx-measure:obsValue ?nrg_110a_6000_5200 .
    } UNION {
      _:nrg_110a property:product product:0000 .
      _:nrg_110a property:indic_nrg indic_nrg:B_101021 . 
     _:nrg_110a sdmx-measure:obsValue ?nrg_110a_0000 .
    }
 }} ?geo skos:notation ?ugeo .
    ?geo skos:prefLabel ?country .
}}
GROUP BY ?country ?date ?ugeo
HAVING sum(?nrg_110a_0000) > 0
}}
}} 
ORDER BY desc(?delta) ?country ?date


Filed under: electricity, heat
Document Actions