on-going legislative xml projects brazil joão alberto lima [email protected]
TRANSCRIPT
![Page 2: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/2.jpg)
Summary
• Introduction – Brazil– Legislative technique in Brazil
• Projects – Federal Constitution in XML (2002~)– CBDT Project (2005~)– “LexML Brasil” Project (2006~)
![Page 3: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/3.jpg)
Brazil
Population 180MNational Language PortugueseForm of Government Federative RepublicCapital Brasilia (National Congress)Number of States 27 – (Legislative Assembly)Municipalities 5660 – (City Council)
![Page 4: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/4.jpg)
# Normative ActsPeriod: 1988~2004 (16 years)
• Federal 109.338
• States 813.735
• Municipalities 2.374.874 3.297.947
0
500
1000
1500
2000
2500
Fed Est Mun
Source:Quantidade de Normas Editadas no Brasil: Período 05/10/1988 a 05/10/2004. IBPT - Instituto Brasileiro de Planejamento Tributário.
![Page 5: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/5.jpg)
Other Issues
• Legal Information– Heterogeneity
• Several subjects in one law
– Paralelism • Several laws about one subject• Consolidation
– Uncertainty• Before 1998: Implicit Revocation
– “All provisions on the contrary are hereby revoked”
• “Ignorantia legis non excusat” – Reali: “it’s a fiction of law to say that “Ignorance of the law is no excuse”
![Page 6: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/6.jpg)
Legislative Technique
• Complementary Law 95 (26 February 1998)
– Federal Level• Not mandatory to States and Municipalities
– Article Grouping• Part; Book; Title; Chapter; Section; Subsection
– Article Subdivision• Caput < Inciso < Alinea < Item • Paragraph< Inciso< Alinea< Item
Adopts provisions concerning preparation, text, amendment, and consolidation of law.
![Page 7: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/7.jpg)
Federal Constitution in XML
• Promulgated in 1988– 52 Amendments
• XML Pilot Project (2002)• Markup
– Manual• Consolidation & Publishing (Html and PDF)
– Automatic• Standards/Recommendations
– XML, XSL, XSL-FO, XLink (Bi-directional Navigation)
• http://legis.senado.gov.br/con1988/index.htm
![Page 8: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/8.jpg)
Timeline
![Page 9: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/9.jpg)
Inverse Links
![Page 10: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/10.jpg)
![Page 11: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/11.jpg)
Amendments History
![Page 12: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/12.jpg)
CBDT Project• Coleção Brasileira de Direito das Telecomunicações
(Brazilian Collection of Telecommunication Law)• Universidade de Brasília (UnB)
– Faculty of Law • GETEL – Group of Studies on Telecommunication Law - (Prof. Dr. Márcio Iorio)
– Department of Information Science • PhD student (João Lima) / Prof. Dr. Murilo Bastos da Cunha
• Action Research Approach (Qualitative Methodology)– Action Objective
• Organize the information about Brazilian Telecommunication Law in a Information Base
– Research Objective • Define a model, ontologically strucutured, to organize legal information
– Guarino & Welty, Ontoclean Methodology
• Standards/Recommendation– XML, XSL, XSL-FO, DocBook, ISO Topic Maps, Protégé Ontology Editor
• http://www.anatel.gov.br/biblioteca/publicacao/default.asp (2 books)
![Page 13: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/13.jpg)
Ontology Editor + TMTab
JavaProgram
DocBook
CommentedLaw +
Case Law +Normative Acts +
Doctrine
Glossary ThematicBook
MasterIndex
Bibliography.XTM
Topic MapSite
![Page 14: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/14.jpg)
![Page 15: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/15.jpg)
![Page 16: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/16.jpg)
![Page 17: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/17.jpg)
Glossary
![Page 18: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/18.jpg)
Index (> 10.000 entries)
![Page 19: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/19.jpg)
“LexML Brasil” Project• Main Reference: Italian NIR Project
– URN & DTD / XML Schema
• “Tropicalization”– Translate Elements and Attributes– Adapt to LCP-95 (Brazilian Legislative Technique)– UpperCamelCase & lowerCamelCase– Include Bills
• Standards/Recommendations– XML, URN, XML/Schema, XSL, OAI-PMH, DC,
Daisy (Digital Talk Book - ANSI/NISO Z39.86)
• http://www.lexml.gov.br
![Page 20: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/20.jpg)
e-gov Interoperability Initiatives
• Legislative Branch– Interlegis Institute – www.interlegis.gov.br
• Executive Branch– ePING - www.eping.e.gov.br
• Judiciary Branch– G-INP - www.cnj.gov.br
![Page 21: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/21.jpg)
Interoperability of Legal Information
LEXmlLEXml
EXECUTIVO
LEGISLATIVO
JUDICIÁRIO
![Page 22: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/22.jpg)
URN Resolver
• URN Resolver Prototype
urn:lex:br...url-1url-2url-n
![Page 23: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/23.jpg)
![Page 24: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/24.jpg)
![Page 25: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/25.jpg)
![Page 26: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/26.jpg)
![Page 27: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/27.jpg)
URN Resolver Result Page
![Page 28: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/28.jpg)
![Page 29: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/29.jpg)
Set <Norma>one record for each “urn”
<dc:title>Lei nº 10.673, de 16 de maio de 2003</dc:title><dc:description>Altera dispositivos da Lei nº 5.517, de 23
de outubro de 1968, que dispõe sobre o exercício da profissão de Médico Veterinário e cria os Conselhos Federal e Regionais de Medicina Veterinária.</dc:description>
<dc:date>16/05/2003</dc:date><dc:publisher>Imprensa Nacional</dc:publisher><dc:identifier>
urn:lex:br:federal:lei:2003-05-16;10673</dc:identifier>
urn:lex...
![Page 30: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/30.jpg)
Set <Item>one record for each “url”
<dc:identifier>urn:lex:br:federal:lei:2003-05-16;10673
</dc:identifier> <dc:type>Publicação Oficial</dc:type><dc:publisher>Imprensa Nacional</dc:publisher><dc:format>application/pdf</dc:format><dc:identifier>http://www.in.gov.br/imprensa/jsp/jsp/
jornaiscompletos/visualizacao/pdf/visualiza_pdf.jsp?jornal=do&secao=1&pagina=1&data=19/05/2003
</dc:identifier>
urn:lex...
http://...
![Page 31: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/31.jpg)
OAI-PMH
• Open Archives Initiative Protocol for Metadata Harvestinghttp://www.openarchives.org/
DataProvider
DataProvider
DataProvider
DataProvider
DataProvider
ServiceProvider
DataAgregator
ServiceProvider
![Page 32: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br](https://reader034.vdocuments.us/reader034/viewer/2022052618/552fc15e497959413d8e53c9/html5/thumbnails/32.jpg)
OAI-PMH Verbs
Service Provider
Requests (based on http)
Identify
ListMetadataFormats
ListSets
ListIdentifiers
ListRecords
GetRecord
Data Provider
Response (encoded xml)
General Information
Metadata Formats
Set Structure
Identifiers
Metadata Records
Metadata Record
Internet