Published 11th July 2011
Updated 25th January 2012
Resources 11611750

British National Bibliography (BNB)

The British National Bibliography (BNB) records the publishing activity of the United Kingdon and the Republic of Ireland and is such a measure of their intellectual output. This has traditionally included printed publications and more recently has been extended to electronic publications following the extension of legal deposit to this class of material in 2003.

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

Retrieves the Book URI and label, together with the associated publication year, doing query-time type-casting of the year for a numerical comparison.

Query: 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX bibliographic: <http://data.bl.uk/schema/bibliographic#> PREFIX bibo: <http://purl.org/ontology/bibo/> PREFIX event: <http://purl.org/NET/c4dm/event.owl#> PREFIX year: <http://reference.data.gov.uk/id/year/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT ?book ?label ?year WHERE { ?book rdf:type bibo:Book ; bibliographic:publication ?pub . ?pub rdf:type bibliographic:PublicationEvent ; rdfs:label ?label ; event:time ?event . ?event rdfs:label ?year . FILTER(xsd:int(?year) < 1970) } LIMIT 10
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/british-national-bibliography-bnb/attribution">
</script>

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

Contributed APIs

No Contributed APIs available