next
previous
items

Data table via SPARQL

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

Data table via SPARQL Published 06 Jun 2016 Last modified 27 Oct 2016
This is an old version, kept for reference only.

Go to latest version

Download this dataset

Dataset preview

(Live Query)

date sector nrg_100a demo_pjan index
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "290928"^^<http://www.w3.org/2001/XMLSchema#decimal> "486830048"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "305261"^^<http://www.w3.org/2001/XMLSchema#decimal> "488051705"^^<http://www.w3.org/2001/XMLSchema#decimal> "104.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2002"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "298631"^^<http://www.w3.org/2001/XMLSchema#decimal> "488962706"^^<http://www.w3.org/2001/XMLSchema#decimal> "102.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "308681"^^<http://www.w3.org/2001/XMLSchema#decimal> "490691578"^^<http://www.w3.org/2001/XMLSchema#decimal> "105.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "308680"^^<http://www.w3.org/2001/XMLSchema#decimal> "492555798"^^<http://www.w3.org/2001/XMLSchema#decimal> "104.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2005"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "308832"^^<http://www.w3.org/2001/XMLSchema#decimal> "494598322"^^<http://www.w3.org/2001/XMLSchema#decimal> "104.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "305503"^^<http://www.w3.org/2001/XMLSchema#decimal> "496436597"^^<http://www.w3.org/2001/XMLSchema#decimal> "103"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2007"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "286088"^^<http://www.w3.org/2001/XMLSchema#decimal> "498300775"^^<http://www.w3.org/2001/XMLSchema#decimal> "96.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "300340"^^<http://www.w3.org/2001/XMLSchema#decimal> "500297033"^^<http://www.w3.org/2001/XMLSchema#decimal> "100.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2009"^^<http://www.w3.org/2001/XMLSchema#int> "Households" "297642"^^<http://www.w3.org/2001/XMLSchema#decimal> "502090235"^^<http://www.w3.org/2001/XMLSchema#decimal> "99.2"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 15 rows in 0.001 seconds.


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

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

SELECT DISTINCT
year(?date) as ?date
'Households' as ?sector
sum(?nrg_100a_t) as ?nrg_100a
?demo_pjan_t as ?demo_pjan
round(( ( sum(?nrg_100a_t)/ ?demo_pjan_t ) / ( sum(?nrg_100a_idx_t)/ ?demo_pjan_idx_t ) )*1000)/10.0 as ?index

WHERE {
  { 
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_100a.rdf.gz> 
    {
      _:nrg_100a_idx sdmx-dimension:timePeriod ?date_idx .
      _: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_t .
      FILTER (year(?date_idx) = 2000)

      _: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_t .
      FILTER (year(?date) >= 2000)

      {
        SELECT DISTINCT
	  ?date
	  sum(?demo_pjan) as ?demo_pjan_t
	  sum(?demo_pjan_idx) as ?demo_pjan_idx_t
		
		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 . 
		      FILTER (year(?date) >= 2000)

		      _:demo_pjan_idx sdmx-dimension:timePeriod ?date_idx . 
		      _: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 . 
		      FILTER (year(?date_idx) = 2000)
		    }
		  }
		}
          GROUP BY ?date
        }
    } 
  } 
}
GROUP BY ?date ?demo_pjan_t ?demo_pjan_idx_t
ORDER BY ?date


Document Actions