W3C home > Mailing lists > Public > public-lod@w3.org > July 2009

Re: Links from Myspace to Musicbrainz

From: Yves Raimond <yves.raimond@gmail.com>
Date: Thu, 16 Jul 2009 10:46:51 +0100
Message-ID: <82593ac00907160246k6d995fadgb38055caf340f068@mail.gmail.com>
To: Leigh Dodds <leigh.dodds@talis.com>
Cc: Kurt J <kurtjx@gmail.com>, Simon Reinhardt <simon.reinhardt@koeln.de>, public-lod@w3.org, music-ontology-specification-group@googlegroups.com
Hello!

>> The links to myspace are using owl:sameAs. The mo:myspace property
>> points to a document (the myspace page), whereas we're asserting
>> sameAs links between the same artists in Musicbrainz and Myspace. Try
>> something like:
>>
>> PREFIX mo: <http://purl.org/ontology/mo/>
>> SELECT ?myspace WHERE {
>>  ?x a mo:MusicArtist;
>>   owl:sameAs ?myspace.
>> FILTER ( REGEX(str(?myspace), "^http://dbtune.org") )
>> }
>> LIMIT 10
>
> Ah, OK I misunderstood what you were referring about linking to :)
>
> For my purposes I'm starting from some artist homepages and myspace
> page urls, and want to lookup the uris of the artist. Doesn't look
> like I can do that though?

I am guessing it should be pretty self-forward with a simple regexp
substituting http://myspace.com by http://dbtune.org/myspace.
Otherwise, we can just change the D2R mapping to add mo:myspace links
as well?

y

>
> Cheers,
>
> L.
>
> --
> Leigh Dodds
> Programme Manager, Talis Platform
> Talis
> leigh.dodds@talis.com
> http://www.talis.com
>
Received on Thursday, 16 July 2009 09:47:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:20:50 UTC