open data: a new tool for government

50
Open Data: A New Tool for Government John Sheridan Head of Legislation Services, The National Archives Jeni Tennison Technical Architect legislation.gov.uk Tuesday, 2 October 12

Upload: jeni-tennison

Post on 14-May-2015

4.092 views

Category:

Technology


3 download

DESCRIPTION

The strategists say that open data from high quality APIs has the potential to transform public services. One example where this is proving to be the case is legislation.gov.uk, the official UK legislation website, operated by The National Archives. With legislation.gov.uk we aimed to open-up access to the government’s legislation database, by creating an API first. The legislation.gov.uk API allows anyone to access the data we hold in the database, or to use the services we have built. We wanted to show that government could create a high-quality, technically sophisticated API, following the principles of both REST and Linked Data. We also wanted our API to be fully open, with no restrictions on use, and no need to register before using it. The API is enabling us to develop an entirely new approach to updating legislation, inspired by the open source software movement – our Expert Participation Programme. We are inviting people from outside The National Archives to work with us, to apply changes to the legislation in the database. Quality is maintained through our editorial practice and a stringent process of review. This is an exciting new operating model for maintaining open government data.

TRANSCRIPT

Page 1: Open Data: A New tool for Government

Open Data:A New Tool for GovernmentJohn SheridanHead of Legislation Services, The National Archives

Jeni TennisonTechnical Architect legislation.gov.uk

Tuesday, 2 October 12

Page 2: Open Data: A New tool for Government

If we can do it with legislation ...

Tuesday, 2 October 12

Page 3: Open Data: A New tool for Government

Tuesday, 2 October 12

Page 4: Open Data: A New tool for Government

Work of many

Tuesday, 2 October 12

Page 5: Open Data: A New tool for Government

Open Legislation Data• available under Open Government License• data underlies user interface

• /data.xml• /data.rdf• /data.feed

Tuesday, 2 October 12

Page 6: Open Data: A New tool for Government

Reusers

Intermediary

Consumer

dataservice

payment

Publisher

Tuesday, 2 October 12

Page 7: Open Data: A New tool for Government

Reusers

Intermediary

Consumer

dataservice

payment

Publisher

- links- snippets- dumps- searches- updates

Tuesday, 2 October 12

Page 8: Open Data: A New tool for Government

Reusers

Intermediary

Consumer

dataservice

payment

Publisher

- links- snippets- dumps- searches- updates

- provision- integration- analysis- visualisation- interpretation

Tuesday, 2 October 12

Page 9: Open Data: A New tool for Government

Reusers

Intermediary

Consumer

dataservice

payment

Publisher

Tuesday, 2 October 12

Page 10: Open Data: A New tool for Government

Benefits of reuse• innovation by intermediaries• new products and services for customers• economic growth

Tuesday, 2 October 12

Page 11: Open Data: A New tool for Government

Reusers

Intermediary

Consumer

dataservice

payment

Publisher

Tuesday, 2 October 12

Page 12: Open Data: A New tool for Government

Reusers

Intermediary

Consumer

dataservice

payment

Publisher

Tuesday, 2 October 12

Page 13: Open Data: A New tool for Government

Reusers

Intermediary

Consumer

dataservice

payment

Publisher

provenance

Tuesday, 2 October 12

Page 14: Open Data: A New tool for Government

Reusers

Intermediary

Consumer

dataservice

payment

Publisher audience

provenance

Tuesday, 2 October 12

Page 15: Open Data: A New tool for Government

Benefits• improved reach• intermediaries deliver to other channels• for legislation.gov.uk

• iPhone / iPad applications• eBooks• tailored value added products for specific audiences

Tuesday, 2 October 12

Page 16: Open Data: A New tool for Government

Dependents

Intermediary

Consumer

service

payment

Publisherdata

Tuesday, 2 October 12

Page 17: Open Data: A New tool for Government

information

customisation

Dependents

Intermediary

Consumer

service

payment

Publisherdata

Tuesday, 2 October 12

Page 18: Open Data: A New tool for Government

information

customisation

Dependents

Intermediary

Consumer

service

payment

Publisherdata

Tuesday, 2 October 12

Page 19: Open Data: A New tool for Government

information

customisationdata

Dependents

Intermediary

Consumer

service

payment

Publisher

Tuesday, 2 October 12

Page 20: Open Data: A New tool for Government

information

customisation

guarantees

data

Dependents

Intermediary

Consumer

service

payment

Publisher

Tuesday, 2 October 12

Page 21: Open Data: A New tool for Government

information

customisation

guarantees

data

Dependents

Intermediary

Consumer

service

payment

Publisher

- accurate- reliable- timely

Tuesday, 2 October 12

Page 22: Open Data: A New tool for Government

Where is the benefit to the publisher?

Tuesday, 2 October 12

Page 23: Open Data: A New tool for Government

Tuesday, 2 October 12

Page 24: Open Data: A New tool for Government

Tuesday, 2 October 12

Page 25: Open Data: A New tool for Government

Tuesday, 2 October 12

Page 26: Open Data: A New tool for Government

Tuesday, 2 October 12

Page 27: Open Data: A New tool for Government

Tuesday, 2 October 12

Page 28: Open Data: A New tool for Government

Tuesday, 2 October 12

Page 29: Open Data: A New tool for Government

Tuesday, 2 October 12

Page 30: Open Data: A New tool for Government

Tuesday, 2 October 12

Page 31: Open Data: A New tool for Government

Maintaining legislation data• for primary legislation we identify and apply

• textual & non-textual amendments• extents & commencements• savings & provisos

• we create point in time versions with annotations• we extract structured data from legislation

• editors use the data to create new versions showing the changes

Tuesday, 2 October 12

Page 32: Open Data: A New tool for Government

The challenge• primary legislation

• in-house team applies ~10,000 effects per annum• parliaments and assemblies now make ~15,000 new effects• there is a 100,000 “debt” of unapplied effects

• secondary legislation• required to produce tables of effects for annual bound volumes• no updated versions

Tuesday, 2 October 12

Page 33: Open Data: A New tool for Government

guarantees

Partners

Intermediary

Consumer

data service

payment

Publisher

Tuesday, 2 October 12

Page 34: Open Data: A New tool for Government

guarantees

maintenance

Partners

Intermediary

Consumer

data service

payment

Publisher

Tuesday, 2 October 12

Page 35: Open Data: A New tool for Government

guarantees

maintenance

Partners

Intermediary

Consumer

data service

payment

Publisher

- collection- correction- expertise

Tuesday, 2 October 12

Page 36: Open Data: A New tool for Government

guarantees

maintenance

Partners

Intermediary

Consumer

data service

payment

Publisher

- collection- correction- expertise

Tuesday, 2 October 12

Page 37: Open Data: A New tool for Government

Expert Participation Programme• primary and secondary legislation

• publicly available - official - free - open - up-to-date

• we invite others to work with us under MoU• new processes and tools to support collaboration• The National Archives provides tools and training

• guardians and arbiters of editorial practice and quality

Tuesday, 2 October 12

Page 38: Open Data: A New tool for Government

Technical architecture

Tuesday, 2 October 12

Page 39: Open Data: A New tool for Government

New requirements• new types of information

• effects & research• tasks & workflows• participants & permissions & messages• priority lists to update

• new levels of interactivity• read/write platform• dynamic, native web interface

Tuesday, 2 October 12

Page 40: Open Data: A New tool for Government

other formats are better for other things

HTML JSON

RDFXML

lingua franca

hard to get wrongconcise

application-native data

single source format

flexible

web-native data

graph model

Tuesday, 2 October 12

Page 41: Open Data: A New tool for Government

new architecture XML and RDF data

CDN

XML database

pipeline engine

web server

cache

caching & delivery

caching

static files

transformation

documents triplestore data

Tuesday, 2 October 12

Page 42: Open Data: A New tool for Government

displays driven by RDF transformed by XSLT

Tuesday, 2 October 12

Page 43: Open Data: A New tool for Government

displays driven by RDF transformed by XSLT

Tuesday, 2 October 12

Page 44: Open Data: A New tool for Government

displays driven by RDF transformed by XSLT

Tuesday, 2 October 12

Page 45: Open Data: A New tool for Government

URIs are the keys weak, flexible links

HTML JSON

RDFXMLURIs

Tuesday, 2 October 12

Page 46: Open Data: A New tool for Government

User and re-user focus• integrated API and UIs

• guarantees relevance• help re-users understand information• help developers debug

• URIs are key• addressability• sharability• understanding of underlying resource model

Tuesday, 2 October 12

Page 47: Open Data: A New tool for Government

Agility• native XML eases development

• provides flexible access into documents• avoids data model mismatches

• native RDF eases development too!• ease of combining information from different sources• querying with SPARQL

• schema-free & extensible aids agility

Tuesday, 2 October 12

Page 48: Open Data: A New tool for Government

Open data as operating model• private sector values high quality public data

• value official status, processes and controls• willing to collaborate and invest resources in open government data

• Expert Participation shows how open data• helps to deliver services• helps to reach new audiences or existing audiences through new channels• underpins feedback loops, improving quality of both data and service

Tuesday, 2 October 12

Page 49: Open Data: A New tool for Government

Summary• complex documents and data

• added value for publishers and consumers from having them on the web

• layered architecture with web standards• make the most of single-source publishing providing long-term flexibility

• open data as a tool• enabling us to bring legislation up to date for the first time

• if we can do it with legislation ...

Tuesday, 2 October 12

Page 50: Open Data: A New tool for Government

Questions

Tuesday, 2 October 12