# HG changeset patch # User Chris Cannam # Date 1507883029 -3600 # Node ID 1e44d666ced104d9cd9998a4bb1ac7631b9bd5b9 Import site from parrot diff -r 000000000000 -r 1e44d666ced1 .htaccess --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.htaccess Fri Oct 13 09:23:49 2017 +0100 @@ -0,0 +1,15 @@ +Options -MultiViews +Options +FollowSymLinks + + +AddType application/rdf+xml .rdf +AddType application/rdf+xml .rdfs +AddType text/rdf+n3 .n3 + +RewriteEngine On +RewriteBase / + +RewriteRule ^$ dbtune.html [L] + + + diff -r 000000000000 -r 1e44d666ced1 about/html/.htaccess --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/about/html/.htaccess Fri Oct 13 09:23:49 2017 +0100 @@ -0,0 +1,4 @@ +RewriteEngine on +RewriteBase /about/html + +RewriteRule ^(.*)$ http://localhost:6666/about/html/$1 [P] diff -r 000000000000 -r 1e44d666ced1 audio/Both-Axel.ogg Binary file audio/Both-Axel.ogg has changed diff -r 000000000000 -r 1e44d666ced1 audio/Den-Nostalia.ogg Binary file audio/Den-Nostalia.ogg has changed diff -r 000000000000 -r 1e44d666ced1 bbc/.htaccess.swp Binary file bbc/.htaccess.swp has changed diff -r 000000000000 -r 1e44d666ced1 bbc/peel/.htaccess --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bbc/peel/.htaccess Fri Oct 13 09:23:49 2017 +0100 @@ -0,0 +1,11 @@ +RewriteEngine On + +RewriteBase /bbc/peel +RewriteRule ^$ johnpeel.html [L] + +RewriteRule store/(.*) http://localhost:3030/$1 [P] +RewriteRule sparql/ http://localhost:3030/sparql/ [P] +# prevent the last rule firing for these file types : +RewriteRule ^(.*)\.(html|css|mov)$ - [P] + +RewriteRule ^(.*)$ http://localhost:3031/$1 [P] diff -r 000000000000 -r 1e44d666ced1 bbc/peel/johnpeel.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bbc/peel/johnpeel.html Fri Oct 13 09:23:49 2017 +0100 @@ -0,0 +1,162 @@ + + + + +
++ +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. +
++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: +
+ + + + ++This dataset is interlinked with DBPedia. The corresponding +links are available in a separate RDF dump. +
++Both works and agents (musicians, bands, engineers, producers) are linked towards corresponding +resources in the DBPedia dataset. +
+ + ++The service also exposes a SPARQL end-point, available +at http://dbtune.org/bbc/peel/sparql/. There is also a small +web interface available at http://dbtune.org/bbc/peel/store/. +
+ ++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). +
++
Triple count | 277000 |
Distinct DBPedia resources | 1143 |
+The BBC has made available a dataset of playcounts of artists +per episode and brands in their programmes catalogue, for the Mashed 2008 event. +
+ ++This service provides RDF links using these playcounts, to link the +Musicbrainz linked data and the +BBC programmes linked data. +The earlier is designed with the Music Ontology, the latter is designed with the BBC Programmes ontology. +
+ ++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. +
+ + + ++A playcount URI in this service looks like: +
+http://dbtune.org/bbc/playcount/<id>_<k> ++Where <id> is the id of the episode or the brand, as in +/programmes BBC catalogue, +and <k> is a number between 0 and the number of playcounts +for the episode or the brand. + + +
+For example, the following URI corresponds to the playcount of +Prince on +the Fabio and Grooverider DJ show. +
+http://dbtune.org/bbc/playcount/b006wk6f_1 ++ + +
+We expose a SPARQL end-point +for querying this data, and also a web interface for this end-point. +The SPARQL end-point also holds aggregated information (around 2 million triples) from +Musicbrainz and the BBC Programmes service. +The end-point is available at: +
http://dbtune.org:3062/sparql+ + +
+An example query is the following one: +
+SELECT ?brand ?title ?count +WHERE { + ?artist a mo:MusicArtist; + foaf:name "The Beatles". + ?pc pc:object ?artist; + pc:count ?count. + ?brand a po:Brand; + pc:playcount ?pc; + dc:title ?title + FILTER (?count>10)} ++This will return every BBC brands in which The Beatles were featured at least ten times. + + +
+For the purpose of representing playcounts, we designed a really +small playcount ontology. +This ontology defines one playcount concept, and three properties +to link it to the media in which we are counting something, the actual thing, +and actual playcount. This ontology can be used as in the following +example: +
++:radioepisode pc:playcount [a pc:Playcount; pc:count 12; pc:object :track]. ++ +
+As usual, all the code running this service +is open source and based +on SWI-Prolog +
+ ++
Triple count | 1,954,786 |
Distinct BBC Programmes +resources | 6,863 |
Distinct Musicbrainz +resources | 7,055 |