RDFa

user warning: Unknown column 'captcha_type' in 'field list' query: SELECT module, captcha_type FROM captcha_points WHERE form_id = 'user_login_block' in /var/www/drupal/sites/all/modules/captcha/captcha.inc on line 64.

MusicNet Workshop

The LinkedBrainz project was very happy to participate in the Music Linked Data Workshop at JISC London Meeting Rooms on 12th May. Our slides have been made available, together with others from the workshop, here.

Of particular note was our announcement of the plan that LinkedBrainz RDFa annotation would go live with the MusicBrainz NGS schema on 16th May. In fact the final full roll-out, due to unforeseen issues with the MusicBrainz XML web service, was on 19th May (see following post).

How many MusicBrainz pages will have RDFa?

 Update: we grossly over-estimated RDFa pages at first - there's no multiplication by artist numbers, only an additional summation of recordings, releases, works, and release groups 

The question was recently posed, how many pages will contain RDFa in the new MusicBrainz release?  Here are some "back of the napkin" calculations.

In the most recent NGS database dump we have:

Adventures in ad hoc RDFa development for MusicBrainz

This post is intended to describe, in some detail, the implementation of RDFa within the MusicBrainz NGS codebase.  The casual reader will perhaps not be interested in these details.  The intended audience includes future LinkedBrainz/MusicBrainz developers or other developers faced with the task of injecting RDFa into a Model-View-Template web application.

NGS Beta 3 release includes RDFa

The recent release of the MusicBrainz NGS Beta 3 server includes RDFa courtesy of the LinkedBrainz project.  This release is now live on the MusicBrainz test server so grab your favorite RDFa consumption tools and try it out.  A wiki page about consuming RDFa has also been added to help the uninitiated get into RDFa.

RDFa test server online

 We are happy to announce a new RDFa test server for those interested in what the RDFa we're embedding in MusicBrainz will look like.  This effort is far from complete, if you find something missing or incorrect we'd love to hear about it on the Music Ontology specification mailing list.  One notable omission is that of the Advanced Relationships which we hope to cover eventually.  But all the core entity types should include some valid RDFa.  Also, there is some RDFa for the entities that have pagination (xhv:next, xhv:prev) and tabs (rdfs:seeAlso).

You can consume the RDFa with your favorite RDFa parser.  For testing, we've been using the rapper command line tool and check.rdfa.info.  If you have rapper installed, you can execute the following command to see the embedded RDFa for the release "Sex Machine" by James Brown as Turtle RDF:

rapper -i rdfa -o turtle http://mbz.catfishsmooth.net/release/aaa64bfa-2f93-46ee-b6aa-48baf0775b4b

This should work for any core entity.  Give it a go and let us know!

Syndicate content