on-going legislative xml projects brazil joão alberto lima [email protected]

33
On-going Legislative XML Projects Brazil João Alberto Lima [email protected]

Upload: internet

Post on 21-Apr-2015

107 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

On-going Legislative XML ProjectsBrazil

João Alberto [email protected]

Page 2: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

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

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

# 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

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

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

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

Timeline

Page 9: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

Inverse Links

Page 10: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br
Page 11: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

Amendments History

Page 12: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

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

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
Page 15: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br
Page 16: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br
Page 17: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

Glossary

Page 18: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

Index (> 10.000 entries)

Page 19: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

“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

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

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

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
Page 24: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br
Page 25: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br
Page 26: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br
Page 27: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

URN Resolver Result Page

Page 28: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br
Page 29: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

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

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&amp;secao=1&amp;pagina=1&amp;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

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

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

Page 33: On-going Legislative XML Projects Brazil João Alberto Lima joaolima@senado.gov.br

On-going Legislative XML ProjectsBrazil

João Alberto [email protected]