next
previous
items

Data table via SPARQL

Change in Final Energy Consumption by Transport Mode, EEA33, 1990-2013

Data table via SPARQL Published 26 Oct 2015 Last modified 20 Apr 2016

Download this dataset

Dataset preview

(Live Query)

country international_marine_bunkers rail road aviation domestic_navigation
"EEA33" "22.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "-19.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "23.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "67.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "-18"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 1 rows in 0.024 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/change-in-final-energy-consumption/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 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 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 geo: <http://dd.eionet.europa.eu/vocabulary/eurostat/geo/>

SELECT
'EEA33' as ?country
round((( SUM(?international_marine_bunkers_last_year)-SUM(?international_marine_bunkers_first_year) ) / SUM(?international_marine_bunkers_first_year) )*1000)/10.0 as ?international_marine_bunkers

round((( SUM(?rail_last_year)-SUM(?rail_first_year) ) / SUM(?rail_first_year) )*1000)/10.0 as ?rail

round((( SUM(?road_last_year)-SUM(?road_first_year) ) / SUM(?road_first_year) )*1000)/10.0 as ?road

round((( SUM(?aviation_last_year)-SUM(?aviation_first_year) ) / SUM(?aviation_first_year) )*1000)/10.0 as ?aviation

round((( SUM(?domestic_navigation_last_year)-SUM(?domestic_navigation_first_year) ) / SUM(?domestic_navigation_first_year) )*1000)/10.0 as ?domestic_navigation

#SUM(?international_marine_bunkers_first_year) as ?international_marine_bunkers_first_year
#SUM(?international_marine_bunkers_last_year) as ?international_marine_bunkers_last_year
#SUM(?rail_first_year) as ?rail_first_year
#SUM(?rail_last_year) as ?rail_last_year
#SUM(?road_first_year) as ?road_first_year
#SUM(?aviation_first_year) as ?aviation_first_year
#SUM(?aviation_last_year) as ?aviation_last_year
#SUM(?domestic_navigation_first_year) as ?domestic_navigation_first_year
#SUM(?domestic_navigation_last_year) as ?domestic_navigation_last_year
{{
  SELECT 
  bif:either(year(?date) = 1990, SUM(?B_100800), 0) as ?international_marine_bunkers_first_year
  bif:either(year(?date) = 2013, SUM(?B_100800), 0) as ?international_marine_bunkers_last_year
  
  bif:either(year(?date) = 1990, SUM(?B_101910), 0) as ?rail_first_year
  bif:either(year(?date) = 2013, SUM(?B_101910), 0) as ?rail_last_year
  
  bif:either(year(?date) = 1990, SUM(?B_101920), 0) as ?road_first_year
  bif:either(year(?date) = 2013, SUM(?B_101920), 0) as ?road_last_year
  
  bif:either(year(?date) = 1990, ( SUM(?B_101931)+ SUM(?B_101932) ), 0) as ?aviation_first_year
  bif:either(year(?date) = 2013, ( SUM(?B_101931)+ SUM(?B_101932) ), 0) as ?aviation_last_year

  bif:either(year(?date) = 1990, SUM(?B_101940), 0) as ?domestic_navigation_first_year
  bif:either(year(?date) = 2013, SUM(?B_101940), 0) as ?domestic_navigation_last_year

  WHERE {
  {
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_100a.rdf.gz>
      {
        _:nrg_100a sdmx-dimension:refArea ?geo .
        _:nrg_100a sdmx-dimension:timePeriod ?date .
        _:nrg_100a sdmx-attribute:unitMeasure unit:TJ . 
        _:nrg_100a property:product product:0000 .
  
        {
          _:nrg_100a property:indic_nrg indic_nrg:B_100800 . 
          _:nrg_100a sdmx-measure:obsValue ?B_100800  .
        } UNION {
          _:nrg_100a property:indic_nrg indic_nrg:B_101910 . 
          _:nrg_100a sdmx-measure:obsValue ?B_101910  .
        } UNION {
          _:nrg_100a property:indic_nrg indic_nrg:B_101920 . 
          _:nrg_100a sdmx-measure:obsValue ?B_101920 .
        } UNION {
          _:nrg_100a property:indic_nrg indic_nrg:B_101931 . 
          _:nrg_100a sdmx-measure:obsValue ?B_101931 .
        } UNION {
          _:nrg_100a property:indic_nrg indic_nrg:B_101932 . 
          _:nrg_100a sdmx-measure:obsValue ?B_101932 .
        } UNION {
          _:nrg_100a property:indic_nrg indic_nrg:B_101940 . 
          _:nrg_100a sdmx-measure:obsValue ?B_101940 .
        }
      } 
   } 
   ?geo skos:notation ?ugeo FILTER (?geo in (geo:EU28, geo:LI, geo:NO, geo:CH, geo:TR, geo:IS)) .
  }
}}


Permalinks

Document Actions