Data table via SPARQL
Member states primary energy consumption and indicative national energy efficiency targets for 2020
Download this dataset
Dataset preview
(Live Query)
Received 31 rows in 0.032 seconds.
https://www.eea.europa.eu/data-and-maps/daviz/sds/member-states-primary-energy-consumption-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://semantic.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/>
PREFIX tableFile: <http://semantic.eea.europa.eu/project/indicators/gap_filling_data/ENER/national_energy_efficiency_targets_2020_2017.txt#>
SELECT
year(?date) as ?date
bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?ugeo
round((sum(?GIC)-sum(?FC_NE))/100.0)/10.0 as ?primary_energy_consumption
round(xsd:double(?primary)/100)/10.0 as ?target
(( (sum(?GIC)-sum(?FC_NE)) - sum(xsd:double(?primary))/2.0 )/100)/10.0 as ?distance
round(((?primary_energy_consumption/?target)-1)*1000)/10.0 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 .
} UNION {
?nrg_bal_c property:nrg_bal nrg_bal:FC_NE .
?nrg_bal_c sdmx-measure:obsValue ?FC_NE .
}
}
}
{{
SELECT DISTINCT
xsd:date(?date) as ?date
?geo
?primary
?final
WHERE {
{
GRAPH <http://semantic.eea.europa.eu/project/indicators/gap_filling_data/ENER/national_energy_efficiency_targets_2020_2017.txt>
{
_:rec tableFile:date ?date .
_:rec tableFile:geo ?geo .
_:rec tableFile:primary ?primary .
_:rec tableFile:final ?final .
}
}
}}
}
#FILTER (BOUND(?final) && BOUND(?primary))
?geo rdfs:label ?ugeo
FILTER (year(?date) = 2017)
}
ORDER BY ?ugeo ?date
Permalinks
- Permalink to this version
- 5dd9a84c3fcb471993446bb58bdae2f2
- Permalink to latest version
- 0JF38VOQRU
Older versions
Geographic coverage
Temporal coverage
For references, please go to https://www.eea.europa.eu/data-and-maps/daviz/sds/member-states-primary-energy-consumption-3 or scan the QR code.
PDF generated on 14 Aug 2022, 11:25 PM
Document Actions
Share with others