16
World e-Parliament Conference 2016 #eParliament 28-30 June 2016 // Chamber of Deputies of Chile // Valparaiso Connecting data and document Hungarian National Assembly

Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Embed Size (px)

Citation preview

Page 1: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

World e-Parliament Conference 2016#eParliament28-30 June 2016 // Chamber of Deputies of Chile // Valparaiso

Connecting data and documentHungarian National Assembly

Page 2: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Mr. Tóth János– Head of IT internal development and customer

services

Page 3: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Parliamentary worklow

Page 4: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Legislative Documents

Proposal Proposed amendment Comittee decisions, minutes Agenda Voting result Unified proposal Verbatim report

Page 5: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Meta data Type of document

– And its connected documents Initiator, author Events

– Type of event (filling in, debate, decisions)– Time of event

Text– Original scanned version (non-editable OCR pdf)– Editable Word document– Something else

Page 6: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Supporting document Scheduling calendar

– deadlines Invitations Cover letters Explanations and expert opinions

Page 7: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

RDBS or XML

Page 8: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Software elements Internal developed PL/SQL functions, how

to print static/dynamics columname, rownames, cells)– Tableprint– Tablerowprint– Matrixprint

Apache projects (XML, Graphics)– XALAN: XML to HTML– FOP: XML to PDF (PS, PCL, PNG, etc)

Page 9: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Sample matrixprint

Question addressed to

Ruling parties Opposition Independent TotalParty

1 Party2 Total Party3 Party4 Party5 Total

Prime Minister     0 7 11 5 16 1 17

Minister of Internal Affairs

14 1 15 17 25 12 37   52

Minister of Justice 3   3 2 9 1 10   13

Minister of Defense 6   6 10 4   4   10

Minister of Foreign Affaris

7 1 8 6 15 2 17 1 26

Minister of Finance 6 2 8 12 11 4 15 1 24

Total 36 4 40 54 75 24 99 3 142

Page 10: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

RDBS vs. XML

Relational Database Systems Static Schema Any relationship Set-oriented-order unimportant Ready to use after query

XML Self-describing Volatile schema

„Human readable”

Hierarchical Sequence-oriented-order

important It must parse before use Null data problems

Page 11: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

RDBS vs. XML

RDBS Better for

– Handling large volumens of data in the same system

– When downstream processing of data is relational (data warehouse, olap, statistics, data-visualisation)

– When the highest possible performance is required

– Fast transactions, when lot of users working on the same data

– Naturally tabular data

XML Better for

– Low-volume data is highly structured

– Machine to machne communication

• web-services, API• Component of distributed

systems

– Content Management System

– Easy to design

Page 12: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Hungarian explaples RDBS (Oracle 12c):

– Store all the metadata of documents, events etc.– Controlling the legislation workflow

XML– Store for MP’s declaration of property– Interface beetween internal and external systems

• MP’s allowances provided by the finance system• Open-data WEB-API interface on the website

– Mobil applications

Page 13: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

WEB-API extension

Page 14: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Summary RDBS vs. XML

– No winner– Complementary to each other– Always depends from the queries

What about others?– MongoDB– JSON

Page 15: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

Bibliograpy

http://www.rpbourret.com/xml/XMLAndDatabases.htm http://xml.coverpages.org/IBM-XML-GC34-2497.pdf http://www.room4me.com/index.php?

option=com_content&view=article&id=8:xmlvsdb&catid=2:technology http://c2.com/cgi/wiki?AlternativesToXml

Page 16: Day 1: Legislative document management, Mr. János Tóth, Head of IT Department, Parliament, Hungary

THANK YOU!

[email protected]