DBTune aims at publishing and interlinking such music-related repositories on the Semantic Web, using RDF and the Music Ontology. For the hackday, the BBC released some data, and among them, metadata about the John Peel sessions.
This effort is part of the Linking Open Data on the Semantic Web community project, hosted by the Semantic Web Education and Outreach interest group.
This service aims at publishing and interlinking with relevant data sources the John Peel data set.
All resource identifiers defined by this RDF dump are dereferencable, and support content negotiation. Using the Accept: application/rdf+xml header field, a RDF/XML representation of the resource is sent back. Otherwise, a HTML representation, done using the Zitgist browser, is sent back.
Here are some entry points to the dataset:
The dump also exposes some informational RDF documents (directories of all artists, all sessions, all signals, etc.)
Such documents are:
To test them using a Semantic Web browser, load one of them into the Tabulator (eg. http://dbtune.org/jamendo/all/artist) and then look for http://purl.org/ontology/mo/MusicArtist. You will then see the list of all John Peel sessions' MusicArtist instances.
The service also exposes a SPARQL end-point, available at http://dbtune.org:3030/sparql/. There is also a small web interface available at http://dbtune.org:3030/.
The code is split in two parts, and is available under a copyleft license - feel free to use it!
The first part is available here. It is a small HTTP server implementing content negotiation. The behavior of the server is specified by a declarative mapping from resource identifiers to the location of their representation.
The second part is available here. It is an equivalent of D2R Server, but for Prolog knowledge base. It allows to translate dynamically RDF queries to Prolog queries - which may wrap XML parsing (as it is done in the Jamendo RDF dump), calls to web services, databases, etc.
The behavior of this component is also specified through a declarative mapping (the package ships with some mapping examples) between prolog predicates and a set of RDF predicates.
For this dataset, the P2R mapping is available here. It uses a Prolog representation of the John Peel data, available here.
A complete RDF dump of the data is available here (the data may be a bit outdated some times though).