next
previous
items

Data table via SPARQL

Efficiency of conventional thermal power production for district heating

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
"Kosovo (under United Nations Security Council Resolution 1244/99)" "93.3"^^<http://www.w3.org/2001/XMLSchema#double> "203.4"^^<http://www.w3.org/2001/XMLSchema#double> "110.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Italy" "0.0"^^<http://www.w3.org/2001/XMLSchema#double> "69.9"^^<http://www.w3.org/2001/XMLSchema#double> "69.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Belgium" "23.8"^^<http://www.w3.org/2001/XMLSchema#double> "77.6"^^<http://www.w3.org/2001/XMLSchema#double> "53.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"France" "48.3"^^<http://www.w3.org/2001/XMLSchema#double> "78.1"^^<http://www.w3.org/2001/XMLSchema#double> "29.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Bulgaria" "85.0"^^<http://www.w3.org/2001/XMLSchema#double> "111.9"^^<http://www.w3.org/2001/XMLSchema#double> "26.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Ukraine" "71.8"^^<http://www.w3.org/2001/XMLSchema#double> "92.4"^^<http://www.w3.org/2001/XMLSchema#double> "20.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Lithuania" "92.8"^^<http://www.w3.org/2001/XMLSchema#double> "111.7"^^<http://www.w3.org/2001/XMLSchema#double> "18.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Former Yugoslav Republic of Macedonia, the" "81.8"^^<http://www.w3.org/2001/XMLSchema#double> "93.5"^^<http://www.w3.org/2001/XMLSchema#double> "11.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Hungary" "83.9"^^<http://www.w3.org/2001/XMLSchema#double> "94.5"^^<http://www.w3.org/2001/XMLSchema#double> "10.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Bosnia and Herzegovina" "69.9"^^<http://www.w3.org/2001/XMLSchema#double> "79.2"^^<http://www.w3.org/2001/XMLSchema#double> "9.3"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 33 rows in 0.001 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/efficiency-electricity-and-heat-production-10/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_100a_B_101109)
    #sum(?nrg_100a_B_101009)
    round((sum(xsd:double(?nrg_100a_B_101109)) / sum(xsd:double(?nrg_100a_B_101009)))*1000)/10.0 as ?efficiency_rate
  WHERE {{
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_100a.rdf.gz> { 
    {    
    _:nrg_100a sdmx-dimension:timePeriod ?date .
    _:nrg_100a sdmx-dimension:refArea ?geo .
    _:nrg_100a sdmx-attribute:unitMeasure unit:KTOE .
    _:nrg_100a property:product product:0000 .

    {
      _:nrg_100a property:indic_nrg indic_nrg:B_101109 . 
      _:nrg_100a sdmx-measure:obsValue ?nrg_100a_B_101109 .
    } UNION {
      
      _:nrg_100a property:indic_nrg indic_nrg:B_101009 . 
     _:nrg_100a sdmx-measure:obsValue ?nrg_100a_B_101009 .
    }
 }} ?geo skos:notation ?ugeo .
    ?geo skos:prefLabel ?country .
}}
GROUP BY ?country ?date ?ugeo
HAVING sum(?nrg_100a_B_101009) > 0
}}
}} 
ORDER BY desc(?delta) ?country ?date


Filed under: energy, heat
Document Actions