geoservice.psi.enakting.org is a service to support the discovery of geographical resources in the Web of Data querying containment relations.
In order to use the service enter a Linked Data URI in the input text box and choose the target data set or "none" for retrieving all the results.
This service is integrated with sameAs.org so as to increase the coverage of connectivity.
Moreover, the service is also integrated with backlinking service in order to retrieve resources that link to the geographical resources retrieved.
New APIs have been developed in order to support a more flexible querying of geographical subdivisions
(e.g. European NUTS for statistical purposes, the UK electoral or administrative)
and an effective rendering of the geographical extensions over maps for mashups.
The new APIs are composed of the following services:
The new APIs are composed of the following services:
Containment APIfor backward compatibilityExplore some of the UK geographical entities in different data sets: (EnAKTing) Hampshire (EnAKTing) London (Ordnance Survey) Barnsley Central (Openly Local) Southampton This service is a RESTFul API, you can point your requests to: http://geoservice.psi.enakting.org/{command}/{dictionary}/{format}/{URI} command:
This service supports content negotiation and accepts: curl -L -H "Accept: application/rdf+xml"\\
New Containment APIThis service is a RESTFul API, you can point your requests to: http://geoservice.psi.enakting.org/{command}/{format}/{depth}/?uri={URI}[&valid_from={from}&valid_until{until}] command:
temporal validity (optional) a (possibly open) temporal interval can be provided in input, only the regions whose validity overlap the input interval are returned:
This service supports content negotiation and accepts: The service returns a structure of topological containments of entities, complete with type and literal information, in accordance with the input parameters. Therefore the following command:
curl -L -H "Accept: application/json"\\
will return the following code:
{An example for the exploitation of such APIs can be seen browsing the containment relationships for different geographical entities; for example: Bounding box APIReturns only NUTS region URIsThis service is a RESTFul API, you can point your requests to: http://geoservice.psi.enakting.org/nuts/bounded/?min_lat={min_lat}&max_lat={max_lat}&min_lng={min_lng}&max_lng={max_lng}&level={level} The service returns a list of NUTS regions that are strictly contained in the given bounding box. For example the following command: curl -H 'Accept: application/json' 'http://geoservice.psi.enakting.org/nuts/bounded?min_lat=0&max_lat=40\\will return the following JSON object:
{min_lat: minumum latitude of the bounding box max_lat: maximum latitude of the bounding box min_lng: minimum longitude of the bounding box max_lng: maximum longitude of the bounding box level: [0..3] level of NUTS regions returned (for a definition of national EU structures see here) NUTS Polygons APIThis service is a RESTFul API, you can point your requests to: http://geoservice.psi.enakting.org/nuts/polygon/?(nuts_id={id}|nuts_uri={uri}|uri={uri})&(callback=function)&(format={format})
This service can be used in order to create mashups from javascript that dinamically load data for the rendering of geographical data. An example of the rendering of such polygons can be viewed accessing the NUTS geographical browser for different regions: The service uses poligons from Eurostat and Ordnance Survey: © EuroGeographics for the administrative boundaries © Crown Copyright 2010 for the British boundaries NUTS Polygons FilesThe following URIs are the raw files for NUTS regions' polygons (identified by their codes) in two formats: geoJson (json extension) and KML (kml extension) for google map or Earth mashups: http://geoservice.psi.enakting.org/shape/{nuts_id}.{json|kml} For more information email
Gianluca Correndo: gc3[at]ecs.soton.ac.uk Alberto Granzotto: ag10v[at]ecs.soton.ac.uk |
.
. . |