´óÏó´«Ã½

« Previous | Main | Next »

Guardian Hackday

Post categories:

David Rogers David Rogers | 10:20 UK time, Tuesday, 25 August 2009

At the end of July the Guardian held an internal at their offices in King's Cross. They invited two engineers from ´óÏó´«Ã½ Radio's A&Mi department, and David Rogers. We teamed up with Leigh Dodds & Ian Davis from Semantic Web specialists, to produce an 'Interactive-MP-Media-Appearance-Timeline' by mashing up data from ´óÏó´«Ã½ Programmes and the Guardian's website.

Before the event extracted data about MPs from the and converted it into a . This store contains data about every British MP, the Guardian articles in which they have appeared, a photo, related links and other data. Talis also provide a endpoint to allow searching and extraction of the data from the store.

Coincidentally, the ´óÏó´«Ã½ programmes data is also available as a linked datastore. By crawling this data using the MP's name as the search key we were able to extract information about the TV and radio programmes in which a given MP had appeared. A second datastore was created from the combination of these two datasets, and by pulling in some related data from . Using this new datastore we created a web application containing an embedded visualisation of the data.

We created the web using the lightweight ruby web-framework . A simple schema provided access to a web page showing basic information about an MP.
mps_appearances_600.png
In addition we queried the datastore to give a list of all of the MPs appearances across Guardian and ´óÏó´«Ã½ content. This was returned as a JSON document, and passed to an embedded Java applet. A Java applet may seem like an unusual choice in 2009, but Processing is an excellent choice for the rapid development of responsive graphics applications, due to its integration with existing JAVA libraries, and its powerful graphics framework.

Leigh at Talis put together a showing the app in action. The Processing applet shows a month-by-month scrollable timeline. The user can move back and forward in time, at variable speeds, by pressing the mouse either side of the applet frame. In each month slot, a stack of media appearances is displayed, represented by the logo of the ´óÏó´«Ã½ brand, or in the case of Guardian articles, the Guardian brand. Moving the mouse over a media appearance reveals the headline or programme description and clicking a media appearance will navigate the browser to the episode page on the /programmes or the article page on .

We demonstrated the application to the hackday audience, and in the prize giving ceremony were awarded the 'Best use of third-party data' award. We think that the application demonstrates some of the ways the structured RDF data provided by ´óÏó´«Ã½'s /programmes website can be used. This project shows how powerful the linked-data concept is when used in conjunction with other data that has been exposed in a similar way. As more media organisations expose their domains in this manner, more interesting and wide-reaching visualisations and web-applications can be built.

David Rogers is a Software Engineer, Future Media & Technology for ´óÏó´«Ã½ Audio & Music & Mobile.

Comments

Ìý

More from this blog...

´óÏó´«Ã½ iD

´óÏó´«Ã½ navigation

´óÏó´«Ã½ © 2014 The ´óÏó´«Ã½ is not responsible for the content of external sites. Read more.

This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.