next
previous
items
Info
The data will be updated shortly. Please retry later.

Data table via SPARQL

Cyprus - Organic agriculture

Data table via SPARQL Published 16 Oct 2014 Last modified 20 Apr 2016

Download this dataset

Dataset preview

(Live Query)

country 2000 2006 2012 change
"Cyprus" "" "1.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "2.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "1.7"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 1 rows in 0.002 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/cyprus-organic-agriculture/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 property: <http://rdfdata.eionet.europa.eu/eurostat/property#> 
PREFIX rdf-schema: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX geo: <http://rdfdata.eionet.europa.eu/eurostat/dic/geo#>

SELECT 
bif:either(?geo = geo:DE, 'Germany', ?ugeo) as ?country
sum(xsd:decimal(?2000)) as ?2000
sum(xsd:decimal(?2006)) as ?2006
#no data for 2012 fo Cyprus -> 2011
sum(xsd:decimal(?2011)) as ?2012
( sum(xsd:decimal(?2011)) - sum(xsd:decimal(?2006)) ) as ?change

WHERE {
{  
  GRAPH <http://rdfdata.eionet.europa.eu/eurostat/data/food_in_porg1.rdf.gz> 
  {
   _:food_in_porg1 property:geo ?geo .
   _:food_in_porg1 property:cropitem <http://dd.eionet.europa.eu/vocabulary/eurostat/cropitem/C_00> .
   _:food_in_porg1 property:variable <http://dd.eionet.europa.eu/vocabulary/eurostat/variable/PCT_ORG_UAA> .

   {
    _:food_in_porg1 sdmx-dimension:timePeriod ?date . FILTER (year(?date) = 2000)
    _:food_in_porg1 sdmx-measure:obsValue ?2000 .
   } UNION {
    _:food_in_porg1 sdmx-dimension:timePeriod ?date . FILTER (year(?date) = 2006)
    _:food_in_porg1 sdmx-measure:obsValue ?2006 .
   } UNION {
    _:food_in_porg1 sdmx-dimension:timePeriod ?date . FILTER (year(?date) = 2011)
    _:food_in_porg1 sdmx-measure:obsValue ?2011 .
   }
  } 
  ?geo rdf-schema:label ?ugeo . FILTER (?geo = geo:CY)
}
} 
GROUP BY ?geo ?ugeo
ORDER BY ?ugeo


Permalinks

Document Actions