On-going Legislative XML Projects Brazil João Alberto Lima [email protected] Summary • Introduction – Brazil – Legislative technique in Brazil • Projects – Federal Constitution in XML (2002~) – CBDT Project (2005~) – “LexML Brasil” Project (2006~) Brazil Population 180M National Language Portuguese Form of Government Federative Republic Capital Brasilia (National Congress) Number of States 27 – (Legislative Assembly) Municipalities 5660 – (City Council) # Normative Acts Period: 1988~2004 (16 years) • Federal • States • Municipalities 109.338 813.735 2.374.874 3.297.947 2500 2000 1500 1000 500 0 Fed Est Source: Quantidade de Normas Editadas no Brasil: Período 05/10/1988 a 05/10/2004. IBPT - Instituto Brasileiro de Planejamento Tributário. Mun 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” Legislative Technique • Complementary Law 95 (26 February 1998) Adopts provisions concerning preparation, text, amendment, and consolidation of law. – 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 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 Timeline Inverse Links Amendments History 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) Java Program DocBook Ontology Editor + TMTab .XTM Topic Map Site Commented Law + Case Law + Normative Acts + Doctrine Glossary Thematic Book Master Index Bibliography Glossary Index (> 10.000 entries) “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 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 Interoperability of Legal Information LEGISLATIVO LEXml EXECUTIVO JUDICIÁRIO URN Resolver • URN Resolver Prototype urn:lex:br... url-1 url-2 url-n URN Resolver Result Page 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 urn:lex... </dc:identifier> Set <Item> one record for each “url” <dc:identifier> urn:lex... 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/jornais completos/visualizacao/pdf/visualiza_pdf.jsp?jornal=do&a mp;secao=1&pagina=1&data=19/05/2003 </dc:identifier> http://... OAI-PMH • Open Archives Initiative Protocol for Metadata Harvesting http://www.openarchives.org/ Data Provider Data Provider Data Provider Data Provider Data Agregator Service Provider Service Provider Data Provider OAI-PMH Verbs Service Provider Requests (based on http) Identify ListMetadataFormats ListSets ListIdentifiers ListRecords GetRecord Data Provider Response (encoded xml) General Information Metadata Formats Internet Set Structure Identifiers Metadata Records Metadata Record On-going Legislative XML Projects Brazil João Alberto Lima [email protected]