Published 10th July 2011
Updated 5th March 2012
Resources 1915

Ordnance Survey to Traffic Scotland Linkset

 

This dataset consists of links between the our traffic scotland dataset and the ordnance survey administrative geography. Each point in the traffic scotland dataset has been linked to all the administrative regions that geographically contain it. 

Points are linked to regions using the http://data.ordnancesurvey.co.uk/ontology/spatialrelations/within property.

Regions are linked to points using the http://data.ordnancesurvey.co.uk/ontology/spatialrelations/contains property.

 

Explore the dataset
Default APIs

SPARQL Endpoint

Use the SPARQL 1.1 query language to perform structured queries against a dataset. Useful for performing precise queries against a dataset whose structure you understand.

Sample queries

This query selects the traffic incidents that occurred in the Unitary Authority of Perth and Kinross. Perth and Kinross has a URI of http://data.ordnancesurvey.co.uk/id/7000000000030110

Query: 
select * where {<http://data.ordnancesurvey.co.uk/id/7000000000030110> <http://data.ordnancesurvey.co.uk/ontology/spatialrelations/contains> ?incident}
Login to test this query using our experimental API explorer Permalink to this sample query

This query selects the Ordnance Survey regions that enclose the traffic incident that caused the closure of the A93 Spittal of Glenshee on 6th July 2011. This incident has a URI of http://trafficscotland.dataincubator.org/incidents/c2993

Query: 
select * where {<http://trafficscotland.dataincubator.org/incidents/c2993> <http://data.ordnancesurvey.co.uk/ontology/spatialrelations/within> ?region}
Login to test this query using our experimental API explorer Permalink to this sample query
Create a sample query

Search API

Perform a free-text search against the text fields indexed in a dataset. Useful when you want to quickly query a dataset but don't know, or need to know its structure. There is also a solr search endpoint allowing more complex queries.

Lookup API

Retrieve a description of a single resource. Useful for fetching the key properties and relationships of a single entity.

Reconciliation API

Useful for resolving names, labels or codes against a dataset in Kasabi to find links to more data. This API is compatible with the Google Refine tool.

How to Attribute This Dataset

Kasabi provides a quick and easy way to attribute a dataset from any webpage. We think attribution is an important community norm.

To directly embed an attribution message in a webpage, add a script tag that invokes our Attribution API as follows

<script
     type="text/javascript"
     src="http://api.kasabi.com/dataset/ordnance-survey-traffic-scotland-linkset/attribution">
</script>

If you need more flexible options, then read the Attribution API documentation

Contributed APIs

No Contributed APIs available