On Friday, I toddled along to London for a bit of a chat about local spending data, organised by LeGSB, the local government e-Standards body. In particular we looked at how councils can publish their spending data in a linked data format. It was an interesting day, and much of the work seems to have already been done by folks much cleverer than myself.
However, at the end of the day, Paul Davidson (the Director of Standards at LeGSB) raised an interesting topic. At the moment, much of the describing of councils in the linked data world seems to be done by external bodies, such as The Office for National Statistics and Ordnance Survey, and often, this isn’t always the best fit, with the data referring to geographical regions, rather than councils themselves.
Paul then made the point that really, it should be the councils themselves that describe who they are, rather than some arbitrary body, after all, there is no one better placed to know about the council than the council themselves! We then talked very briefly about the possibility of councils minting their own URIs and publishing some RDF with some information about themselves (such as contact details etc). Other organisations and people can then use these URIs to refer to the councils in their data.
I’ve been mulling this over over the weekend, and I fired off an email this morning suggesting that, rather than publishing a page of RDF, people simply add data to their council homepages, either as RDFa or metadata (although I’m not sure how you’d do the latter!). People could then use their council homepage URLs as URIs (perhaps with #id at the end of the URI, to make the URI for the council different to the one for the page).
With this in mind I’ve knocked up a sample dataset for Lichfield District Council using various ontologies from around the linked data web (including FOAF, vCard, Chris Taggart’s Openly Local ontology and a bit of the Organizational (sic) Ontology). I’ve also sameAsed to the National Statistics Dataset, Openly Local and DBpedia:
` ?xml version=”1.0”?> rdf:RDF xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:skos=”http://www.w3.org/2004/02/skos/core#” xmlns:rdfs=”http://www.w3.org/2000/01/rdf-schema#” xmlns:owl=”http://www.w3.org/2002/07/owl#” xmlns:foaf=”http://xmlns.com/foaf/0.1/” xmlns:dct=”http://purl.org/dc/terms/” xmlns:vcard=”http://www.w3.org/2006/vcard/ns#” xmlns:administrative-geography=”http://statistics.data.gov.uk/def/administrative-geography/” xmlns:openlylocal=”http://openlylocal.com/info/vocab#” xmlns:org=”http://www.w3.org/ns/org#”> rdf:Description rdf:about=”http://www.lichfielddc.gov.uk/#id”>
rdfs:labelLichfield District Council/rdfs:label vcard:organisation-nameLichfield District Council/vcard:organisation-name rdf:type rdf:resource="http://openlylocal.com/info/vocab#DistrictAuthority"/ rdf:type rdf:resource="http://www.w3.org/ns/org#FormalOrganization"/ skos:notation rdf:datatype="http://statistics.data.gov.uk/def/administrative-geography//StandardCode"41UD/skos:notation foaf:mboxmailto:firstname.lastname@example.org/foaf:mbox foaf:homepage rdf:resource="http://www.lichfielddc.gov.uk"/ foaf:phone rdf:resource="tel:+44-1543-308999"/ foaf:holdsAccount foaf:OnlineAccount rdf:about="http://twitter.com/Lichfield_DC" foaf:accountServiceHomepage rdf:resource="http://twitter.com/"/ foaf:accountNameLichfield_DC/foaf:accountName /foaf:OnlineAccount /foaf:holdsAccount foaf:holdsAccount foaf:OnlineAccount rdf:about="http://www.facebook.com/lichfielddc" foaf:accountServiceHomepage rdf:resource="http://www.facebook.com/"/ foaf:accountNameLichfield District Council/foaf:accountName /foaf:OnlineAccount /foaf:holdsAccount vcard:ADR rdf:parseType="Resource" vcard:ExtaddDistrict Council House, Frog Lane, Lichfield WS13 6YY/vcard:Extadd vcard:CountryEngland/vcard:Country vcard:postal-code rdf:resource="http://www.uk-postcodes.com/postcode/WS136YY.rdf" / /vcard:ADR administrative-geography:coverage rdf:resource="http://data.ordnancesurvey.co.uk/id/7000000000014797"/ owl:sameAs rdf:resource="http://statistics.data.gov.uk/doc/local-authority/41UD"/ owl:sameAs rdf:resource="http://openlylocal.com/councils/156.rdf"/ owl:sameAs rdf:resource="http://dbpedia.org/resource/Lichfield_%28district%29"/
/rdf:Description> /rdf:RDF> `
It’s not perfect, but it’s a start, there’s 24 triples there and I’m sure there could be more. Only problem is, I’m not a linked data expert, so I’m looking for a bit of feedback both on what I’ve done, but also what I could add - For example, I could add the chief executive and leader of the council - but I’m not sure how I’d do it!
Feedback from non-linked data experts is welcome too - especially those at the coal face of local gov - if there was a step by step guide to doing this, could you do it? (i.e. have you got access to add metadata to your homepage) and, more importantly, would you do it?
UPDATE I’ve now published the final(ish) version at http://www.lichfielddc.gov.uk/lichfield.rdf, with a rel=’alternate’ meta link on the Lichfield homepage. I’ve also reused the reference.data.gov.uk ontology to show the councils CEO, leader etc, together with a bit of FOAF for their contact details.
Thanks to Jeni Tennison, Leigh Dodds and Dave Reynolds for helping me to get this far, and hopefully we can encourage more councils to do the same!