Data table via SPARQL
SENSE 2: Assessment trends
Download this dataset
Dataset preview
(Live Query)
Received 15 rows in 0.101 seconds.
https://www.eea.europa.eu/data-and-maps/daviz/eionet/data/local-sparql-queries/sense-2-assessment-trends/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.
http://semantic.eea.europa.eu/sparql
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sense: <http://rdfdata.eionet.europa.eu/sense/ontology/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX eea: <http://www.eea.europa.eu/portal_types/Specification#>
PREFIX eionet: <http://rdfdata.eionet.europa.eu/eea/ontology/>
SELECT DISTINCT ?country (IF(BOUND(?trend), ?trend, "Not reported") AS ?trend) ?title
WHERE {
?indicator_url a sense:IndicatorAssessment;
dcterms:spatial ?ucountry.
?ucountry rdfs:label ?country
OPTIONAL { ?indicator_url dcterms:title ?title }
OPTIONAL { ?indicator_url sense:trend ?utrend.
?utrend rdfs:label ?trend }
} ORDER BY ?country ?title
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 561, 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 1241, in https_open
context=self._context)
File "/usr/local/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)>
Permalinks
- Permalink to this version
- 85ef0ab2ef5142c9a37cfdbaa685c90b
- Permalink to latest version
- V43KAU7XTD
For references, please go to https://www.eea.europa.eu/data-and-maps/daviz/eionet/data/local-sparql-queries/sense-2-assessment-trends or scan the QR code.
PDF generated on 01 Jul 2022, 12:55 PM
Document Actions
Share with others