next
previous
items

Primary energy consumption in Norway and Turkey

Data table via SPARQL Published 17 Sep 2018 Last modified 24 Jun 2020
This is an old version, kept for reference only.

Go to latest version
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> "Norway" "24.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Norway" "25.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2013"^^<http://www.w3.org/2001/XMLSchema#int> "Norway" "27"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Norway" "26.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2015"^^<http://www.w3.org/2001/XMLSchema#int> "Norway" "26.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2016"^^<http://www.w3.org/2001/XMLSchema#int> "Norway" "25.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2011"^^<http://www.w3.org/2001/XMLSchema#int> "Turkey" "106.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Turkey" "112.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2013"^^<http://www.w3.org/2001/XMLSchema#int> "Turkey" "108.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""
"2014"^^<http://www.w3.org/2001/XMLSchema#int> "Turkey" "116"^^<http://www.w3.org/2001/XMLSchema#decimal> "" "" ""

Received 12 rows in 0.001 seconds.


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

SELECT
year(?date) as ?date
?ugeo
round((sum(?nrg_100a)-sum(?nrg_100a_non_energy))/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_100a.rdf.gz> 
  {
    _:nrg_100a sdmx-dimension:refArea ?geo . FILTER (?geo in (geo:TR, geo:NO))
    _: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 .

    }
  } 
 }
?geo rdfs:label ?ugeo
FILTER (year(?date) > 2010)
}
ORDER BY ?ugeo ?date


Geographic coverage

Temporal coverage

Tags

Document Actions