All official European Union website addresses are in the europa.eu domain.
See all EU institutions and bodiesDo something for our planet, print this page only if needed. Even a small action can make an enormous difference when millions of people do it!
Data table via SPARQL
Received 1 rows in 0.001 seconds.
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.
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
2011 as ?date
'2763,2735' as ?ItemCode
'Meat, other + edible offals' as ?Item
'Meat' as ?category
round((sum(?foodvalue)/sum(?popvalue))*10)/10.0 as ?foodvalue_per_capita
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 ?ItemCode . FILTER (?ItemCode in (2763,2735))
_:foodsupply_livestockfish_e tableFile:Item ?Item .
_:foodsupply_livestockfish_e tableFile:ElementGroup 641 .
_:foodsupply_livestockfish_e tableFile:ElementCode 641 .
_:foodsupply_livestockfish_e tableFile:Year ?year . FILTER (?year = 2011)
_: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 = 2011)
_: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))
}
Error. Traceback (most recent call last):
File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/Method.py", line 287, in run_with_timeout
ret = func(*args, **kwargs)
File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/Method.py", line 215, in query_and_get_result
result = sparql.query(*args, timeout = kwargs.get("timeout", 0) or 0)
File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 747, in query
return s.query(query, timeout, raw=raw)
File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 416, in query
return q.query(query, timeout, raw=raw)
File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 571, in query
response = self._request(statement, timeout)
File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 558, in _request
response = self._build_response(query, opener, buf, timeout)
File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 543, in _build_response
timeout if timeout > 0 else None)
File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/sparql.py", line 514, in _get_response
response = opener.open(request, timeout=timeout)
File "/usr/local/lib/python2.7/urllib2.py", line 421, in open
protocol = req.get_type()
File "/usr/local/lib/python2.7/urllib2.py", line 283, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: semantic.eea.europa.eu/sparql
For references, please go to https://eea.europa.eu./data-and-maps/daviz/sds/consumption-of-other-meat-inc or scan the QR code.
PDF generated on 23 Nov 2024, 11:57 AM
Engineered by: EEA Web Team
Software updated on 26 September 2023 08:13 from version 23.8.18
Software version: EEA Plone KGS 23.9.14
Document Actions
Share with others