Mashed Up Playlist


Published on

Presented at Web Directions South 09

The ABC launched three new socially networked digital radio websites: ABC Dig Music, ABC Jazz and ABC Country in July 2009. They are the first of several ABC projects involving content aggregation. As well as having slick, highly usable designs the music platform integrates with various sources including MusicBrainz, YouTube, and Wikipedia. This aggregation functionality graphically illustrates the possibilities of Semantic Web technology for an editorial organisation such as the ABC.

Published in: Technology, Design
1 Like
  • Hello Ben! Yes, you can see the original at Richard's site


    Are you sure you want to  Yes  No
    Your message goes here
  • Is there a high res of slide 28 floating around anywhere??? It stopped the audience in its tracks when you put it up, we were diving for our cameras.
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Mashed Up Playlist

  1. 1. THE MASHED UP PLAYLIST part II<br />David Peterson @davidseth #w3c<br /> <br />
  2. 2. David Peterson@davidseth<br />
  3. 3. Challenge<br />Create a snapshot of an artist<br />
  4. 4. Problem<br /> &lt;xml&gt; &lt;track&gt; &lt;title&gt;Purple Rain&lt;/title&gt; &lt;artistName&gt;Prince&lt;/artistName&gt; &lt;/track&gt;&lt;/xml&gt;<br />
  5. 5. Into<br />
  6. 6. It’s all about story telling<br />
  7. 7. Shared Understanding<br />Can’t tell a story if the other person doesn’t get what we mean<br />Or even speak the same language<br />Imagine <br />explain what a kiwi was<br />or what a sheep was<br />
  8. 8. The story matters<br />... but ...<br />You never really have all the information you need, whether big or small<br />
  9. 9. You Just don’t Always Know<br />Someone else knows more than you<br />How to find it?<br />
  10. 10. One Exception <br />
  11. 11. Semantic Web<br />Core idea <br />you never really know the entire picture<br />This is a good thing<br />Freedom<br />
  12. 12. Open World<br />Closed World<br /><br />
  13. 13. Finding a Solution<br />Which APIs to use<br />Which APIs can we use<br />How can we combine data from multiple sources<br />How can we automate it<br />
  14. 14. The Curse of too much<br />There are over 50 APIs listed on<br />Too many to look into<br />Each has its own API methods and return data formats <br />JSON, XML, RSS, RDF !!!<br />
  15. 15. Take your Pick<br /> APIs everywhere<br />BBC Music<br />Discogs<br /><br />MusicBrainz<br />Yahoo Music<br />Flickr<br />Youtube<br />The Hype Machine<br />
  16. 16. Finding the key<br />One common feature was the usage of a MusicBrainz ID<br /><br />Discogs<br />Freebase<br />Wikipedia/Dbpedia<br />BBC<br />
  17. 17. Eureka!<br />Great, now all I had to do was use the MusicBrainz API to look up the ID and I was done. Easy...<br />:( <br />The search API sucked. It returned too many fuzzy results<br />crap<br />
  18. 18. Back to the future<br />This is where the Semantic Web enters the picture<br />All that stuff about story telling<br />Shared understanding<br />URIs (web links)<br />
  19. 19. SPARQL<br />Think of it as Google with a WHERE clause<br />
  20. 20. SELECT ?artist WHERE {<br />?artist foaf:name&quot;Prince&quot;@en .<br />?artist a &lt;;.<br />}<br />
  21. 21. SELECT ?artist ?bio ?url?album WHERE {<br />?artist foaf:name&quot;Prince&quot;@en .<br />?artist a &lt;; .<br />?artist dbpedia2:abstract ?bio .<br />?artist foaf:page?url.<br /> OPTIONAL {<br />?album &lt;; ?artist .<br />?album rdfs:label&quot;Purple Rain&quot;@en .<br /> }<br />}<br />LIMIT 1<br />
  22. 22. Pinpoint results<br />This returns ONE result<br />“exactly” what we are looking for (or nothing!)<br />
  23. 23. {170d193a-845c-479f-980e-bef15710653e}<br /><br />
  24. 24. {070d193a-845c-479f-980e-bef15710653e}<br /><br />
  25. 25. Raw Data<br />Not too pretty to look at<br />But computers LOVE this stuff<br />
  26. 26. So, what do we get<br />Disambiguation<br />MusicBrainz ID<br />Discography<br />Related Artists<br />Official homepage<br />Bio<br />Credit card details (in Semantic Web 2.0)<br />
  27. 27. The Rosetta Stone<br />MusicBrainz ID is our key to the wild web of APIs<br />Wikipedia URL is the key to Semantic Web<br />One happy family<br /><br />
  28. 28. [insert LOD graph]<br />
  29. 29. Take a look<br />[browser]<br />
  30. 30. Hindsight is 20/20<br />... or lessons learned<br />
  31. 31. Drupal Sucks<br />Drupal performance, what performance?<br />Out of the box it’s been beaten with an ugly stick<br />
  32. 32. Don’t use Drupal<br />To get the best performance out of Drupal, don’t use Drupal<br />
  33. 33. Pressflow<br />Key patches and enhancements<br />Releases mirror official Drupal releases<br />Big players are using it<br /><br />ABC<br />Music labels<br />Newspapers<br />
  34. 34. Start your Engines<br />MySQL base install is ... lacking<br />MyISAM == slow<br />Use PerconaXtraDB<br />... or ... InnoDB<br />
  35. 35. Reduce your footprint<br />APC<br />PHP app is compiled & cached in memory<br />
  36. 36. Search<br />Drupal’s built in search can be a dawg<br />Solr<br />Much faster search<br />Offers faceting<br />Can become a platform in its own right.<br />
  37. 37. A Fresh Coat of Paint<br />Varnish<br />Last but certainly not least<br />Up to 10 million hits per hour<br />
  38. 38. What’s Next?<br />Project Mercury<br />Drupal 7<br />RDFa<br />Views 3<br />FOAF+SSL<br />open social networking<br />everything under your control<br />