Data table via SPARQL
Final energy consumption of oil by sector
Go to latest version
Download this dataset
Dataset preview
(Live Query)
Received 25 rows in 0.001 seconds.
https://www.eea.europa.eu/data-and-maps/daviz/sds/final-energy-consumption-of-oil-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.
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/>
SELECT
year(?date) as ?date
round(sum(?B_101800)/100)/10.0 as ?industry
round(sum(?B_101900)/100)/10.0 as ?transport
round(sum(?B_102010)/100)/10.0 as ?households
round(sum(?B_102035)/100)/10.0 as ?services
round((sum(?B_102000)-sum(?B_102010)-sum(?B_102035))/100)/10.0 as ?other
round(sum(?B_101700)/100)/10.0 as ?total
(round((sum(?B_101800))/((sum(?B_101700)))*10000))/100.0 as ?share_industry
(round((sum(?B_101900))/((sum(?B_101700)))*10000))/100.0 as ?share_transport
(round((sum(?B_102010))/((sum(?B_101700)))*10000))/100.0 as ?share_households
(round((sum(?B_102035))/((sum(?B_101700)))*10000))/100.0 as ?share_services
(round((sum(?B_102000)-sum(?B_102010)-sum(?B_102035))/((sum(?B_101700)))*10000))/100.0 as ?share_other
WHERE {
{
GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_100a.rdf.gz>
{
_:nrg_100a sdmx-dimension:refArea geo:EU28 .
_:nrg_100a sdmx-attribute:unitMeasure unit:KTOE .
_:nrg_100a sdmx-dimension:timePeriod ?date .
_:nrg_100a property:product product:3000 .
{
_:nrg_100a property:indic_nrg indic_nrg:B_101700 .
_:nrg_100a sdmx-measure:obsValue ?B_101700 .
} UNION {
_:nrg_100a property:indic_nrg indic_nrg:B_101800 .
_:nrg_100a sdmx-measure:obsValue ?B_101800 .
} UNION {
_:nrg_100a property:indic_nrg indic_nrg:B_101900 .
_:nrg_100a sdmx-measure:obsValue ?B_101900 .
} UNION {
_:nrg_100a property:indic_nrg indic_nrg:B_102000 .
_:nrg_100a sdmx-measure:obsValue ?B_102000 .
} UNION {
_:nrg_100a property:indic_nrg indic_nrg:B_102010 .
_:nrg_100a sdmx-measure:obsValue ?B_102010 .
} UNION {
_:nrg_100a property:indic_nrg indic_nrg:B_102020 .
_:nrg_100a sdmx-measure:obsValue ?B_102020 .
} UNION {
_:nrg_100a property:indic_nrg indic_nrg:B_102030 .
_:nrg_100a sdmx-measure:obsValue ?B_102030 .
} UNION {
_:nrg_100a property:indic_nrg indic_nrg:B_102035 .
_:nrg_100a sdmx-measure:obsValue ?B_102035 .
} UNION {
_:nrg_100a property:indic_nrg indic_nrg:B_102200 .
_:nrg_100a sdmx-measure:obsValue ?B_102200 .
}
}
}
}
Permalinks
- Permalink to this version
- 0f854672a612445e9dc3f07e80b7f647
- Permalink to latest version
- 62AZMEOYU9
Older versions
For references, please go to https://www.eea.europa.eu/data-and-maps/daviz/sds/final-energy-consumption-of-oil-2 or scan the QR code.
PDF generated on 18 Jan 2021, 03:26 AM
Document Actions
Share with others