To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / last-fm / last-fm.html @ 11:d95267afa12a
History | View | Annotate | Download (4.1 KB)
| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|---|---|
| 2 |
|
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 |
|
| 5 |
<head>
|
| 6 |
<title>DBTune - AudioScrobbler RDF Service</title> |
| 7 |
|
| 8 |
<style type="text/css" media="all"> |
| 9 |
@import url(style.css);
|
| 10 |
</style>
|
| 11 |
|
| 12 |
</head>
|
| 13 |
|
| 14 |
<body>
|
| 15 |
|
| 16 |
|
| 17 |
<a href="http://dbtune.org/"><h1 style="font-size: 250%;">DBTune.org</h1></a> |
| 18 |
|
| 19 |
<div id="tagline">AudioScrobbler RDF Service</div> |
| 20 |
|
| 21 |
<h2><a name="intro" id="intro"></a>1. Introduction</h2> |
| 22 |
|
| 23 |
<p><b>Note:</b> This service is down following changes to the upstream API. This page is retained for historical interest.</p> |
| 24 |
|
| 25 |
<p>
|
| 26 |
|
| 27 |
This service provides a live <a href="http://blog.dbtune.org/post/2008/01/11/Your-AudioScrobble-data-as-linked-data">RDF |
| 28 |
representation</a> of your last 10 tracks submitted to
|
| 29 |
<a href="http://www.audioscrobbler.net/">AudioScrobbler/Last.fm</a>. |
| 30 |
There are |
| 31 |
many AudioScrobbler clients for a wide range of media players. |
| 32 |
|
| 33 |
It now also provides you with <a href="http://blog.dbtune.org/post/2008/01/22/Pushing-your-LastFM-friends-in-the-FOAF-O-Sphere">the list of your friends (using their URI on this service, allowing to access |
| 34 |
their friends and scrobbles)</a>.
|
| 35 |
</p>
|
| 36 |
|
| 37 |
|
| 38 |
<p>
|
| 39 |
This representations is designed using the <a href="http://musicontology.com/"> |
| 40 |
Music Ontology</a>, <a href="http://xmlns.com/foaf/0.1/">FOAF</a> and |
| 41 |
a small <a href="#scrobbleonto">AudioScrobble ontology</a>. Moreover, |
| 42 |
it is interlinked with corresponding dereferencable <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Identifier">URIs</a> |
| 43 |
in the <a href="http://musicbrainz.org/">Musicbrainz repository</a> (see |
| 44 |
<a href="http://dbtune.org/#concept">this quick explanation of why this |
| 45 |
is important</a>).
|
| 46 |
</p>
|
| 47 |
|
| 48 |
<p>
|
| 49 |
This effort is part of the <a href="http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData">Linking |
| 50 |
Open Data on the Semantic Web</a> community project, hosted by the <a href="http://www.w3.org/2001/sw/sweo/">Semantic |
| 51 |
Web Education and Outreach</a> interest group.
|
| 52 |
</p>
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
<h2><a name="use" id="use"></a>2. Using this service</h2> |
| 57 |
<p>
|
| 58 |
Just get the following URI: |
| 59 |
<pre>
|
| 60 |
http://dbtune.org/last-fm/<username> |
| 61 |
</pre>
|
| 62 |
Where <username> is your <a href="http://last.fm/">Last.fm</a> username. |
| 63 |
</p>
|
| 64 |
<p>
|
| 65 |
Try to load this URI in the <a href="http://www.w3.org/2005/ajar/tab">Tabulator</a> |
| 66 |
to jump to the Musicbrainz |
| 67 |
description of the artists, tracks, albums you listened to, to plot your last |
| 68 |
scrobble on the <a href="http://simile.mit.edu/timeline/">Simile Timeline</a>, etc. |
| 69 |
</p>
|
| 70 |
<p>
|
| 71 |
You can also add this information to your <a href="http://xmlns.com/foaf/0.1/">FOAF profile</a> by adding the following line in it: |
| 72 |
<pre>
|
| 73 |
<my URI> owl:sameAs <http://dbtune.org/last-fm/<username> |
| 74 |
</pre>
|
| 75 |
</p>
|
| 76 |
|
| 77 |
<h2><a name="scrobbleonto" id="scrobbleonto"></a>3. AudioScrobble ontology</h2> |
| 78 |
<p>
|
| 79 |
For the purpose of representing AudioScrobble events in RDF, we designed |
| 80 |
a really small <a href="http://purl.org/ontology/last-fm/">Scrobble |
| 81 |
ontology</a>, heavily based on the <a href="http://purl.org/NET/c4dm/event.owl#">Event ontology</a>. Basically, it just defines a |
| 82 |
<a href="http://purl.org/ontology/last-fm/ScrobbleEvent"><b>Scrobble</b> event</a> |
| 83 |
as being a sub-concept of the <a href="http://purl.org/NET/c4dm/event.owl#Event"><b>Event</b> one</a>, and a <a href="http://purl.org/ontology/last-fm/user"><b>user</b> |
| 84 |
property</a> as being a sub-property of the <a href="http://purl.org/NET/c4dm/event.owl#agent"><b>agent</b> one</a> |
| 85 |
</p>
|
| 86 |
|
| 87 |
<h2><a name="code" id="code"></a>4. Code</h2> |
| 88 |
<p>
|
| 89 |
As usual, <a href="http://motools.svn.sourceforge.net/viewvc/motools/lastfm/">all the code running this service</a> |
| 90 |
is open source and based |
| 91 |
on <a href="http://www.swi-prolog.org">SWI-Prolog</a> |
| 92 |
</p>
|
| 93 |
|
| 94 |
|
| 95 |
<script type="text/javascript"> |
| 96 |
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
| 97 |
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
| 98 |
</script>
|
| 99 |
<script type="text/javascript"> |
| 100 |
var pageTracker = _gat._getTracker("UA-3327144-3");
|
| 101 |
pageTracker._initData();
|
| 102 |
pageTracker._trackPageview();
|
| 103 |
</script>
|
| 104 |
|
| 105 |
|
| 106 |
</body>
|
| 107 |
|
| 108 |
</html>
|
| 109 |
|