next
previous
items

Data table via SPARQL

Household expenditure

Data table via SPARQL Published 31 Oct 2014 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)

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> "104.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2007"^^<http://www.w3.org/2001/XMLSchema#int> "107"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2008"^^<http://www.w3.org/2001/XMLSchema#int> "107.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2009"^^<http://www.w3.org/2001/XMLSchema#int> "107.4"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2010"^^<http://www.w3.org/2001/XMLSchema#int> "108.6"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2011"^^<http://www.w3.org/2001/XMLSchema#int> "108.3"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "107.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2013"^^<http://www.w3.org/2001/XMLSchema#int> "108.1"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 10 rows in 0.001 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/household-expenditure/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



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/>



SELECT DISTINCT
year(?date) as ?date
#sum(?nama_gdp_k) as ?nama_gdp_k
#sum(?nama_gdp_k_idx) as ?nama_gdp_k_idx

round(( sum(?nama_gdp_k) / sum(?nama_gdp_k_idx) )*1000)/10.0 as ?household_expenditure

WHERE {{
    GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nama_gdp_k.rdf.gz> 
    {{ 
        _:nama_gdp_k sdmx-dimension:timePeriod ?date .
        FILTER (year(?date) >= 2004)
        _:nama_gdp_k sdmx-dimension:refArea ?geo . 
        FILTER (?geo in (geo:EU27, geo:HR, geo:NO, geo:CH, geo:LI, geo:TR, geo:IS))
        _:nama_gdp_k property:indic_na indic_na:P3  . 
        _:nama_gdp_k sdmx-attribute:unitMeasure unit:MIO_EUR_CLV2000 . 
        _:nama_gdp_k sdmx-measure:obsValue ?nama_gdp_k . 

        _:nama_gdp_k_idx sdmx-dimension:timePeriod ?date_idx . 
        FILTER (year(?date_idx) = 2004)
        _:nama_gdp_k_idx sdmx-dimension:refArea ?geo . 
        FILTER (?geo in (geo:EU27, geo:HR, geo:NO, geo:CH, geo:LI, geo:TR, geo:IS))
        _:nama_gdp_k_idx property:indic_na indic_na:P3  . 
        _:nama_gdp_k_idx sdmx-attribute:unitMeasure unit:MIO_EUR_CLV2000 . 
        _:nama_gdp_k_idx sdmx-measure:obsValue ?nama_gdp_k_idx .

    }}
}}
GROUP BY ?date 
ORDER BY ?date


Permalinks

Document Actions