next
previous
items

Data table via SPARQL

Change in Final Energy Consumption for Air 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
"Air Domestic/International" "14.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "68.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "67.7"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 1 rows in 0.044 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/change-in-final-energy-consumption-4/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 
'Air Domestic/International' 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
  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_101931, indic_nrg:B_101932))
        {
          _: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 .
  }
  GROUP BY ?date
}}


Permalinks

Document Actions