Primary energy consumption in Norway and Turkey

Data table via SPARQL Last modified 16 Jul 2019
Topics: ,

Download this dataset

Dataset preview

(Live Query)

date ugeo primary_energy_consumption target distance percentage_distance
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Norway" "27.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2017"^^<http://www.w3.org/2001/XMLSchema#int> "Turkey" "145.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""

Received 2 rows in 0.001 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/primary-energy-consumption-in-norway-3/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://semantic7.eea.europa.eu/sparql

PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
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 property: <http://rdfdata.eionet.europa.eu/eurostat/property#>
PREFIX siec: <http://dd.eionet.europa.eu/vocabulary/eurostat/siec/>
PREFIX nrg_bal: <http://dd.eionet.europa.eu/vocabulary/eurostat/nrg_bal/>
PREFIX geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>
PREFIX unit: <http://dd.eionet.europa.eu/vocabulary/eurostat/unit/>

SELECT
year(?date) as ?date
?ugeo
round((sum(?GIC)-sum(?FC_NE))/100.0)/10.0 as ?primary_energy_consumption
'' as ?target
'' as ?distance
'' as ?percentage_distance

WHERE {
  { 
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_bal_c.rdf.gz> {
    ?nrg_bal_c sdmx-dimension:refArea ?geo .
    ?nrg_bal_c sdmx-attribute:unitMeasure unit:KTOE .
    ?nrg_bal_c sdmx-dimension:timePeriod ?date .
    ?nrg_bal_c property:siec siec:TOTAL .
    ?nrg_bal_c property:nrg_bal nrg_bal:GIC .
    ?nrg_bal_c sdmx-measure:obsValue ?GIC .

    ?nrg_bal_c_fc_ne sdmx-dimension:refArea ?geo .
    ?nrg_bal_c_fc_ne sdmx-attribute:unitMeasure unit:KTOE .
    ?nrg_bal_c_fc_ne sdmx-dimension:timePeriod ?date .
    ?nrg_bal_c_fc_ne property:siec siec:TOTAL .
    ?nrg_bal_c_fc_ne property:nrg_bal nrg_bal:FC_NE .
    ?nrg_bal_c_fc_ne sdmx-measure:obsValue ?FC_NE .
   
    FILTER (?geo in (geo:TR, geo:NO))
  } 
 }
?geo rdfs:label ?ugeo
FILTER (year(?date) = 2017)
}
ORDER BY ?ugeo ?date


Temporal coverage

Document Actions