Published 12th January 2012
Updated 12th March 2012
Resources 77496

Openflights (Routes) contains information about which airlines fly between which airports. This dataset can be used to answer questions like, "where can I fly to from here?" and might be useful to help planmulti-hop journeys.

Note that there is no scheduling information, it contains only the routes themselves as extracted from openflights [1].

This dataset might usefully be combined with the Our Airports [2] and Openflights (Airlines) [3] datasets.

Footnotes:

[1] http://openflights.org/

[2] http://kasabi.com/dataset/our-airports

[3] http://kasabi.com/dataset/openflights-airlines

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

Query: 
PREFIX ofr: <http://data.kasabi.com/dataset/openflights-routes/terms/> SELECT DISTINCT ?dest WHERE { [ ofr:start <http://data.kasabi.com/dataset/airports/BHX>; ofr:end ?dest ] } ORDER BY ?dest
Login to test this query using our experimental API explorer Permalink to this sample query
Query: 
PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix route: <http://data.kasabi.com/dataset/openflights-routes/terms/> describe ?city_uri where { ?glas_air foaf:based_near <http://data.kasabi.com/dataset/airports/place/Glasgow> . ?route route:start ?glas_air ; route:end ?airport . ?airport foaf:based_near ?city_uri . }
Login to test this query using our experimental API explorer Permalink to this sample query
15th May 2012
Query: 
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/openflights-routes/attribution">
</script>

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

Contributed APIs