{"id":668,"date":"2010-03-29T14:01:00","date_gmt":"2010-03-29T13:01:00","guid":{"rendered":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/?p=668"},"modified":"2010-03-29T14:01:00","modified_gmt":"2010-03-29T13:01:00","slug":"linked-data","status":"publish","type":"post","link":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/2010\/03\/linked-data\/","title":{"rendered":"Linked Data"},"content":{"rendered":"<p>Linked Data is getting a lot of press at the moment &#8211; perhaps most notably last week\u00a0<a href=\"http:\/\/www.number10.gov.uk\/Page22897\">Gordon Brown (the UK Prime Minister) said<\/a>:<\/p>\n<blockquote><p>Underpinning the digital transformation that we are likely to see over the coming decade is the creation of the next generation of the web &#8211; what is called the semantic web, or the web of linked data.<\/p><\/blockquote>\n<p>This statement was part of a speech at &#8220;Building Britain&#8217;s Digital Future&#8221; (<a href=\"http:\/\/twitter.com\/search?q=bbdf\">#bbdf<\/a>) (for more on the context of this statement, see <a href=\"http:\/\/infteam.jiscinvolve.org\/2010\/03\/22\/an-audience-with-the-prime-minister-and-britains-digital-future-aka-bbdf\/\">David Flanders &#8216;eye witness&#8217; account of the speech, and his thoughts<\/a>)<\/p>\n<p>Last week I attended a &#8216;<a href=\"http:\/\/www.talis.com\/platform\/events\/\">Platform Open Day<\/a>&#8216; at <a href=\"http:\/\/www.talis.com\/\">Talis<\/a>, which was about Linked Data and related technologies,\u00a0so I thought I&#8217;d try to get my thoughts in order. I may well have misunderstood bits and pieces here and there, but I&#8217;m pretty sure that the gist of what I&#8217;m saying here is right (and feel free to post comments or clarifications if I&#8217;ve got anything wrong).<\/p>\n<p>I&#8217;m going to start with considering what Linked Data is&#8230;<\/p>\n<p><a href=\"http:\/\/www.w3.org\/DesignIssues\/LinkedData.html\">The principles of Linked Data are stated by Tim Berners-Lee as<\/a>:<\/p>\n<ol>\n<li>Use\u00a0<small>URI<\/small>s as names for things<\/li>\n<li>Use\u00a0<small>HTTP<\/small> <small>URI<\/small>s so that people can look up those names.<\/li>\n<li>When someone looks up a\u00a0<small>URI<\/small>, provide useful information, using the standards (RDF, SPARQL)<\/li>\n<li>Include links to other\u00a0<small>URIs<\/small>. so that they can discover more things.<\/li>\n<\/ol>\n<p>What does this mean?<\/p>\n<p>While most people are familiar with URLs, the concept of a URI is less well known. A URL is a resource locator &#8211; if you know the URL, you can locate the resource. A URI is a resource identifier &#8211; it simply identifies the resource.\u00a0In fact, URLs are a special kind of URI &#8211; that is any URL is also a URI in that a URL both identifies <em>and<\/em> locates a resource. So &#8211; all URLs are also URIs, but not vice versa. You can read more about <a href=\"http:\/\/en.wikipedia.org\/wiki\/Uniform_Resource_Identifier\">URIs on Wikipedia<\/a>.<\/p>\n<p>Further to this, an &#8216;HTTP URI&#8217; is a URL as we are used to using on the web.<\/p>\n<p>This means that the first two principles together basically say you should identify things using web addresses. This sounds reasonably straightforward. Unfortunately there is some quite tricky stuff hidden behind these straightforward principles, which basically come down to the fact that you have to be very careful and clear about what any particular http URI identifies.<\/p>\n<p>For example this URI:<\/p>\n<p><a href=\"http:\/\/www.amazon.co.uk\/Pride-Prejudice-Penguin-Classics-Austen\/dp\/0141439513\/ref=sr_1_9?ie=UTF8&amp;s=books&amp;qid=1269423132&amp;sr=8-9\">http:\/\/www.amazon.co.uk\/Pride-Prejudice-Penguin-Classics-Austen\/dp\/0141439513\/ref=sr_1_9?ie=UTF8&amp;s=books&amp;qid=1269423132&amp;sr=8-9<\/a><\/p>\n<p>Doesn&#8217;t identify (as you might expect) Pride and Prejudice, but rather identifies the Amazon web page that describes the Penguin Classics edition of Pride and Prejudice. This may seem like splitting hairs, but if you want to start to make statements about things using their identifiers it is very important. I might want to state that the author of Pride and Prejudice is Jane Austen. If I say:<\/p>\n<p><a href=\"http:\/\/www.amazon.co.uk\/Pride-Prejudice-Penguin-Classics-Austen\/dp\/0141439513\/ref=sr_1_9?ie=UTF8&amp;s=books&amp;qid=1269423132&amp;sr=8-9\">http:\/\/www.amazon.co.uk\/Pride-Prejudice-Penguin-Classics-Austen\/dp\/0141439513\/ref=sr_1_9?ie=UTF8&amp;s=books&amp;qid=1269423132&amp;sr=8-9<\/a> is authored by Jane Austen, then strictly I&#8217;m saying Jane Austen wrote the web page, rather than the book described by the web page.<\/p>\n<p>Moving on to principle 3, things get a little more controversial. I&#8217;m going to break this down into two parts. Firstly &#8220;When someone looks up a\u00a0<small>URI<\/small>, provide useful information&#8221;. Probably the key thing to note here is that when you identify things with an http uri (as per principles 1 and 2), you are often going to be identifying things that can&#8217;t be delivered online. If I identify a physical copy of a book (for example, my copy of Pride and Prejudice, sitting on my bookshelf), I can give it a http URI to identify it, but if you type that URI into a web browser, or in some other way try to &#8216;retrieve&#8217; that URI, you aren&#8217;t going to get the physical item appear before you &#8211; so if you lookup that URI the third principle says that you should get some &#8216;useful information&#8217; &#8211; for example, you might get a description of my copy of Pride and Prejudice. There are some technical implications of this, as I have to make sure that you get some useful information about the item (e.g a description), while still being clear that the URI identifies the physical item, rather than identifying the description of the physical item &#8211; but I&#8217;m not going to worry too much about this now.<\/p>\n<p>The \u00a0second part of principle 3 is where we move into territory which tends to set off heated debate. This says &#8220;using the standards (RDF, SPARQL)&#8221;. Firstly it invokes &#8216;standards&#8217;, and secondly it lists two specific standards. I feel that the wording isn&#8217;t very helpful. It does make it clear that Linked Data is about doing things in a standardised way &#8211; this is clearly important, and yet also very difficult &#8211; as anyone who has worked with Bibliographic metadata will appreciate, achieving standards even across a relatively small and tight-knit community such as librarians is difficult enough &#8211; getting standardisation across larger, disparate, communities is very challenging indeed.<\/p>\n<p>What I don&#8217;t think the principle makes very clear is what standards are being used &#8211; it lists two (RDF and SPARQL), but as far as I can tell most people would agree RDF is actually the key thing here, making this list of two misleading however you read it. I&#8217;m not going to describe RDF or SPARQL here, but may come back to them in future posts. In short RDF provides a structured way of making assertions about resources &#8211; there is a simple introduction <a href=\"http:\/\/www.slideshare.net\/ostephens\/the-semantic-web-1336258\">my slideshare presentation on the Semantic Web<\/a>. SPARQL is a language for querying RDF.<\/p>\n<p>There is quite a bit of discussion about whether RDF is essential to &#8216;Linked Data&#8217; including <a href=\"http:\/\/efoundations.typepad.com\/efoundations\/2009\/07\/linked-data-vs-web-of-data-vs-.html\">Andy Powell on eFoundations<\/a>, <a href=\"http:\/\/blog.iandavis.com\/2009\/07\/the-linked-data-brand\">Ian Davis on Internet Alchemy<\/a>, and <a href=\"http:\/\/cloudofdata.com\/2009\/07\/does-linked-data-need-rdf\/\">Paul Miller on Cloud of Data<\/a>.<\/p>\n<p>So finally, on to principle 4; &#8220;Include links to other\u00a0<small>URIs<\/small>. so that they can discover more things.&#8221;. The first three principles are concerned with making your data linkable &#8211; i.e. making it possible for people to link to your data in meaningful ways. The fourth principle says you should link from your data to other things. For my example of representing my own copy of Pride and Pejudice, that could include linking to information about the book in a more general sense &#8211; rather than record the full details myself, I could (for example) link to an <a href=\"http:\/\/openlibrary.org\/b\/OL5333729M\/Pride_and_prejudice\">OpenLibrary record for the book<\/a>. Supporting both inbound and outbound links is key to making a rich, interconnected, set of data, enabling the &#8216;browsing&#8217; of data in the same way we currently &#8216;browse&#8217; webpages.<\/p>\n<p>I was originally intending to explore some of the arguments I&#8217;ve come across recently about &#8216;Linked Data&#8217; &#8211; I especially wanted to tackle <a href=\"http:\/\/electronicmuseum.org.uk\/2010\/03\/22\/linked-data-my-challenge\/\">some of the issues raised by Mike Ellis in his &#8216;challenge&#8217;<\/a>, but I think that this post is quite long enough already, so I&#8217;ll leave that for another time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linked Data is getting a lot of press at the moment &#8211; perhaps most notably last week\u00a0Gordon Brown (the UK Prime Minister) said: Underpinning the digital transformation that we are likely to see over the coming decade is the creation of the next generation of the web &#8211; what is called the semantic web, or [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-668","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts\/668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/comments?post=668"}],"version-history":[{"count":5,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts\/668\/revisions"}],"predecessor-version":[{"id":675,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/posts\/668\/revisions\/675"}],"wp:attachment":[{"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/media?parent=668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/categories?post=668"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.meanboyfriend.com\/overdue_ideas\/wp-json\/wp\/v2\/tags?post=668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}