Data Manaement with Semantic MediaWiki - fulfilling GPDR requirements
Semantic MediaWiki in the Public Sector SMWCon 2013, Berlin
1. www.kdz.or.at
Semantic MediaW iki
in the Public Sector
October 30th, 2013, SMW Conference Berlin
Bernhard Krabina,
KDZ – Centre for Public Administration Research
www.kdz.or.at
3. KDZ Intr anet, 2006
Supports
knowledge
management
Supports
project
management
Generates
indicators for
intellectual
capital
sorecard
Supports
accounting
and controlling
www.kdz.or.at
28.10.2013 · Seite 3
4. KDZ, KGSt, 2008
www.verwaltungskooper ation.eu
1,107 pa ges
430 pr ojects
133 contacts
882 user s
5,053 edits
2.058,960
pa ge views
~ 1,000 visits/
month
www.kdz.or.at
fir st public, r eal wiki
5. Federal Chancellar y, 2008
www.epsa-pr ojects.eu
1,623 pa ges
825 pr ojects
506 contacts
5 user s
4,893 edits
2,575.255
pa ge views
~ 2,000 visits/
month
www.kdz.or.at
no wiki!
28.10.2013 · Seite 5
6. UNDP, 2009
www.municipal-cooperation.or g
946 pa ges
40 pr ojects
89 contacts
3 user s
4,167 edits
198,253 pa ge
views
~ 500 visits/
month
www.kdz.or.at
28.10.2013 · Seite 6
7. Gr een Eur opean Foundation,
2009
inter nal wiki
per sons
or ganisations
pr ojects
milestones
www.kdz.or.at
7
8. Federal Chanceller y, 2010
www.benchmar kingfor um.at
584 pa ges
6 areas of
benchmar king
96 indicator s
602 user s
2,233 edits
152,310 pa ge
views
~ 200 visits/
month
www.kdz.or.at
28.10.2013 · Seite 8
10. Tirol 2.0, 2011
tir ol20.communalconsult.at
848 pa ges
505 ser vices
19 pr ocesses
17 online for m
definitions
49 decision
texts
435 user s
2,963 edits
172,733 pa ge
views
eGover nment ser vices
www.kdz.or.at
28.10.2013 · Seite 10
11. City of Weiz, 2012
Municipal Intranet
per sons
depar tments
knowledge
communication
fir st municipal intranet
solution
www.kdz.or.at
28.10.2013 · Seite 11
12. Federal Chanceller y, 2013
www.verwaltungspr eis.at
342 pa ges
114 pr ojects
506 contacts
4 user s
2,962 edits
36,933 pa ge
views
www.kdz.or.at
no wiki!
28.10.2013 · Seite 12
13. Association of Cities and
Towns, KDZ and other s…
some smaller wikis/webpa ges
www.praxisplaner.at
www.eu-guide.at
www.twinre gion.eu
www.public-management-platfor m
www.kdz.or.at
28.10.2013 · Seite 13
14. OGD Cockpit, 2013
www.ogdcockpit.eu
pr ototype for
setting up a
data
catalogue for
Open
Gover nment
Data
cooper ation
Bonn, Köln,
Linz
showcase for
SMW
www.kdz.or.at
28.10.2013 · Seite 14
15. City of V ienna, 2014
historical city wiki
Live 2014
> 28,000 entries
>8,000 per sons
>10,000 objects
(river s, mountains,
islands, streets,
r e gions, par ks…)
> 5,000 buildings
~ 5,000 other s
(inkl. Events)
will be the lar gest city
wiki :-)
www.kdz.or.at
28.10.2013 · Seite 15
17. Str enghts and weaknesses
ITS A GREAT TOOL!
no good, usable skins
no WYSIWYG editor (visual ed!)
all the benefits of (media)wiki
no access control, no access to
web database with
data in private wikis
configuration, no programming
no PostgreSQL
forms and many other
no crowdfunding
extensions
some dead extensions
import/export of data, result
some bugs don‘t get fixed
formats
not usable for complex data
community support
structures
….
www.kdz.or.at
28.10.2013 · Seite 17
18. Lessons lear ned
SMW is (still) not well known (in public sector)
project references lead to fur ther use cases
when people see what can be done, they like it
people think of wikis and don‘t realize the
potential of SMW as a strate gic platfor m
access control is always requested
SMW is NOT just semantic web project anymore
SMW has potential to become THE OpenGLAM
tool:
de.slideshare.net/krabina/semantic-mediawiki-als-openglam-tool
SMW has a lot more future potential …
www.kdz.or.at
28.10.2013 · Seite 18
20. W hishlist
Access control!, getting data out of
private wikis, share content between
public/private
Visual editor for Semantic For ms
Fix the date handling problem ;-)
Provide PDF expor t
Extension:Collection does not work with SMW
Improvements/conver gence of Semantic
Drilldown/Filtered result for mat
both are great, both have weaknesses
Focus on bug fixing, NOT new features!
I know, it’s boring for developers…
www.kdz.or.at
Fix/improve old extensions 20
28.10.2013 · Seite
21. Suggestion:
fix/take over cool extensions
Extension:Woogle4MediaW iki
Extension:W ikiTweet (contact me for
that)
Extension:Push
Extension:Semantic Project Mana gement
...
http://semanticmediawiki.or g/wiki/Obsolete_or_discontin
ued_SMW_extensions
www.kdz.or.at
28.10.2013 · Seite 21
22. Suggestion:
Fix date handling
{{#if:{{{Geburtsdatum|}}}|{{#ifexpr:{{#len:{{{Geburtsdatum|}}}}}>4|<!--MEHRALSJAHR:-->{{#ifeq:{{#sub:{{{Geburtsdatum|}}}|0|2}}|{{#expr:{{#sub:
{{{Geburtsdatum|}}}|0|2}}}}|<!--TAGVORHANDEN:-->{{#iferror:{{#time:jnY|{{{Geburtsdatum|}}}}}|<!--ERROR!-->{{#ifexpr:{{#len:{{{Geburtsdatum|}}}}}>7|<!-NORMALERMONAT:-->{{#if:{{#pos:{{{Geburtsdatum|}}}|Januar}}|[[Geburtsmonat::1| ]][[Geburtstag::{{#time: j |{{#replace:{{{Geburtsdatum|}}}|Januar|January}}}}|]]
[[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|Januar|January}}}}|]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Jänner}}|[[Geburtsmonat::1|]][[Geburtstag::{{#time: j |
{{#replace:{{{Geburtsdatum|}}}|Jänner|January}}}}| ]][[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|Jänner|January}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|
Februar}}|[[Geburtsmonat::2| ]][[Geburtstag::{{#time: j |{{#replace:{{{Geburtsdatum|}}}|Februar|February}}}}| ]][[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|
Februar|February}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|März}}|[[Geburtsmonat::3| ]][[Geburtstag::{{#time: j |{{#replace:{{{Geburtsdatum|}}}|März|March}}}}| ]]
[[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|März|March}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|April}}|[[Geburtsmonat::4| ]][[Geburtstag::{{#time: j |
{{{Geburtsdatum|}}}}}| ]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Mai}}|MAI![[Geburtsmonat::5| ]][[Geburtstag::{{#time: j |
{{#replace:{{{Geburtsdatum|}}}|Mai|May}}}}| ]][[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|Mai|May}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Juni}}|
[[Geburtsmonat::6| ]][[Geburtstag::{{#time: j |{{{Geburtsdatum|}}}}}| ]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Juli}}|
[[Geburtsmonat::7| ]][[Geburtstag::{{#time: j |{{#replace:{{{Geburtsdatum|}}}|Juli|July}}}}| ]][[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|Juli|July}}}}| ]]|}}
{{#if:{{#pos:{{{Geburtsdatum|}}}|August}}|[[Geburtsmonat::8| ]][[Geburtstag::{{#time: j |{{{Geburtsdatum|}}}}}| ]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}
{{#if:{{#pos:{{{Geburtsdatum|}}}|September}}|[[Geburtsmonat::9| ]][[Geburtstag::{{#time: j |{{{Geburtsdatum|}}}}}| ]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}
{{#if:{{#pos:{{{Geburtsdatum|}}}|Oktober}}|[[Geburtsmonat::10| ]][[Geburtstag::{{#time: j |{{#replace:{{{Geburtsdatum|}}}|Oktober|October}}}}| ]][[Geburtsjahr::{{#time: Y |
{{#replace:{{{Geburtsdatum|}}}|Oktober|October}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|November}}|[[Geburtsmonat::11| ]][[Geburtstag::{{#time: j |
{{{Geburtsdatum|}}}}}| ]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Dezember}}|[[Geburtsmonat::12| ]][[Geburtstag::{{#time: j
|{{#replace:{{{Geburtsdatum|}}}|Dezember|December}}}}| ]][[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|Dezember|December}}}}| ]]|}}|<!-NUMERISCHERMONAT:-->[[Geburtsmonat::{{#expr:{{#sub:{{{Geburtsdatum|}}}|0|2}}}}| ]][[Geburtsjahr::{{#sub:{{{Geburtsdatum|}}}|3|4}}| ]]}}|<!--NICHTERROR!->[[Geburtstag::{{#time: j |{{{Geburtsdatum|}}}}}|]][[Geburtsmonat::{{#time: n |{{{Geburtsdatum|}}}}}| ]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]}}|<!-KEINTAGVORHANDEN:-->{{#iferror:{{#time: j n Y |{{{Geburtsdatum|}}}}}|<!--ERROR!-->{{#if:{{#pos:{{{Geburtsdatum|}}}|Januar}}|[[Geburtsmonat::1| ]][[Geburtsjahr::
{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|Januar|January}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Jänner}}|[[Geburtsmonat::1| ]][[Geburtsjahr::{{#time: Y |{{#replace:
{{{Geburtsdatum|}}}|Jänner|January}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Februar}}|[[Geburtsmonat::2| ]][[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|
Februar|February}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|März}}|[[Geburtsmonat::3| ]][[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|März|March}}}}| ]]|}}
{{#if:{{#pos:{{{Geburtsdatum|}}}|April}}|[[Geburtsmonat::4| ]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Mai}}|
[[Geburtsmonat::5| ]][[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|Mai|May}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Juni}}|[[Geburtsmonat::6| ]]
[[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Juli}}|[[Geburtsmonat::7| ]][[Geburtsjahr::{{#time: Y |{{#replace:
{{{Geburtsdatum|}}}|Juli|July}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|August}}|[[Geburtsmonat::8| ]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}{{#if:{{#pos:
{{{Geburtsdatum|}}}|September}}|[[Geburtsmonat::9| ]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Oktober}}|
[[Geburtsmonat::10| ]][[Geburtsjahr::{{#time: Y |{{#replace:{{{Geburtsdatum|}}}|Oktober|October}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|November}}|[[Geburtsmonat::11|
]][[Geburtsjahr::{{#time: Y |{{{Geburtsdatum|}}}}}| ]]|}}{{#if:{{#pos:{{{Geburtsdatum|}}}|Dezember}}|[[Geburtsmonat::12| ]][[Geburtsjahr::{{#time: Y |{{#replace:
{{{Geburtsdatum|}}}|Dezember|December}}}}| ]]|}}
Proper ty:Bir thday, has type::date
Bir thday::25.01.1974
Quer y all pages bor n in Januar y is cur rently
not possible…
Par ser function #time: „guesses“
incomplete dates
Lear ning: don't use date for mat, use
separate input fields (day/month/year) and
aggre gate them after user input
www.kdz.or.at
28.10.2013 · Seite 22
23. Suggestion: Namespace Data:
for complex data str uctur es
Problem: SMW is not made for complex
data str uctures
Data as properties of pages or subobjects
E. g. 2.357 municipalities in Austria, budget table with 27
rows, for every year from 2001-2012
too hard/impossible to set up even with internal objects,
probably no performance with every data item being a page
Can this be done?
Data:Namespace for uploading Data tables that can be
used within SMW
Data is available in ask queries
Data tables can be updated (e. g. using Semantic Forms)
www.kdz.or.at
30.10.2013 · Seite 23
28. Contact
www.kdz.or.at
KDZ – Centr e for Public
Administr ation
Research
Bernhard Krabina
krabina@kdz.or.at
www.twitter.com/krabina
LinkedIn, XING, Goolge+,
Facebook
Seite 28