myspace 2 rdf service on dbtune

10 views
Skip to first unread message

Kurt J

unread,
Mar 12, 2008, 2:43:40 PM3/12/08
to music-ontology-sp...@googlegroups.com
Hi List,

I've been working with Yves R to create a live Myspace to RDF service.  It can be found on dbtune here:

http://dbtune.org/myspace/

The service can be used two ways - with a myspace URL or a myspace uid.  For example, J-Dilla's myspace page (http://myspace.com/jdilla) can be RDFized like this...

http://dbtune.org/myspace/jdilla

We just drop the 'myspace.com' and replace w/ "dbtune.org/myspace"  Alternatively, you can use the myspace-assigned UID directly

http://dbtune.org/myspace/uid/38115508

The resulting RDF uses MO and FOAF ontologies.  Note that only the "top friends" are included in this representation.  Also, a special bonus, for artist accounts availableAs links are included pointing to the streaming audio cache for each track!!!  Enjoy.

-Kurt J

Kingsley Idehen

unread,
Mar 12, 2008, 3:00:15 PM3/12/08
to music-ontology-sp...@googlegroups.com
Kurt J wrote:
> Hi List,
>
> I've been working with Yves R to create a live Myspace to RDF
> service. It can be found on dbtune here:
>
> http://dbtune.org/myspace/
>
> The service can be used two ways - with a myspace URL or a myspace
> uid. For example, J-Dilla's myspace page (http://myspace.com/jdilla)
> can be RDFized like this...
>
> http://dbtune.org/myspace/jdilla
>
> We just drop the 'myspace.com <http://myspace.com>' and replace w/
> "dbtune.org/myspace <http://dbtune.org/myspace>" Alternatively, you
> can use the myspace-assigned UID directly
>
> http://dbtune.org/myspace/uid/38115508
>
> The resulting RDF uses MO and FOAF ontologies. Note that only the
> "top friends" are included in this representation. Also, a special
> bonus, for artist accounts availableAs links are included pointing to
> the streaming audio cache for each track!!! Enjoy.
>
> -Kurt J
>
> >
Kurt,

Neat!

See:
1.
http://demo.openlinksw.com/rdfbrowser/index.html?uri=http%3A%2F%2Fdbtune.org%2Fmyspace%2Flesversaillaisesamoustache
2.
http://demo.openlinksw.com/rdfbrowser/index.html?uri=http%3A%2F%2Fdbtune.org%2Fmyspace%2Fuid%2F38115508

Note Yves: Please also show other RDF Linked Data aware clients in your
demos :-) Ideally, although a little time consuming, place links for
DISCO, Tabulator, and our Browser (the pattern used in DBpedia page
footers) :-)


Fred penned a nice blog about Networks being everywhere
<http://fgiasson.com/blog/index.php/2008/03/11/networks-are-everywhere/>,
and I think this piece of work lays the foundation for a simple but
powerful demo of Linked data i.e. you one need to be linked to one
Linked Data URI to experience the benefits that the Linked Data Web
brings to the Web in general.

--


Regards,

Kingsley Idehen Weblog: http://www.openlinksw.com/blog/~kidehen
President & CEO
OpenLink Software Web: http://www.openlinksw.com


Yves Raimond

unread,
Mar 12, 2008, 3:05:32 PM3/12/08
to music-ontology-sp...@googlegroups.com
Hi Kingsley!


> Note Yves: Please also show other RDF Linked Data aware clients in your
> demos :-) Ideally, although a little time consuming, place links for
> DISCO, Tabulator, and our Browser (the pattern used in DBpedia page
> footers) :-)
>

Ooops, my bad :-) I always end up writing these things in a hurry -
I'll fix that!


>
> Fred penned a nice blog about Networks being everywhere
> <http://fgiasson.com/blog/index.php/2008/03/11/networks-are-everywhere/>,
> and I think this piece of work lays the foundation for a simple but
> powerful demo of Linked data i.e. you one need to be linked to one
> Linked Data URI to experience the benefits that the Linked Data Web
> brings to the Web in general.

Yes, good post Fred :-)

Cheers!
y

Dan Brickley

unread,
Mar 12, 2008, 4:38:51 PM3/12/08
to music-ontology-sp...@googlegroups.com

Very cool!!!

Here's a wishlist I've had in mind for a while:

1. given some artist (via musicbrainz IDs), get a list of their fans
URLs on MySpace.
2. given someone's myspace URL, get a list of musicbrainz IDs for
bands they like.
3 .... or for the most popular 20 artists amongst them and their buddies

Since MusicBrainz has Myspace URLs as 'advanced relations', this
should be possible.

Do you have enough data and the right vocab to do this via RDF yet?

cheers,

Dan

--
http://danbri.org/

Kurt J

unread,
Mar 12, 2008, 5:58:49 PM3/12/08
to music-ontology-sp...@googlegroups.com
Thanks for the feedback Dan.
 
1. given some artist (via musicbrainz IDs), get a list of their fans
URLs on MySpace.
A great application, but this service won't do that quite. for now we only scrape the 'front page' of a myspace page - this is only the top friends, which tends to be other music artists not fans.  this should be possible w/ OpenSocial (and maybe the next version of dbtune/myspace)
 
2. given someone's myspace URL, get a list of musicbrainz IDs for
bands they like.
This should (kinda) work if the bands they like are 'top friends'.  however, there is no automatic lookup of musicbrainz IDs in the current service.  part of the problem is myspace 'names' tend to be really funky - it is fashionable to use strange characters and include extra text in the name.  this makes the lookup to mbz return a lot of ambiguity.  however adding a musicbrainz lookup is hi on the todo list - i haven't tried using Yves and Chris S's hybrid artist/track lookup method...

 
3  .... or for the most popular 20 artists amongst them and their buddies
Would be a _really_ cool application.  But would be tricky - afaik there is no logging on myspace of who plays what - only total play counts for each artist.  but maybe a mashup combining last.fm data myspace data...
 
Since MusicBrainz has Myspace URLs as 'advanced relations', this
should be possible.
i did not know that.  that is awesome.  we should link form musicbrainz to dbtune/myspace...

-Kurt

Dan Brickley

unread,
Mar 12, 2008, 10:32:26 PM3/12/08
to music-ontology-sp...@googlegroups.com
On 12/03/2008, Kurt J <kur...@gmail.com> wrote:
> Thanks for the feedback Dan.
>
> > 1. given some artist (via musicbrainz IDs), get a list of their fans
> > URLs on MySpace.
> A great application, but this service won't do that quite. for now we only
> scrape the 'front page' of a myspace page - this is only the top friends,
> which tends to be other music artists not fans. this should be possible w/
> OpenSocial (and maybe the next version of dbtune/myspace)

Ah ok, makes sense. I spent a while trying a Perl scraper, but it was
painful. Hopefully we'll get clean APIs soon...

> > 2. given someone's myspace URL, get a list of musicbrainz IDs for
> > bands they like.
> This should (kinda) work if the bands they like are 'top friends'. however,
> there is no automatic lookup of musicbrainz IDs in the current service.
> part of the problem is myspace 'names' tend to be really funky - it is
> fashionable to use strange characters and include extra text in the name.
> this makes the lookup to mbz return a lot of ambiguity. however adding a
> musicbrainz lookup is hi on the todo list - i haven't tried using Yves and
> Chris S's hybrid artist/track lookup method...

I was thinking this could be done by combining
a) from myspace.com: a list of buddys of some URL
b) from musicbrainz: list of myspace URLs for some artist (see below)

>
> > 3 .... or for the most popular 20 artists amongst them and their buddies
> Would be a _really_ cool application. But would be tricky - afaik there is
> no logging on myspace of who plays what - only total play counts for each
> artist. but maybe a mashup combining last.fm data myspace data...

I hadn't thought of last.fm here, rather I was thinking to just use
'friend' links to artists. But the more we can mix together the
better...


> > Since MusicBrainz has Myspace URLs as 'advanced relations', this
> > should be possible.
> >
> i did not know that. that is awesome. we should link form musicbrainz to
> dbtune/myspace...

:)

http://wiki.musicbrainz.org/AdvancedRelationships
http://wiki.musicbrainz.org/MySpaceRelationshipType

* artist or label has a MySpace page at URL
* URL is a MySpace page for artist or label

Coverage isn't complete ... but hey we can always add links :)

Dan

Nicolas Karlen

unread,
Mar 13, 2008, 3:36:10 AM3/13/08
to music-ontology-sp...@googlegroups.com
Kurt J a écrit :

> Thanks for the feedback Dan.
>
>
> 1. given some artist (via musicbrainz IDs), get a list of their fans
> URLs on MySpace.
>
> A great application, but this service won't do that quite. for now we
> only scrape the 'front page' of a myspace page - this is only the top
> friends, which tends to be other music artists not fans. this should be
> possible w/ OpenSocial (and maybe the next version of dbtune/myspace)

Developers are allowed to access users friends list, check
http://developer.myspace.com

nicolas.

Frederick Giasson

unread,
Mar 13, 2008, 8:45:13 AM3/13/08
to music-ontology-sp...@googlegroups.com
Hi Dan,

> Since MusicBrainz has Myspace URLs as 'advanced relations', this
> should be possible.
>
> Do you have enough data and the right vocab to do this via RDF yet?
>

Think so yes. What will make things simpler to do that linkage is the
release (really soon, that time...) of a first MBZ RDF/Ntriples dump.
Right now we only have a rdf view without accessible endpoints, so the
current way to do the linkage, without the rdf dump, is by using their
API (do we have these advanced relations via the API?) or by downloading
the Postgre RDB dump and querying it.


Take care,


Fred

Reply all
Reply to author
Forward
0 new messages