BNB Example Queries

A collection of example sparql queries for use with the British National Bibliography Linked Data

Overview

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

This documentation provides access to a number of sample queries which have been tested against the live dataset and are known to return useful results.

The original source for the queries can be found on github.

Queries

This set of documentation covers 24 queries

TitleSource Path
_prefix.rq_prefix.rq
ask-issn.rqask-issn.rq
describe-by-isbn.rqdescribe-by-isbn.rq
describe-uri.rqdescribe-uri.rq
find-by-isbn.rqfind-by-isbn.rq
find-by-issn.rqfind-by-issn.rq
find-categories-for-a-series.rqfind-categories-for-a-series.rq
find-regions-from-serials.rqfind-regions-from-serials.rq
find-series-by-author.rqfind-series-by-author.rq
select-author-by-isbn.rqselect-author-by-isbn.rq
select-author-categories.rqselect-author-categories.rq
select-authors-by-birth-year.rqselect-authors-by-birth-year.rq
select-books-by-author.rqselect-books-by-author.rq
select-books-by-category.rqselect-books-by-category.rq
select-books-by-location.rqselect-books-by-location.rq
select-books-by-publication-year.rqselect-books-by-publication-year.rq
select-books-by-publisher-and-year.rqselect-books-by-publisher-and-year.rq
select-books-in-series.rqselect-books-in-series.rq
select-by-isbn.rqselect-by-isbn.rq
select-by-uri.rqselect-by-uri.rq
select-common-contributors.rqselect-common-contributors.rq
select-contributors-by-author.rqselect-contributors-by-author.rq
select-distinct-author-by-isbn.rqselect-distinct-author-by-isbn.rq
select-serials-by-place.rqselect-serials-by-place.rq