next
previous
items

Data table via SPARQL

List Eurostat, EEA and FAO country codes side-by-side

Data table via SPARQL Published 05 Jul 2012 Last modified 22 Apr 2024

Download this dataset

Dataset preview

(Live Query)

estatcode eeacode nutscode faocode gdp name
"BE"@en "BE" "" "255"^^<http://www.w3.org/2001/XMLSchema#string> "43.98441"^^<http://www.w3.org/2001/XMLSchema#float> "Belgium"@en
"BG"@en "BG" "" "27"^^<http://www.w3.org/2001/XMLSchema#string> "6.5014677"^^<http://www.w3.org/2001/XMLSchema#float> "Bulgaria"@en
"CZ"@en "CZ" "" "167"^^<http://www.w3.org/2001/XMLSchema#string> "18.133423"^^<http://www.w3.org/2001/XMLSchema#float> "Czech Republic"@en
"DK"@en "DK" "" "54"^^<http://www.w3.org/2001/XMLSchema#string> "55.783062"^^<http://www.w3.org/2001/XMLSchema#float> "Denmark"@en
"DE"@en "DE" "" "79"^^<http://www.w3.org/2001/XMLSchema#string> "40.461132"^^<http://www.w3.org/2001/XMLSchema#float> "Germany"@en
"EE"@en "EE" "" "63"^^<http://www.w3.org/2001/XMLSchema#string> "14.231171"^^<http://www.w3.org/2001/XMLSchema#float> "Estonia"@en
"IE"@en "IE" "" "104"^^<http://www.w3.org/2001/XMLSchema#string> "50.826176"^^<http://www.w3.org/2001/XMLSchema#float> "Ireland"@en
"EL"@en "GR" "" "84"^^<http://www.w3.org/2001/XMLSchema#string> "29.045162"^^<http://www.w3.org/2001/XMLSchema#float> "Greece"@en
"ES"@en "ES" "" "203"^^<http://www.w3.org/2001/XMLSchema#string> "31.691517"^^<http://www.w3.org/2001/XMLSchema#float> "Spain"@en
"FR"@en "FR" "" "68"^^<http://www.w3.org/2001/XMLSchema#string> "42.196472"^^<http://www.w3.org/2001/XMLSchema#float> "France"@en

Received 40 rows in 0.038 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/eionet/data/eionet-data/list-eurostat-eea-and-fao-country-codes-side-by-side/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://cr.eionet.europa.eu/sparql

PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX e: <http://ec.europa.eu/eurostat/ramon/ontologies/geographic.rdf#>
PREFIX eea: <http://rdfdata.eionet.europa.eu/eea/ontology/>
PREFIX fao: <http://aims.fao.org/aos/geopolitical.owl#>

SELECT DISTINCT ?estatcode ?eeacode ?nutscode ?faocode ?gdptotal/?population AS ?gdp ?name
WHERE {
  ?uri a e:Country .
  ?uri e:name ?name .
  ?uri e:code ?estatcode .
  ?uri e:protocolOrder ?order .
  OPTIONAL {
    ?uri owl:sameAs ?eeaURI .
    ?eeaURI a eea:Country .
    ?eeaURI eea:code ?eeacode .
  }
  OPTIONAL {
    ?uri owl:sameAs ?nuts .
    ?nuts a e:NUTSRegion .
    ?nuts e:code ?nutscode .
  }
  OPTIONAL {
    ?eeaURI owl:sameAs ?faourl .
    ?faourl a fao:self_governing;
            fao:codeFAOSTAT ?faocode;
            fao:GDPTotalInCurrentPrices ?gdptotal;
            fao:populationTotal ?population.
  }
} ORDER BY ?order

Error when running query:

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 435, in open
    response = meth(req, response)
  File "/usr/local/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 308: Permanent Redirect


Permalinks

Document Actions