Sample queries for the British National Bibliography
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Background.md
README.md
_prefix.rq
ask-issn.rq
describe-by-isbn.rq
describe-uri.rq
find-by-isbn.rq
find-by-issn.rq
find-categories-for-a-series.rq
find-regions-from-serials.rq
find-series-by-author.rq
overview.md
package.json
select-author-by-isbn.rq
select-author-categories.rq
select-authors-by-birth-year.rq
select-books-by-author.rq
select-books-by-category.rq
select-books-by-location.rq
select-books-by-publication-year.rq
select-books-by-publisher-and-year.rq
select-books-in-series.rq
select-by-isbn.rq
select-by-uri.rq
select-common-contributors.rq
select-contributors-by-author.rq
select-distinct-author-by-isbn.rq
select-serials-by-place.rq

README.md

British National Bibliography Queries

The British National Bibliography (BNB) is a bibliographic database that contains information on a wide range of books and serial publications that have been published in the UK and Ireland since the 1950s. The database is available under a public domain license and can be accessed via an online API.

This project contains a number of sample SPARQL queries for working with the British National Bibliography Linked Data.

The public SPARQL endpoint for the dataset can be found at:

http://bnb.data.bl.uk/sparql

Each query in this project has been tested against the live dataset and is known to return useful results.

Prefixes

The _prefix.rq file provides a useful set of starting prefixes for working with the data. These include the following:

PREFIX bio: <http://purl.org/vocab/bio/0.1/> 
PREFIX bibo: <http://purl.org/ontology/bibo/> 
PREFIX blterms: <http://www.bl.uk/schemas/bibliographic/blterms#> 
PREFIX dct: <http://purl.org/dc/terms/> 
PREFIX event: <http://purl.org/NET/c4dm/event.owl#> 
PREFIX foaf: <http://xmlns.com/foaf/0.1/> 
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> 
PREFIX isbd: <http://iflastandards.info/ns/isbd/elements/> 
PREFIX org: <http://www.w3.org/ns/org#> 
PREFIX owl: <http://www.w3.org/2002/07/owl#> 
PREFIX rda: <http://RDVocab.info/ElementsGr2/> 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> 
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 

Add these at the start of a new query to define the necessary queries.

Contributing

If you have queries to contribute to the project then please submit a pull request. Any contributions will be considered to have been placed into the public domain.

Rights

The contents of this project including all text, queries or other sample code is placed into the public domain under the terms of the CC0 Waiver