next
previous
items

Data table via SPARQL

Efficiency of conventional thermal power production for district heating

Data table via SPARQL Published 15 Jun 2015 Last modified 29 Aug 2020
This is an old version, kept for reference only.

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

Download this dataset

Dataset preview

(Live Query)

ugeo 1990 2005 2012 2013 delta_2005_2012 delta_2005_2013 delta_1990_2012 delta_1990_2013
"Italy" "0.0"^^<http://www.w3.org/2001/XMLSchema#double> "0.0"^^<http://www.w3.org/2001/XMLSchema#double> "65.1"^^<http://www.w3.org/2001/XMLSchema#double> "70.7"^^<http://www.w3.org/2001/XMLSchema#double> "65.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "70.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "65.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "70.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Belgium" "81.7"^^<http://www.w3.org/2001/XMLSchema#double> "23.8"^^<http://www.w3.org/2001/XMLSchema#double> "74.7"^^<http://www.w3.org/2001/XMLSchema#double> "70.5"^^<http://www.w3.org/2001/XMLSchema#double> "50.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "46.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "-7"^^<http://www.w3.org/2001/XMLSchema#decimal> "-11.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Bulgaria" "87.8"^^<http://www.w3.org/2001/XMLSchema#double> "85.0"^^<http://www.w3.org/2001/XMLSchema#double> "116.7"^^<http://www.w3.org/2001/XMLSchema#double> "123.2"^^<http://www.w3.org/2001/XMLSchema#double> "31.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "38.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "28.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "35.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"France" "46.9"^^<http://www.w3.org/2001/XMLSchema#double> "48.3"^^<http://www.w3.org/2001/XMLSchema#double> "78.2"^^<http://www.w3.org/2001/XMLSchema#double> "78.6"^^<http://www.w3.org/2001/XMLSchema#double> "29.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "30.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "31.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "31.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Ukraine" "75.2"^^<http://www.w3.org/2001/XMLSchema#double> "71.8"^^<http://www.w3.org/2001/XMLSchema#double> "96.2"^^<http://www.w3.org/2001/XMLSchema#double> "92.6"^^<http://www.w3.org/2001/XMLSchema#double> "24.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "20.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "21"^^<http://www.w3.org/2001/XMLSchema#decimal> "17.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Lithuania" "81.5"^^<http://www.w3.org/2001/XMLSchema#double> "92.8"^^<http://www.w3.org/2001/XMLSchema#double> "106.4"^^<http://www.w3.org/2001/XMLSchema#double> "107.4"^^<http://www.w3.org/2001/XMLSchema#double> "13.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "14.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "24.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "25.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Czech Republic" "75.5"^^<http://www.w3.org/2001/XMLSchema#double> "83.9"^^<http://www.w3.org/2001/XMLSchema#double> "93.4"^^<http://www.w3.org/2001/XMLSchema#double> "94.0"^^<http://www.w3.org/2001/XMLSchema#double> "9.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "10.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "17.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "18.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Slovenia" "81.7"^^<http://www.w3.org/2001/XMLSchema#double> "80.2"^^<http://www.w3.org/2001/XMLSchema#double> "88.9"^^<http://www.w3.org/2001/XMLSchema#double> "91.2"^^<http://www.w3.org/2001/XMLSchema#double> "8.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "11"^^<http://www.w3.org/2001/XMLSchema#decimal> "7.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "9.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Romania" "0.0"^^<http://www.w3.org/2001/XMLSchema#double> "79.8"^^<http://www.w3.org/2001/XMLSchema#double> "88.1"^^<http://www.w3.org/2001/XMLSchema#double> "65.9"^^<http://www.w3.org/2001/XMLSchema#double> "8.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "-13.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "88.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "65.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Austria" "79.0"^^<http://www.w3.org/2001/XMLSchema#double> "77.1"^^<http://www.w3.org/2001/XMLSchema#double> "83.2"^^<http://www.w3.org/2001/XMLSchema#double> "84.1"^^<http://www.w3.org/2001/XMLSchema#double> "6.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "7"^^<http://www.w3.org/2001/XMLSchema#decimal> "4.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "5.1"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 33 rows in 0.003 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/efficiency-electricity-and-heat-production-8/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(?1990)) as ?1990
sum(xsd:double(?2005)) as ?2005
sum(xsd:double(?2012)) as ?2012
sum(xsd:double(?2013)) as ?2013

round((sum(xsd:double(?2012))-sum(xsd:double(?2005)))*10)/10.0 as ?delta_2005_2012
round((sum(xsd:double(?2013))-sum(xsd:double(?2005)))*10)/10.0 as ?delta_2005_2013
round((sum(xsd:double(?2012))-sum(xsd:double(?1990)))*10)/10.0 as ?delta_1990_2012
round((sum(xsd:double(?2013))-sum(xsd:double(?1990)))*10)/10.0 as ?delta_1990_2013

{{
SELECT
?country
?ugeo
bif:either(?year = 1990, sum(?efficiency_rate),0) AS ?1990
bif:either(?year = 2005, sum(?efficiency_rate),0) AS ?2005
bif:either(?year = 2009, sum(?efficiency_rate),0) AS ?2009
bif:either(?year = 2010, sum(?efficiency_rate),0) AS ?2010
bif:either(?year = 2012, sum(?efficiency_rate),0) AS ?2012
bif:either(?year = 2013, sum(?efficiency_rate),0) AS ?2013
{{
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_2005_2012) ?country ?date 

Error when running query:

Error. Traceback (most recent call last):
  File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/Method.py", line 287, in run_with_timeout
    ret = func(*args, **kwargs)
  File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/Method.py", line 215, in query_and_get_result
    result = sparql.query(*args, timeout = kwargs.get("timeout", 0) or 0)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 747, in query
    return s.query(query, timeout, raw=raw)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 416, in query
    return q.query(query, timeout, raw=raw)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 571, in query
    response = self._request(statement, timeout)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 561, in _request
    response = self._build_response(query, opener, buf, timeout)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 543, in _build_response
    timeout if timeout > 0 else None)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 514, in _get_response
    response = opener.open(request, timeout=timeout)
  File "/usr/local/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/local/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: 


Permalinks

Topics

Topics:

Tags

Filed under:
Filed under: energy, heat
Document Actions