<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>discontents &#187; semantic web</title>
	<atom:link href="http://discontents.com.au/tag/semantic-web/feed" rel="self" type="application/rss+xml" />
	<link>http://discontents.com.au</link>
	<description>working for the triumph of content over form, ideas over control, people over systems</description>
	<lastBuildDate>Wed, 21 Jul 2010 23:24:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>(a not so) Quick catch up</title>
		<link>http://discontents.com.au/shed/a-not-so-quick-catch-up</link>
		<comments>http://discontents.com.au/shed/a-not-so-quick-catch-up#comments</comments>
		<pubDate>Fri, 07 May 2010 15:37:13 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[the shed]]></category>
		<category><![CDATA[biographies]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[identities]]></category>
		<category><![CDATA[machine tags]]></category>
		<category><![CDATA[newspapers]]></category>
		<category><![CDATA[People Australia]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[userscripts]]></category>

		<guid isPermaLink="false">http://discontents.com.au/?p=843</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=%28a+not+so%29+Quick+catch+up&amp;rft.aulast=Sherratt&amp;rft.aufirst=Tim&amp;rft.subject=experiments&amp;rft.subject=the+shed&amp;rft.source=discontents&amp;rft.date=2010-05-08&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://discontents.com.au/shed/a-not-so-quick-catch-up&amp;rft.language=English"></span>

The trained guinea pigs in the Wragge Labs bunker have been churning out all sorts of stuff in the last few months, and I&#8217;m way behind in my attempts to document their activities. So this is a bit of a catch-up post to try and commit a few pertinent details to the collective memory bank [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=%28a+not+so%29+Quick+catch+up&amp;rft.aulast=Sherratt&amp;rft.aufirst=Tim&amp;rft.subject=experiments&amp;rft.subject=the+shed&amp;rft.source=discontents&amp;rft.date=2010-05-08&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://discontents.com.au/shed/a-not-so-quick-catch-up&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://discontents.com.au/?p=843"><!-- &nbsp; --></abbr>
<p>The trained guinea pigs in the Wragge Labs bunker have been churning out all sorts of stuff in the last few months, and I&#8217;m way behind in my attempts to document their activities. So this is a bit of a catch-up post to try and commit a few pertinent details to the collective memory bank before they are lost forever in the sleep-deprived fog of day-to-day existence.</p>
<h3>Identity upgrades</h3>
<p>There have been a number of major improvements to <a href="http://wraggelabs.com/identities/">Wragge&#8217;s Identity Browser</a>. Regular viewers will recall that the Identity Browser is built on top of the <a href="http://www.nla.gov.au/apps/srw/search/peopleaustralia">People Australia SRU interface</a>. You might not realise, however, that People Australia contains details of many organisations as well as people. We can only be thankful that it wasn&#8217;t called Entity Australia.</p>
<p>The first version of my Identity Browser only searched for people, but now all your corporate-entity-identification needs are also met, with only a few minor changes to the interface so-beloved by numerous generations of identity seekers. To be specific, through the wonders of drop-down technology you can choose whether you want to search for a person or an organisation. Or not. You can also just ignore that and search for everything and get back sensible results anyway. It&#8217;s your choice. Or not.</p>
<div id="attachment_864" class="wp-caption aligncenter" style="width: 310px"><a href="http://wraggelabs.com/identities/"><img class="size-medium wp-image-864" title="identities" src="http://discontents.com.au/wp-content/uploads/2010/05/identities-300x77.jpg" alt="" width="300" height="77" /></a><p class="wp-caption-text">Gaze in awe at the power of my dropdown</p></div>
<p>Ah pattern matching&#8230; there are few phrases so redolent of warm summer days, hidden pleasures, and the subtle delights of wildcard characters. The People Australia SRU interface was sadly lacking in the pattern matching department, but this has now been rectified. So now you mix your stems and asterixes with wild abandon. Searching for &#8216;Curtin, J*&#8217; will now retrieve all those Curtins whose names begin with &#8216;J&#8217;. Amazing isn&#8217;t it?</p>
<p>Astonishing too is the fact that the accompanying &#8216;Identify me!&#8217; bookmarklet continues to function with nary a murmur of protest. There is, however, a little bit of cleverness built-in to enhance your bookmarklet experience. If the text that you highlight has a comma in it, the Identity Browser will conclude that you&#8217;re feeding it the name of a person – ie Surname, Firstname – and will treat the Firstname as a stem. So if you highlight &#8216;Whitlam, G&#8217; and click on the bookmarklet, the Identity Browser will be kick-started into life, searching for everything that matches surname equals &#8216;Whitlam&#8217; and firstname is like &#8216;G*&#8217;. If there&#8217;s no comma – ie firstname secondname – then it heads off to look for either a person whose surname equals &#8217;secondname&#8217; and whose firstname is like &#8216;firstname*&#8217;, or an organisation whose name includes both &#8216;firstname&#8217; and &#8217;secondname&#8217;. Got all that?</p>
<p>Basically the idea was to try and provide some sensible defaults so you really don&#8217;t have to think about it too much.</p>
<p>I have it in my head to prepare a long and rapturous homage to the wonders of machine tags. With their sly semantic ways and easy-going nature, they offer some exciting possibilities not just for user-generated content, but user-generated meanings and user-generated relationships. But for the full, ripe pleasure of that post you will have to wait another day, for now I shall simply say that as well as RDFa, the Identity Browser provides automagically-generated machine tags.</p>
<p>Where might you use them? Flickr&#8217;s a good place to start. Try identifying the subjects and creators of Flickr photos. At the NSW Reference and Information Services Group Seminar the other day I challenged those in attendance to go forth and machine tag. Already more than 100 machine tags have been added to Flickr using my Identity Browser. Expect to hear more about the Great Flickr Machine Tag Challenge soon&#8230;</p>
<p>One more thing&#8230; try adding &#8216;.rdf&#8217; on to the end of an identity record – eg <a href="http://wraggelabs.com/identities/person/612109.rdf">http://wraggelabs.com/identities/person/612109.rdf</a>. Just an experiment at the moment&#8230;</p>
<h3>More machine tag love</h3>
<p>One night on Twitter, <a href="http://twitter.com/lifeasdaddy">@lifeasdaddy</a> pointed out that someone had started using fragments of urls from the <a href="http://trove.nla.gov.au/newspaper">NLA newspapers site</a> as tags in the <a href="http://www.powerhousemuseum.com/collection/database/?irn=244414">Powerhouse Museum&#8217;s collection database</a>. In the conversation that ensued with <a href="http://twitter.com/sebchan">@sebchan</a> and others, I suggested that the PHM could encourage this sort of rich tagging by supporting machine tags, with all their wonderful juicy semantic goodness The guinea pigs got excited as well, and before I knew it, they&#8217;d constructed a little <a href="http://semweb-helper.appspot.com/">Semweb Helper app</a>.</p>
<p>The Semweb Helper comes with its very own custom-tailored bookmarklet. If you find an article on the NLA newspapers site that you&#8217;d like to point to, just click on the bookmarklet and marvel as a range of useful machine tags are automagically generated. Then you just pick the appropriate tag, copy and paste et voila – instant semantic gratification.</p>
<div id="attachment_861" class="wp-caption aligncenter" style="width: 310px"><a href="http://semweb-helper.appspot.com/"><img class="size-medium wp-image-861" title="semweb-helper" src="http://discontents.com.au/wp-content/uploads/2010/05/semweb-helper-300x147.jpg" alt="Screenshot" width="300" height="147" /></a><p class="wp-caption-text">Try out the Semweb Helper</p></div>
<p>It&#8217;s a very simple little app, and really just a demonstration of how semantic web technologies might be made available to the masses. It was also the first time the guinea pigs had been allowed to play with the Google Apps Engine.</p>
<h3>Who am I?</h3>
<p>This short catch-up post has become something quite long and rambling. Did I mention that I&#8217;m sleep-deprived? Anyway, a recent addition to the Wragge Labs range of lifestyle accessories is <a href="http://wraggelabs.com/whoami/">&#8216;Who am I?&#8217; </a>– a simple little game that is something like a cross between hangman and Wheel of Fortune. Choosing a person at random from People Australia and the <em>Australian Dictionary of Biography</em>, &#8216;Who am I?&#8217; tests your powers of logic, stamina and historical guesstimation.</p>
<p>Your challenge is to figure out the surname of the mystery historical personage. To help you there are a series of clues, such as their birthplace and known associates. With each guess you also see a little bit more of their portrait. But beware! For ten wrong guesses are all that are permitted to any so brave as to enter upon this quest. Not eleven or twelve, but ten and ten only. To ignore this limit is to invite ridicule and disdain – do so at your peril.</p>
<div id="attachment_858" class="wp-caption aligncenter" style="width: 310px"><a href="http://wraggelabs.com/whoami/"><img class="size-medium wp-image-858" title="whoami" src="http://discontents.com.au/wp-content/uploads/2010/05/whoami-300x137.jpg" alt="Who am I screenshot" width="300" height="137" /></a><p class="wp-caption-text">Play Who am I?</p></div>
<p>&#8216;Who am I&#8217; builds upon some work I&#8217;ve been doing for the National Museum of Australia – looking at ways of mashing together various types of date-identified data. As part of that project I&#8217;ve built a series of APIs and have scraped, pummelled and munged data from a variety of sources.</p>
<p>What&#8217;s the point? I wonder this myself sometimes, particularly after I fling such things off into the aethernet and hear naught but a rare retweet. I am, after all, only in it for the glory, oh and the money of course. (Hmmm, I must look again at that business plan.) The point is twofold: first to highlight possibilities for the re-use and remixing of cultural data; second, to play with game-based models for discovery and exploration of cultural resources; and&#8230; err&#8230; thirdly just to try building something a little different.</p>
<p>Of course, if you like &#8216;Who am I?&#8217; you will probably also want to try <a href="http://wraggelabs.com/newsroulette/">Headline Roulette</a>&#8230;</p>
<h3>Headline Roulette Reprieve</h3>
<p>At the end of <a href="http://discontents.com.au/shed/experiments/headline-roulette">our last instalment</a>, the future of <a href="http://wraggelabs.com/newsroulette/">Headline Roulette</a> seemed in dire peril. Changes to the National Library of Australia web site threatened its very existence. Did it have a future? Could it survive? And did anybody care?</p>
<p>As we pick up the story oblivion looms. The feared changes are confirmed, but just as all seems lost&#8230; is it? Could it be? Yes, an advanced search facility is added to the newspapers site within Trove. Sensing this may be their only opportunity, the guinea pigs leap into action, building <a href="http://bitbucket.org/wragge/nla-newspapers-scraper">a new screen-scraper</a>, saving Headline Roulette from doom, and setting the world upon the path to a safer, happier future.</p>
<p>In short, Headline Roulette will live on&#8230; so enjoy.</p>
<h3>Handing out some presents</h3>
<p>My head is easily turned by flattery and praise. Yes, I really am so shallow and so vain. But this means that if people say nice things to me, I&#8217;m inclined to give them presents.</p>
<p>As well as doing exciting things in the web 2.0 realm for the PROV, <a href="http://twitter.com/asaletourneau">@asaletourneau</a> leaves nice comments on this blog. So he earned himself a present. It&#8217;s not much, but I <a href="http://userscripts.org/scripts/show/71421">built a userscript</a> that displays photos from the PROV site in a neat little slideshow (it&#8217;s the non-3D javascript version of CoolIris). Install Greasemonkey, get the userscript and <a href="http://proarchives.imagineering.com.au/index_search.asp?searchid=41">try it out</a> (just do a search, then click on the &#8216;Browse as slideshow&#8217; button&#8217;).</p>
<div id="attachment_852" class="wp-caption aligncenter" style="width: 310px"><a href="http://discontents.com.au/wp-content/uploads/2010/05/prov-slideshow.jpg"><img class="size-medium wp-image-852" title="prov-slideshow" src="http://discontents.com.au/wp-content/uploads/2010/05/prov-slideshow-300x187.jpg" alt="Screen capture of slideshow" width="300" height="187" /></a><p class="wp-caption-text">PROV transport photos in a pretty slideshow</p></div>
<p>The State Library of NSW, or more specifically <a href="http://www.twitter.com/ellenforsyth">@ellenforsyth</a>, also earned my favour by inviting me to rave on about Linked Data at the afore-mentioned NSW RISG seminar. As a result, I added support for the SLNSW photo collections to my <a href="http://discontents.com.au/shoebox/archives-shoebox/harvesting-context-1">Flickr Context Harvester</a> userscript. Well&#8230; it&#8217;s the thought that counts, right? Once again – install Greasemonkey, <a href="http://userscripts.org/scripts/show/56135">get the userscript</a> and then <a href="http://acms.sl.nsw.gov.au/item/itemDetailPaged.aspx?itemID=447435">try it out</a>.</p>
<div id="attachment_855" class="wp-caption aligncenter" style="width: 310px"><a href="http://discontents.com.au/wp-content/uploads/2010/05/slnsw-flickr.jpg"><img class="size-medium wp-image-855" title="slnsw-flickr" src="http://discontents.com.au/wp-content/uploads/2010/05/slnsw-flickr-300x181.jpg" alt="Flickr context harvestr screenshot" width="300" height="181" /></a><p class="wp-caption-text">The Flickr Context Harvester in action</p></div>
<h3>And coming up&#8230;</h3>
<p>Stay tuned for more on the Great Flickr Machine Tag Challenge, screencasts demonstrating my Identity Browser, some playing with relationships, and much much more. But right now the squirming baby on my lap needs a nappy change&#8230;</p>
<p>Did I mention that I&#8217;m sleep deprived?</p>
]]></content:encoded>
			<wfw:commentRss>http://discontents.com.au/shed/a-not-so-quick-catch-up/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I link therefore I am</title>
		<link>http://discontents.com.au/shed/experiments/i-link-therefore-i-am</link>
		<comments>http://discontents.com.au/shed/experiments/i-link-therefore-i-am#comments</comments>
		<pubDate>Wed, 20 Jan 2010 00:25:03 +0000</pubDate>
		<dc:creator>tim</dc:creator>
				<category><![CDATA[experiments]]></category>
		<category><![CDATA[identites]]></category>
		<category><![CDATA[name authorities]]></category>
		<category><![CDATA[People Australia]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[semantic web]]></category>

		<guid isPermaLink="false">http://discontents.com.au/?p=761</guid>
		<description><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=I+link+therefore+I+am&amp;rft.aulast=Sherratt&amp;rft.aufirst=Tim&amp;rft.subject=experiments&amp;rft.source=discontents&amp;rft.date=2010-01-20&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://discontents.com.au/shed/experiments/i-link-therefore-i-am&amp;rft.language=English"></span>

Let me be clear. I am not Tim Sherratt the sound engineer. Nor, indeed, am I Timothy Sherratt, author of Saints as Citizens: A Guide to Public Responsibilities for Christians. We are three different people, spread across three continents, locked in a deadly battle for global supremacy via Google search rankings. There can be only [...]]]></description>
			<content:encoded><![CDATA[	
	<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adc&amp;rfr_id=info%3Asid%2Focoins.info%3Agenerator&amp;rft.title=I+link+therefore+I+am&amp;rft.aulast=Sherratt&amp;rft.aufirst=Tim&amp;rft.subject=experiments&amp;rft.source=discontents&amp;rft.date=2010-01-20&amp;rft.type=blogPost&amp;rft.format=text&amp;rft.identifier=http://discontents.com.au/shed/experiments/i-link-therefore-i-am&amp;rft.language=English"></span>
<abbr class="unapi-id" title="http://discontents.com.au/?p=761"><!-- &nbsp; --></abbr>
<p>Let me be clear. I am not Tim Sherratt the sound engineer. Nor, indeed, am I Timothy Sherratt, author of <em>Saints as Citizens: A Guide to Public Responsibilities for Christians</em>. We are three different people, spread across three continents, locked in a deadly battle for global supremacy via <a href="http://www.google.com/#hl=en&#038;source=hp&#038;q=tim+sherratt&#038;btnG=Google+Search&#038;aq=f&#038;aql=&#038;aqi=&#038;oq=tim+sherratt">Google search rankings</a>. There can be only one&#8230;</p>
<p>Of course you probably knew I wasn&#8217;t a British sound engineer or an American politics professor. There are plenty of contextual clues within this website, even on this page, to indicate that my interests lie elsewhere. But while we humans are pretty good at picking up such clues, it&#8217;s much harder for computers. When Google comes to index my site, how does it know I&#8217;m not a sound engineer who likes to dabble in history? Indeed, how does Google, or any computer know that the words &#8216;Tim Sherratt&#8217; are actually a person&#8217;s name? These are questions of both identity and semantics.</p>
<p>Librarians have been dealing with questions of identity for many, many years developing detailed name authority records. Such records allow name variations to be cross-referenced and individuals to be uniquely identified. For example I have a control number of &#8216;n 2005043272&#8242; in the <a href="http://authorities.loc.gov/">Library of Congress authorities database</a>, while Timothy R Sherratt, the politics professor has been assigned &#8216;n  94106739&#8242;.</p>
<p>The National Library of Australia has developed its own name authority file. However, the NLA has realised that reliable identity data has a much broader application that simply cataloguing, and is using its name authority data as the foundation of an exciting new resource – <a href="http://www.nla.gov.au/initiatives/peopleaustralia/">People Australia</a>. People Australia will mesh its own records with biographical data from a variety of outside sources, creating a rich collection of interlinked identities. Already entries from the Australian Dictionary of Biography have been ingested.</p>
<p>So now, thanks to People Australia, if I ever get confused about who I am I just have to remember one little url – my very own persistent identifier – <a href="http://nla.gov.au/nla.party-479364">http://nla.gov.au/nla.party-479364</a>. I&#8217;m going to get a t-shirt made up.</p>
<p>But that doesn&#8217;t help our new machine overlords very much. How can a computer tell that the words &#8216;Tim Sherratt&#8217; describe a person and that more information about that person can be found at http://nla.gov.au/nla.party-479364? This is the sort of problem that the semantic web hopes to solve. The semantic web aims to expose the structures that are buried in our documents and databases, to make explicit the contextual clues that humans pick up, but computers ignore. As the slogan goes, it represents a change from a &#8216;web of documents to a web of data&#8217;.</p>
<p>The semantic web uses a variety of tools and standards to encode information in a form that means something to computers. <a href="http://www.foaf-project.org/">FOAF</a> (Friend of a Friend) is, for example, a machine-readable ontology that describes people and their relationships. A computer visiting this page can in fact find out a fair bit about me, including my NLA persistent identifier, because there is a link to a small XML file in which my details are <a href="http://discontents.com.au/foaf.rdf">expressed using FOAF</a>.</p>
<p>But if this seems a little daunting, the semantic web offers another technology which is really just as easy as marking up a page in HTML – it&#8217;s called RDFa. This link – <a typeof="foaf:Person" property="foaf:name" content="Sherratt, Tim" rel="foaf:isPrimaryTopicOf" href="http://nla.gov.au/nla.party-479364">Tim Sherratt</a> – is more than it seems. Here is what a computer sees:</p>
<p><code>&lt;a typeof="foaf:Person" property="foaf:name" content="Sherratt, Tim" rel="foaf:isPrimaryTopicOf" href="http://nla.gov.au/nla.party-479364"&gt;Tim Sherratt&lt;/a&gt;</code></p>
<p>This says that Tim Sherratt is a person whose name has the standard form &#8216;Sherratt, Tim&#8217; and who is the primary topic of the page to be found at http://nla.gov.au/nla.party-479364. There&#8217;s a fair bit of semantic goodness in that one little link. If the NLA page also expressed its data in a machine-readable form, this link could send search engines and browsers into a whole new world of associations and inferences.</p>
<p>But I suppose you&#8217;re thinking that the code still looks a bit complicated. Well never fear, this long post is really just an introduction to a new project I&#8217;ve been working on – something that will help you generate markup like this with just a couple of clicks.</p>
<h3>Introducing Wragge&#8217;s identity browser</h3>
<p>I&#8217;ve been interested in publishing biographical data way back from the early days of <a href="http://www.asap.unimelb.edu.au/bsparcs/">Bright Sparcs</a> and, sad as it may seem, I find the possibilities of People Australia pretty exciting. However, I don&#8217;t think we should expect the NLA to do all the work. People Australia provides a framework that we can all use to enrich our own documents, databases, finding aids, and applications.</p>
<p>You can easily access People Australia data through <a href="http://trove.nla.gov.au/">Trove</a>. But to get a better idea of what&#8217;s in the database, I&#8217;d suggest you spend some time playing with its <a href="http://www.nla.gov.au/apps/srw/search/peopleaustralia">SRU interface</a>. Using this you can query the database directly, retrieving results in XML – ready for your own application to suck up and use.</p>
<p>To make this even easier, I&#8217;ve written a <a href="http://bitbucket.org/wragge/people-australia-client/">People Australia client library</a> in Python. This enables you to quickly extract and use identity information. Using it, your own web application can talk to People Australia directly. I won&#8217;t go into the details here – the code is farily heavily commented – but I welcome any feedback, suggestions or contributions. Copy it, change it, use it!</p>
<p>To try out my library and to provide a tool that might be of use to the average punter I&#8217;ve also built:</p>
<p>&lt;TA-DA&gt;<a href="http://wraggelabs.com/people/"><strong>Wragge&#8217;s identity browser</strong></a>!&lt;/TA-DA&gt;</p>
<p>It&#8217;s pretty simple. Search for a surname, pick a name from the result list, and view their identity details. For example, here&#8217;s <a href="http://wraggelabs.com/people/612109/">Clement Wragge&#8217;s details</a>.</p>
<p>But there are a couple of extra features that I am rather smugly pleased with. First of all, there&#8217;s an <a href="javascript:(function(){var%20selText;if%20(window.getSelection){if%20(document.activeElement%20&&%20(document.activeElement.tagName.toLowerCase()=='textarea'%20||%20document.activeElement.tagName.toLowerCase()=='input')){var%20text=document.activeElement.value;selText=text.substring(document.activeElement.selectionStart,document.activeElement.selectionEnd);}else{var%20selRange=window.getSelection();selText=selRange.toString();}}else{if%20(document.selection.createRange){var%20range=document.selection.createRange();selText=range.text;}}if%20(selText!=''){var%20url='http://wraggelabs.com/people/?context='+escape(selText);window.open(url);}else{alert('Select%20some%20text%20first!');}})();">'Identify me!'</a> bookmarklet. Just drag the link to your browser&#8217;s bookmarks or favourites toolbar (see below for some further notes).</p>
<p>Once you have the bookmarklet installed all you have to do to find the identity record for someone is to highlight their name on a webpage and click &#8216;Identify me!&#8217;. You could then grab the People Australia ID to store in your own application, allowing you (with the help of my client library) to automatically include links to relevant entries in the <em>Australian Dictionary of Biography</em>, for example.</p>
<p>Even better, Wragge&#8217;s identity browser will automagically generate the RDFa markup you need to semantically enrich your document. Whether you&#8217;re writing a blog post, publishing an article, drafting a caption, creating a database entry, or preparing a finding aid you can quickly and easily find an individual and then cut and paste the code you need.</p>
<p>To show this in action I used the bookmarklet to help me mark up many of the people named in one of my articles. We humans see a <a href="http://discontents.com.au/words/magazines-articles/looking-at-the-sun">normal page with a few extra links</a>. Computers, however, can extract the embedded RDFa to get at the <a href="http://www.w3.org/2007/08/pyRdfa/extract?uri=http%3A%2F%2Fdiscontents.com.au%2Fwords%2Fmagazines-articles%2Flooking-at-the-sun&#038;format=pretty-xml&#038;warnings=false&#038;parser=lax&#038;space-preserve=true&#038;submit=Go!&#038;text=">structured information that&#8217;s hidden in the page</a>.</p>
<p>Now I&#8217;ve got to go and semantify the rest of my articles&#8230;</p>
<p>Go forth and identify! And in the process help build a better web.</p>
<h4>Notes on the bookmarklet</h4>
<ul>
<li>Internet Explorer has &#8216;Favorites&#8217;, Firefox has &#8216;Bookmarks&#8217; – whatever you&#8217;re using first make sure that your Bookmarks/Favourites toolbar is visible. Look under Tools->Toolbars in IE8, View->Toolbars in Firefox. </li>
<li>Try dragging the &#8216;Identify me!&#8217; link to your Bookmarks/Favourites toolbar. If it doesn&#8217;t work, try right clicking on the link and choose &#8216;Bookmark this link&#8217; or &#8216;Add to Favourites&#8217;. Make sure you add it to the toolbar folder. IE will probably give you various warnings – ignore them.</li>
<li>You should now have a working bookmarklet – highlight a name and click on it, a new window should open with results from Wragge&#8217;s identity browser. IE might complain about opening a pop-up – allow pop-ups and try again.</li>
<li>The bookmarklet is pretty clever about working out which part of the highlighted text is the surname, so you can highlight names in a number of formats including:
<ul>
<li>Surname</li>
<li>Surname&#8217;s</li>
<li>Surname, Othernames</li>
<li>Othernames Surname</li>
<li>Othernames Surname&#8217;s</li>
</ul>
</li>
<li><del datetime="2010-01-26T12:34:24+00:00">For the moment this only works with &#8217;straight&#8217;, ie non-curly, apostrophes – but I&#8217;ll fix this asap.</del> Fixed!</li>
</ul>
<h4>Notes on RDFa markup</h4>
<ul>
<li>You have a choice between visible (ie clickable) links or invisible ones. They look the same to computers, so it&#8217;s just a matter of whether you want your human visitors to see them. Click &#8216;change&#8217; to toggle between the two options.</li>
<li>You can just paste the RDFa markup straight into your document. If you&#8217;ve used the bookmarklet, the text you highlighted will be automatically inserted as the link text – so just copy and paste. If you haven&#8217;t used the bookmarklet you can insert the link text yourself.</li>
<li>Somewhere in your document you need to tell computers what the FOAF in your RDFa markup means. You do this by inserting the text:<br />
<code>xmlns:foaf="http://xmlns.com/foaf/0.1/"</code> inside a tag that contains your marked up text. If you can edit the raw html of your page, you can just insert it in the <code>&lt;html&gt;</code> tag itself, so it becomes <code>&lt;html xmlns:foaf="http://xmlns.com/foaf/0.1/" &gt;</code>. Otherwise you can wrap your marked up text in a <code>&lt;div&gt;</code> tag and put the extra code in there.
</li>
<li>If you&#8217;re using something like Wordpress that strips out or converts any markup that it doesn&#8217;t expect, you need to be able to enter the RDFa as &#8216;raw&#8217; html. In Wordpress you can do this using the <a href="http://wordpress.org/extend/plugins/raw-html/">Raw HTML plugin</a>.</li>
<li>For more on using RDFa have a look at: <a href="http://www.w3.org/MarkUp/2009/rdfa-for-html-authors">RDFa for HTML Authors</a>.
</ul>
]]></content:encoded>
			<wfw:commentRss>http://discontents.com.au/shed/experiments/i-link-therefore-i-am/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
