next
previous
items

Data table via SPARQL

Final energy intensity of total and transport 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_gdp index
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1132794"^^<http://www.w3.org/2001/XMLSchema#decimal> "10487872"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1156479"^^<http://www.w3.org/2001/XMLSchema#decimal> "10720334"^^<http://www.w3.org/2001/XMLSchema#decimal> "99.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2002"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1144637"^^<http://www.w3.org/2001/XMLSchema#decimal> "10864233"^^<http://www.w3.org/2001/XMLSchema#decimal> "97.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1176348"^^<http://www.w3.org/2001/XMLSchema#decimal> "11007613"^^<http://www.w3.org/2001/XMLSchema#decimal> "98.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1188905"^^<http://www.w3.org/2001/XMLSchema#decimal> "11282784"^^<http://www.w3.org/2001/XMLSchema#decimal> "97.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2005"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1191813"^^<http://www.w3.org/2001/XMLSchema#decimal> "11516984"^^<http://www.w3.org/2001/XMLSchema#decimal> "95.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1193037"^^<http://www.w3.org/2001/XMLSchema#decimal> "11901650"^^<http://www.w3.org/2001/XMLSchema#decimal> "92.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2007"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1172895"^^<http://www.w3.org/2001/XMLSchema#decimal> "12269078"^^<http://www.w3.org/2001/XMLSchema#decimal> "88.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1180039"^^<http://www.w3.org/2001/XMLSchema#decimal> "12326603"^^<http://www.w3.org/2001/XMLSchema#decimal> "88.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2009"^^<http://www.w3.org/2001/XMLSchema#int> "Total" "1114736"^^<http://www.w3.org/2001/XMLSchema#decimal> "11787356"^^<http://www.w3.org/2001/XMLSchema#decimal> "87.6"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 30 rows in 0.001 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/final-energy-intensity-of-total-and-transport/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 xsd: <http://www.w3.org/2001/XMLSchema#>

SELECT DISTINCT
year(?date) as ?date
bif:either(?indic_nrg = indic_nrg:B_101900, 'Transport', 'Total') as ?sector
sum(?nrg_100a_t) as ?nrg_100a
?nama_10_gdp_t as ?nama_10_gdp
round(( ( sum(?nrg_100a_t)/ ?nama_10_gdp_t  ) / ( sum(?nrg_100a_idx_t)/ ?nama_10_gdp_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 .
      _: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 .
      _:nrg_100a sdmx-measure:obsValue ?nrg_100a_t .
      FILTER (year(?date) >= 2000)

      FILTER (?indic_nrg in (indic_nrg:B_101700, indic_nrg:B_101900))
      {
        SELECT
          ?date
          sum(?nama_10_gdp_t) as ?nama_10_gdp_t
          sum(?nama_10_gdp_idx_t) as ?nama_10_gdp_idx_t
          WHERE {
            { 
            GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nama_10_gdp.rdf.gz> 
              {
                _:nama_10_gdp sdmx-dimension:timePeriod ?date . 
                _:nama_10_gdp sdmx-dimension:refArea geo:EU28 . 
                _:nama_10_gdp property:na_item na_item:B1GQ . 
                _:nama_10_gdp sdmx-attribute:unitMeasure unit:CLV05_MEUR . 
                _:nama_10_gdp sdmx-measure:obsValue ?nama_10_gdp_t .
                FILTER (year(?date) >= 2000)

                _:nama_10_gdp_idx sdmx-dimension:timePeriod ?date_idx . 
                _:nama_10_gdp_idx sdmx-dimension:refArea geo:EU28 . 
                _:nama_10_gdp_idx property:na_item na_item:B1GQ . 
                _:nama_10_gdp_idx sdmx-attribute:unitMeasure unit:CLV05_MEUR . 
                _:nama_10_gdp_idx sdmx-measure:obsValue ?nama_10_gdp_idx_t .
                FILTER (year(?date_idx) = 2000)
              }
            }
          }
          GROUP BY ?date
        }
    } ?indic_nrg rdfs:label ?indic_nrg_label
  }
}
GROUP BY ?date ?indic_nrg_label ?indic_nrg ?nama_10_gdp_t ?nama_10_gdp_idx_t ?indic_nrg_label
ORDER BY ?indic_nrg_label ?date


Document Actions