next
previous
items

Data table via SPARQL

Percentage of GDP from agriculture of top 25 countries in 2008

Data table via SPARQL Published 09 Oct 2012 Last modified 15 Apr 2024
Show the countries with the highest dependency on agriculture

Download this dataset

Dataset preview

(Live Query)

countryPrefLabel percentageOfGDP
"Liberia"@en "67.2616177745726"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Sierra Leone"@en "56.3746837253239"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Chad"@en "55.9166467430422"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Central African Republic"@en "55.7164752691744"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Ethiopia"@en "49.4032718159958"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Comoros"@en "45.8120828486104"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Congo, Dem. Rep."@en "44.1183738085051"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Niger"@en "43.2054983045104"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Solomon Islands"@en "41.2192098705282"^^<http://www.w3.org/2001/XMLSchema#decimal>
"Togo"@en "40.7579872225869"^^<http://www.w3.org/2001/XMLSchema#decimal>

Received 25 rows in 0.027 seconds.


https://www.eea.europa.eu/data-and-maps/daviz/eionet/data/local-sparql-queries/percentage-of-gdp-from-agriculture-of-top-25-countries-in-2008/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://worldbank.270a.info/sparql

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX wgs: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX dbr: <http://dbpedia.org/resource/>
PREFIX sdmx: <http://purl.org/linked-data/sdmx#>
PREFIX sdmx-attribute: <http://purl.org/linked-data/sdmx/2009/attribute#>
PREFIX sdmx-code: <http://purl.org/linked-data/sdmx/2009/code#>
PREFIX sdmx-concept: <http://purl.org/linked-data/sdmx/2009/concept#>
PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#>
PREFIX sdmx-measure: <http://purl.org/linked-data/sdmx/2009/measure#>
PREFIX sdmx-metadata: <http://purl.org/linked-data/sdmx/2009/metadata#>
PREFIX year: <http://reference.data.gov.uk/id/year/>
PREFIX wbld: <http://worldbank.270a.info/>
PREFIX property: <http://worldbank.270a.info/property/>
PREFIX classification: <http://worldbank.270a.info/classification/>
PREFIX indicator: <http://worldbank.270a.info/classification/indicator/>
PREFIX country: <http://worldbank.270a.info/classification/country/>
PREFIX income-level: <http://worldbank.270a.info/classification/income-level/>

PREFIX g-meta: <http://worldbank.270a.info/graph/meta>
PREFIX g-indicators: <http://worldbank.270a.info/graph/world-development-indicators>

SELECT ?countryPrefLabel ?percentageOfGDP
WHERE {
    GRAPH g-indicators: {
        ?observations
            property:indicator indicator:NV.AGR.TOTL.ZS ;
            sdmx-dimension:refArea ?countryURI ;
            sdmx-dimension:refPeriod year:2008 ;
            sdmx-measure:obsValue ?percentageOfGDP ;
        .
    }
    GRAPH g-meta: {
        ?countryURI
            a dbo:Country ;
            skos:prefLabel ?countryPrefLabel ;
        .
    }
}
ORDER BY DESC(?percentageOfGDP)
LIMIT 25

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 429, in open
    response = self._open(req, data)
  File "/usr/local/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  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 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/local/lib/python2.7/urllib2.py", line 1198, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno -2] No address found>


Permalinks

Document Actions