Member states primary energy consumption and indicative national energy efficiency targets for 2020

Data table via SPARQL Last modified 20 Dec 2018
Topics: ,

Download this dataset

Dataset preview

(Live Query)

date ugeo primary_energy_consumption target distance percentage_distance
"2011"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "31.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "31.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "0.082"^^<http://www.w3.org/2001/XMLSchema#decimal> "25.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "31.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "31.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "-0.096"^^<http://www.w3.org/2001/XMLSchema#decimal> "25.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2013"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "32.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "31.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "0.57"^^<http://www.w3.org/2001/XMLSchema#decimal> "27.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "30.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "31.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "-0.88"^^<http://www.w3.org/2001/XMLSchema#decimal> "22"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2015"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "31.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "31.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "-0.028"^^<http://www.w3.org/2001/XMLSchema#decimal> "25.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2016"^^<http://www.w3.org/2001/XMLSchema#int> "Austria" "31.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "31.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "0.338"^^<http://www.w3.org/2001/XMLSchema#decimal> "26.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2011"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "49.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "43.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "6.107"^^<http://www.w3.org/2001/XMLSchema#decimal> "53.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "47.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "43.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "3.572"^^<http://www.w3.org/2001/XMLSchema#decimal> "45.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2013"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "48.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "43.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "5.139"^^<http://www.w3.org/2001/XMLSchema#decimal> "50.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Belgium" "45.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "43.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "1.451"^^<http://www.w3.org/2001/XMLSchema#decimal> "38.9"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 174 rows in 0.005 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/member-states-primary-energy-consumption-2/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 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 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/>
PREFIX indic_nrg: <http://dd.eionet.europa.eu/vocabulary/eurostat/indic_nrg/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX tableFile: <http://semantic.eea.europa.eu/project/indicators/gap_filling_data/ENER/national_energy_efficiency_targets_2020_2016.txt#>

SELECT
year(?date) as ?date
bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?ugeo
round((sum(?nrg_100a)-sum(?nrg_100a_non_energy))/100.0)/10.0 as ?primary_energy_consumption
round(sum(xsd:double(?primary))/100)/10.0 as ?target
(( (sum(?nrg_100a)-sum(?nrg_100a_non_energy))-sum(xsd:double(?primary)) )/100)/10.0 as ?distance

round(( (sum(?nrg_100a)-sum(?nrg_100a_non_energy)) - sum(xsd:integer(?final )) ) / sum(xsd:integer(?final )) * 1000)/10.0 as ?percentage_distance


WHERE {
  { 
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_100a.rdf.gz> 
  {
    _:nrg_100a sdmx-dimension:refArea ?geo .
    _:nrg_100a sdmx-attribute:unitMeasure unit:KTOE .
    _:nrg_100a sdmx-dimension:timePeriod ?date .
    _:nrg_100a property:product product:0000 .
    {
      _:nrg_100a property:indic_nrg indic_nrg:B_100900 .
      _:nrg_100a sdmx-measure:obsValue ?nrg_100a .
    } UNION {
      _:nrg_100a property:indic_nrg indic_nrg:B_101600 .
      _:nrg_100a sdmx-measure:obsValue ?nrg_100a_non_energy .
    }

    {SELECT DISTINCT
       xsd:date(?date) as ?date
       iri(?geo) as ?geo
       xsd:double(?primary)/2.0 as ?primary
       xsd:double(?final )/2.0 as ?final 
     WHERE {
       { 
       GRAPH <http://semantic.eea.europa.eu/project/indicators/gap_filling_data/ENER/national_energy_efficiency_targets_2020_2016.txt> 
         {
           _:rec tableFile:date ?date .
           _:rec tableFile:geo ?geo .
           _:rec tableFile:primary ?primary .
           _:rec tableFile:final ?final .
         }
       }
     }
    }
  } 
 }
?geo rdfs:label ?ugeo
FILTER (year(?date) > 2010)
}
GROUP BY  ?ugeo ?geo year(?date)
HAVING sum(xsd:integer(?final)) > 0
ORDER BY ?ugeo ?date


Related content

Temporal coverage

Document Actions