www.kdz.or.atwww.kdz.or.at
The Vienna History Wiki –
a large Semantic MediaWiki
May 19th
, 2017
Fantastic MediaWikis
and How to Maintain Them
Bernhard Krabina
www.kdz.or.at
Introduction
KDZ – Centre for Public
Administration Research
Open Knowledge –
Austrian Chapter
Semantic MediaWiki
19. Mai 2017 · Seite 2
www.kdz.or.at
Why is it special?
Process
digitizing a printed encyclopedia
Governance
scholarly wiki
Open Government
changes administrative processes
Semantic
stores facts inside the wiki
Open Data
data can be exported
May 19, 2017 · Seite 4
www.kdz.or.at
Historical Encyclopedia of Vienna
six-volume encyclopedia "Historisches Lexikon
Wien" 1994-2004 edited by Felix Czeike
Last volume (6)
was an update
volume, released
2004
19. Mai 2017 · Seite 5
www.kdz.or.at
Wiki ↓ Original→
19. Mai 2017 · Seite 6
www.kdz.or.at
Governance: editorial team
External Users:
Jewish Museum Vienna
Association for the History of Vienna
Austrian Institute of Historical Research
Centre for Environmental History, Vienna
Austrian Mediathek
~ 800 Citizens
Core Team
Municipal and Provincial Archives
of Vienna (MA8)
Vienna City Library (MA 9)
www.kdz.or.at
Memorial day index
on paper for 2014 online since 2016
19. Mai 2017 · Seite 8
www.kdz.or.at
Encyclopedia of street names
19. Mai 2017 · Seite 9
www.kdz.or.at
Semantic MediaWiki
19. Mai 2017 · Seite 10
www.kdz.or.at
Form based data entry
(Semantic Forms)
19. Mai 2017 · Seite 11
www.kdz.or.at
„Bennant nach“ =
„named after“
19. Mai 2017 · Seite 12
www.kdz.or.at
{{#ask:…}} query for pages named
after „Sigmund Freud“
19. Mai 2017 · Seite 13
www.kdz.or.at19. Mai 2017 · Seite 14
List all pages of Category:Person
with Birthyear::1856 and
Sex::male
www.kdz.or.at
Data on a timeline, Places on a map
Using Basemap.at
19. Mai 2017 · Seite 15
www.kdz.or.at
RDF/JSON export
= Open Data!
19. Mai 2017 · Seite 16
www.kdz.or.at
Semantic MediaWiki
leaves your MediaWiki installation intact
no patching, just a (bunch of) MW extension(s)
already existing unstructured content can stay as it is or be
transformed
gives you all the tools you need for a
collaborative web database
entering data and text
representing/visualising data and text within the wiki
re-use/export data outside the wiki
everything is done through configuration
Attributes, Forms, Templates, Filters… are wiki pages
Queries, parsing, “programming” via Wikitext
19. Mai 2017 · Seite 17
www.kdz.or.at
> 40 different „result formats“
|format=table |format=csv |format=calendar...
19. Mai 2017 · Seite 18
www.kdz.or.at
Other features
Widgets for embedding Videos
Wien.at
Mediathek.at
YoutTube
Image Annotation
Extension:ImageMap
Data export and import
Extension:Data_Transfer , e. g. list of deceased persons
Semantic Glossary
Installed, but not used yet
19. Mai 2017 · Seite 19
www.kdz.or.at
Outlook
Data-Import from a
research project for
Memorial Signs
Politics of Remembrance
and the Transition of
Public Spaces. (POREM)
Improved version of
filtered format for a filter
based map view
Responsive Skin:
Chameleon
SW-Upgrade
MW 1.23.14 -> 1.27.x
SMW 2.3.1 -> 2.5.x
19. Mai 2017 · Seite 20
www.kdz.or.at
Challenges
Performance!
especially large queries
Very limited access to production server
runJobs.php only run once a day at 22:00, $wgJobRunRate=0
SW-Upgrades are expensive
external tests: performance/security – no code reviews
see what has been „officially approved“
https://www.wien.gv.at/wiki/index.php?title=Spezial:Version
https://github.com/JeroenDeDauw/Maps/ needs some love
Data integration in official
Vienna Map
https://www.wien.gv.at/kulturportal/public/
Extension:External_Data
19. Mai 2017 · Seite 21
www.kdz.or.at
Proposal for hack days:
Test new filtered format - map
Install Semantic Result Formats with composer
Change to directory .../extensions/SemanticResultFormats
git pull https://github.com/s7eph4n/SemanticResultFormats.git filtered
Change in MW install directory:
composer dump-autoload
New view „map“ and filter „number“ should be available in filtered result format
Basic documentation
https://github.com/s7eph4n/SemanticResultFormats/blob/filtered/formats/filtered/README.md
This should work
{{#ask:[[SomeCondition]]
|? SomePrintout |+filter=number
|? Position
|format=filtered
|views=map
|map view marker position property=Position
}}
19. Mai 2017 · Seite 22
www.kdz.or.at
SMW Austria community
https://www.meetup.com/de-DE/Semantic-MediaWiki-Austria/
19. Mai 2017 · Seite 23
www.kdz.or.at
Contact
4. Oktober 2012 · Seite 24
Bernhard Krabina
www.kdz.or.at
@krabina