Download - IFLA Power to the people, 16.08.2012
![Page 1: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/1.jpg)
Power to the people!Introducing Open Linked Data services to the national legal
database of the Library of the National Congress of Chile
8.16.2012
![Page 2: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/2.jpg)
Legislation
Legislation is public information…
… and must be of public domain
![Page 3: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/3.jpg)
Legislation
Juridical certainty
certitude of the content of the legal norm
![Page 4: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/4.jpg)
Legislation
50’scard based compilation of references of links between norms and classified them by subject
![Page 5: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/5.jpg)
Legislation
80´sthe card system was replaced by an automated STAIRS based system
midst 90’sthe system was replaced by a client-server BASIS PLUS architecture, which could reconstruct online the whole texts of the norms
![Page 6: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/6.jpg)
LeyChile
Released 2008
![Page 7: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/7.jpg)
LeyChile
Library of the National Congress of Chile
Library of the National Congress of Chile
Ley 220001.- abc2.- def3.- ghi
Ley 220001.- abc2.- def3.- ghi
(original)1.- abc2.- def3.- ghi
(original)1.- abc2.- def3.- ghi
Official GazetteOfficial Gazette
Ley 22000Ley 22000
![Page 8: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/8.jpg)
LeyChile
Library of the National Congress of Chile
Library of the National Congress of Chile
Ley 253451.- Modifica
ley 22000Art. 1
sustitúyase apor xyz
Ley 253451.- Modifica
ley 22000Art. 1
sustitúyase apor xyz
(original)1.- abc2.- def3.- ghi
(original)1.- abc2.- def3.- ghi
(updated)1.- xyzbc
2.- def3.- ghi
(updated)1.- xyzbc
2.- def3.- ghi
Ley 253451.- Modifica
ley 22000Art. 1
sustitúyase apor xyz
Ley 253451.- Modifica
ley 22000Art. 1
sustitúyase apor xyz
Ley 22000Ley 22000
Ley 25345Ley 25345
Official GazetteOfficial Gazette
![Page 9: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/9.jpg)
LeyChile
Modeling the “life” of a legal norm
![Page 10: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/10.jpg)
LeyChile
Modeling the “life” of a legal norm
![Page 11: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/11.jpg)
LeyChile
Modeling the “life” of a legal norm
![Page 12: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/12.jpg)
LeyChile
Modeling the “life” of a legal norm
![Page 13: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/13.jpg)
LeyChile
Modeling the “life” of a legal norm
![Page 14: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/14.jpg)
LeyChile
Modeling the “structure” of a legal norm
![Page 15: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/15.jpg)
LeyChile
XMLText: versions, hyperlinks, references, notes
Structure: Hierarchical organization of the parts of a norm
Metadata: additional information of the formal document, such as identification of the norm, subjects, free retrieval terms, etc.
![Page 16: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/16.jpg)
LeyChile: our offer to humans
![Page 17: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/17.jpg)
LeyChile: our offer to machines
WSDL (http://www.leychile.cl/ws/LeyChile.wsdl)
![Page 18: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/18.jpg)
LeyChile: our offer to machines
WSDL (http://www.leychile.cl/ws/LeyChile.wsdl)Links, widgets, web services
(http://llevatelo.bcn.cl)
![Page 19: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/19.jpg)
LeyChile: is it possible to incorporate linked-open data (LOD)?
Natural extension
Improve interoperability (more formats)
Create domain ontologíes
Offer a solution to complex queries using a SPARQL endpoint
First step: expose metadata of the norms
![Page 20: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/20.jpg)
LOD principles: URIs
Careful design (acts, laws, decrees, rules, resolutions…)
FRBR
WorkWork ley 20000ley 20000
ExpressionExpression updated versionfor year 2012
updated versionfor year 2012
ManisfestationManisfestation file XMLfile XML
1
N1
1
N
N
ItemItem physical XML inone specific server
physical XML inone specific server
![Page 21: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/21.jpg)
LOD principles: URIs
http://datos.bcn.cl/recurso/cl/dto/ministerio-de-educacion/2008-11-07/341http://datos.bcn.cl/recurso/cl/dto/ministerio-de-educacion/2008-11-07/341Decree 341; published november 11, 2008; of the Ministry of Education
http://datos.bcn.cl/recurso/cl/dto/ministerio-de-educacion/2008-11-07/341/es@2008-11-07http://datos.bcn.cl/recurso/cl/dto/ministerio-de-educacion/2008-11-07/341/es@2008-11-07
http://datos.bcn.cl/recurso/cl/dto/ministerio-de-educacion/2008-11-07/341/es@2010-07-20http://datos.bcn.cl/recurso/cl/dto/ministerio-de-educacion/2008-11-07/341/es@2010-07-20
Original version
Another version
![Page 22: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/22.jpg)
LOD principles: RDF
![Page 23: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/23.jpg)
LOD principles: links
Relations to other datasets: countries (International Treaties)DBPedia, Geonames
Vocabulary/Ontologies reuseSKOS, DC, FOAF, DBPedia, ORG
![Page 24: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/24.jpg)
Complex query
Find all the ordinances published by a municipality between 1995 and 2000 that were modified after 2005
PREFIX dc: <http://purl.org/dc/elements/1.1/>PREFIX n: <http://datos.bcn.cl/ontologies/bcn-norms#> SELECT distinct str(?normTitle) as ?Titulo str(?creatorName) as ?Municipio ?pubDate as ?Fecha_Publicacion ?pubDateOther as ?Fecha_modificacionWHERE { ?norm n:createdBy ?creator . ?creator n:hasName ?creatorName . ?norm dc:title ?normTitle . ?norm n:publishDate ?pubDate . ?norm n:isModifiedBy ?otherNorm . ?otherNorm n:publishDate ?pubDateOther . FILTER (regex(?creatorName,"MUNICIPALIDAD","i")) FILTER (?pubDate > xsd:date("1995") && ?pubDate < xsd:date("2000") && ?pubDateOther > xsd:date("2005"))}ORDER BY (?pubDate)
PREFIX dc: <http://purl.org/dc/elements/1.1/>PREFIX n: <http://datos.bcn.cl/ontologies/bcn-norms#> SELECT distinct str(?normTitle) as ?Titulo str(?creatorName) as ?Municipio ?pubDate as ?Fecha_Publicacion ?pubDateOther as ?Fecha_modificacionWHERE { ?norm n:createdBy ?creator . ?creator n:hasName ?creatorName . ?norm dc:title ?normTitle . ?norm n:publishDate ?pubDate . ?norm n:isModifiedBy ?otherNorm . ?otherNorm n:publishDate ?pubDateOther . FILTER (regex(?creatorName,"MUNICIPALIDAD","i")) FILTER (?pubDate > xsd:date("1995") && ?pubDate < xsd:date("2000") && ?pubDateOther > xsd:date("2005"))}ORDER BY (?pubDate)
![Page 25: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/25.jpg)
http://datos.bcn.cl
First step finished in may 2011More than 300.000 norms exported≈27 triples by norm≈8 million triples
200 to 400 triples added each day
![Page 26: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/26.jpg)
David Robinson and Harlan Yu in “El desafío hacia el gobierno abierto en la hora de la igualdad”, Gastón Concha y Alejandra Naser (eds.), Santiago, CEPAL, 2012
“Open data does not create its own demand. The government should compromise the developers”
![Page 27: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/27.jpg)
Visualizations
![Page 28: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/28.jpg)
Visualizations
![Page 29: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/29.jpg)
Third party development
![Page 30: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/30.jpg)
Third party development
Source: Orand. S.A.
![Page 31: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/31.jpg)
Actual and future work
More datasets at the endpoint: biographies, transparency, geographical data, history of the law, legislative documents…
Expose parts of a legal norm and their metadata
![Page 32: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/32.jpg)
Visualizations
![Page 33: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/33.jpg)
Complex queries made easy
![Page 34: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/34.jpg)
Findings
Open data, open linked data, semantic web is more than a technology… it is a way of managing information
Visualization is not a final product, is a feedback process of data “ablution” and improving the visualization
Creates value for ourselves 1
Many technical details and challenges remain unsolved 1
1.- David Robinson and Harlan Yu in “El desafío hacia el gobierno abierto en la hora de la igualdad”, Gastón Concha y Alejandra Naser (eds.), Santiago, CEPAL, 2012
![Page 35: IFLA Power to the people, 16.08.2012](https://reader035.vdocuments.net/reader035/viewer/2022062708/558ba045d8b42af4798b4638/html5/thumbnails/35.jpg)
Power to the people!Introducing Open Linked Data services to the national legal
database of the Library of the National Congress of Chile
8.16.2012