next
previous
items

Data table via SPARQL

Vegetables Total - Livestock and Fish Primary Equivalent dataset

Data table via SPARQL Published 17 Jul 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)

year item capita index foodvalue popvalue
"1995"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "113.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal> "55148000"^^<http://www.w3.org/2001/XMLSchema#decimal> "484619"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1996"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "116.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "102.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "56669000"^^<http://www.w3.org/2001/XMLSchema#decimal> "485352"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1997"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "116.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "102.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "56729000"^^<http://www.w3.org/2001/XMLSchema#decimal> "485849"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1998"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "119.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "105.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "58256000"^^<http://www.w3.org/2001/XMLSchema#decimal> "486289"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1999"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "125.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "110.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "61285000"^^<http://www.w3.org/2001/XMLSchema#decimal> "486913"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "124.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "109.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "60714000"^^<http://www.w3.org/2001/XMLSchema#decimal> "487891"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "120.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "105.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "58930000"^^<http://www.w3.org/2001/XMLSchema#decimal> "489299"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2002"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "115.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "101.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "56517000"^^<http://www.w3.org/2001/XMLSchema#decimal> "491061"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "121.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "106.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "59994000"^^<http://www.w3.org/2001/XMLSchema#decimal> "493066"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Vegetables" "128.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "112.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "63523000"^^<http://www.w3.org/2001/XMLSchema#decimal> "495149"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 56 rows in 0.002 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/sds/vegetables-total-livestock-and-fish/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 tableFile: <http://semantic.eea.europa.eu/project/faostat/2014/foodsupply_crops_e.txt#>
PREFIX poptableFile: <http://semantic.eea.europa.eu/project/faostat/2014/population_e.txt#>

SELECT
?year
'Vegetables' as ?item
(round(sum(?foodvalue)/sum(?popvalue)*10))/10.0 as ?capita
#hard coded values for indexing taken from the results of the query
(round(( sum(?foodvalue)/sum(?popvalue) ) / (55148000.0/484619.0 ) *1000))/10.0 as ?index
sum(?foodvalue) as ?foodvalue
sum(?popvalue) as ?popvalue

WHERE {
    {
   GRAPH <http://semantic.eea.europa.eu/project/faostat/2014/foodsupply_crops_e.txt> {
   {
     _:foodsupply_crop_e tableFile:CountryCode ?CountryCode .
     _:foodsupply_crop_e tableFile:ItemCode 2918 . 
     _:foodsupply_crop_e tableFile:ElementGroup 641 . 
     _:foodsupply_crop_e tableFile:ElementCode 641 .
     _:foodsupply_crop_e tableFile:Year ?year . FILTER (?year > 1994)
     _:foodsupply_crop_e tableFile:Unit 'tonnes' . 
     _:foodsupply_crop_e tableFile:Value ?foodvalue .
   }}
    } UNION {
    GRAPH <http://semantic.eea.europa.eu/project/faostat/2014/population_e.txt> {
     _:population_e poptableFile:CountryCode ?CountryCode .
     _:population_e poptableFile:ElementGroup 511 .
     _:population_e poptableFile:ElementCode 511 .
     _:population_e poptableFile:Year ?year . FILTER (?year > 1994)
     _:population_e poptableFile:Value ?popvalue .
    }
}
FILTER (?CountryCode in (11, 15, 255, 27, 98, 50, 167, 54, 63, 67, 68, 79, 84, 97, 104, 106, 119, 126, 256, 134, 150, 173, 174, 183, 199, 198, 203, 210, 229))
}
GROUP BY ?year
ORDER BY ?year


Permalinks

Document Actions