Data table via SPARQL
Primary energy consumption in Norway and Turkey
Go to latest version
Download this dataset
Dataset preview
(Live Query)
Received 50 rows in 0.002 seconds.
https://www.eea.europa.eu/data-and-maps/daviz/sds/primary-energy-consumption-in-norway-1/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.
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
}
ORDER BY ?ugeo ?date
Permalinks
- Permalink to this version
- 1e75582badb04d16905abd4fd7815232
- Permalink to latest version
- NKOV6MFJZ3
For references, please go to https://www.eea.europa.eu/data-and-maps/daviz/sds/primary-energy-consumption-in-norway-1 or scan the QR code.
PDF generated on 22 May 2022, 08:36 PM
Document Actions
Share with others