next
previous
items

Data table via SPARQL

Vegetables Total - Livestock and Fish Primary Equivalent dataset

Data table via SPARQL Published 09 Mar 2017 Last modified 10 Mar 2017

Download this dataset

Dataset preview

(Live Query)

year item capita index foodvalue popvalue
"1995"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "114.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal> "55158592"^^<http://www.w3.org/2001/XMLSchema#decimal> "483502"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1996"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "117"^^<http://www.w3.org/2001/XMLSchema#decimal> "102.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "56681424"^^<http://www.w3.org/2001/XMLSchema#decimal> "484263"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1997"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "117"^^<http://www.w3.org/2001/XMLSchema#decimal> "102.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "56736468"^^<http://www.w3.org/2001/XMLSchema#decimal> "484793"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1998"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "120.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "105.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "58274292"^^<http://www.w3.org/2001/XMLSchema#decimal> "485240"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1999"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "126.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "110.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "61295640"^^<http://www.w3.org/2001/XMLSchema#decimal> "485810"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "124.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "109.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "60730960"^^<http://www.w3.org/2001/XMLSchema#decimal> "486650"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "120.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "105.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "58947600"^^<http://www.w3.org/2001/XMLSchema#decimal> "487802"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2002"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "115.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "101.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "56549012"^^<http://www.w3.org/2001/XMLSchema#decimal> "489213"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "122.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "107.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "60051620"^^<http://www.w3.org/2001/XMLSchema#decimal> "490822"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "129"^^<http://www.w3.org/2001/XMLSchema#decimal> "113.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "63541284"^^<http://www.w3.org/2001/XMLSchema#decimal> "492525"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 19 rows in 0.036 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/vegetables-total-livestock-and-fish-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 faostat: <http://reference.eionet.europa.eu/faostat/schema/>


SELECT
?date as ?year
sql:GROUP_CONCAT(?item, '') as ?item
(round(sum(?foodvalue)/sum(?popvalue)*10))/10.0 as ?capita
(round(( sum(?foodvalue)/sum(?popvalue) ) / (sum(?foodvalue_idx)/sum(?popvalue_idx) ) *1000))/10.0 as ?index
sum(?foodvalue) as ?foodvalue
sum(?popvalue) as ?popvalue

WHERE {
    {
   GRAPH <http://r.eionet.europa.eu/rdfdumps/faostat/foodsupply_crops_e.rdf.gz> {
   {
     _:foodsupply_crop_e sdmx-dimension:refArea 5706 .
     _:foodsupply_crop_e faostat:item_code 2918 . 
     _:foodsupply_crop_e faostat:item ?item .
     _:foodsupply_crop_e faostat:element_code 641 .
     _:foodsupply_crop_e sdmx-dimension:timePeriod ?date . 
     FILTER (?date >= 1995)
     _:foodsupply_crop_e faostat:unit 'tonnes' . 
     _:foodsupply_crop_e sdmx-measure:obsValue ?foodvalue .

     _:foodsupply_crop_e_idx sdmx-dimension:refArea 5706 .
     _:foodsupply_crop_e_idx faostat:item_code 2918 . 
     _:foodsupply_crop_e_idx faostat:element_code 641 .
     _:foodsupply_crop_e_idx sdmx-dimension:timePeriod 1995 . 
     _:foodsupply_crop_e_idx faostat:unit 'tonnes' . 
     _:foodsupply_crop_e_idx sdmx-measure:obsValue ?foodvalue_idx .
   }}
    } UNION {
    GRAPH <http://r.eionet.europa.eu/rdfdumps/faostat/population_e.rdf.gz> {
     _:population_e sdmx-dimension:refArea 5706 .
     _:population_e faostat:element_code 511 .
     _:population_e sdmx-dimension:timePeriod ?date . 
     FILTER (?date >= 1995)
     _:population_e sdmx-measure:obsValue ?popvalue .
     _:population_e_idx sdmx-dimension:refArea 5706 .
     _:population_e_idx faostat:element_code 511 .
     _:population_e_idx sdmx-dimension:timePeriod 1995 . 
     _:population_e_idx sdmx-measure:obsValue ?popvalue_idx .
    }
  }
}
GROUP BY ?date
HAVING sum(?foodvalue) > 0
ORDER BY ?date


Permalinks

Geographic coverage

Temporal coverage

Tags

Document Actions