Pezholio

03 Dec, 2009

Simple(ish) routes to local authority open data?

Posted by: Pez In: Council Stuff| Open Data

Now, I’ve been banging on about local government open data for a while, I’ve been opening up various datasets on the Lichfield District Council website and generally evangelising to anyone who will listen (and even to some who won’t!)

This JFDI publish-everything-you’ve-got-in-a-database-just-because-you-can approach is all well and good if you’re a techy like me, but there’s three wee problemettes:

  • Problemette Number 1 You need to be a techy to get the data out there – a lot of local authorities don’t have the technical resource to do this stuff.
  • Problemette Number 2 It’s not sustainable – If I die (God fobid!) or leave the authority – whoever takes on my role might not have the skills or time to keep up my work.
  • Problemette Number 3 It’s not in a standard format – generally I’ve been making up XML schemas, or releasing in RSS or KML – which, while useful for local developers, doesn’t work semantically.

These issues have been playing on my mind for a while now, especially with central government releasing a whole load of data on data.gov.uk – how can we local authorities, a disperate band of organisations spread across the country with different teams and different ways of doing things do something similar, particularly with the problemettes above in mind?

It was with this running through my head that I chanced up on the Central Office of Information’s guidance on structuring information on the web for reusability – this sets out how organisations (particularly central government) can edit their HTML pages using RDFa – a markup that allows information to be ’sucked out’ of web pages and re purposed as RDF data. A robot can then ’see’ the pages and republish them on a different site (in this case DirectGov).

Although this is still reasonably technical, anyone with a basic knowledge of HTML should be able to edit their templates and expose this data, much easier than slaving over SQL databases and messing around with XML. Suppliers could also easily modify their systems to add RDFa markup (although, suppliers being suppliers, they’ll probably charge an exorbitant fee for this work!).

At Lichfield, we’re currently putting together a consultation system, and, following the directions on the COI site, I managed to mark up our consultations in RDFa, and, other than a few issues with validation, I managed it pretty quicklyhere’s the RDF in all it’s glory (you’ll need to view the source to see it properly).

The COI are asking central government departments to implement this new format for all their consultations from 1 January 2010, which is no mean feat, but I’d like to see a similar dictact (albeit one with a slightly more realistic timeline!) come for local authorities too – we did it with IPSV, so why can’t we do this too?

7 Responses to "Simple(ish) routes to local authority open data?"

1 | Mark Birbeck

December 3rd, 2009 at 1:13 pm

Avatar

Looks good…but you forgot the @about=”#this”, to give the consultation an identifier.

Without it, you’re not part of the Linked Data cloud!

Regards,

Mark

2 | Pez

December 3rd, 2009 at 1:30 pm

Avatar

Ah, good call Mark, my RDF looks much nicer now!

Cheers

3 | William Allbrook

December 3rd, 2009 at 2:09 pm

Avatar

I suppose you could do worse than use skeptic Mike’s platform!

4 | CountCulture

December 3rd, 2009 at 8:11 pm

Avatar

Good work fella (as usual). Are you going to roll out RDFa on the other pages? If so, would be good to link up to other RDF resources (e.g. ONS URIs for council, wards, ditto OS and also, er, OpenlyLocal

5 | Andrew Beeken

December 4th, 2009 at 9:15 am

Avatar

Good find fella! I’ve bookmarked this as we’re looking at doing some template related updates on our site in the new year.

6 | Pez

December 4th, 2009 at 9:28 am

Avatar

Good stuff – I think the next stage is to get argots (The consultation argot is here to give you an idea of what the hell I’m going on about!) for different types of local authority services.

I think a load of us need to get our heads together and think about the kinds of information we LAs offer and publish online and come up with an agreed standard.

7 | Pez

December 4th, 2009 at 9:49 am

Avatar

@Count Culture – I did try (and fail) to introduce RDFa to our councillor pages, but might nick your work on Openly Local to give me a prod in the right direction. If I get some time this afternoon, I might make a start :)

As for adding some other RDF resources, that’s a damn good idea – is it just a case of adding a URI to another dc:publisher (or whatever) element?

Comment Form

Twitter / @pezholio



Desperate monetisation attempt…