1 / 21

V Legislative XML Workshop 14-16 June 2006 - San Domenico di Fiesole (Florence - Italy)

Using XML technologies for modeling and searching legislative acts. A case study: managing brazilian acts. V Legislative XML Workshop 14-16 June 2006 - San Domenico di Fiesole (Florence - Italy) Andrea Marchetti, Isabela Martins Garcia Leite, Maurizio Tesconi, Salvatore Minutoli. Overview.

libba
Download Presentation

V Legislative XML Workshop 14-16 June 2006 - San Domenico di Fiesole (Florence - Italy)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Using XML technologies for modeling and searching legislative acts. A case study: managing brazilian acts. V Legislative XML Workshop14-16 June 2006 - San Domenico di Fiesole (Florence - Italy) Andrea Marchetti, Isabela Martins Garcia Leite, Maurizio Tesconi, Salvatore Minutoli

  2. Overview • A schema for Brazilian legislative acts • from a thesis of Isabela Martins Garcia Leite • Presentations of XML technologies for modelling, trasforming and searching • with a demo

  3. I regret but • Thinking in italian • Speaking in english • Reading in portuguese Chaos

  4. Brazilian schema • Thesis realized in 2002/2003 • Is it necessary some updating? • Drafting Rules from 3 sources • Lei Complementar 95/1998 • Decreto n. 4.176/2002 • Manual de redação da Presidência da República • Influence of NIR experience

  5. Lei Complementar 95/1998 • Main source for drafting rules • It defines the rules of: • authoring (formal, formatting, functional) • alteration • consolidation • For the following kind of acts • Emenda à Constituição, • Lei Complementar, • Lei Ordinária, • Decreto Legislativo, • Lei Delegada • Medida Provisória • Decreto • os atos de regulamentação expedidos pelos orgãos do Executivo Federal

  6. Formal structure of Brazilian Law Preliminar Normativa Final

  7. The “Preliminar” Part epigrafe ementa preambulo objectoAmbitoDeAplicacao

  8. The “normativa” part artigo numero caput paragrafoUnico numero caput artigo

  9. The “normativa” part • Organization of “artigo” elements Brazilian schema Italian schema

  10. The “final” part vigencia lugar, data, anoDaIndipendencia, anoDaRepubblica fecho assinatura

  11. Schema

  12. Schema • A light schema (only 40 elements) • Adoption of the drafting rules strictly • We will study the markup for managing law alteration

  13. Formatting ruleslei Complementar 95/1998 • parte, livro, titulo, capitulo uppercase name + roman number (parti espresse in numerale ordinale per esteso ???). • seçao, subseçao lowercase bold name + roman numbers

  14. Formatting Ruleslei Complementar 95/1998 • artigo abbreviation “Art.”, + ordinal number until 9th and cardinal number from 10th

  15. Formatting Ruleslei Complementar 95/1998 • paragrafo graphic symbol “§”, + ordinal number untill 9 and cardinal number from 9. When there is only one paragraph it is used the expression “paragrafo unico”

  16. Formatting Ruleslei Complementar 95/1998 • Inciso roman numbers. • Alinea small letter . • Iten arabic number

  17. Functional ruleslei Complementar 95/1998 • Clearness • popular words/expressions, short sentences, use the same tense especially present and future tense, avoiding stylistic excesses • Preciseness • use the same words to express keywords, avoid synonims and ambigous words, avoid regional expressions, no acronyms, … • Logical Order • only sentences regarding the object of the law • Alteration • to insert a new artigo you must repeat the number plus a capital letter • ex Art. 2°-A.

  18. II Part • Demo of XML Tools and Technologies

  19. XQuery • Mix of SQL + XPATH + Text retrivial functions • XQuery allows to use functions such as near, match into the range of XML elements selected with xpath espressions. • FLOWR expression • FOR $act in //norma • LET $epigrafe:=$act//epigrafe • ORDER BY $epigrafe//numero • WHERE $epigrafe//numero > ‘10.000’ • RETURN $act

  20. XML Native Database • XML for legislative acts. And Now? • Looking for Native XML databases http://www.rpbourret.com/xml/ProdsNative.htm • eXist

  21. eXist • eXist exist.sourceforge.net/ • open source • XQuery 1.0 support • W3C Candidate Recommendation 8 June 2006 • http://www.w3.org/XML/Query/ • demo of eXist/XQuery capabilities

More Related