next
previous
items

Data table via SPARQL

Final energy intensity of agriculture 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> "Agriculture" "333517"^^<http://www.w3.org/2001/XMLSchema#decimal> "1959613"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture" "332166"^^<http://www.w3.org/2001/XMLSchema#decimal> "1978272"^^<http://www.w3.org/2001/XMLSchema#decimal> "98.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2002"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture" "328075"^^<http://www.w3.org/2001/XMLSchema#decimal> "1982443"^^<http://www.w3.org/2001/XMLSchema#decimal> "97.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture" "335577"^^<http://www.w3.org/2001/XMLSchema#decimal> "1998667"^^<http://www.w3.org/2001/XMLSchema#decimal> "98.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture" "334717"^^<http://www.w3.org/2001/XMLSchema#decimal> "2063111"^^<http://www.w3.org/2001/XMLSchema#decimal> "95.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2005"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture" "328898"^^<http://www.w3.org/2001/XMLSchema#decimal> "2090948"^^<http://www.w3.org/2001/XMLSchema#decimal> "92.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture" "323280"^^<http://www.w3.org/2001/XMLSchema#decimal> "2176496"^^<http://www.w3.org/2001/XMLSchema#decimal> "87.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2007"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture" "325028"^^<http://www.w3.org/2001/XMLSchema#decimal> "2248001"^^<http://www.w3.org/2001/XMLSchema#decimal> "85"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture" "312631"^^<http://www.w3.org/2001/XMLSchema#decimal> "2212831"^^<http://www.w3.org/2001/XMLSchema#decimal> "83"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2009"^^<http://www.w3.org/2001/XMLSchema#int> "Agriculture" "266998"^^<http://www.w3.org/2001/XMLSchema#decimal> "1961073"^^<http://www.w3.org/2001/XMLSchema#decimal> "80"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 15 rows in 0.002 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/final-energy-intensity-of-agriculture-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
'Agriculture' 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:B_101800  .
      _: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:B_101800  .
      _:nrg_100a_idx sdmx-measure:obsValue ?nrg_100a_idx_t .
      FILTER (year(?date_idx) = 2000)
      {
        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:B-E . 
		      _: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:B-E . 
		      _: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)
		    }
		  }
		}
          GROUP BY ?date
        }
    }
  } 
}
GROUP BY ?date ?nama_10_a64_t ?nama_10_a64_t_idx ?nace_r2
ORDER BY ?date ?nama_10_a64_t


Document Actions