<?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>Pezholio &#187; Uncategorized</title>
	<atom:link href="http://www.pezholio.co.uk/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pezholio.co.uk</link>
	<description>Musings on local government, web development, music and tings</description>
	<lastBuildDate>Mon, 25 Jul 2011 14:08:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Adventures in SPARQL</title>
		<link>http://www.pezholio.co.uk/2009/10/adventures-in-sparql/</link>
		<comments>http://www.pezholio.co.uk/2009/10/adventures-in-sparql/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 14:45:25 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=270</guid>
		<description><![CDATA[In case you&#8217;ve been living under a rock for the past month or so (or actually have a life), then you&#8217;ll have noticed that the cabinet office have started to release a big load of open data to a select few developers to have a play. Much of this data is still in very &#8216;flat&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>In case you&#8217;ve been living under a rock for the past month or so (or actually have a life), then you&#8217;ll have noticed that the cabinet office have started to release a big load of open data to a select few developers to have a play.</p>
<p>Much of this data is still in very &#8216;flat&#8217; formats (such as Excel docs and the like), but some data is being released in RDFa format, the preferred format of the semantic web.</p>
<p>The most interesting of these datasets has been the education one, giving me (and other developers) the ability to get information about schools in an open format. I&#8217;ve been playing with this data for a bit, and now (I think) I might have something useful.</p>
<p>The key way of interacting with it is using a language called SPARQL, which is very similar to SQL, but with the web of data in mind. An example query for the education dataset is as follows:</p>
<p><code><br />
prefix sch-ont: &lt;http://education.data.gov.uk/ontology/school#&gt;<br />
SELECT ?name WHERE {<br />
?school a sch-ont:School;<br />
sch-ont:establishmentName ?name;<br />
sch-ont:districtAdministrative<br />
&lt;http://education.data.gov.uk/placeholder-id/administrativeDistrict/Lichfield&gt; ;<br />
}<br />
ORDER BY ?name<br />
</code></p>
<p>This gets the names of all the educational establishments (schools, nurseries etc) in Lichfield District. You can <a href="http://services.data.gov.uk/education/sparql">give it a try yourself on the public facing SPARQL endpoint</a>.</p>
<p>What I wanted to do though, was to get all the primary or secondary schools within a 2 mile radius of a postcode. This was a little harder, but perfectly doable.</p>
<p>As well as general details (such as address, name of school etc) and more detailed information (such as capacity, inspection details etc), the dataset also has the easting and northing of the school. Therefore, to get all Primary Schools within a 2 mile radius of a point with an easting of 411021 and a northing of 307291, I needed to do the following query:</p>
<p><code><br />
prefix sch-ont: &lt;http://education.data.gov.uk/ontology/school#&gt;<br />
SELECT ?name ?address1 ?address2 ?postcode ?town ?easting ?northing ?reference WHERE {<br />
?school a sch-ont:School;<br />
sch-ont:establishmentName ?name;<br />
sch-ont:easting ?easting ;<br />
sch-ont:northing ?northing ;<br />
sch-ont:uniqueReferenceNumber ?reference ;<br />
sch-ont:phaseOfEducation &lt;http://education.data.gov.uk/ontology/school#PhaseOfEducation_Primary&gt; .<br />
FILTER (?easting &lt; 414239 &amp;&amp; ?easting &gt; 411021 &amp;&amp; ?northing &lt; 310509<br />
&amp;&amp; ?northing &gt; 307291)<br />
}<br />
</code></p>
<p>This gets the name, easting, northing and reference number of every school within a 2 mile (3201-ish metre) box, with the original easting and northing as the midpoint.</p>
<p>I&#8217;ve given it a test here (a bit of naughtiness is required using the Google Maps API to get the latitude and longitude of the postcode, but it&#8217;s the only way at the moment!), so please feel free to try it out. </p>
<p>Once you submit the form you&#8217;ll get a list of all the primary and secondary schools in that area, as well as a link to more info on the Edubase site.</p>
<form action="http://www.pezholio.co.uk/edubase.php" method="get">
<p>
<label for="postcode">Postcode</label></p>
<input type="text" name="postcode" id="postcode" />
<p>
<label for="phase">School Type</label></p>
<select name="phase" id="phase">
<option>Primary</option>
<option>Secondary</option>
</select>
<p>
</p>
<input type="submit" name="submit" value="Go!" />
</form>
<p>I&#8217;d be interested to know your thoughts, so please feel free to comment! <img src='http://www.pezholio.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There&#8217;s also a few more example queries on the <a href="http://blogs.talis.com/n2/archives/818">Talis Blog</a>, so if you&#8217;re that way inclined I heartily recommend having a play.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/10/adventures-in-sparql/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Data, Mashups and APIs event in Birmingham #dmapi</title>
		<link>http://www.pezholio.co.uk/2009/08/data-mashups-and-apis-event-in-birmingham-dmapi/</link>
		<comments>http://www.pezholio.co.uk/2009/08/data-mashups-and-apis-event-in-birmingham-dmapi/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 09:28:49 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=139</guid>
		<description><![CDATA[Well, it looks like I&#8217;m going to break a record, two blog posts in one week, aren&#8217;t you lucky people? Well, this blog post, as the title suggests, is about last night&#8217;s data mashups and APIs event in Brum, hosted by the Birmingham Social Media Cafe peeps at the lovely and awesome and oh-mi-god-i-wish-i-worked-there Fazeley [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it looks like I&#8217;m going to break a record, two blog posts in one week, aren&#8217;t you lucky people? Well, this blog post, as the title suggests, is about last night&#8217;s data mashups and APIs event in Brum, hosted by the <a href="http://www.birminghamsmc.com/">Birmingham Social Media Cafe</a> peeps at the lovely and awesome and oh-mi-god-i-wish-i-worked-there <a href="http://modx-fazeley.spring-php.com/">Fazeley Studios</a>.</p>
<p>The evening was a laid back affair, with noms and drinks laid on by <a href="http://www.guardian.co.uk/">The Guardian</a> (who are pretty much leading the way in open data for newspapers) and consisted of talks by Dave Harte from <a href="http://www.digitalbirmingham.co.uk/">Digital Birmingham</a>, Michael Brunton-Spal from the Guardian, Matthew Somerville (sometime of <a href="http://www.mysociety.org/">MySociety</a> and sometimes just his <a href="http://www.dracos.co.uk/">own darn self</a>) and Paul Bradshaw, Senior Lecturer in Online Journalism at <a href="http://www.bcu.ac.uk/">Birmingham City University</a>.</p>
<p>The focus of the evening was really for the presenters to showcase what they were doing with open data, whether that&#8217;s sourcing and generating it themselves, or using data from other sources to do cool stuff.</p>
<p>The first speaker was Dave Harte from Digital Birmingham, which is a partnership initiative, set up by Birmingham City Council to encourage people in Birmingham to make use of digital technologies. The main focus of Dave&#8217;s presentation was to discuss the work Digital Birmingham have been doing to get more council data into the public domain. </p>
<p>It&#8217;s been a softly softly approach so far, very different from my <a href="http://www.lichfielddc.gov.uk/data"><acronym title="Just F*cking Do It">JFDI</acronym> approach at Lichfield</a>, basically consisting of a two pronged approach – finding out what people&#8217;s concerns are (partly though the <a href="http://podnosh.com/blog/tag/brumsms/">social media surgeries</a> being run across the city), and then getting the data based on that, as well as introducing people who don&#8217;t do the &#8216;ooh shiny!&#8217; routine to the concept of open data, partly through <a href="http://www.bevocal.org.uk">bevocal.org.uk</a>.</p>
<p>He also talked about the barriers to open data, such as &#8216;data hugging&#8217; (which <a href="http://www.ted.com/talks/lang/eng/tim_berners_lee_on_the_next_web.html">Tim Berners Lee talks about in his TED talk</a> – a must watch if you haven&#8217;t seen it already), as well as licensing issues (such as Ordnance Survey) which prevent data being used freely.</p>
<p><a href="http://www.slideshare.net/daveharte/timely-information-to-citizens-innovations-in-engaging-citizens-with-service-design-and-delivery-1882209">Dave&#8217;s presentation can be seen in full here</a></p>
<p>Next up was Michael Brunton-Spal (<a href="http://twitter.com/mibgames">@mibgames</a>) from the lovely sponsors of the day – <a href="http://www.guardian.co.uk/">The Guardian</a>, who have a fantastic store of open data, sourced by journalists and then shared with the general public to mash up and use as they wish.</p>
<p>As well as the Data Store, Michael talked about the work they did with MPs expenses earlier in the year. The Daily Telegraph had the full, unredacted expenses data before the Guardian, and had leigions of interns rifling through it looking for good stories, so the Guardian had to find some way to find stories first. </p>
<p>The solution here was crowdsourcing, they <a href="http://mps-expenses.guardian.co.uk/">published the data online</a> and got interested people to sift through it for them. So far 205,924 pages of documents have been reviewed, and they&#8217;re only half way through. Interest has dwindled a little since the story first broke, but people are still going through it, looking for interesting titbits. </p>
<p>Michael also went into a bit more detail about the <a href="http://www.guardian.co.uk/data-store">data store</a>, which I mentioned earlier, showing off some of the great stuff that people have done with Guardian data (<a href="http://www.flickr.com/groups/1115946@N24/">there&#8217;s a gallery on Flickr here</a>) &#8211; my favourite one is the <a href="http://www.flickr.com/photos/25541021@N00/3791679186/">mashup of media scare stories plotted against the actual deaths the scare caused</a>. There&#8217;s also lots of cool datasets and examples of what people have done on the <a href="http://www.guardian.co.uk/news/datablog">Data blog</a>.</p>
<p>Another good mashup was the <a href="http://ouseful.open.ac.uk/maps/mpTravelExpensesMap.html">MP&#8217;s travel expenses map</a>, which plotted the amount of money claimed by an MP to their constituency, Mps which lived closer to Westminster, but claimed more can be seen very clearly and their claims questioned in more detail.</p>
<p>The coolest thing though in my opinion was the <a href="http://www.guardian.co.uk/open-platform">Guardian Open Platform</a>, which in in closed beta at the moment, this allows anyone to use Guardian stories and features on their own site. There aren&#8217;t too many examples in the wild at the moment,  but it&#8217;s certainly something to watch, especially for hyperlocal sites who want to add extra content to their own sites, but don&#8217;t have the resources.</p>
<p>The next speaker was Matthew Somerville (<a href="http://twitter.com/dracos">@dracos</a>), who talked about some of the work he&#8217;s been doing on his own, as well as the work he&#8217;s done with <a href="http://www.mysociety.org.uk">MySociety</a>. </p>
<p>The first thing he talked about was <a href="http://scenic.mysociety.org/">Scenic or Not</a> which is basically a <a href="http://www.hotornot.com/">Hot or Not </a>for views around the UK – you&#8217;re confronted with a randomly selected photo, which you then rate for its prettiness or otherwise. Now, I&#8217;ve got to admit, I was pretty clueless as to what use this would have when I first heard about it on the MySociety mailing list, but the use of this data literally made my jaw drop.</p>
<p>Once there was enough data gathered, it was then fed in to <a href="http://mapumental.channel4.com/">Mapumental</a>, a system set up by MySociety with Channel 4. At the moment the system allows you to work out your daily commute, but more datasets will be added as time goes on. The video below can show you better than I can explain, so check it out:</p>
<p><object width="480" height="295"><param name="movie" value="http://www.youtube.com/v/vVZkHuomqfM&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/vVZkHuomqfM&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></p>
<p>At the moment, Mapumental is in private beta (it takes a hell of a lot of processing power to generate those maps!), but you can be put on the waiting list for an invite on the <a href="http://mapumental.channel4.com/signup">Mapumental site</a>.</p>
<p>Matthew then went on to talk about <a href="http://theyworkforyou.com/">TheyWorkForYou</a>, which scrapes Hansard (the parliamentary record) to record what Mps are talking about in the house of commons, as well as other useful stuff. This allows you to keep tabs on what your local MP is talking about, as well as their voting record, their attendance etc etc (<a href="http://www.theyworkforyou.com/mp/mike_o%27brien/north_warwickshire">you can see an example for my MP – Mike O-Brien here</a>).</p>
<p>It also turns out that TheyWorkForYou is a better resource than Hansard, a few years back, the team found out that a dead MP (Jim Marshall) had voted in two divisions despite being dead! They ended up having to contact Hansard to notify them of this mistake.</p>
<p>One of Matthew&#8217;s other projects is the <a href="http://www.dracos.co.uk/play/locating-postboxes/">UK postbox locator</a> &#8211; this arose from a Freedom of Information request made by someone for the location of every postbox in the UK. The Royal Mail provided this, but claimed not to have the exact location, Matthew has used this data to put together a crowdsourcing tool. You enter the first part of your postcode, click &#8216;Go&#8217;, and then place the postboxes in the correct location. Over 20,000 postboxes are done so far (<a href="http://www.dracos.co.uk/play/locating-postboxes/?pc1=b46">although B46 looks a bit shabby</a> – sorry!) &#8211; it&#8217;s a great example of crowdsourcing in action.</p>
<p><strong>Update:</strong> <a href="http://www.dracos.co.uk/talks/dmapi/">Matthew&#8217;s presentation is now available here</a>.</p>
<p>Finally came Paul Bradshaw (<a href="http://twitter.com/paulbradshaw">@paulbradshaw</a>), who talked very briefly about <a href="http://helpmeinvestigate.com/">Help me Investigate</a> – an online tool for people to collaborate in getting information from organisations. It&#8217;s still in private beta, but already it has gathered a load of useful data, from the <a href="http://helpmeinvestigate.com/investigations/49-when-can-we-expect-a-new-birmingham-gov-website">cost of the Birmingham City Council website</a> (staggeringly high – although it ain&#8217;t the web team&#8217;s fault)  to <a href="http://helpmeinvestigate.com/investigations/36-on-which-birmingham-streets-are-the-most-parking-tickets-issued">where parking tickets are issued the most in Birmingham</a>. This is pretty inspiring stuff, and along with <a href="http://www.whatdotheyknow.com/">What Do They Know</a> (which is responsible for 10% of all Freedom of Information requests made) is a great way of getting public data out there, using the stick, rather than the carrot.</p>
<p>Overall, a great evening was had by all (despite the stifling heat!), great pre and post presentation chatter, good food, and most of all free booze! In the spirit of open data, I&#8217;ve put together a <a href="http://spreadsheets.google.com/ccc?key=0As1cSxPJOFWldFNjUU56TW51R3FFX2xrVi1pUnVFcXc&#038;hl=en">Google Spreadsheet of all the tweets hashtagged #dmapi</a> for you to use as you wish – go at it! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/08/data-mashups-and-apis-event-in-birmingham-dmapi/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Lancashire County Council and the Google-isation of government</title>
		<link>http://www.pezholio.co.uk/2009/08/lancashire-county-council-and-the-google-isation-of-government/</link>
		<comments>http://www.pezholio.co.uk/2009/08/lancashire-county-council-and-the-google-isation-of-government/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 09:30:38 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=130</guid>
		<description><![CDATA[Recently causing a stir in the online government world has been the new Lancashire County Council homepage. Basically, it rejects the old school (or should that be &#8216;old skool&#8217;?) facets of council homepages, and replaces them with a few links, and a search box. Most of the screen real estate seems to be taken up [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pezholio.co.uk/wp-content/uploads/2009/08/5025.jpg" alt="One of Lancashire County Council&#039;s homepage ads" title="One of Lancashire County Council&#039;s homepage ads" width="300" height="206" class="alignright size-full wp-image-132" />Recently causing a stir in the online government world has been the new <a href="http://www.lancashire.gov.uk/home/2009/search/index.asp">Lancashire County Council homepage</a>. Basically, it rejects the old school (or should that be &#8216;old skool&#8217;?) facets of council homepages, and replaces them with a few links, and a search box. Most of the screen real estate seems to be taken up by a large black and while advert for council services which changes every time you visit it.</p>
<p>It&#8217;s certainly split the gov Twitterphere into three &#8211; some like it, some hate it and some are not convinced. I&#8217;m firmly in the &#8216;not convinced&#8217; camp. I&#8217;ve been thinking about making our homepage just a simple search for a while now, but I don&#8217;t think our organisation was ready at the point of the last redesign, so we went for a compromise, with a huge search box at the top of the page to try and encourage searching, as opposed to the traditional navigational route.</p>
<p>With Lancashire however, (which seems to be heavily influenced by <a href="http://www.bing.com/">Bing</a> &#8211; Microsoft&#8217;s attempt at a Google killer) I don&#8217;t think the search is emphasised enough. Sure, it&#8217;s outlined in red, but it&#8217;s very tiny and towards the bottom of the page &#8211; I can&#8217;t see less experienced web users picking up on it. Also, the &#8216;quick links&#8217; are hidden at the top right and need to be activated by a click.</p>
<p><img src="http://www.pezholio.co.uk/wp-content/uploads/2009/08/westminster.jpg" alt="Westminster City Council&#039;s Homepage" title="Westminster City Council&#039;s Homepage" width="300" height="169" class="alignright size-full wp-image-133" />I much prefer <a href="http://www.westminster.gov.uk/">Westminster&#8217;s approach</a>, you can&#8217;t avoid the search box, it&#8217;s bold, clear and in your face. It&#8217;s also more service driven, with links to maps, forms and payments, as well as links to the most popular services. Also, if you scroll down, you can still see more traditional things like council news and events (as well as the lovely Google map, which utilises the premier Google Maps API, to get around the Ordnance Survey licensing restrictions). It&#8217;s also very Google like, without ripping them off completely, which makes users (experienced and non-experienced) feel at home.</p>
<p>It&#8217;s great that trailblazing councils are doing this work though. Hopefully now we&#8217;ll see more and more councils following this line, so when we get to our next redesign, the powers that be will be much more comfortable with a simple homepage design.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/08/lancashire-county-council-and-the-google-isation-of-government/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Why the old media hate Twitter</title>
		<link>http://www.pezholio.co.uk/2009/02/why-the-old-media-hate-twitter/</link>
		<comments>http://www.pezholio.co.uk/2009/02/why-the-old-media-hate-twitter/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 10:18:36 +0000</pubDate>
		<dc:creator>Pez</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[journalism]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.pezholio.co.uk/?p=42</guid>
		<description><![CDATA[It seems that these days you can&#8217;t move for negative press coverage of Twitter, newspapers love to paint it as a haven of banality where people can reveal every detail of their pointless existence (of course, when columnists do it, it&#8217;s different somehow). They seem to thrive on sneering at it and at anyone who [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that these days you can&rsquo;t move for <a href="http://women.timesonline.co.uk/tol/life_and_style/women/the_way_we_live/article5747308.ece">negative press coverage of   Twitter</a>, newspapers love to paint it as a haven of banality where people can   reveal every detail of their pointless existence (of course, when columnists do   it, it&rsquo;s different somehow). They seem to thrive on sneering at it and at anyone who uses Twitter on a daily basis, it&rsquo;s   pretty transparent &ndash; they are crapping their pants.</p>
<p>For years now, old media has had the monopoly on news and comment. Even since the days of the internet, people have   still gone to the good ol&rsquo; solid reliable traditional media outlets for their   news, even if it is just their websites. They could ignore (or even buy into)   the worlds of MySpace and Facebook because they are walled gardens where friends   talk amongst friends and generally don&rsquo;t talk about much of   importance.</p>
<p>Twitter, however, is different. The walls that were there in the old days   have been removed (thanks to both Twitter&rsquo;s amazing <a href="http://apiwiki.twitter.com/">API</a> and <a href="http://search.twitter.com/">search</a>) and people don&rsquo;t just follow the   people they know in real life (in fact, I can count on the fingers of one hand   the people I follow on Twitter who I knew before I started using it). Twitter is   a great sounding board &#8211; people can fire off opinions about events as they   happen, and even in the case of the Mumbai terrorist attacks and the Denver   plane crash, be on the scene before print   and TV journalists have had time to put their coats on. And the audience is   potentially global.</p>
<p>This amount of eyeballs is gold dust to old school journos, and this is why   they fear Twitter so much. Instead of engaging   with it, they revert to the language of the playground, name calling and   smearing until they&rsquo;re blue in the face. The desperation is   palpable.</p>
<p>However, not all journalists are like this, some, like <a href="http://twitter.com/paulbradshaw">@paulbradshaw</a> and <a href="http://twitter.com/joannageary">@joannageary</a> actively engage with   Twitter and see its power. <a href="http://twitter.com/charltonbrooker">@charltonbrooker</a> (A.K.A. Charlie   Brooker, who, amongst other great things, writes a couple of columns for the   Guardian) has been experimenting with Twitter, gathering opinions from Twitter   users to use in his columns and posting &lsquo;teaser&rsquo; content. </p>
<p>These are just a few examples of journalists who are going in the right   direction, there are loads more bright, intelligent, switched on media types who are seeing Twitter and other new   web tools as an opportunity, not a threat. If the nay sayers carry on deriding   Twitter and claiming to see it as an irrelevance, they&rsquo;re going to be the ones   who effectively sign their own P45s.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pezholio.co.uk/2009/02/why-the-old-media-hate-twitter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

