The Lookup API provides a simple way to fetch a description of an individual entity, identified by a URI.

The API provides a way to fetch data about resources that may not be directly accessible as Linked Data, where the Kasabi dataset contains additional data than can be found at the original source, or where the original source may be unavailable or unreliable.

Formally the description of entity that is returned is a Concise Bounded Description. Less formally this means that the response will contain all of the properties of the entity. If a property refers to another resource, then the value of the property will be the identifier of that resource. This can be used in, e.g. additional calls to this service.

Quick Examples

Base API Reference

Endpoint URL

The base URI of a Lookup API will be displayed on the homepage for the API itself.

Authentication

To access the API will require use of your API key. For more information on Kasabi authentication options read the authentication documentation.

Parameters

All instances of the Lookup API accept an about parameter which is used to identity the entity to be described:

http://api.kasabi.com/dataset/nasa/apis/lookup?apikey=...&about=http://data.kasabi.com/dataset/nasa/mission/apollo-11

The about parameter should be properly URL encoded to ensure that the identifier is correctly passed to the service.

The response from the API will be a description of the identified resource or an empty response if it's not found.

HTTP Response Codes

Clients should be prepared to receive any valid HTTP response code. The following table lists the most frequently used codes

Code Meaning
202 Accepted Request to update data has been accepted
400 Bad Request Invalid data, missing parameter
401 Not Authorized API key is not authorized to access the data

Please also review our additional notes on response codes and error reporting.

Response Formats

The response can be returned in a number of different RDF formats, including RDF/XML and RDF/JSON.

View a description of Apollo 11 from the NASA dataset as RDF/XML: Results

View a description of Apollo 11 from the NASA dataset as RDF/JSON: Results