All official European Union website addresses are in the europa.eu domain.
See all EU institutions and bodiesDo something for our planet, print this page only if needed. Even a small action can make an enormous difference when millions of people do it!
Data table via SPARQL
Received 31 rows in 0.001 seconds.
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.
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
For references, please go to https://eea.europa.eu./data-and-maps/daviz/sds/member-states-primary-energy-consumption-3 or scan the QR code.
PDF generated on 23 Nov 2024, 11:32 AM
Engineered by: EEA Web Team
Software updated on 26 September 2023 08:13 from version 23.8.18
Software version: EEA Plone KGS 23.9.14
Document Actions
Share with others