To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / last-fm / last-fm.html @ 0:1e44d666ced1

History | View | Annotate | Download (3.98 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>
24

    
25
This service provides a live <a href="http://blog.dbtune.org/post/2008/01/11/Your-AudioScrobble-data-as-linked-data">RDF
26
representation</a> of your last 10 tracks submitted to 
27
<a href="http://www.audioscrobbler.net/">AudioScrobbler/Last.fm</a>.
28
There are
29
many AudioScrobbler clients for a wide range of media players.
30

    
31
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 
32
their friends and scrobbles)</a>.
33
</p>
34

    
35

    
36
<p>
37
This representations is designed using the <a href="http://musicontology.com/">
38
Music Ontology</a>, <a href="http://xmlns.com/foaf/0.1/">FOAF</a> and
39
a small <a href="#scrobbleonto">AudioScrobble ontology</a>. Moreover,
40
it is interlinked with corresponding dereferencable <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Identifier">URIs</a> 
41
in the <a href="http://musicbrainz.org/">Musicbrainz repository</a> (see
42
<a href="http://dbtune.org/#concept">this quick explanation of why this
43
is important</a>).
44
</p>
45

    
46
<p>
47
This effort is part of the <a href="http://esw.w3.org/topic/SweoIG/TaskForces/CommunityProjects/LinkingOpenData">Linking
48
Open Data on the Semantic Web</a> community project, hosted by the <a href="http://www.w3.org/2001/sw/sweo/">Semantic
49
Web Education and Outreach</a> interest group.
50
</p>
51

    
52

    
53

    
54
<h2><a name="use" id="use"></a>2. Using this service</h2>
55
<p>
56
Just get the following URI:
57
<pre>
58
http://dbtune.org/last-fm/&lt;username&gt;
59
</pre>
60
Where &lt;username&gt; is your <a href="http://last.fm/">Last.fm</a> username.
61
</p>
62
<p>
63
Try to load this URI in the <a href="http://www.w3.org/2005/ajar/tab">Tabulator</a>
64
to jump to the Musicbrainz 
65
description of the artists, tracks, albums you listened to, to plot your last
66
scrobble on the <a href="http://simile.mit.edu/timeline/">Simile Timeline</a>, etc.
67
</p>
68
<p>
69
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:
70
<pre>
71
&lt;my URI&gt; owl:sameAs &lt;http://dbtune.org/last-fm/&lt;username&gt;
72
</pre>
73
</p>
74

    
75
<h2><a name="scrobbleonto" id="scrobbleonto"></a>3. AudioScrobble ontology</h2>
76
<p>
77
For the purpose of representing AudioScrobble events in RDF, we designed
78
a really small <a href="http://purl.org/ontology/last-fm/">Scrobble
79
ontology</a>, heavily based on the <a href="http://purl.org/NET/c4dm/event.owl#">Event ontology</a>. Basically, it just defines a 
80
<a href="http://purl.org/ontology/last-fm/ScrobbleEvent"><b>Scrobble</b> event</a> 
81
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>
82
property</a> as being a sub-property of the <a href="http://purl.org/NET/c4dm/event.owl#agent"><b>agent</b> one</a>
83
</p>
84

    
85
<h2><a name="code" id="code"></a>4. Code</h2>
86
<p>
87
As usual, <a href="http://motools.svn.sourceforge.net/viewvc/motools/lastfm/">all the code running this service</a>
88
is open source and based
89
on <a href="http://www.swi-prolog.org">SWI-Prolog</a>
90
</p>
91

    
92

    
93
<script type="text/javascript">
94
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
95
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
96
</script>
97
<script type="text/javascript">
98
var pageTracker = _gat._getTracker("UA-3327144-3");
99
pageTracker._initData();
100
pageTracker._trackPageview();
101
</script>
102

    
103

    
104
</body>
105

    
106
</html>
107