next
previous
items

Data table via SPARQL

Trends in consumption of selected animal-based food products (protein consumption)

Data table via SPARQL Published 26 Jun 2017 Last modified 27 Jun 2017
Topics:

Download this dataset

Dataset preview

(Live Query)

year item capita index
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Dairy products" "7.15"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Cheese" "3.44"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Bovine Meat" "2.41"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Fish, Seafood" "2.19"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Pigmeat" "4.12"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Meat" "10.28"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Animal Products" "21.98"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2000"^^<http://www.w3.org/2001/XMLSchema#int> "Poultry Meat" "2.86"^^<http://www.w3.org/2001/XMLSchema#decimal> "100"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Poultry Meat" "3.03"^^<http://www.w3.org/2001/XMLSchema#decimal> "105.9"^^<http://www.w3.org/2001/XMLSchema#decimal>
"2001"^^<http://www.w3.org/2001/XMLSchema#int> "Fish, Seafood" "2.32"^^<http://www.w3.org/2001/XMLSchema#decimal> "106"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 112 rows in 0.002 seconds.


https://eea.europa.eu./data-and-maps/daviz/sds/trends-in-consumption-of-selected/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
bif:either(?item_code = 2848, 'Dairy products', ?item) as ?item
round(sum(xsd:double(?foodvalue))*365/10)/100.0 as ?foodvalue as ?capita
round(sum(xsd:double(?foodvalue))/sum(xsd:double(?foodvalue_idx))*1000)/10.0 as ?index

WHERE {
    {
   GRAPH <http://r.eionet.europa.eu/rdfdumps/faostat/foodsupply_livestockfish_e.rdf.gz> {
   {
     _:foodsupply_livestockfish_e faostat:area ?area .
     _:foodsupply_livestockfish_e sdmx-dimension:refArea 5706 .
     _:foodsupply_livestockfish_e faostat:item_code ?item_code .
     _:foodsupply_livestockfish_e faostat:item ?item .
     _:foodsupply_livestockfish_e faostat:element 'Protein supply quantity (g/capita/day)' .
     _:foodsupply_livestockfish_e sdmx-dimension:timePeriod ?date . 
     FILTER (?date >= 2000)
     _:foodsupply_livestockfish_e sdmx-measure:obsValue ?foodvalue .

     _:foodsupply_livestockfish_e_idx faostat:area ?area .
     _:foodsupply_livestockfish_e_idx sdmx-dimension:refArea 5706 .
     _:foodsupply_livestockfish_e_idx faostat:item_code ?item_code .
     _:foodsupply_livestockfish_e_idx faostat:item ?item .
     _:foodsupply_livestockfish_e_idx faostat:element 'Protein supply quantity (g/capita/day)' .
     _:foodsupply_livestockfish_e_idx sdmx-dimension:timePeriod 2000 . 
     _:foodsupply_livestockfish_e_idx sdmx-measure:obsValue ?foodvalue_idx .

     FILTER (?item_code in (2741, 2734, 2848, 2943, 2960, 2731, 2733, 2941))
   }}
  }
}

GROUP BY ?date ?item ?item_code
HAVING sum(?foodvalue) > 0
ORDER BY ?date


Permalinks

Geographic coverage

Temporal coverage

Topics

Topics:
Document Actions