SlideShare a Scribd company logo
1 of 34
Hellenic Open University

School of Science and Technology

Master’s in Information Systems MSc

Master Thesis

Using semantic web technology for e-Government: e-Trust and e-Participation Issues

Eirini K. Voutskoglou

Supervisor: Dr. Christos K. Georgiadis, Assistant Professor
University of Macedonia
Dept. of Applied Informatics

Patras
September 2013

1
That’s a variation of my Master Thesis presentation
Edited to be published on web.
E.V.

2
Contents

1. E-Participation - Deliberations
2. Ontologies- D2rq Server/Language
3. E-Trust– Web Of Trust
4. Veracity Model – Veracity ontology
5. Implementations

3
E-Participation
e-Deliberation

E- Information

E-Consultation

E-Decision Making


Poll

Poll

Survey

Survey
Taxonomies

Forum

Doc

Taxonomies



Forum

Tags


Web 2.0

Doc


Tags

4
D2RQ Server
“Unruly data”

Deliberation
Phase

D2RQ Language

Web 2.0
tools

Non-RDF
Database

D2RQ
Mapping
File

D2R
Server

RDF
Browsers
Ontologies

SPARQL
Clients
HTML
Browsers

Transform -> Connect -> Publish

5
Ontologies
“The tyranny of conformance”
or else “Don’t agonize. Organize”

Deliberation
Phase

Web 2.0
tools

Non-RDF
Database

D2RQ
Language

D2RQ
Mapping File

Vocabularies

Ontologies

Owl:Class

Instances
FOAF
SIOC
Owl:Restriction

Owl:DatatypeProperty

SCOT
DCMI

Owl:ObjectProperty

Web 3.0

6
e-Trust
1

A

?

OpenPGP (PGP/MIME)

B

2

7



+Fingerprint

4

5

3

6

On web 2.o we know
how that works

A

A

Sign certificate

OpenPGP

OpenPGP

B

B

Sign certificate
C

Sign certificate

D

A

OpenPGP

OpenPGP

C
B

D

OpenPGP

B

A

On web 3.o we need
correlations and a
record of these
correlations

C

Web Of Trust

7
Ontology Web Of Trust
[WOT]

Detached
Signature
Certificate
Α
Encrypter

Encrypt
Sign

RDF
File

Endorsement
EncryptedDocument

Certificate
B
signer

Encrypted
RDF File

B Signs A

WOT
RDF
File
8
Veracity

I’ve slightly changed
this Veracity ontology
In order to have
Public Certificates +
Detached Signatures

Trust? - Sign & Prove.

9
Implementations

10
Implementation 1 – e-Participation platform [Liferay 6.1.0]
Authentication



11
OpenLDAP & Liferay

12
Server administration – Mail
C:myportalliferay-portal-6.1.0-ce-ga1tomcat7.0.23confCatalinalocalhost
ROOT.xml

13
No Categories for Message Board portlet? Add a line.
C:myportalliferay-portal-6.1.0-ce-ga1tomcat-7.0.23webappsROOThtmlportletmessage_boards

14
Implementation 1 – e-Participation platform

Suggested
deliberation
Topics

Authentication


Deliberation
Community

Roles


Permissions

Voting for
deliberation
Domain

Domain taxonomy
for users to use as
tags

Forum

Document
library

Survey/
Statistics

FAQ
[Knowledge
Base portlet]

15
KnowledgeBase portlet – Add Sections
C:myportalliferay-portal-6.1.0-ce-ga1tomcat-7.0.23webappsknowledge-base-portletWEB-INFsrc

C:myportalliferay-portal-6.1.0-ce-ga1tomcat-7.0.23webapps
knowledge-base-portletWEB-INFclasses

Redeploy!

16
Implementation 1 – Developing eParticipation ontology
Deliberation
Phase

Web 2.0
tools

Non-RDF
Database

D2RQ
Language

D2RQ
Mapping
File

eParticipation ontologies
ontology

D2R
Server

“Class” it!
Deliberation
Phase

Re-Use Vocabularies -> Develop

17
Implementation 1 – Editing D2RQ mapping file

Generate D2RQ mapping file
generate-mapping -o mapping.ttl (-d driver.class.name) -u db-user -p db-password
jdbc:mysql://localhost:3306/db_name

Edit D2RQ mapping file
<> a d2r:Server;
rdfs:label "D2R Server";
d2r:baseURI <http://localhost:2020/>;
d2r:port 2020;
d2r:documentMetadata [
rdfs:comment "custom metadata";
];
.
map:database a d2rq:Database;
d2rq:jdbcDriver "com.mysql.jdbc.Driver";
d2rq:jdbcDSN
"jdbc:mysql://127.0.0.1:3306/db_lportal610";
d2rq:username "voutskoglou";
d2rq:password “pass*****";
jdbc:autoReconnect "true";
jdbc:zeroDateTimeBehavior "convertToNull";
.
18
Implementation 1 - D2rq language

Edit D2RQ mapping file re-using vocabularies and ontologies
map:Participation a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "group/@@group_.groupId@@";
d2rq:class epart:Participation;
d2rq:classDefinitionLabel "Participation";
d2rq:condition "group_.type_ = 2";
d2rq:additionalClassDefinitionProperty map:participationSubClassOf;
.
map:participationSubClassOf a d2rq:PropertyBridge;
d2rq:propertyName rdfs:subClassOf;
d2rq:propertyValue sioc:Space;
.

19
SQL Expressions u may need

d2rq:sqlExpression "SHA1(CONCAT('mailto:', user_.emailAddress))";

d2rq:sqlExpression "ExtractValue(pollsquestion.title, '/root/Title')";

d2rq:sqlExpression "SELECT REPLACE(REPLACE(REPLACE(kbarticle.content
,'<p>',' '),'</p>',' '),'&nbsp;',' ')";

d2rq:sqlExpression "SELECT TRIM(BOTH '_' FROM kbarticle.sections)";

20
Implementation 1 – Publishing data in D2r Server
Start the D2R Server
d2r-server mapping.ttl

21
Implementation 2 - WOT RDF file

D2RQ mapping
file

D2rq command dump-rdf

RDF Data

Sign & Encrypt

Encrypted
RDF File
Detached
Signature

<EncryptedDocument
rdf:about="http://www.example.com/myfiles/myportal_encrypted.rdf.asc">
<dc:title>MyPortal RDF Data Encrypted</dc:title>
<encryptedTo rdf:nodeID="KeyB"/>
<encrypter rdf:nodeID="KeyA"/>
</EncryptedDocument>

Tip: U will need <foaf:mbox_sha1sum>. Grab it from the d2rq published data!

22
Implementation 3 – Evaluating a [e-government] project with Veracity Model

Folder
Proposition

Folder Role
Trusted
Authority

Folder Role
Contextual
Knowledge

Folder Role
Reference
Knowledge

Permissions for Access

23
Implementation 3 – Evaluating a [e-government] project with Veracity Model


Trusted
Authority

Trusted

Confidence


Contextual
Knowledge

Trusted

Participation

Knowledge Proof

Trusted

Participation

Knowledge Proof
- Reference


Reference
Knowledge

Use Permissions for the taxonomy or the categories or the subcategories!

24
Implementation 3 – Roles and Files per Folder
Folder
Proposition

Folder Role
Contextual
Knowledge

Personal Folder
Role Contextual
Knowledge

25
Implementation 3 - Editing D2RQ mapping file

map:Trustworthiness a d2rq:ClassMap;
d2rq:dataStorage map:database;
d2rq:uriPattern "trustworthiness/@@assetcategory.categoryId@@";
d2rq:class mvo:Trustworthiness;
d2rq:condition "assetcategory.vocabularyId=12961";
.
map:trustworthiness_true a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:Trustworthiness;
d2rq:property mvo:trusted;
d2rq:pattern "1";
d2rq:condition "assetcategory.name='True'";
d2rq:datatype xsd:boolean;
.

map:directassertion_asserting a d2rq:PropertyBridge;
d2rq:belongsToClassMap map:DirectKnowledgeProofAssertion;
d2rq:property mvo:is_proofOf;
d2rq:refersToClassMap map:Trustworthiness;
d2rq:join "dlfileentry.fileEntryId = assetentry.classPK";
d2rq:join "assetentry.entryId = assetentries_assetcategories.entryId";
d2rq:join "assetentries_assetcategories.categoryId = assetcategory.categoryId";
.
26
Implementation 3 - Publishing data in D2r Server

27
Implementation 3 – Classes and Instances in D2r Server
This Class has been created collecting data from different folders.

An interesting Property has been created through the characteristic of a digital
certificate being signed or not.
28
The best way to test your d2rq mapping and ontologies
Is by creating Sparql queries.
Lots of Sparql queries!
I’m still making changes in my d2rq files and in my
ontologies every time I need specific characteristics for a
certain purpose.

29
About Liferay


-

I tested three different installations:
Bundled with Tomcat
Unbundled as root webapp
Unbundled as non root webapp

 I chose the first one. Couldn’t use an extra survey portlet though, something I
could use in the other two options.
 Web Form portlet is nice but I couldn’t find a way to connect one’s data with a
different community site. May be it was there and I just couldn’t see it..

• I also tested Liferay 6.1.1 but I chose to use Liferay 6.1.0 because of some Greek
language problems.
• If u need Sesame, then u’d like to know that it works fine in a Bundled Liferay.
• Dynamic Data portlet is really great although I didn’t use it in the end.
• If u ask me “Is Liferay unstable?” I will answer “..PEBCAK” 

30
About eGoverment

Ask not what technology can do for your government
But
How your government can and WANT to use technology.

Stop creating hundreds of eGov portals.
It’s a mess!

Do your citizens a favor.
EDUCATE them on how to use e-services.

31
Tools

liferay-portal-6.1.0-ce-ga1 bundled with tomcat-7.0.23
Portlets: Sign in, My Sites, Poll, Message Board, Document Library, Knowledge Base [edited to
include Sections], Asset Publisher, Nested portlet
Also used: Categories, Tags
http://www.liferay.com/
MySQL Server 5.5
MySQL Workbench 5.2 CE
http://www.mysql.com/
OpenLDAP Server
Jxplorer
http://www.openldap.org
http://jxplorer.org/
D2RQ Server 0.8.1
http://d2rq.org/
GPG4win
http://www.gpg4win.org/
Protégé 4.2 beta
http://protege.stanford.edu/
32
Ontologies/Vocabularies Studied

WOT http://xmlns.com/wot/0.1/
Veracity http://socsem.open.ac.uk/ontologies/veracity/#
FOAF http://xmlns.com/foaf/spec/
SIOC http://rdfs.org/sioc/ns#
SIOC Types http://rdfs.org/sioc/types
SCOT http://scot-project.net/scot/spec/scot.html
TAG http://www.holygoat.co.uk/projects/tags/
MOAT http://moat-project.org/
SKOS http://www.w3.org/2004/02/skos/core
DCMI http://dublincore.org/documents/dcmi-terms/
GI2MO http://www.gi2mo.org/0.4/ns.html
IBIS http://otago.ourarchive.ac.nz/bitstream/handle/10523/1086/dp2009-06.pdf

33
Thank u

34

More Related Content

Similar to Using semantic web technology for e-Government: e-Trust and e-Participation Issues

Web Services: Encapsulation, Reusability, and Simplicity
Web Services: Encapsulation, Reusability, and SimplicityWeb Services: Encapsulation, Reusability, and Simplicity
Web Services: Encapsulation, Reusability, and Simplicity
hannonhill
 
Data Con LA 2022 - Open Source Large Knowledge Graph Factory
Data Con LA 2022 - Open Source Large Knowledge Graph FactoryData Con LA 2022 - Open Source Large Knowledge Graph Factory
Data Con LA 2022 - Open Source Large Knowledge Graph Factory
Data Con LA
 

Similar to Using semantic web technology for e-Government: e-Trust and e-Participation Issues (20)

Web Services: Encapsulation, Reusability, and Simplicity
Web Services: Encapsulation, Reusability, and SimplicityWeb Services: Encapsulation, Reusability, and Simplicity
Web Services: Encapsulation, Reusability, and Simplicity
 
DMPTool Webinar 11: Complementary Tools
DMPTool Webinar 11: Complementary ToolsDMPTool Webinar 11: Complementary Tools
DMPTool Webinar 11: Complementary Tools
 
Sem tech 2011 v8
Sem tech 2011 v8Sem tech 2011 v8
Sem tech 2011 v8
 
Linked Data: opportunities and challenges
Linked Data: opportunities and challengesLinked Data: opportunities and challenges
Linked Data: opportunities and challenges
 
Rails and alternative ORMs
Rails and alternative ORMsRails and alternative ORMs
Rails and alternative ORMs
 
Tiny Batches, in the wine: Shiny New Bits in Spark Streaming
Tiny Batches, in the wine: Shiny New Bits in Spark StreamingTiny Batches, in the wine: Shiny New Bits in Spark Streaming
Tiny Batches, in the wine: Shiny New Bits in Spark Streaming
 
Spatial ETL For Web Services-Based Data Sharing
Spatial ETL For Web Services-Based Data SharingSpatial ETL For Web Services-Based Data Sharing
Spatial ETL For Web Services-Based Data Sharing
 
Building Science Gateways with Gadgets and OpenSocial
Building Science Gateways with Gadgets and OpenSocialBuilding Science Gateways with Gadgets and OpenSocial
Building Science Gateways with Gadgets and OpenSocial
 
Apache Kafka and the Data Mesh | Ben Stopford and Michael Noll, Confluent
Apache Kafka and the Data Mesh | Ben Stopford and Michael Noll, ConfluentApache Kafka and the Data Mesh | Ben Stopford and Michael Noll, Confluent
Apache Kafka and the Data Mesh | Ben Stopford and Michael Noll, Confluent
 
Deductive Databases
Deductive DatabasesDeductive Databases
Deductive Databases
 
Slim Baltagi – Flink vs. Spark
Slim Baltagi – Flink vs. SparkSlim Baltagi – Flink vs. Spark
Slim Baltagi – Flink vs. Spark
 
Flink vs. Spark
Flink vs. SparkFlink vs. Spark
Flink vs. Spark
 
Toward a Mobile Data Commons
Toward a Mobile Data CommonsToward a Mobile Data Commons
Toward a Mobile Data Commons
 
10g sql e book
10g sql e book10g sql e book
10g sql e book
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic Web
 
Enabling Data centric Teams
Enabling Data centric TeamsEnabling Data centric Teams
Enabling Data centric Teams
 
Data Con LA 2022 - Open Source Large Knowledge Graph Factory
Data Con LA 2022 - Open Source Large Knowledge Graph FactoryData Con LA 2022 - Open Source Large Knowledge Graph Factory
Data Con LA 2022 - Open Source Large Knowledge Graph Factory
 
There's no magic... until you talk about databases
 There's no magic... until you talk about databases There's no magic... until you talk about databases
There's no magic... until you talk about databases
 
OGCE TeraGrid 2010 Science Gateway Tutorial Intro
OGCE TeraGrid 2010 Science Gateway Tutorial IntroOGCE TeraGrid 2010 Science Gateway Tutorial Intro
OGCE TeraGrid 2010 Science Gateway Tutorial Intro
 
Building Secure Open & Distributed Social Networks
Building Secure Open & Distributed Social NetworksBuilding Secure Open & Distributed Social Networks
Building Secure Open & Distributed Social Networks
 

More from Eirini Voutskoglou

Ηλεκτρονική συνταγογράφηση
Ηλεκτρονική συνταγογράφησηΗλεκτρονική συνταγογράφηση
Ηλεκτρονική συνταγογράφηση
Eirini Voutskoglou
 

More from Eirini Voutskoglou (18)

Μαθηματικά: Εκπαίδευση Προσφύγων 2016 - 2017
Μαθηματικά: Εκπαίδευση Προσφύγων 2016 - 2017Μαθηματικά: Εκπαίδευση Προσφύγων 2016 - 2017
Μαθηματικά: Εκπαίδευση Προσφύγων 2016 - 2017
 
ΤΑ ΔΙΑΔΙΚΤΥΑ ΜΑΣ [ΠΕΡΙΕΧΟΜΕΝΑ]
ΤΑ ΔΙΑΔΙΚΤΥΑ ΜΑΣ [ΠΕΡΙΕΧΟΜΕΝΑ]ΤΑ ΔΙΑΔΙΚΤΥΑ ΜΑΣ [ΠΕΡΙΕΧΟΜΕΝΑ]
ΤΑ ΔΙΑΔΙΚΤΥΑ ΜΑΣ [ΠΕΡΙΕΧΟΜΕΝΑ]
 
[Νέοι] και Άνεργοι στα Social Media
[Νέοι] και Άνεργοι στα Social Media[Νέοι] και Άνεργοι στα Social Media
[Νέοι] και Άνεργοι στα Social Media
 
Προκλήσεις κ Επεκτάσεις στην αξιοποίηση των Κοινωνικών Δικτύων για την Πληροφ...
Προκλήσεις κ Επεκτάσεις στην αξιοποίηση των Κοινωνικών Δικτύων για την Πληροφ...Προκλήσεις κ Επεκτάσεις στην αξιοποίηση των Κοινωνικών Δικτύων για την Πληροφ...
Προκλήσεις κ Επεκτάσεις στην αξιοποίηση των Κοινωνικών Δικτύων για την Πληροφ...
 
Ψηφιακή υπογραφή και Κρυπτογράφηση αρχείου με Gpg4win
Ψηφιακή υπογραφή και Κρυπτογράφηση αρχείου με Gpg4winΨηφιακή υπογραφή και Κρυπτογράφηση αρχείου με Gpg4win
Ψηφιακή υπογραφή και Κρυπτογράφηση αρχείου με Gpg4win
 
Cyber Security - Greece
Cyber Security - GreeceCyber Security - Greece
Cyber Security - Greece
 
Ηλεκτρονική Διακυβέρνηση
Ηλεκτρονική ΔιακυβέρνησηΗλεκτρονική Διακυβέρνηση
Ηλεκτρονική Διακυβέρνηση
 
Social media
Social mediaSocial media
Social media
 
Συζητήστε με το παιδί για το διαδίκτυο
Συζητήστε με το παιδί για το διαδίκτυοΣυζητήστε με το παιδί για το διαδίκτυο
Συζητήστε με το παιδί για το διαδίκτυο
 
Διαδίκτυο και Παιδιά
Διαδίκτυο και ΠαιδιάΔιαδίκτυο και Παιδιά
Διαδίκτυο και Παιδιά
 
Ηλεκτρονική συμμετοχή και Αξιολόγηση Περιεχομένου Γνώσης με επεκτάσεις στον σ...
Ηλεκτρονική συμμετοχή και Αξιολόγηση Περιεχομένου Γνώσης με επεκτάσεις στον σ...Ηλεκτρονική συμμετοχή και Αξιολόγηση Περιεχομένου Γνώσης με επεκτάσεις στον σ...
Ηλεκτρονική συμμετοχή και Αξιολόγηση Περιεχομένου Γνώσης με επεκτάσεις στον σ...
 
Κοινωνικά Δίκτυα
Κοινωνικά ΔίκτυαΚοινωνικά Δίκτυα
Κοινωνικά Δίκτυα
 
Το διαδίκτυο ως μέρος της καθημερινότητας μας
Το διαδίκτυο ως μέρος της καθημερινότητας μαςΤο διαδίκτυο ως μέρος της καθημερινότητας μας
Το διαδίκτυο ως μέρος της καθημερινότητας μας
 
Ηλεκτρονική συνταγογράφηση
Ηλεκτρονική συνταγογράφησηΗλεκτρονική συνταγογράφηση
Ηλεκτρονική συνταγογράφηση
 
About divcast
About divcastAbout divcast
About divcast
 
Social new media guide iii
Social new media guide iiiSocial new media guide iii
Social new media guide iii
 
User Generated Content [mostly Greek]
User Generated Content [mostly Greek]User Generated Content [mostly Greek]
User Generated Content [mostly Greek]
 
Social New Media Guide I
Social New Media Guide ISocial New Media Guide I
Social New Media Guide I
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 

Using semantic web technology for e-Government: e-Trust and e-Participation Issues

  • 1. Hellenic Open University School of Science and Technology Master’s in Information Systems MSc Master Thesis Using semantic web technology for e-Government: e-Trust and e-Participation Issues Eirini K. Voutskoglou Supervisor: Dr. Christos K. Georgiadis, Assistant Professor University of Macedonia Dept. of Applied Informatics Patras September 2013 1
  • 2. That’s a variation of my Master Thesis presentation Edited to be published on web. E.V. 2
  • 3. Contents 1. E-Participation - Deliberations 2. Ontologies- D2rq Server/Language 3. E-Trust– Web Of Trust 4. Veracity Model – Veracity ontology 5. Implementations 3
  • 5. D2RQ Server “Unruly data” Deliberation Phase D2RQ Language Web 2.0 tools Non-RDF Database D2RQ Mapping File D2R Server RDF Browsers Ontologies SPARQL Clients HTML Browsers Transform -> Connect -> Publish 5
  • 6. Ontologies “The tyranny of conformance” or else “Don’t agonize. Organize” Deliberation Phase Web 2.0 tools Non-RDF Database D2RQ Language D2RQ Mapping File Vocabularies Ontologies Owl:Class Instances FOAF SIOC Owl:Restriction Owl:DatatypeProperty SCOT DCMI Owl:ObjectProperty Web 3.0 6
  • 7. e-Trust 1 A ? OpenPGP (PGP/MIME) B 2 7  +Fingerprint 4 5 3 6 On web 2.o we know how that works A A Sign certificate OpenPGP OpenPGP B B Sign certificate C Sign certificate D A OpenPGP OpenPGP C B D OpenPGP B A On web 3.o we need correlations and a record of these correlations C Web Of Trust 7
  • 8. Ontology Web Of Trust [WOT] Detached Signature Certificate Α Encrypter Encrypt Sign RDF File Endorsement EncryptedDocument Certificate B signer Encrypted RDF File B Signs A WOT RDF File 8
  • 9. Veracity I’ve slightly changed this Veracity ontology In order to have Public Certificates + Detached Signatures Trust? - Sign & Prove. 9
  • 11. Implementation 1 – e-Participation platform [Liferay 6.1.0] Authentication  11
  • 13. Server administration – Mail C:myportalliferay-portal-6.1.0-ce-ga1tomcat7.0.23confCatalinalocalhost ROOT.xml 13
  • 14. No Categories for Message Board portlet? Add a line. C:myportalliferay-portal-6.1.0-ce-ga1tomcat-7.0.23webappsROOThtmlportletmessage_boards 14
  • 15. Implementation 1 – e-Participation platform Suggested deliberation Topics Authentication  Deliberation Community Roles  Permissions Voting for deliberation Domain Domain taxonomy for users to use as tags Forum Document library Survey/ Statistics FAQ [Knowledge Base portlet] 15
  • 16. KnowledgeBase portlet – Add Sections C:myportalliferay-portal-6.1.0-ce-ga1tomcat-7.0.23webappsknowledge-base-portletWEB-INFsrc C:myportalliferay-portal-6.1.0-ce-ga1tomcat-7.0.23webapps knowledge-base-portletWEB-INFclasses Redeploy! 16
  • 17. Implementation 1 – Developing eParticipation ontology Deliberation Phase Web 2.0 tools Non-RDF Database D2RQ Language D2RQ Mapping File eParticipation ontologies ontology D2R Server “Class” it! Deliberation Phase Re-Use Vocabularies -> Develop 17
  • 18. Implementation 1 – Editing D2RQ mapping file Generate D2RQ mapping file generate-mapping -o mapping.ttl (-d driver.class.name) -u db-user -p db-password jdbc:mysql://localhost:3306/db_name Edit D2RQ mapping file <> a d2r:Server; rdfs:label "D2R Server"; d2r:baseURI <http://localhost:2020/>; d2r:port 2020; d2r:documentMetadata [ rdfs:comment "custom metadata"; ]; . map:database a d2rq:Database; d2rq:jdbcDriver "com.mysql.jdbc.Driver"; d2rq:jdbcDSN "jdbc:mysql://127.0.0.1:3306/db_lportal610"; d2rq:username "voutskoglou"; d2rq:password “pass*****"; jdbc:autoReconnect "true"; jdbc:zeroDateTimeBehavior "convertToNull"; . 18
  • 19. Implementation 1 - D2rq language Edit D2RQ mapping file re-using vocabularies and ontologies map:Participation a d2rq:ClassMap; d2rq:dataStorage map:database; d2rq:uriPattern "group/@@group_.groupId@@"; d2rq:class epart:Participation; d2rq:classDefinitionLabel "Participation"; d2rq:condition "group_.type_ = 2"; d2rq:additionalClassDefinitionProperty map:participationSubClassOf; . map:participationSubClassOf a d2rq:PropertyBridge; d2rq:propertyName rdfs:subClassOf; d2rq:propertyValue sioc:Space; . 19
  • 20. SQL Expressions u may need d2rq:sqlExpression "SHA1(CONCAT('mailto:', user_.emailAddress))"; d2rq:sqlExpression "ExtractValue(pollsquestion.title, '/root/Title')"; d2rq:sqlExpression "SELECT REPLACE(REPLACE(REPLACE(kbarticle.content ,'<p>',' '),'</p>',' '),'&nbsp;',' ')"; d2rq:sqlExpression "SELECT TRIM(BOTH '_' FROM kbarticle.sections)"; 20
  • 21. Implementation 1 – Publishing data in D2r Server Start the D2R Server d2r-server mapping.ttl 21
  • 22. Implementation 2 - WOT RDF file D2RQ mapping file D2rq command dump-rdf RDF Data Sign & Encrypt Encrypted RDF File Detached Signature <EncryptedDocument rdf:about="http://www.example.com/myfiles/myportal_encrypted.rdf.asc"> <dc:title>MyPortal RDF Data Encrypted</dc:title> <encryptedTo rdf:nodeID="KeyB"/> <encrypter rdf:nodeID="KeyA"/> </EncryptedDocument> Tip: U will need <foaf:mbox_sha1sum>. Grab it from the d2rq published data! 22
  • 23. Implementation 3 – Evaluating a [e-government] project with Veracity Model Folder Proposition Folder Role Trusted Authority Folder Role Contextual Knowledge Folder Role Reference Knowledge Permissions for Access 23
  • 24. Implementation 3 – Evaluating a [e-government] project with Veracity Model  Trusted Authority Trusted Confidence  Contextual Knowledge Trusted Participation Knowledge Proof Trusted Participation Knowledge Proof - Reference  Reference Knowledge Use Permissions for the taxonomy or the categories or the subcategories! 24
  • 25. Implementation 3 – Roles and Files per Folder Folder Proposition Folder Role Contextual Knowledge Personal Folder Role Contextual Knowledge 25
  • 26. Implementation 3 - Editing D2RQ mapping file map:Trustworthiness a d2rq:ClassMap; d2rq:dataStorage map:database; d2rq:uriPattern "trustworthiness/@@assetcategory.categoryId@@"; d2rq:class mvo:Trustworthiness; d2rq:condition "assetcategory.vocabularyId=12961"; . map:trustworthiness_true a d2rq:PropertyBridge; d2rq:belongsToClassMap map:Trustworthiness; d2rq:property mvo:trusted; d2rq:pattern "1"; d2rq:condition "assetcategory.name='True'"; d2rq:datatype xsd:boolean; . map:directassertion_asserting a d2rq:PropertyBridge; d2rq:belongsToClassMap map:DirectKnowledgeProofAssertion; d2rq:property mvo:is_proofOf; d2rq:refersToClassMap map:Trustworthiness; d2rq:join "dlfileentry.fileEntryId = assetentry.classPK"; d2rq:join "assetentry.entryId = assetentries_assetcategories.entryId"; d2rq:join "assetentries_assetcategories.categoryId = assetcategory.categoryId"; . 26
  • 27. Implementation 3 - Publishing data in D2r Server 27
  • 28. Implementation 3 – Classes and Instances in D2r Server This Class has been created collecting data from different folders. An interesting Property has been created through the characteristic of a digital certificate being signed or not. 28
  • 29. The best way to test your d2rq mapping and ontologies Is by creating Sparql queries. Lots of Sparql queries! I’m still making changes in my d2rq files and in my ontologies every time I need specific characteristics for a certain purpose. 29
  • 30. About Liferay  - I tested three different installations: Bundled with Tomcat Unbundled as root webapp Unbundled as non root webapp  I chose the first one. Couldn’t use an extra survey portlet though, something I could use in the other two options.  Web Form portlet is nice but I couldn’t find a way to connect one’s data with a different community site. May be it was there and I just couldn’t see it.. • I also tested Liferay 6.1.1 but I chose to use Liferay 6.1.0 because of some Greek language problems. • If u need Sesame, then u’d like to know that it works fine in a Bundled Liferay. • Dynamic Data portlet is really great although I didn’t use it in the end. • If u ask me “Is Liferay unstable?” I will answer “..PEBCAK”  30
  • 31. About eGoverment Ask not what technology can do for your government But How your government can and WANT to use technology. Stop creating hundreds of eGov portals. It’s a mess! Do your citizens a favor. EDUCATE them on how to use e-services. 31
  • 32. Tools liferay-portal-6.1.0-ce-ga1 bundled with tomcat-7.0.23 Portlets: Sign in, My Sites, Poll, Message Board, Document Library, Knowledge Base [edited to include Sections], Asset Publisher, Nested portlet Also used: Categories, Tags http://www.liferay.com/ MySQL Server 5.5 MySQL Workbench 5.2 CE http://www.mysql.com/ OpenLDAP Server Jxplorer http://www.openldap.org http://jxplorer.org/ D2RQ Server 0.8.1 http://d2rq.org/ GPG4win http://www.gpg4win.org/ Protégé 4.2 beta http://protege.stanford.edu/ 32
  • 33. Ontologies/Vocabularies Studied WOT http://xmlns.com/wot/0.1/ Veracity http://socsem.open.ac.uk/ontologies/veracity/# FOAF http://xmlns.com/foaf/spec/ SIOC http://rdfs.org/sioc/ns# SIOC Types http://rdfs.org/sioc/types SCOT http://scot-project.net/scot/spec/scot.html TAG http://www.holygoat.co.uk/projects/tags/ MOAT http://moat-project.org/ SKOS http://www.w3.org/2004/02/skos/core DCMI http://dublincore.org/documents/dcmi-terms/ GI2MO http://www.gi2mo.org/0.4/ns.html IBIS http://otago.ourarchive.ac.nz/bitstream/handle/10523/1086/dp2009-06.pdf 33