next
previous
items

Data table via SPARQL

Fish Seafood (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> "Fish and seafood" "20.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal> "9804000"^^<http://www.w3.org/2001/XMLSchema#decimal> "484619"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1996"^^<http://www.w3.org/2001/XMLSchema#int> "Fish and seafood" "20.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "100.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "9883000"^^<http://www.w3.org/2001/XMLSchema#decimal> "485352"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1997"^^<http://www.w3.org/2001/XMLSchema#int> "Fish and seafood" "20.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "100.3"^^<http://www.w3.org/2001/XMLSchema#decimal> "9854000"^^<http://www.w3.org/2001/XMLSchema#decimal> "485849"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1998"^^<http://www.w3.org/2001/XMLSchema#int> "Fish and seafood" "21.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "106.2"^^<http://www.w3.org/2001/XMLSchema#decimal> "10452000"^^<http://www.w3.org/2001/XMLSchema#decimal> "486289"^^<http://www.w3.org/2001/XMLSchema#decimal>
"1999"^^<http://www.w3.org/2001/XMLSchema#int> "Fish and seafood" "20.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "102.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "10089000"^^<http://www.w3.org/2001/XMLSchema#decimal> "486913"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Fish and seafood" "20.8"^^<http://www.w3.org/2001/XMLSchema#decimal> "102.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "10133000"^^<http://www.w3.org/2001/XMLSchema#decimal> "487891"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Fish and seafood" "21.9"^^<http://www.w3.org/2001/XMLSchema#decimal> "108.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "10696000"^^<http://www.w3.org/2001/XMLSchema#decimal> "489299"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2002"^^<http://www.w3.org/2001/XMLSchema#int> "Fish and seafood" "21.4"^^<http://www.w3.org/2001/XMLSchema#decimal> "105.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "10492000"^^<http://www.w3.org/2001/XMLSchema#decimal> "491061"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2003"^^<http://www.w3.org/2001/XMLSchema#int> "Fish and seafood" "21.7"^^<http://www.w3.org/2001/XMLSchema#decimal> "107.1"^^<http://www.w3.org/2001/XMLSchema#decimal> "10688000"^^<http://www.w3.org/2001/XMLSchema#decimal> "493066"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2004"^^<http://www.w3.org/2001/XMLSchema#int> "Fish and seafood" "21.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "106.6"^^<http://www.w3.org/2001/XMLSchema#decimal> "10674000"^^<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/fish-seafood-total-livestock-and/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_livestockfish_e.txt#>
PREFIX poptableFile: <http://semantic.eea.europa.eu/project/faostat/2014/population_e.txt#>

SELECT
?year
'Fish and seafood' 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) ) / (9804000.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_livestockfish_e.txt> {
   {
     _:foodsupply_livestockfish_e tableFile:CountryCode ?CountryCode .
     _:foodsupply_livestockfish_e tableFile:ItemCode 2960 . 
     _:foodsupply_livestockfish_e tableFile:ElementGroup 641 . 
     _:foodsupply_livestockfish_e tableFile:ElementCode 641 .
     _:foodsupply_livestockfish_e tableFile:Year ?year . FILTER (?year >1994)
     _:foodsupply_livestockfish_e tableFile:Unit 'tonnes' . 
     _:foodsupply_livestockfish_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