next
previous
items

Data table via SPARQL

Household expenditure

Data table via SPARQL Published 24 Mar 2016 Last modified 22 Aug 2016

Download this dataset

Dataset preview

(Live Query)

date household_expenditure
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2005"^^<http://www.w3.org/2001/XMLSchema#int> "102.2"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2006"^^<http://www.w3.org/2001/XMLSchema#int> "106.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2007"^^<http://www.w3.org/2001/XMLSchema#int> "109.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "109.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2009"^^<http://www.w3.org/2001/XMLSchema#int> "105.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2010"^^<http://www.w3.org/2001/XMLSchema#int> "107.5"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2011"^^<http://www.w3.org/2001/XMLSchema#int> "109.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "109.7"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2013"^^<http://www.w3.org/2001/XMLSchema#int> "109.7"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 12 rows in 0.036 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/household-expenditure-1/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 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 indic_na: <http://dd.eionet.europa.eu/vocabulary/eurostat/indic_na/>
PREFIX na_item: <http://dd.eionet.europa.eu/vocabulary/eurostat/na_item/>

SELECT DISTINCT
year(?date) as ?date
#sum(?nama_10_gdp) as ?nama_10_gdp
#sum(?nama_10_gdp_idx) as ?nama_10_gdp_idx

round(( sum(?nama_10_gdp) / sum(?nama_10_gdp_idx) )*1000)/10.0 as ?household_expenditure

WHERE {{
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nama_10_gdp.rdf.gz> 
    {{ 
      _:nama_10_gdp sdmx-dimension:timePeriod ?date . 
      FILTER (year(?date) >= 2004)
      _:nama_10_gdp property:na_item na_item:B1G . 
      _:nama_10_gdp sdmx-dimension:refArea geo:EU28 . 
      _:nama_10_gdp sdmx-attribute:unitMeasure unit:CLV_I10 . 
      _:nama_10_gdp sdmx-measure:obsValue ?nama_10_gdp .

      _:nama_10_gdp_idx sdmx-dimension:timePeriod ?date_idx . 
      FILTER (year(?date_idx) = 2004)
      _:nama_10_gdp_idx property:na_item na_item:B1G . 
      _:nama_10_gdp_idx sdmx-dimension:refArea geo:EU28 . 
      _:nama_10_gdp_idx sdmx-attribute:unitMeasure unit:CLV_I10 . 
      _:nama_10_gdp_idx sdmx-measure:obsValue ?nama_10_gdp_idx .
    }}
}}
GROUP BY ?date 
ORDER BY ?date


Permalinks

Document Actions