next
previous
items

Data table via SPARQL

RO - Spending on food as a proportion of total household expenditure, 1996 and 2010

Data table via SPARQL Published 31 Jul 2014 Last modified 19 Apr 2016

Download this dataset

Dataset preview

(Live Query)

date country obsValue
"1996"^^<http://www.w3.org/2001/XMLSchema#int> "Romania" "37.8"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2012"^^<http://www.w3.org/2001/XMLSchema#int> "Romania" "26.6"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 2 rows in 0.001 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/ro-spending-on-food-as/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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX qb: <http://purl.org/linked-data/cube#> 
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#> 

SELECT
#no data for 2012 -> 2010
bif:either(year(?date) = 2010, 2012, year(?date)) as ?date
?country
?obsValue

WHERE {
{  
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/nama_co3_c.rdf.gz> 
  {
_:nama_co3_c sdmx-dimension:timePeriod ?date . FILTER (year(?date) in (1996, 2010))
_:nama_co3_c sdmx-dimension:refArea ?geo . 
_:nama_co3_c property:coicop <http://rdfdata.eionet.europa.eu/eurostat/dic/coicop#CP011> . 
_:nama_co3_c sdmx-attribute:unitMeasure <http://rdfdata.eionet.europa.eu/eurostat/dic/unit#PC_TOT> . 
_:nama_co3_c sdmx-measure:obsValue ?obsValue . 
  } 
  ?geo skos:notation ?ugeo .
  FILTER (?ugeo in ('RO'))
  ?geo rdfs:label ?country .
 }
}
ORDER BY ?country


Permalinks

Document Actions