This document discusses using Semantic MediaWiki (SMW) to create a knowledge base for the CAF-Network.eu project. SMW allows adding structured data and semantic annotations to wiki pages. It outlines how SMW can be used to create pages about the Common Assessment Framework (CAF), link them to external vocabularies, and query the data in various formats. Reusing existing public sector vocabularies from the EU is recommended to align the project with linked open data standards.
2. Introduction
Managing partner at Knowledge
Mangement Associates
~ 20 years of experience in the
public sector (KDZ – Centre for
Public Administration Research)
Active member of the Semantic
MediaWiki community ~ 15 years
Knowledge Graph researcher at WU
Vienna
Knowledge Management
consulting, Wiki consulting and
implementation
• www.geschichtewiki.wien.gv.at
• www.wissensmanagement.gv.at
• www.verwaltungspreis.gv.at
• www.ogdcockpit.eu
• fina.oeaw.ac.at/wiki
• and many more…
2
2
4. CAF – Common Assessment Framework
CAF improves public sector
organisations through self-assessment
and contributes to Good Governance.
Quality management tools based on
TQM and EFQM® models.
Promoted by European Public
Administration Network (EUPAN)
1. Self-assessment
2. Improvement plan
3. Effective CAF-User
5. CAF Knowledge
Knowledge about CAF in general including the latest (5th) revision 2020.
Detailed knowledge about 9 criteria and 28 subcriteria
Knowledge about the CAF process and implementation
But also
Who uses CAF?
Who can I contact?
What tools do support the process?
Where can I find the best information?
10. What is Semantic MediaWiki (SMW)?
• open source project:
– www.semantic-mediawiki.org
– https://github.com/SemanticMediaWiki
• the „swiss army knife“ for data and semantics
• built on the MediaWiki ecosystem:
the wiki engine that powers Wikipedia
can be used for much more than just wikis…
10
11. MediaWiki + SMW + more extensions
• collaborative editing
• version history of every edit
• no backend:
everything is a wiki page
• structure via categories and
namespaces
• API
• …
• structured data
(Web database)
• result lists and formats
via {{#ask:}} queries
• Semantic Web standards
• triplestore support
• API
• …
• online forms for data entry
• more visualizations
• responsive skin
• authentication
• image annotation
• SPARQL
• …
11
12. Semantic MediaWiki storage options
SQL Store (default)
• extra tables in the
SQL store of
MediaWiki
ElasticStore
• search engine, not a
storage backend
SPARQL/RDF Store
• custom, default
• Virtuoso
• Blazegraph
• Fuseki
• Sesame
• 4store 12
easy (to install) harder to install but more powerful
16. Where to start?
https://www.semantic-mediawiki.org
https://www.semantic-mediawiki.org/wiki/Help:Using_Docker
Projects you should look into
https://www.open-csp.org
https://www.mediawiki.org/wiki/Project_Canasta
19. Linking to external identifiers
Define a property
Assign datatype „External identifier“
– Links to external ids
Look for other identifiers
– ORCID https://orcid.org/
– GND
– …..
[[Has type::External identifier]]
[[External formatter uri::
http://www.wikidata.org/entity/$1]]
20. Using External Vocabularies
1. Add a page MediaWiki:Smw import foaf
2. Instead of local datatype declarations, use
[[Imported from::foaf:familyName]]
on the property page (e. g. Property:Last name)
Ad more vocabulary terms any
time…
21. Unique IDs in MediaWiki
Every page has a unique page ID
You can display it and use it to link to a
page without using the page name (that
could change over time)
https://www.caf-network.eu/?curid=185
22. Core Public Service Vocabulary
CAF-Network.eu
Address
Country
City
Organisation
Person
Level of government
Organisation size
Organisation type
Website
Year
ZIP
https://www.semantic-mediawiki.org/wiki/Help:Import_vocabulary
23. Changing data types in SMW
https://www.caf-network.eu/MediaWiki:Smw_import_dcterms
24. Matching vocabularies
CAF-Network.eu Vocabulary (examples) External Vocabulary
Address cv:hasAddress
City dct:location?
Coordinates
Country dct:location
Description dc:description -> dct:description
Effective CAF user (yes/no)
Government level
Organisation hasCompetentAuthority
Organisation function cv:sector or cv:thematicArea ?
Organisation size
Organisation type dct:type
Person cv:hasContactPoint
Website
Year
ZIP