Towards a Decentralized, Trusted, Intelligent and Linked Public - - PowerPoint PPT Presentation

towards a decentralized trusted intelligent and linked
SMART_READER_LITE
LIVE PREVIEW

Towards a Decentralized, Trusted, Intelligent and Linked Public - - PowerPoint PPT Presentation

Towards a Decentralized, Trusted, Intelligent and Linked Public Sector: A Report from the Greek Trenches* Themis Beris, Iosif Angelidis , Ilias Chalkidis, Charalampos Nikolaou, Christos Papaloukas, Panagiotis Soursos and Manolis Koubarakis


slide-1
SLIDE 1

Towards a Decentralized, Trusted, Intelligent and Linked Public Sector: A Report from the Greek Trenches*

Themis Beris, Iosif Angelidis, Ilias Chalkidis, Charalampos Nikolaou, Christos Papaloukas, Panagiotis Soursos and Manolis Koubarakis

LDOW/LDDL Workshop, WWW Conference, May 13, 2019 San Francisco, California *These slides are available under a non-commercial license. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/.

slide-2
SLIDE 2

Motivation - Nomothesi@

National Printing House of Greece

Nomothesi@

Legal Experts Ordinary Citizens Greek Government Public Authorities

+ +

slide-3
SLIDE 3

Pipeline - Nomothesi@

ET.gr Crawler Nomothesia G3 Parser & Compiler Nomothesia Preprocessor Nomothesia EU Directive Linker Nomothesia Codification Parser Nomothesia RESTful API Nomothesia EndPoint

DATA PREPROCESSING INFORMATION EXTRACTION PUBLIC SERVICES

Nomothesia NERL

slide-4
SLIDE 4

Ontology - Nomothesi@ (ELI)

Persistent URI: http://legislation.di.uoa.gr/eli/{typeoflegislation}/{year}/{id}

slide-5
SLIDE 5

Ontology - Nomothesi@ (Entities)

rdfs:label

LegalResourceSubdivision Reference

nomothesia: starts / ends

xsd:int

nomothesia: has_reference

Thing

eli:relevant_for

Person LegalResource

nomothesia: eli: gag: AdministrativeUnit dbpedia:

Geographical Landmark

PERSON LEGISLATION REFERENCE GEOPOLITICAL ENTITY GEOGRAPHICAL LANDMARK

xsd:string Geographical Landmark

rdfs:label

xsd:string Administrative Unit

gag:belongs_to

Farm Beach

landmarks: gag: Local District

Hairpin Turns Area Local Road Road Agricultural Area Coastal Area Marine Area Highway Road Forest Area

Islet Peninsula

LegalResourceSubdivision Reference

nomothesia:has_reference eli:relevant_for

Persistent URI: http://legislation.di.uoa.gr/entity/{typeofentity}/{id}

slide-6
SLIDE 6

Diavgeia: The Greek Transparency portal (current state)

Public Authorities (Ministries, Court System, Independent Authorities, etc.)

Diavgeia

+ +

Journalists Ordinary Citizens Greek Government Public Authorities

slide-7
SLIDE 7

Four problems of the current implementation

1. The decisions are PDF files which follow no structuring

  • f their textual content → Keyword search

2. The decisions also make references to the Greek legislation → How can we be sure that the decisions are taken according to the law (i.e. that legislative references exist)? 3. Possible Metadata – Text Document inconsistency 4. No integrity mechanism which ensures the immutability

  • f all decisions over time
slide-8
SLIDE 8

Our motivation is simple:

Diavgeia Redefined A reengineering of Diavgeia to solve these problems, using Semantic Web Technologies and Permissionless Blockchains

slide-9
SLIDE 9

Contributions

  • Semantic Web Tools

○ Diavgeia Ontology

(models the decisions of Diavgeia)

○ Web Editor and Visualizer

(author and visualize the RDF decisions)

○ SPARQL endpoint

(interested parties pose interesting queries)

  • Blockchain tools

○ Stamper

(stores decisions expressed in RDF on Bitcoin blockchain)

○ Consistency Verifier

(verifies the immutability of the decisions)

slide-10
SLIDE 10

The decisions follow a common pattern:

Appointment of R.F. as Full Professor

In accordance with: 1. The provisions of Law 3549/2007, article 25, paragraph 1. 2. The provisions of Presidential Decree 2011/54. 3. The provisions of Law 4386/2016, article 70, paragraph 4. We decide:

  • 1. The appointment of R.F. as Full Professor at the X department, at the Y

university, on the subject of “Semantic Web”.

The decision is also assigned a unique Internet Uploading Number (IUN) and Version token that are its identifiers. Appointment is 1 out of 34 different decision types that a public authority may upload on the transparency portal.

slide-11
SLIDE 11

DiavgeiaRedefined Ontology

Persistent URI: http://www.diavgeia.gov.gr/eli/{iun}/{version} 121 different properties to cover all the particularities of different decision types.

slide-12
SLIDE 12

Web Editor: A tool to author the decisions

  • This tool is used exclusively by the public sector authorities.
  • The Web Editor is a well-structured HTML form that authorities

use to write online their decisions → The entities of the HTML form are mappings to the properties of the Diavgeia ontology.

  • Upon the form submission, the decision is stored both as a

compressed Notation3 file in the filesystem of Diavgeia and in Jena Apache’s triple store.

  • Interlinking with other public sector datasets

(Nomothesia and administrative geography dataset of Greece).

slide-13
SLIDE 13

Decisions are now 5-star open linked data

slide-14
SLIDE 14

Visualizer

  • This tool is used both by the public sector authorities and

citizens.

  • Provides a visualization of the RDF decisions inside a Web

browser → The entities of the RDF decisions are mappings to HTML entities.

slide-15
SLIDE 15

Stamper: The tool towards decentralization

Centralized Network

  • f DiavgeiaRedefined

Diavgeia Redefined

  • 1. Public authorities upload

their decisions

  • 2. Start of

Stamping

Decision 2 Decision n-1 Decision n

SHA2(#1) SHA2(#2) SHA2(#n-1) SHA2(#n)

SHA2(SHA2(#1)+SHA2(#2))

SHA2(SHA2(#n-1)+SHA2(#n))

Merkle Root

  • 3. Merkle Tree

Construction

  • 4. Bitcoin

transaction (OP_RETURN)

Decision 1

slide-16
SLIDE 16

Stamping data published on Diavgeia

After the end of each stamping transaction:

  • The order of the decisions, as used on the Merkle Tree

construction. It is also published once:

  • The Master Public Key of the Bitcoin Wallet of Diavgeia.
slide-17
SLIDE 17

Experimental results: Consistency Verifier

Setup Data

  • Synthetic compressed

Notation3 decisions Simulation

  • Verify the consistency in

a month’s common workload (22 days)

  • 3 datasets (8, 16 and

24 thousand decisions per day) Test Environment

  • Macbook Pro

with 2.9GHz i5, 8GB RAM

slide-18
SLIDE 18

Experimental results: Disk Space reduction

Diavgeia currently hosts over 26 million PDF-decisions.

  • Disk space limitations.

Sample consisting of equivalent PDF and compressed Notation3 files.

  • Compressed Notation3 files → x86 disk space reduction.
slide-19
SLIDE 19

Diavgeia Redefined in a nutshell

Web Editor

Diavgeia Redefined

S t a m p e r Diavgeia Ontology Visualizer Consistency Verifier Semantic Queries

slide-20
SLIDE 20

Lessons Learned (socially)

  • Bringing new technologies to the public sector in

Greece is very difficult.

  • Keep working on systems which positively disrupt the

public sector.

  • Knowledge about Semantic Web technologies makes

the public more supportive.

  • Teaching postgrads Semantic Web and Linked data

technologies could be beneficial.

  • Collaborate with researchers from other disciplines to

improve the lives of citizens.

slide-21
SLIDE 21

Future Work

Nomothesia

  • Implementation of QA systems, chatbots.
  • Make Nomothesia more robust (NLP technologies)

and augment the corpus of docs.

  • Interlink with more third-party datasets, extend
  • ntology.

DiavgeiaRedefined

  • Use other underlying blockchain technologies

(e.g., Ethereum). ○ Transaction cost

  • Full verification procedure to ensure the data integrity
  • f the SPARQL endpoint.
slide-22
SLIDE 22

Thanks!

Any questions?

http:/ /pyravlos-vm5.di.uoa.gr/diavgeia http:/ /legislation.di.uoa.gr

Diavgeia Redefined