next
previous
items

Data table via SPARQL

Final energy intensity of services 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 nama_10_a64 index
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "133971.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "6664934.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "141883.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "6851426.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "103"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2002"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "138828.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "6966747.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "99.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "147403.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "7071060.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "103.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "150285.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "7222734.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "103.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2005"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "155596.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "7408357.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "104.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "159991.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "7646140"^^<http://www.w3.org/2001/XMLSchema#decimal> "104.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2007"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "152028.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "7910164.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "95.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "162510"^^<http://www.w3.org/2001/XMLSchema#decimal> "8021737.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "100.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2009"^^<http://www.w3.org/2001/XMLSchema#int> "Services" "158405.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "7834808.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "100.6"^^<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-services-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/>

SELECT DISTINCT
year(?date) as ?date
'Services' as ?sector
sum(?nrg_100a_t) as ?nrg_100a
?nama_10_a64_t as ?nama_10_a64
round(( ( sum(?nrg_100a_t)/ ?nama_10_a64_t  ) / ( sum(?nrg_100a_idx_t)/ ?nama_10_a64_t_idx ) )*1000)/10.0 as ?index

WHERE {
  { 
  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  .
      _:nrg_100a sdmx-measure:obsValue ?nrg_100a_t .
      FILTER (year(?date) >= 2000)

      _: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  .
      _:nrg_100a_idx sdmx-measure:obsValue ?nrg_100a_idx_t .
      FILTER (year(?date_idx) = 2000)

      FILTER (?indic_nrg in (indic_nrg:B_102035, indic_nrg:B_102040))
      {
        SELECT DISTINCT
	  ?date
	  sum(?nama_10_a64_t) as ?nama_10_a64_t
	  sum(?nama_10_a64_t_idx) as ?nama_10_a64_t_idx
		
		WHERE {
		  { 
		  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nama_10_a64.rdf.gz> 
		    { 
		      _:nama_10_a64 sdmx-dimension:timePeriod ?date . 
		      _:nama_10_a64 property:na_item na_item:B1G . 
		      _:nama_10_a64 sdmx-dimension:refArea geo:EU28 . 
		      _:nama_10_a64 property:nace_r2 ?nace_r2 . 
		      _:nama_10_a64 sdmx-attribute:unitMeasure unit:CLV05_MEUR . 
		      _:nama_10_a64 sdmx-measure:obsValue ?nama_10_a64_t .
		      FILTER (year(?date) >= 2000)
	
		      _:nama_10_a64_idx sdmx-dimension:timePeriod ?date_idx . 
		      _:nama_10_a64_idx property:na_item na_item:B1G . 
		      _:nama_10_a64_idx sdmx-dimension:refArea geo:EU28 . 
		      _:nama_10_a64_idx property:nace_r2 ?nace_r2 . 
		      _:nama_10_a64_idx sdmx-attribute:unitMeasure unit:CLV05_MEUR . 
		      _:nama_10_a64_idx sdmx-measure:obsValue ?nama_10_a64_t_idx .
		      FILTER (year(?date_idx) = 2000)
		      FILTER (?nace_r2 in (nace_r2:R-U, nace_r2:O-Q, nace_r2:M_N, 
                                           nace_r2:L, nace_r2:K, nace_r2:J, nace_r2:G-I ))
		    }
		  }
		}
          GROUP BY ?date
        }
    }
  } 
}
GROUP BY ?date ?nama_10_a64_t ?nama_10_a64_t_idx
ORDER BY ?date


Document Actions