Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Foaf Mo Music recommendations extracted from Microformats.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
WebOrganics  
View profile  
 More options Feb 28 2008, 8:14 am
From: WebOrganics <ad...@weborganics.co.uk>
Date: Thu, 28 Feb 2008 05:14:40 -0800 (PST)
Local: Thurs, Feb 28 2008 8:14 am
Subject: Foaf Mo Music recommendations extracted from Microformats.
Hello All

I have managed to hack together a way of embedding foaf music
recommendations in html using the Microformats hAudio [1] and hCard
[2] run through the W3C Online XSLT 2.0 Service [3] the concept of
which seems like an amazingly useful thing to do.

The hAudio markup represents the concept of a mo:Track
and hCard markup with a single ID represents the concept of a
foaf:person

There are two other important propeties that are needed for the
transformation a link with rel="index" which is the base url and links
with rel="bookmark" which are links to the actual music
recommendations

I am not so good at explaining things so, the demos:

Source Document: http://darkstarserver.co.uk/

Extracted FOAF:
http://xml.mfd-consult.dk/foaf/explorer/?foaf=http%3A//darkstarserver...

GRDDL output:
http://sparql.captsolo.net/browser/browser.py?url=http%3A%2F%2Fwww.w3...

As this is basically an extension of hAudioRSS the XSL is available to
download from:
http://esw.w3.org/topic/hAudioRSS

Comments, ideas on how I may be able to improve the semantics, or any
input, criticism is more than welcome

Thanks For your time

Martin McEvoy

[1] http://microformats.org/wiki/haudio
[2] http://microformats.org/wiki/hcard
[3] http://www.w3.org/2005/08/online_xslt/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frederick Giasson  
View profile  
 More options Feb 28 2008, 8:34 am
From: Frederick Giasson <f...@fgiasson.com>
Date: Thu, 28 Feb 2008 08:34:06 -0500
Local: Thurs, Feb 28 2008 8:34 am
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.
Hi Martin,

Great job!

This is a really nice implementation. In fact, I personally don't care
about hFormats, but I do really care about the generated RDF :) This is
a good example that shows that nobody should care, and that we can
easily transform one format to another. What is important is the data,
and their identification.

There is another way to see you data (and the linkage of your data):
http://tinyurl.com/2ucv2q

What is really nice if when you extend your interests (in some groups
and albums!) and that by browsing your interests you endup being able to
download free simple for some tracks.

Notice that the Musicontology skinning templates are not yet (all)
developed, so the presentation of the data could be even better.

Also, what you can do is taking any web page of this web site, and put
the URL at http://dataviewer.zitgist.com. Then check what happens:

http://dataviewer.zitgist.com/?uri=http%3A//darkstarserver.co.uk/

This is the dataviewer for the main page of the web site. Now open the
"navigator" (right sidebar) and check what has been extracted:
MusicGroups, Tracks, Profile (you), Intervals (this is something to look
at, seems wrong).

All that thanks to the data you created :)

Take care,

Fred


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yves Raimond  
View profile  
 More options Feb 28 2008, 8:38 am
From: "Yves Raimond" <yves.raim...@gmail.com>
Date: Thu, 28 Feb 2008 13:38:18 +0000
Local: Thurs, Feb 28 2008 8:38 am
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.

Hello Martin!

(I have to run to the airport, I will answer in a more detailed way later on)

This is *great* - I was really wondering how hAudio + hCard could be
grddl-ed to MO, some time ago, and you've done it :-) Really well
done!
Just one small comment - the namespace you use for MO looks weird - you use:
 http://pingthesemanticweb.com/ontology/mo#:Record
instead of
http://purl.org/ontology/mo/Record

(which makes me think - we need to write some proper content
negotiation at some point... :) )

Attached is the modified XSL with the proper namespace.

Would you mind if I put that in the MO svn (motools project on sourceforge)?

Cheers!
y

  hAudio2RDF.xsl
5K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
WebOrganics  
View profile  
 More options Feb 28 2008, 9:10 am
From: WebOrganics <ad...@weborganics.co.uk>
Date: Thu, 28 Feb 2008 06:10:58 -0800 (PST)
Local: Thurs, Feb 28 2008 9:10 am
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.
Hello Fred thank you for your kind reply

On Feb 28, 1:34 pm, Frederick Giasson <f...@fgiasson.com> wrote:

yes the intervals do look wrong there is a blank node being produced ,
duration was added last thing, well last night really maybe I should
add a rdf:about="" on the interval tag? truthfully i am a little
unclear on how to add duration as i am a compete noob to MO.

> All that thanks to the data you created :)

Thank You ;)

Martin McEvoy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
WebOrganics  
View profile  
 More options Feb 28 2008, 9:21 am
From: WebOrganics <ad...@weborganics.co.uk>
Date: Thu, 28 Feb 2008 06:21:34 -0800 (PST)
Local: Thurs, Feb 28 2008 9:21 am
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.

On Feb 28, 1:38 pm, "Yves Raimond" <yves.raim...@gmail.com> wrote:

Thanks loads for correcting me on that put it down to me only getting
to grips with MO only a week or so ago ;)

>  Would you mind if I put that in the MO svn (motools project on sourceforge)?

No of course not be my guest :)

Thank you for your kind words I have updated the XSL with your
amendments.

Martin McEvoy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frederick Giasson  
View profile  
 More options Feb 28 2008, 8:35 am
From: Frederick Giasson <f...@fgiasson.com>
Date: Thu, 28 Feb 2008 08:35:51 -0500
Local: Thurs, Feb 28 2008 8:35 am
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.
Hi again,

I forgot to say:

You should change you Namespace from the "pingthesemanticweb.com" one
for this one: http://purl.org/ontology/mo/

So you will end-up with: http://purl.org/ontology/mo/MusicGroup, etc.

Take care,

Fred


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
WebOrganics  
View profile  
 More options Feb 28 2008, 10:01 am
From: WebOrganics <ad...@weborganics.co.uk>
Date: Thu, 28 Feb 2008 07:01:31 -0800 (PST)
Local: Thurs, Feb 28 2008 10:01 am
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.

On Feb 28, 2:10 pm, WebOrganics <ad...@weborganics.co.uk> wrote:

Ahh I have just used the dataviewer (I didn't know you could just
point url's at it, thought everything had to be RDF) and I see what
you mean time interval really needs looking at I will work on a fix
during today thanks again for pointing that out for me, I will use the
zitgist dataviewer a bit more in future its really usefull.

Thanks Again

Martin McEvoy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
WebOrganics  
View profile  
 More options Feb 28 2008, 10:06 am
From: WebOrganics <ad...@weborganics.co.uk>
Date: Thu, 28 Feb 2008 07:06:42 -0800 (PST)
Local: Thurs, Feb 28 2008 10:06 am
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.
Hi Again

On Feb 28, 1:35 pm, Frederick Giasson <f...@fgiasson.com> wrote:

> Hi again,

> I forgot to say:

> You should change you Namespace from the "pingthesemanticweb.com" one
> for this one:http://purl.org/ontology/mo/

Already done

http://esw.w3.org/topic/hAudioRSS?action=AttachFile&do=get&target=hAu...

> So you will end-up with:http://purl.org/ontology/mo/MusicGroup, etc.

> Take care,

Thanks Again

Martin McEvoy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frederick Giasson  
View profile  
 More options Feb 28 2008, 10:05 am
From: Frederick Giasson <f...@fgiasson.com>
Date: Thu, 28 Feb 2008 10:05:10 -0500
Local: Thurs, Feb 28 2008 10:05 am
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.
Hi Martin,

> Ahh I have just used the dataviewer (I didn't know you could just
> point url's at it, thought everything had to be RDF) and I see what
> you mean time interval really needs looking at I will work on a fix
> during today thanks again for pointing that out for me, I will use the
> zitgist dataviewer a bit more in future its really usefull.

Good! Tell me if you come across any glitch while using it.

Take care,

Fred


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yves Raimond  
View profile  
 More options Mar 3 2008, 6:07 am
From: "Yves Raimond" <yves.raim...@gmail.com>
Date: Mon, 3 Mar 2008 11:07:21 +0000
Local: Mon, Mar 3 2008 6:07 am
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.
Hello!

>  >  Would you mind if I put that in the MO svn (motools project on sourceforge)?

>  No of course not be my guest :)

I just committed it there:
http://motools.svn.sourceforge.net/viewvc/motools/mo/grddl/
(Just give me your sourceforge username if you want to be part of the
motools SF project).
I also committed two small changes:
mo:has_track --> mo:track (the two terms are a sameAs away, but the
latter looks better :-) )
and
dc:creator --> foaf:maker (as discussed in
http://groups.google.com/group/music-ontology-specification-group/bro...)

Cheers, and many thanks again!
y


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
WebOrganics  
View profile  
 More options Mar 10 2008, 7:41 pm
From: WebOrganics <ad...@weborganics.co.uk>
Date: Mon, 10 Mar 2008 16:41:22 -0700 (PDT)
Local: Mon, Mar 10 2008 7:41 pm
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.
Hello Yves

On Mar 3, 11:07 am, "Yves Raimond" <yves.raim...@gmail.com> wrote:

> Hello!

> >  >  Would you mind if I put that in the MO svn (motools project on sourceforge)?

> >  No of course not be my guest :)

> I just committed it there:http://motools.svn.sourceforge.net/viewvc/motools/mo/grddl/
> (Just give me your sourceforge username if you want to be part of the
> motools SF project).

Thanks its weborganics

> I also committed two small changes:
> mo:has_track --> mo:track (the two terms are a sameAs away, but the
> latter looks better :-) )
> and
> dc:creator --> foaf:maker (as discussed inhttp://groups.google.com/group/music-ontology-specification-group/bro...)

ah overlooked that one thanks ;)

> Cheers, and many thanks again!

No problem :) it was fun, the hAudioRDF xsl is actually part of a
bigger project to do with portable Identities and FOAF Lifestreams
(sounds a bit mad) but I am having SOME success. In a nutshell your
"identity" is a single vcard with a single ID and from that using some
XSL you can Extract things Like your recently played tracks on lastfm
(Music ontology), your friends acquaintances and colleagues (XFN and
RELATIONSHIP vocab) and your recent blogposts (hatom) the idea is you
have the same RDF output no matter where your vcard has been marked up
eg:

vcard marked up on my blog
http://darkstarserver.co.uk/foaf-me/?id=http%3A%2F%2Fdarkstarserver.c...

vcard marked up on the microformats wiki
http://darkstarserver.co.uk/foaf-me/?id=http%3A%2F%2Fmicroformats.org...

vcard marked up on another blog
http://dev.weborganics.co.uk/test/FOAF/lastfm/?id=http%3A%2F%2Fweborg...

the output should be the same (or similar) in all three documents.

Its all just test stuff at the moment nothing ready for production but
I am open to suggestions as  my RDF isn't up to much.

You can grab a copy of the (messy) development snapshot of the style
sheet used to perform all the above transformations here
http://darkstarserver.co.uk/xsl/foaf-me.xsl

Thanks all again

Martin McEvoy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
WebOrganics  
View profile  
 More options Mar 10 2008, 7:50 pm
From: WebOrganics <ad...@weborganics.co.uk>
Date: Mon, 10 Mar 2008 16:50:30 -0700 (PDT)
Local: Mon, Mar 10 2008 7:50 pm
Subject: Re: Foaf Mo Music recommendations extracted from Microformats.
hello again

On Mar 10, 11:41 pm, WebOrganics <ad...@weborganics.co.uk> wrote:

OOps! sorry Pleas Dont use the last example It is a test Directory
that is prone to deletion or being turned off use this one instead
http://darkstarserver.co.uk/foaf-me/?id=http%3A%2F%2Fweborganics.co.u...

Thanks

Martin McEvoy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »