next
previous
items

Data table via SPARQL

Efficiency of autoproducers conventional thermal power production

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

Download this dataset

Dataset preview

(Live Query)

ugeo first_year last_year delta
"Malta" "0.0"^^<http://www.w3.org/2001/XMLSchema#double> "66.7"^^<http://www.w3.org/2001/XMLSchema#double> "67.0"^^<http://www.w3.org/2001/XMLSchema#double>
"Belgium" "66.4"^^<http://www.w3.org/2001/XMLSchema#double> "112.8"^^<http://www.w3.org/2001/XMLSchema#double> "47.0"^^<http://www.w3.org/2001/XMLSchema#double>
"Ukraine" "50.2"^^<http://www.w3.org/2001/XMLSchema#double> "84.7"^^<http://www.w3.org/2001/XMLSchema#double> "35.0"^^<http://www.w3.org/2001/XMLSchema#double>
"Bulgaria" "40.2"^^<http://www.w3.org/2001/XMLSchema#double> "68.8"^^<http://www.w3.org/2001/XMLSchema#double> "29.0"^^<http://www.w3.org/2001/XMLSchema#double>
"Bosnia and Herzegovina" "0.0"^^<http://www.w3.org/2001/XMLSchema#double> "19.1"^^<http://www.w3.org/2001/XMLSchema#double> "19.0"^^<http://www.w3.org/2001/XMLSchema#double>
"Cyprus" "42.1"^^<http://www.w3.org/2001/XMLSchema#double> "55.6"^^<http://www.w3.org/2001/XMLSchema#double> "14.0"^^<http://www.w3.org/2001/XMLSchema#double>
"Ireland" "52.2"^^<http://www.w3.org/2001/XMLSchema#double> "65.2"^^<http://www.w3.org/2001/XMLSchema#double> "13.0"^^<http://www.w3.org/2001/XMLSchema#double>
"Hungary" "56.3"^^<http://www.w3.org/2001/XMLSchema#double> "66.6"^^<http://www.w3.org/2001/XMLSchema#double> "11.0"^^<http://www.w3.org/2001/XMLSchema#double>
"Slovenia" "61.0"^^<http://www.w3.org/2001/XMLSchema#double> "68.7"^^<http://www.w3.org/2001/XMLSchema#double> "8.0"^^<http://www.w3.org/2001/XMLSchema#double>
"Finland" "74.3"^^<http://www.w3.org/2001/XMLSchema#double> "80.8"^^<http://www.w3.org/2001/XMLSchema#double> "7.0"^^<http://www.w3.org/2001/XMLSchema#double>

Received 37 rows in 0.034 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/efficiency-of-autoproducers-conventional-thermal-7/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
(xsd:double(sum(?last_year))-xsd:double(sum(?first_year))) 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_101122 . 
      _:nrg_110a sdmx-measure:obsValue ?nrg_110a_6000_5200 .
    } UNION {
      _:nrg_110a property:product product:0000 .
      _:nrg_110a property:indic_nrg indic_nrg:B_101022 . 
     _: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


Document Actions