Data table via SPARQL
Primary energy consumption in Norway and Turkey
Download this dataset
Dataset preview
(Live Query)
Received 2 rows in 0.064 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.
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
Permalinks
- Permalink to this version
- 8d71d9a51fd544f4940bbc451e69e6af
- Permalink to latest version
- NKOV6MFJZ3
Older versions
Geographic coverage
Temporal coverage
For references, please go to https://www.eea.europa.eu/data-and-maps/daviz/sds/primary-energy-consumption-in-norway-3 or scan the QR code.
PDF generated on 18 May 2022, 06:42 AM
Document Actions
Share with others