next
previous
items

Data table via SPARQL

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

Data table via SPARQL Published 26 Oct 2015 Last modified 26 Aug 2017
This is an old version, kept for reference only.

Go to latest version
This page was archived on 26 Aug 2017 with reason: A new version has been published

Download this dataset

Dataset preview

(Live Query)

indic_nrg EU13 EU15 EEA33
"Domestic Navigation" "-79.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "-23.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "-18"^^<http://www.w3.org/2001/XMLSchema#decimal>
"International Marine Bunkers" "91.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "18"^^<http://www.w3.org/2001/XMLSchema#decimal> "22.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Road" "80"^^<http://www.w3.org/2001/XMLSchema#decimal> "13.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "23.1"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Rail" "-41.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "-11.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "-19.5"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 4 rows in 0.051 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/change-in-final-energy-consumption-3/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/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT 
?indic_nrg_label as ?indic_nrg
round((( SUM(?last_year_EU13)-SUM(?first_year_EU13) ) / SUM(?first_year_EU13) )*1000)/10.0 as ?EU13
round((( SUM(?last_year_EU15)-SUM(?first_year_EU15) ) / SUM(?first_year_EU15) )*1000)/10.0 as ?EU15
round((( SUM(?last_year_EEA33)-SUM(?first_year_EEA33) ) / SUM(?first_year_EEA33) )*1000)/10.0 as ?EEA33

{{
  SELECT
  ?date
  ?indic_nrg
  ?indic_nrg_label
  bif:either(year(?date) = 1990, SUM(?EU13), 0) as ?first_year_EU13
  bif:either(year(?date) = 2013, SUM(?EU13), 0) as ?last_year_EU13

  bif:either(year(?date) = 1990, SUM(?EU15), 0) as ?first_year_EU15
  bif:either(year(?date) = 2013, SUM(?EU15), 0) as ?last_year_EU15

  bif:either(year(?date) = 1990, SUM(?EEA33), 0) as ?first_year_EEA33
  bif:either(year(?date) = 2013, SUM(?EEA33), 0) as ?last_year_EEA33

  WHERE {
  {
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nrg_100a.rdf.gz>
      {
        _:nrg_100a sdmx-dimension:timePeriod ?date . FILTER (year(?date) in (1990, 2013))
        _:nrg_100a sdmx-attribute:unitMeasure unit:TJ . 
        _:nrg_100a property:product product:0000 .
        _:nrg_100a property:indic_nrg ?indic_nrg .
        FILTER (?indic_nrg in (indic_nrg:B_100800, indic_nrg:B_101910, indic_nrg:B_101920, indic_nrg:B_101940))
        {
          _:nrg_100a sdmx-dimension:refArea ?geo .
          FILTER (?geo in (geo:BG, geo:CY, geo:CZ, geo:EE, geo:HR, geo:HU, geo:LT, geo:LV, 
                           geo:MT, geo:PL, geo:RO, geo:SI, geo:SK))
          _:nrg_100a sdmx-measure:obsValue ?EU13  .
        } UNION {
          _:nrg_100a sdmx-dimension:refArea ?geo .
          FILTER (?geo in (geo:AT, geo:BE, geo:DE, geo:FI, geo:FR, geo:DK, geo:EL, 
                           geo:IE, geo:IT, geo:LU, geo:NL, geo:PT, geo:ES, geo:SE, geo:UK))
          _:nrg_100a sdmx-measure:obsValue ?EU15 .
        } UNION {
          _:nrg_100a sdmx-dimension:refArea ?geo .
          _:nrg_100a sdmx-measure:obsValue ?EEA33 .
          FILTER (?geo in (geo:EU28, geo:LI, geo:NO, geo:CH, geo:TR, geo:IS))
        }
      } 
   } 
   ?geo skos:notation ?ugeo .
   ?indic_nrg rdfs:label ?indic_nrg_label .
  }
  GROUP BY ?indic_nrg ?indic_nrg_label ?date

}}
GROUP BY ?indic_nrg_label


Permalinks

Document Actions