Dataset Hampshire
Published 8th August 2011
Updated 9th August 2011
Resources 101841

 

This is an overview of Hampshire. This dataset (so far) includes data about schools, NHS organisations, transport, crime, airports, heritage sites, the council and renewable energy generators in Southampton. More will be added over time.

This is an experimental dataset.

 

Explore the dataset
Default APIs

SPARQL Endpoint

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

Sample queries

Show all the types of crime used as classification in the Hampshire dataset. 

Query: 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX crime: <http://crime.rkbexplorer.com/id/> select distinct (?o) where { ?s crime:crime-type ?o }
Login to test this query using our experimental API explorer Permalink to this sample query

Show an ordered list of the number of each type of recorded crime in Hampshire

Query: 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX crime: <http://crime.rkbexplorer.com/id/> select ?crime (COUNT(?crime) as ?count) WHERE { ?s crime:crime-type ?crime } GROUP BY ?crime ORDER BY DESC( ?count )
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.

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.

Augmentation API

Pass an RSS 1.0 feed through a dataset, automatically enriching the feed with descriptions of any relevant data sources. Useful for “fishing” data out of datasets without writing queries.

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/hampshire-postcodes/attribution">
</script>

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

External Sources

The following external sources were used in creating or compiling this dataset
  • http://beta.kasabi.com/dataset/ordnance-survey-linked-data
  • http://beta.kasabi.com/dataset/nhs-performance-data
  • http://beta.kasabi.com/dataset/renewable-energy-generators
  • http://beta.kasabi.com/dataset/education
  • http://crime.rkbexplorer.com/
  • http://openlylocal.com/
  • http://beta.kasabi.com/dataset/english-heritage
  • http://beta.kasabi.com/dataset/our-airports