Data table via SPARQL

Comparison of FAO and Eurostat GDP for EEA members

Data table via SPARQL Published 04 Jul 2012 Last modified 26 Sep 2023
This is an old version, kept for reference only.

Go to latest version
This page was archived on 26 Sep 2023 with reason: Other (Content is outdated. SPARQL endpoint is deprecated.)

Download this dataset

Dataset preview

(Live Query)

code countryname faoGDP estatGDP differencePercentage faogdpyear

Received 0 rows in 0.001 seconds.

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

PREFIX owl: <>
PREFIX rdfs: <>
PREFIX eea: <>
PREFIX fao: <>
PREFIX qb: <>
PREFIX p: <>
PREFIX dimension: <>
PREFIX measure: <>

SELECT ?code ?countryname
        bif:sprintf("%.1f",?faogdp) AS ?faoGDP
        bif:sprintf("%.1f",xsd:float(?estatgdp) * 1.395871) AS ?estatGDP
        bif:sprintf('%.2f',?faogdp / xsd:float(?estatgdp) / 0.01395871) AS ?differencePercentage
  ?ucountry a eea:Country ;
            eea:code ?code;
            rdfs:label ?countryname;
            eea:memberOf <>;
            owl:sameAs ?faourl;
            owl:sameAs ?estaturl.
  ?faourl fao:GDPTotalInCurrentPrices ?faogdp;
          fao:GDPYear ?faogdpyear.
  ?obs    qb:dataSet <>;
          p:geo ?estaturl;
          p:indic_na <>;
          dimension:timePeriod ?year;
          p:unit <>;
          measure:obsValue ?estatgdp.
 FILTER(?year >= "2009-01-01"^^xsd:date && ?year < "2009-01-02"^^xsd:date)
} ORDER BY ?code

Error when running query:

Error. Traceback (most recent call last):
  File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/", line 287, in run_with_timeout
    ret = func(*args, **kwargs)
  File "/plone/buildout-cache/eggs/Products.ZSPARQLMethod-2.3-py2.7.egg/Products/ZSPARQLMethod/", 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/", line 747, in query
    return s.query(query, timeout, raw=raw)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/", line 416, in query
    return q.query(query, timeout, raw=raw)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/", line 571, in query
    response = self._request(statement, timeout)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/", line 558, in _request
    response = self._build_response(query, opener, buf, timeout)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/", line 543, in _build_response
    timeout if timeout > 0 else None)
  File "/plone/buildout-cache/eggs/sparql_client-3.8-py2.7.egg/", line 514, in _get_response
    response =, timeout=timeout)
  File "/usr/local/lib/python2.7/", line 435, in open
    response = meth(req, response)
  File "/usr/local/lib/python2.7/", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/lib/python2.7/", line 473, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python2.7/", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 308: Permanent Redirect


Document Actions