friday lunchtime lecture - legislation as data
TRANSCRIPT
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
1/59
John Sheridan
Open Data Institute Friday Lunchtime
Lectures, 25 January 2012
Legislation as data
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
2/59
The acceptance of the rule of law as a constitutional
principle requires that a citizen, before committing himself toany course of action, should be able to know in advance
what are the legal principles which flow from it
Lord Diplock, House of Lords, 1975
The law must be adequately accessible
European Court of Human Rights
2
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
3/59
3
The web has changed who is accessing legislation andwhy, just as much as it has changed access to healthcare
information.
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
4/59
4
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
5/59
An old slide (from 2005)
5
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
6/59
6
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
7/59
Legislation as data
Three considerations for legislation as datao Typographic layouto Versioning / changes over timeo Semantics
Semantic representation using RDF and Linked Datao URIs for thingso RDF data modelo subject - property - object
Requires granular URIs to name thingso Identifiero Documento Representation
7
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
8/59
Foundations - naming things
If you visit legislation.gov.uk you will see we have takengreat care with naming things
8
Returns an html document for United Kingdom Public General Act (ukpga),2005, Chapter 14, Section 1
Returns an html document with a list from all legislation types where the
title contains wildlife
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
9/59
Some of the names are quite
sophisticated
UK Public General Act (ukpga) 1981 Chapter 69 Section 5 As it extends to England As it stood on 30th January 2001 Displayed as an HTML document with the timeline on Although URIs are opaque having this type of design
changes how people use the service
9
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
10/59
10
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
11/59
European Legislation Identifier
11
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
12/59
New Statutory Instruments 2000-2012 (by size of the legislation)
Domestic
European
Regulations
Regulations
Orders
Rules
Temporary
Amending
Amending
New
New
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
13/59
13
New Regulations 2000-2012 (by size of the legislation)
Domestic
European
Amending
New
Amending
New
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
14/59
Legislation as data, legislation as code
Legislation as data the information contained in legislationcan be accessed and used by computer programs
Legislation as code legislation is (or becomes) a set ofprocessing instructions for a computer to follow
14
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
15/59
15
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
16/59
Data
All the information on legislation.gov.uk is available as opendata under the terms of the Open Government Licence
To access the data, visit any page and add:o /data.xmlo /data.rdfo /data.xht
For listso /data.feed
16
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
17/59
17
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
18/59
Linked Data
18
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
19/59
Henry Maudslay (17711831)
He also developed the first industriallypractical screw-cutting lathe in 1800, allowing
standardisation ofscrew thread sizes for thefirst time. This allowed the concept of
interchangeability (a idea that was alreadytaking hold) to be practically applied to nuts
and bolts. Before this, all nuts and bolts hadto be made as matching pairs only. Thismeant that when machines were
disassembled, careful account had to be kept
of the matching nuts and bolts ready for whenreassembly took place.
http://en.wikipedia.org/wiki/Henry_Maudslay
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
20/59
Unstructured text
HTML web pages,PDF documents
Structured data
CSV files, RDFLinked Data
20
Ever since the start of the Semantic Web
developments, one of the issues was how to make
various types of data available on the Semantic Webfor, eg, further integration. Technically, this means
making the data available in RDF. One approach is to
encode the RDF data in one of its serialization formats,
ie, RDF/XML or Turtle, but that approach does not
really scale. Interfaces to databases are being
developed that can, for example, provide on-the-fly
conversion of data into RDF, often via SPARQL
endpoints. Automatic or semi-automatic conversions
exist for a number of other formats. In general it has
been recognized that one should not look for one
specific approach; rather, different types of data on the
Web require their own, data-specific way of expressing
Documents Data
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
21/59
Unstructured text
HTML web pages,PDF documents
Structured data
CSV files, RDFLinked Data
21
Ever since the start of the Semantic Web
developments, one of the issues was how to make
various types of data available on the Semantic Webfor, eg, further integration. Technically, this means
making the data available in RDF. One approach is to
encode the RDF data in one of its serialization formats,
ie, RDF/XML or Turtle, but that approach does not
really scale. Interfaces to databases are being
developed that can, for example, provide on-the-fly
conversion of data into RDF, often via SPARQL
endpoints. Automatic or semi-automatic conversions
exist for a number of other formats. In general it has
been recognized that one should not look for one
specific approach; rather, different types of data on the
Web require their own, data-specific way of expressing
Documents DataFacts in legislation asstructured data
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
22/59
Linked Data
URIs to name things Graph based data model
22
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
23/59
So how does Linked Data help?
23
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
24/59
Amending legislation
24
Section 12 (4) amends the Charities Act 1993,inserting some words into this Act.
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
25/59
Bringing into force the Act
25
But what about Section 12???
Sections 15 to 20 come into forceimmediately when the Act is passed
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
26/59
So, A changes B when C says so
26
So the timing for the rest of the Act coming into forceis left open for the Secretary of State to decide
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
27/59
Section 12 (4) came into force 1/1/2011
27
Coming into force on 1stJanuary 2011
Section 12 (4)
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
28/59
A changes B when C says so
28
Academies
Act 2010
Section 19 (2)
AcademiesAct 2010
Section 12 (4)
SI 2010/1937Schedule 3
Charities Act1993 Schedule
2 (ca)
Secretary ofState
Confers power
Makes
Commences
Inserts text into
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
29/59
29
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
30/59
30
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
31/59
31
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
32/59
32
Location
Time
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
33/59
33
Location
Time
Concepts
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
34/59
34
Location
Time
Concepts
Many of these aredefined in legislation
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
35/59
Data, data, everywhere
Data in legislationo Definitionso Changeso Dutieso Powerso Offenceso Transpositionso Designations
Data about legislationo Economic - Impact Assessmentso Social opinions on twitter
35
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
36/59
Concepts are defined in legislation
What does it mean to be a company What does it mean to be a school and so on
36
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
37/59
37
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
38/59
Designation
38
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
39/59
Economic data
39
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
40/59
40
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
41/59
Transposition
41
Wh t h t th l i th
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
42/59
42
What changes to the law improve the
conviction rates?
Wh t h t th l i th
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
43/59
43
What changes to the law improve the
conviction rates?
Changes
to
legislation
Wh t h t th l i th
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
44/59
44
What changes to the law improve the
conviction rates?
Changes
to
legislation
Conviction
rates
statistics
Wh t h t th l i th
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
45/59
45
What changes to the law improve the
conviction rates?
Changes
to
legislation
Conviction
rates
statistics
Linked Data Standards
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
46/59
Legislation URIs link everythingtogether
Identifiero http://www.legislation.gov.uk/id/{type}/{year}/{number}/section/{number}o eg http://www.legislation.gov.uk/id/ukpga/2010/32/section/12/4
Documento http://www.legislation.gov.uk/{type}/{year}/{number}/section/{number}o eg http://www.legislation.gov.uk/ukpga/2010/32/section/12#section-12-4
Representationso /data.xmlo /data.xhto /data.pdfo /data.rdfo and for any list, /data.feed
46
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
47/59
Not all information is equal
Publishing digital information changes the form of thecontent
The facts on which billions turn or that impact on peopleslives require different treatment from the ephemeral notleast to ensure the integrity of the public record
Who is making information available, by what right, whatprocesses has it been subject to, become key questions Increasingly important to express provenance for high-end
sources of information, such as legislation.gov.uk
47
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
48/59
48
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
49/59
Open Data as Operating Model
49
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
50/59
Inspirations: Open Source Software
50
O S S f ?
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
51/59
Why does Open Source Software work?
51
Th i ibl bli d?
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
52/59
The impossible public good?
Large and complex systems Enabled by the internet Two elements,
oa system of sustainable value creationoa system of governance
holds together a community of producers
Distributed property rights, eg the GNU PublicLicence (GPL)
52
C l th l i t d t ?
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
53/59
Can we apply the same logic to data?
53
O G t D t i ibl
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
54/59
Open Government Data: a new impossible
public good?
Large and complex data Enabled by the internet Two elements,
o a system of sustainable value creationo a system of governance
holds together a community of producers
Distributed property rights enabled by the OpenGovernment Licence
54
E t P ti i ti
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
55/59
Expert Participation
Make the data available maximise, encourage and supportre-use
Inside-out, transform internal processes, systems and toolsto external ones
Retain what adds value practice, process and control Invite expert participation from other parts of government,
businesses, academics and individuals
Open data enables investment
Ch ll
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
56/59
Challenges
Governance Process Quality Technology Culture Guarantees
L i l ti d t bli d
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
57/59
Legislation data as a public good
Old world: commercially licence the data to bring in theresources needed to create and maintain high qualityinformation that is easy to re-use
New world: open the data and enable participation, tobring in the resources needed to create and maintain high
quality information that is easy to re-use
Fi l th ht
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
58/59
Final thoughts
We shape our tools and they in turn shape us
Marshall McLuhan
58
Th k
-
7/29/2019 Friday lunchtime lecture - Legislation as Data
59/59
Thank you
John Sheridan
Head of Legislation Services at The National ArchivesTwitter: @johnlsheridan