next
previous
items

Data table via SPARQL

Final energy intensity of households sector (2000=100), EU28

Data table via SPARQL Published 15 Jun 2015 Last modified 26 Aug 2017
This is an old version, kept for reference only.

Go to latest version
This page was archived on 26 Aug 2017 with reason: A new version has been published

Download this dataset

Dataset preview

(Live Query)

date sector index nrg_100a demo_pjan
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "100"^^<http://www.w3.org/2001/XMLSchema#decimal> "294357.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "486958178"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "103"^^<http://www.w3.org/2001/XMLSchema#decimal> "303780.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "488150701"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2002"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "100"^^<http://www.w3.org/2001/XMLSchema#decimal> "296140.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "489042974"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "103"^^<http://www.w3.org/2001/XMLSchema#decimal> "304756.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "490774711"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "103"^^<http://www.w3.org/2001/XMLSchema#decimal> "306391.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "492653174"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2005"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "102"^^<http://www.w3.org/2001/XMLSchema#decimal> "305547.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "494702123"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "101"^^<http://www.w3.org/2001/XMLSchema#decimal> "301902"^^<http://www.w3.org/2001/XMLSchema#decimal> "496543994"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2007"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "93"^^<http://www.w3.org/2001/XMLSchema#decimal> "280125.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "498408547"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "97"^^<http://www.w3.org/2001/XMLSchema#decimal> "292371.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "500418320"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2009"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "96"^^<http://www.w3.org/2001/XMLSchema#decimal> "291000.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "502186144"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 14 rows in 0.032 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/final-energy-intensity-of-households-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.

Are you new to Linked Data technology? visit http://linkeddata.org



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 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 sex: <http://purl.org/linked-data/sdmx/2009/code#>
PREFIX age: <http://dd.eionet.europa.eu/vocabulary/eurostat/age/>

SELECT DISTINCT
year(?date) as ?date
'Households' as ?sector
round(( ( sum(?nrg_100a)/sum(?demo_pjan) ) / ( sum(?nrg_100a_idx)/sum(?demo_pjan_idx) ) )*100) as ?index

sum(?nrg_100a) as ?nrg_100a
sum(?demo_pjan) as ?demo_pjan
WHERE {
  { 
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/demo_pjan.rdf.gz> 
    {
      _:demo_pjan sdmx-dimension:timePeriod ?date . 
      _:demo_pjan sdmx-dimension:refArea geo:EU28 . 
      _:demo_pjan sdmx-dimension:age age:TOTAL . 
      _:demo_pjan sdmx-dimension:sex sex:sex-T . 
      _:demo_pjan sdmx-measure:obsValue ?demo_pjan .

      _:demo_pjan_idx sdmx-dimension:timePeriod ?date_idx . FILTER (year(?date_idx) = 2000)
      _:demo_pjan_idx sdmx-dimension:refArea geo:EU28 . 
      _:demo_pjan_idx sdmx-dimension:age age:TOTAL . 
      _:demo_pjan_idx sdmx-dimension:sex sex:sex-T . 
      _:demo_pjan_idx sdmx-measure:obsValue ?demo_pjan_idx .
    }
  } UNION {
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_100a.rdf.gz>
    {
      _:nrg_100a sdmx-dimension:timePeriod ?date .
      _:nrg_100a sdmx-attribute:unitMeasure unit:KTOE .
      _:nrg_100a sdmx-dimension:refArea geo:EU28 .
      _:nrg_100a property:product product:0000 .
      _:nrg_100a property:indic_nrg indic_nrg:B_102010 .
      _:nrg_100a sdmx-measure:obsValue ?nrg_100a .

      _:nrg_100a_idx sdmx-dimension:timePeriod ?date_idx . FILTER (year(?date_idx) = 2000)
      _:nrg_100a_idx sdmx-attribute:unitMeasure unit:KTOE .
      _:nrg_100a_idx sdmx-dimension:refArea geo:EU28 .
      _:nrg_100a_idx property:product product:0000 .
      _:nrg_100a_idx property:indic_nrg indic_nrg:B_102010 .
      _:nrg_100a_idx sdmx-measure:obsValue ?nrg_100a_idx .
    } 
  }
  FILTER (year(?date) >= 2000)
}
GROUP BY year(?date)
HAVING round(( ( sum(?nrg_100a)/sum(?demo_pjan) ) / ( sum(?nrg_100a_idx)/sum(?demo_pjan_idx) ) )*100) > 0
ORDER BY year(?date)


Permalinks

Document Actions