SlideShare a Scribd company logo
Semantic MediaWiki as
Linked Open Data Platform
Bernhard Krabina, KM-A
2
Introduction
Managing partner at KM-A Knowledge
Management Associates
Active member of the Semantic
MediaWiki community ~ 15 years
Knowledge Graph/Wiki researcher at WU
Vienna (Prof. Polleres)
Knowledge Management lecturer at
university of applied sciences
2
• KM consulting
• KM training
• KM research
• open-source SMW stack
• professional hosting
1
2
3
Agenda
MediaWiki as Knowledge
Base/Graph
Structured Data in MediaWiki
Semantic MediaWiki as LOD
platform
Wikipedia – Wikimedia – Mediawiki
Encyclopedia Operator Software 4
The power of Knowledge Graphs
 A knowledge graph represents knowledge in form of tripes:
subject – predicate – object (format: RDF)
This forms a network of nodes and edges
page 5
Hedy Lamarr actor
is an
born in
Vienna
Austria
located in
artist
subclass of
 Query for Austrian artists
can retrieve
Hedy Lamarr
even when this is not tagged
on her page!
Knowledge Graph vs. Knowledge Base
 Term was made popular by Google
„Introducing the Knowledge Graph: things, not strings”
 Trivial definition: Ontology + Instances
https://blog.google/products/search/introducing-knowledge-graph-things-not/
actress woman
person
???
is a
subclass of
has birthdate
has birthdate
Hedy Lamarr
Romy Schneider
Christiane Hörbiger
Paula Wessely
https://en.wikipedia.org/wiki/Category:Actresses_
A scientific definition (Paulheim 2016)
A knowledge graph
• mainly describes real world
entities and their interrelations,
organized in a graph,
• defines possible classes and
relations of entities in a schema,
• allows for potentially interrelating
arbitrary entities,
• covers various topical domains.
in MediaWiki
• real world entities = wiki pages
• classes = categories and
relations of entities =
properties,
• interrelating entities = linking
• wiki topic
Structures in MediaWiki
 Formatted text (Headings, numerations, paragraphs, quotes)
 Templates
 Pages and subpages
 Namespaces
 Categories and subcategories
 Category „inflation“
 Manually curated lists
 No querying of data inside MediaWiki
9
Knowledge Graphs and Wikipedia
vs. custom Knowledge Graphs
• extract structured information from Wikipedia and make
this information available on the Web
 free knowledge base that can be read and edited by
humans and machines alike… central storage for the data
that may be accessed by the client Wikipedias
 turns MediaWiki into a powerful and flexible knowledge
management system
 lets you store and query data within the wiki's pages
 a set of extensions for MediaWiki
1
2
3
Agenda
MediaWiki as Knowledge
Base/Graph
Structured Data in MediaWiki
Semantic MediaWiki as LOD
platform
Options
Knowledge Graph?
Storage of data MW database,
ElasticSearch,
TripleStores (incl.
Blazegraph)
MW database,
Blazegraph
MW database MW database
Properties flexible defined before
usage, unchangeable
no properties, but
table fields
defined through
JSON-schema
Queries parser function, API,
TripleStore (SPARQL)
API,
TripeStore (SPARQL)
parser function, API parser function, API
Linking Data RDF, importing
ontologies
RDF, reusing Wikidata
ontology
- -
Knowledge Graph   
would need RDF or
JSON-LD

would need RDF or
JSON-LD
13
Semantic MediaWiki or Wikibase?
https://www.mediawiki.org/wiki/Manual:Managing_data_in_MediaWiki
Semantic MediaWiki Wikibase
flexible data model data model of Wikidata
properties can be pre-defined or declared by annotating properties need to be pre-defined
properties (and datatypes) can be changed any time properties cannot be changed!
requires extensions for form-based input comes with a fixed, built-in edit interface
SPARQL only with external triplestore
internal query language (easier than SPARQL) no built-in querying of data
14
Semantic MediaWiki or Wikibase?
https://www.mediawiki.org/wiki/Manual:Managing_data_in_MediaWiki
Semantic MediaWiki when you Wikibase when you
have data that is not always disputed
(reference datatype exists)
need data provenance
(complex statments with references for disputed data)
want a data structure that defines your (smaller) world want a data structure that describes the world
want to re-use domain-specific vocabularies (schema.org) want to re-use (part of the) Wikidata ontology
want to define your own edit forms want the edit interface of Wikidata
want to interact with your data in wiki pages want to interact with your data primarily via SPARQL
endpoint
1
2
3
Agenda
MediaWiki as Knowledge
Base/Graph
Structured Data in MediaWiki
Semantic MediaWiki as LOD
platform
16
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…
17
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
• …
• online forms for data entry
• more visualizations
• responsive skin
• authentication
• image annotation
• SPARQL
• …
Linked Data vs. Open data
Open Data and SMW
 Make your SMW readable by everyone
– editing can still be restricted to logged-in users
 Include an open license
– see https://www.mediawiki.org/wiki/Manual:Copyright
– $wgRightsIcon = "$wgScriptPath/resources/assets/licenses/cc-by-sa.png";
 Make it easy for users to access your data:
– SMW puts a link to the RDF-representation of individual pages (via Special:ExportRDF) in the
HTML automatically, see https://www.semantic-mediawiki.org/wiki/Help:RDF_export
– create an RDF Dump https://www.semantic-mediawiki.org/wiki/Help:Maintenance_script_dumpRDF.php
– indicate exporting of data on pages or lists (e. g. vCard, iCalendar, BibTex, KML)
– provide export pages with explanations and several result formats (CSV, JSON, RDF)
Linked Data and SMW
 Re-use external vocabularies, most importantly Schema.org
 Add vocabulary definitions to properties, but also to category pages
 Use the page IDs of MediaWiki as unique identifiers
 Use the data type External identifier to link to external sources
21
Building your Knowledge Base
• page Vienna can have properties
– number of inhabitants, located in,
coordinates, WikidataID, …
• properties can have various data types
– page, text, number, date, URL, …
– external identifier links to external resources
• re-use external vocabularies
– “Coordinates” imported from schema:geo
• a page should be put into a category
– Also category pages should re-use vocabularies:
{{#set:Imported from=schema:City}}
Unique IDs in MediaWiki and
Special:URIResolver in SMW
 Every page has a unique page ID
 display it with the magic word:
{{PAGEID}}
 use it to link to a page without using the
page name (that could change over time)
 Use Special:URIResolver
https://yourwiki/Special:URIResolver/?curid=34
 supports content negotiation
 Furthermore: IDs for every version of a
page!
Using External Vocabularies
1. Add/edit a page
MediaWiki:Smw import schema
2. Instead of local datatype declarations, use
{{#set:Imported from=schema:geo}}
on the property page (e. g. Property:Coordinates)
instead of {{#set:Has type=Geographic coordinates}}
Add (or remove) vocabulary
terms any time…
Linking to external identifiers
 Define a property
 Assign datatype „External identifier“
– Links to external ids
{{#set:Has type=External identifier
|External formatter uri=
http://www.wikidata.org/entity/$1}}
 Look for other identifiers
– ORCID https://orcid.org/
– GND
– …..
Even better, use Schema.org:
{{#set:Imported from::schema:sameAs}}
https://www.semantic-mediawiki.org/wiki/
MediaWiki:Smw_import_schema
Changing data types in SMW
https://www.caf-network.eu/MediaWiki:Smw_import_dcterms
27
Internal query language
{{#ask:
[[Category:Practices]]
[[Country::Austria]]
|?Organisation
|?Coordinates
|format=table
}}
28
Internal query language
{{#ask:
[[Category:Practices]]
[[Country::Austria]]
|?Organisation
|?Coordinates
|format=map
}}
29
> 70 result formats, supporting
MediaWiki templates
|format=moderntimeline
|format=calendar
|format=median
|format=D3chart
|format=gantt
|format=tagcloud
|format=json
|format=rdf
|format=bibtex
…
30
Maintaining your Knowledge Graph
Data/ontology curation: “semantic gardening”
• user rights
– admins, curators, users
• property annotation health
– Outdated properties/entities
– Similar properties
– Property uniqueness
– Improper annotations and failed queries
– Missing redirect annotations
https://www.semantic-mediawiki.org/wiki/Semantic_gardening
Inferencing
• subcategories
• subproperties
• equality of pages:
redirects
• subqueries
https://www.semantic-mediawiki.org
/wiki/Help:Inferencing
31
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
easy (to install) harder to install but more powerful
Examples
 Vienna History Wiki
– https://www.geschichtewiki.wien.gv.at
 Knowledge Management Platform
– https://www.wissensmanagement.gv.at
 Austrian Public Sector Award
– https://www.verwaltungspreis.gv.at
 FINA Wiki (numismatic research)
– https://fina.oeaw.ac.at/
https://doi.org/10.1016/j.websem.2022.100771
34
Hacking Semantic MediaWiki
Get involved in the SMW community: www.semantic-mediawiki.org
Join our Github account: https://github.com/SemanticMediaWiki/
Join mailing lists: https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki_mailing_lists
Element/Matric/Telegram chat https://t.me/joinchat/MCG84k3OMoaYZoFA9yhyMg
Social Media channels (Twitter, Mastodon, LinkedIn, Facebook, YouTube)
Projects you should look into
• https://canasta.wiki
• https://www.open-csp.org
SMW sponsorship: donating time
https://www.semantic-mediawiki.org/wiki/Sponsorship
Self-declaration
Donate money!
https://opencollective.com/smw/
1
2
Let’s collaborate on the future of SMW!
Semantic MediaWiki - a Linked Open Data Platform
KMA Knowledge Management Associates | Gersthofer Straße 162 | A-1180 Wien | office@km-a.net | www.km-a.net 39
 Knowledge Management
 Wiki consulting, Semantic MediaWiki
 Open Government, Open Data
Bernhard Krabina
+43 676 5103593
Bernhard.krabina@km-a.net
linkedin.com/in/krabina
@krabina
Ad

More Related Content

Similar to Semantic MediaWiki - a Linked Open Data Platform (20)

Semantic Wikis - Social Semantic Web in Action
Semantic Wikis - Social Semantic Web in ActionSemantic Wikis - Social Semantic Web in Action
Semantic Wikis - Social Semantic Web in Action
Jesse Wang
 
Msra talk smw+apps
Msra talk smw+appsMsra talk smw+apps
Msra talk smw+apps
Jesse Wang
 
Linked Open Data with Semantic MediaWiki
Linked Open Data with Semantic MediaWikiLinked Open Data with Semantic MediaWiki
Linked Open Data with Semantic MediaWiki
Bernhard Krabina
 
Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)
Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)
Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)
Joachim Neubert
 
Semantic mediawiki
Semantic mediawikiSemantic mediawiki
Semantic mediawiki
Karsten Krumrück
 
Semantic Media Wiki & Semantic Forms
Semantic Media Wiki & Semantic FormsSemantic Media Wiki & Semantic Forms
Semantic Media Wiki & Semantic Forms
SergeyChernyshev
 
Semantic Tagging for the XWiki Platform with Zemanta and DBpedia
Semantic Tagging for the XWiki Platform with Zemanta and DBpediaSemantic Tagging for the XWiki Platform with Zemanta and DBpedia
Semantic Tagging for the XWiki Platform with Zemanta and DBpedia
Elena-Oana Tabaranu
 
Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
Sören Auer
 
Enabling cross-wikis integration by extending the SIOC ontology
Enabling cross-wikis integration by extending the SIOC ontologyEnabling cross-wikis integration by extending the SIOC ontology
Enabling cross-wikis integration by extending the SIOC ontology
Fabrizio Orlandi
 
Wikipedia as source of collaboratively created Knowledge Organization Systems
Wikipedia as source of collaboratively created Knowledge Organization SystemsWikipedia as source of collaboratively created Knowledge Organization Systems
Wikipedia as source of collaboratively created Knowledge Organization Systems
Jakob .
 
Wikis and knowlege management, Bernhard Krabina, SMWCon Fall 2014, Vienna
Wikis and knowlege management, Bernhard Krabina, SMWCon Fall 2014, ViennaWikis and knowlege management, Bernhard Krabina, SMWCon Fall 2014, Vienna
Wikis and knowlege management, Bernhard Krabina, SMWCon Fall 2014, Vienna
KDZ - Zentrum für Verwaltungsforschung
 
Wikis and knowlege management SMWCon Fall 2014, Vienna
Wikis and knowlege management SMWCon Fall 2014, ViennaWikis and knowlege management SMWCon Fall 2014, Vienna
Wikis and knowlege management SMWCon Fall 2014, Vienna
Bernhard Krabina
 
Semantic Web - Lecture 09 - Web Information Systems (4011474FNR)
Semantic Web - Lecture 09 - Web Information Systems (4011474FNR)Semantic Web - Lecture 09 - Web Information Systems (4011474FNR)
Semantic Web - Lecture 09 - Web Information Systems (4011474FNR)
Beat Signer
 
Semantic web
Semantic webSemantic web
Semantic web
Aatif Hussain Warraich
 
Virtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data Sources
Virtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data SourcesVirtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data Sources
Virtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data Sources
rumito
 
Wikimedia Game Jam 20015: Wikimedia APIs
Wikimedia Game Jam 20015: Wikimedia APIsWikimedia Game Jam 20015: Wikimedia APIs
Wikimedia Game Jam 20015: Wikimedia APIs
Lucie-Aimée Kaffee
 
Semantic social profile_a_semantic_boost_for
Semantic social profile_a_semantic_boost_forSemantic social profile_a_semantic_boost_for
Semantic social profile_a_semantic_boost_for
Yury Katkov
 
Wikidata and Semantic MediaWiki
Wikidata and Semantic MediaWiki Wikidata and Semantic MediaWiki
Wikidata and Semantic MediaWiki
Bernhard Krabina
 
Applying And Extending Semantic Wikis For Semantic Web Courses
Applying And Extending Semantic Wikis For Semantic Web CoursesApplying And Extending Semantic Wikis For Semantic Web Courses
Applying And Extending Semantic Wikis For Semantic Web Courses
Alicia Buske
 
SEMANTIC WEB SOURCES – comparison of open-source Knowledge Graphs
SEMANTIC WEB SOURCES – comparison of open-source Knowledge GraphsSEMANTIC WEB SOURCES – comparison of open-source Knowledge Graphs
SEMANTIC WEB SOURCES – comparison of open-source Knowledge Graphs
MatteoBelcao
 
Semantic Wikis - Social Semantic Web in Action
Semantic Wikis - Social Semantic Web in ActionSemantic Wikis - Social Semantic Web in Action
Semantic Wikis - Social Semantic Web in Action
Jesse Wang
 
Msra talk smw+apps
Msra talk smw+appsMsra talk smw+apps
Msra talk smw+apps
Jesse Wang
 
Linked Open Data with Semantic MediaWiki
Linked Open Data with Semantic MediaWikiLinked Open Data with Semantic MediaWiki
Linked Open Data with Semantic MediaWiki
Bernhard Krabina
 
Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)
Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)
Linking Knowledge Organization Systems via Wikidata (DCMI conference 2018)
Joachim Neubert
 
Semantic Media Wiki & Semantic Forms
Semantic Media Wiki & Semantic FormsSemantic Media Wiki & Semantic Forms
Semantic Media Wiki & Semantic Forms
SergeyChernyshev
 
Semantic Tagging for the XWiki Platform with Zemanta and DBpedia
Semantic Tagging for the XWiki Platform with Zemanta and DBpediaSemantic Tagging for the XWiki Platform with Zemanta and DBpedia
Semantic Tagging for the XWiki Platform with Zemanta and DBpedia
Elena-Oana Tabaranu
 
Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
Sören Auer
 
Enabling cross-wikis integration by extending the SIOC ontology
Enabling cross-wikis integration by extending the SIOC ontologyEnabling cross-wikis integration by extending the SIOC ontology
Enabling cross-wikis integration by extending the SIOC ontology
Fabrizio Orlandi
 
Wikipedia as source of collaboratively created Knowledge Organization Systems
Wikipedia as source of collaboratively created Knowledge Organization SystemsWikipedia as source of collaboratively created Knowledge Organization Systems
Wikipedia as source of collaboratively created Knowledge Organization Systems
Jakob .
 
Wikis and knowlege management, Bernhard Krabina, SMWCon Fall 2014, Vienna
Wikis and knowlege management, Bernhard Krabina, SMWCon Fall 2014, ViennaWikis and knowlege management, Bernhard Krabina, SMWCon Fall 2014, Vienna
Wikis and knowlege management, Bernhard Krabina, SMWCon Fall 2014, Vienna
KDZ - Zentrum für Verwaltungsforschung
 
Wikis and knowlege management SMWCon Fall 2014, Vienna
Wikis and knowlege management SMWCon Fall 2014, ViennaWikis and knowlege management SMWCon Fall 2014, Vienna
Wikis and knowlege management SMWCon Fall 2014, Vienna
Bernhard Krabina
 
Semantic Web - Lecture 09 - Web Information Systems (4011474FNR)
Semantic Web - Lecture 09 - Web Information Systems (4011474FNR)Semantic Web - Lecture 09 - Web Information Systems (4011474FNR)
Semantic Web - Lecture 09 - Web Information Systems (4011474FNR)
Beat Signer
 
Virtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data Sources
Virtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data SourcesVirtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data Sources
Virtuoso Sponger - RDFizer Middleware for creating RDF from non RDF Data Sources
rumito
 
Wikimedia Game Jam 20015: Wikimedia APIs
Wikimedia Game Jam 20015: Wikimedia APIsWikimedia Game Jam 20015: Wikimedia APIs
Wikimedia Game Jam 20015: Wikimedia APIs
Lucie-Aimée Kaffee
 
Semantic social profile_a_semantic_boost_for
Semantic social profile_a_semantic_boost_forSemantic social profile_a_semantic_boost_for
Semantic social profile_a_semantic_boost_for
Yury Katkov
 
Wikidata and Semantic MediaWiki
Wikidata and Semantic MediaWiki Wikidata and Semantic MediaWiki
Wikidata and Semantic MediaWiki
Bernhard Krabina
 
Applying And Extending Semantic Wikis For Semantic Web Courses
Applying And Extending Semantic Wikis For Semantic Web CoursesApplying And Extending Semantic Wikis For Semantic Web Courses
Applying And Extending Semantic Wikis For Semantic Web Courses
Alicia Buske
 
SEMANTIC WEB SOURCES – comparison of open-source Knowledge Graphs
SEMANTIC WEB SOURCES – comparison of open-source Knowledge GraphsSEMANTIC WEB SOURCES – comparison of open-source Knowledge Graphs
SEMANTIC WEB SOURCES – comparison of open-source Knowledge Graphs
MatteoBelcao
 

More from Bernhard Krabina (20)

OGD Cockpit am 4. OpenData Barcamp Erfurt 2025
OGD Cockpit am 4. OpenData Barcamp Erfurt 2025OGD Cockpit am 4. OpenData Barcamp Erfurt 2025
OGD Cockpit am 4. OpenData Barcamp Erfurt 2025
Bernhard Krabina
 
Factors influencing the use of wikis in organizations - MediaWiki Users & Dev...
Factors influencing the use of wikis in organizations - MediaWiki Users & Dev...Factors influencing the use of wikis in organizations - MediaWiki Users & Dev...
Factors influencing the use of wikis in organizations - MediaWiki Users & Dev...
Bernhard Krabina
 
10 years of Vienna History Wiki, MediaWiki Users & Developers Conference
10 years of Vienna History Wiki, MediaWiki Users & Developers Conference10 years of Vienna History Wiki, MediaWiki Users & Developers Conference
10 years of Vienna History Wiki, MediaWiki Users & Developers Conference
Bernhard Krabina
 
Informationsfreiheit: Wird das Ende der Amtsverschwiegenheit ein Treiber für ...
Informationsfreiheit: Wird das Ende der Amtsverschwiegenheit ein Treiber für ...Informationsfreiheit: Wird das Ende der Amtsverschwiegenheit ein Treiber für ...
Informationsfreiheit: Wird das Ende der Amtsverschwiegenheit ein Treiber für ...
Bernhard Krabina
 
MediaWiki Users and Developers Conference MWCon Fall 2024 Announcement
MediaWiki Users and Developers Conference MWCon Fall 2024 AnnouncementMediaWiki Users and Developers Conference MWCon Fall 2024 Announcement
MediaWiki Users and Developers Conference MWCon Fall 2024 Announcement
Bernhard Krabina
 
SMW Linked Open Data Barcamp Krabina 2023.pdf
SMW Linked Open Data Barcamp Krabina 2023.pdfSMW Linked Open Data Barcamp Krabina 2023.pdf
SMW Linked Open Data Barcamp Krabina 2023.pdf
Bernhard Krabina
 
OGD Cockpit Barcamp Bochum Krabina 2022.pdf
OGD Cockpit Barcamp Bochum Krabina 2022.pdfOGD Cockpit Barcamp Bochum Krabina 2022.pdf
OGD Cockpit Barcamp Bochum Krabina 2022.pdf
Bernhard Krabina
 
Semantic MediaWiki for Community Driven Data Spaces
Semantic MediaWiki for Community Driven Data SpacesSemantic MediaWiki for Community Driven Data Spaces
Semantic MediaWiki for Community Driven Data Spaces
Bernhard Krabina
 
Semantic MediaWiki Survey 2021
Semantic MediaWiki Survey 2021Semantic MediaWiki Survey 2021
Semantic MediaWiki Survey 2021
Bernhard Krabina
 
Mehr offene Daten in Kommunen - Smart Country 2021
Mehr offene Daten in Kommunen - Smart Country 2021Mehr offene Daten in Kommunen - Smart Country 2021
Mehr offene Daten in Kommunen - Smart Country 2021
Bernhard Krabina
 
Knowledge Management in Austrian Government institutions
Knowledge Management in Austrian Government institutionsKnowledge Management in Austrian Government institutions
Knowledge Management in Austrian Government institutions
Bernhard Krabina
 
FINA Wiki – SMW supporting numismatic research
FINA Wiki – SMW supporting numismatic researchFINA Wiki – SMW supporting numismatic research
FINA Wiki – SMW supporting numismatic research
Bernhard Krabina
 
Rethinking public sector data ecosystems - Open Government Data, Semantic Med...
Rethinking public sector data ecosystems - Open Government Data, Semantic Med...Rethinking public sector data ecosystems - Open Government Data, Semantic Med...
Rethinking public sector data ecosystems - Open Government Data, Semantic Med...
Bernhard Krabina
 
Open Spending Austria EU 2018 - Impacts on Performance Management
Open Spending Austria EU 2018 - Impacts on Performance Management Open Spending Austria EU 2018 - Impacts on Performance Management
Open Spending Austria EU 2018 - Impacts on Performance Management
Bernhard Krabina
 
Data cockpit: Semantic MediaWiki as GDPR compliance tool SMWCon 2018
Data cockpit: Semantic MediaWiki as GDPR compliance tool SMWCon 2018Data cockpit: Semantic MediaWiki as GDPR compliance tool SMWCon 2018
Data cockpit: Semantic MediaWiki as GDPR compliance tool SMWCon 2018
Bernhard Krabina
 
Aktives Datenschutzmanagement mit Datencockpit.at
Aktives Datenschutzmanagement mit Datencockpit.atAktives Datenschutzmanagement mit Datencockpit.at
Aktives Datenschutzmanagement mit Datencockpit.at
Bernhard Krabina
 
Smart Government - Schritte zur Umsetzung einer offene Verwaltungskultur
Smart Government - Schritte zur Umsetzung einer offene VerwaltungskulturSmart Government - Schritte zur Umsetzung einer offene Verwaltungskultur
Smart Government - Schritte zur Umsetzung einer offene Verwaltungskultur
Bernhard Krabina
 
Datenmonitoring am Beispiel OGD
Datenmonitoring am Beispiel OGD Datenmonitoring am Beispiel OGD
Datenmonitoring am Beispiel OGD
Bernhard Krabina
 
Data Manaement with Semantic MediaWiki - fulfilling GPDR requirements
Data Manaement with Semantic MediaWiki - fulfilling GPDR requirementsData Manaement with Semantic MediaWiki - fulfilling GPDR requirements
Data Manaement with Semantic MediaWiki - fulfilling GPDR requirements
Bernhard Krabina
 
The Vienna History Wiki – a large Semantic MediaWiki
The Vienna History Wiki – a large Semantic MediaWikiThe Vienna History Wiki – a large Semantic MediaWiki
The Vienna History Wiki – a large Semantic MediaWiki
Bernhard Krabina
 
OGD Cockpit am 4. OpenData Barcamp Erfurt 2025
OGD Cockpit am 4. OpenData Barcamp Erfurt 2025OGD Cockpit am 4. OpenData Barcamp Erfurt 2025
OGD Cockpit am 4. OpenData Barcamp Erfurt 2025
Bernhard Krabina
 
Factors influencing the use of wikis in organizations - MediaWiki Users & Dev...
Factors influencing the use of wikis in organizations - MediaWiki Users & Dev...Factors influencing the use of wikis in organizations - MediaWiki Users & Dev...
Factors influencing the use of wikis in organizations - MediaWiki Users & Dev...
Bernhard Krabina
 
10 years of Vienna History Wiki, MediaWiki Users & Developers Conference
10 years of Vienna History Wiki, MediaWiki Users & Developers Conference10 years of Vienna History Wiki, MediaWiki Users & Developers Conference
10 years of Vienna History Wiki, MediaWiki Users & Developers Conference
Bernhard Krabina
 
Informationsfreiheit: Wird das Ende der Amtsverschwiegenheit ein Treiber für ...
Informationsfreiheit: Wird das Ende der Amtsverschwiegenheit ein Treiber für ...Informationsfreiheit: Wird das Ende der Amtsverschwiegenheit ein Treiber für ...
Informationsfreiheit: Wird das Ende der Amtsverschwiegenheit ein Treiber für ...
Bernhard Krabina
 
MediaWiki Users and Developers Conference MWCon Fall 2024 Announcement
MediaWiki Users and Developers Conference MWCon Fall 2024 AnnouncementMediaWiki Users and Developers Conference MWCon Fall 2024 Announcement
MediaWiki Users and Developers Conference MWCon Fall 2024 Announcement
Bernhard Krabina
 
SMW Linked Open Data Barcamp Krabina 2023.pdf
SMW Linked Open Data Barcamp Krabina 2023.pdfSMW Linked Open Data Barcamp Krabina 2023.pdf
SMW Linked Open Data Barcamp Krabina 2023.pdf
Bernhard Krabina
 
OGD Cockpit Barcamp Bochum Krabina 2022.pdf
OGD Cockpit Barcamp Bochum Krabina 2022.pdfOGD Cockpit Barcamp Bochum Krabina 2022.pdf
OGD Cockpit Barcamp Bochum Krabina 2022.pdf
Bernhard Krabina
 
Semantic MediaWiki for Community Driven Data Spaces
Semantic MediaWiki for Community Driven Data SpacesSemantic MediaWiki for Community Driven Data Spaces
Semantic MediaWiki for Community Driven Data Spaces
Bernhard Krabina
 
Semantic MediaWiki Survey 2021
Semantic MediaWiki Survey 2021Semantic MediaWiki Survey 2021
Semantic MediaWiki Survey 2021
Bernhard Krabina
 
Mehr offene Daten in Kommunen - Smart Country 2021
Mehr offene Daten in Kommunen - Smart Country 2021Mehr offene Daten in Kommunen - Smart Country 2021
Mehr offene Daten in Kommunen - Smart Country 2021
Bernhard Krabina
 
Knowledge Management in Austrian Government institutions
Knowledge Management in Austrian Government institutionsKnowledge Management in Austrian Government institutions
Knowledge Management in Austrian Government institutions
Bernhard Krabina
 
FINA Wiki – SMW supporting numismatic research
FINA Wiki – SMW supporting numismatic researchFINA Wiki – SMW supporting numismatic research
FINA Wiki – SMW supporting numismatic research
Bernhard Krabina
 
Rethinking public sector data ecosystems - Open Government Data, Semantic Med...
Rethinking public sector data ecosystems - Open Government Data, Semantic Med...Rethinking public sector data ecosystems - Open Government Data, Semantic Med...
Rethinking public sector data ecosystems - Open Government Data, Semantic Med...
Bernhard Krabina
 
Open Spending Austria EU 2018 - Impacts on Performance Management
Open Spending Austria EU 2018 - Impacts on Performance Management Open Spending Austria EU 2018 - Impacts on Performance Management
Open Spending Austria EU 2018 - Impacts on Performance Management
Bernhard Krabina
 
Data cockpit: Semantic MediaWiki as GDPR compliance tool SMWCon 2018
Data cockpit: Semantic MediaWiki as GDPR compliance tool SMWCon 2018Data cockpit: Semantic MediaWiki as GDPR compliance tool SMWCon 2018
Data cockpit: Semantic MediaWiki as GDPR compliance tool SMWCon 2018
Bernhard Krabina
 
Aktives Datenschutzmanagement mit Datencockpit.at
Aktives Datenschutzmanagement mit Datencockpit.atAktives Datenschutzmanagement mit Datencockpit.at
Aktives Datenschutzmanagement mit Datencockpit.at
Bernhard Krabina
 
Smart Government - Schritte zur Umsetzung einer offene Verwaltungskultur
Smart Government - Schritte zur Umsetzung einer offene VerwaltungskulturSmart Government - Schritte zur Umsetzung einer offene Verwaltungskultur
Smart Government - Schritte zur Umsetzung einer offene Verwaltungskultur
Bernhard Krabina
 
Datenmonitoring am Beispiel OGD
Datenmonitoring am Beispiel OGD Datenmonitoring am Beispiel OGD
Datenmonitoring am Beispiel OGD
Bernhard Krabina
 
Data Manaement with Semantic MediaWiki - fulfilling GPDR requirements
Data Manaement with Semantic MediaWiki - fulfilling GPDR requirementsData Manaement with Semantic MediaWiki - fulfilling GPDR requirements
Data Manaement with Semantic MediaWiki - fulfilling GPDR requirements
Bernhard Krabina
 
The Vienna History Wiki – a large Semantic MediaWiki
The Vienna History Wiki – a large Semantic MediaWikiThe Vienna History Wiki – a large Semantic MediaWiki
The Vienna History Wiki – a large Semantic MediaWiki
Bernhard Krabina
 
Ad

Recently uploaded (20)

Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Top 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdfTop 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdf
AffinityCore
 
Microsoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptxMicrosoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptx
Mekonnen
 
PRTG Network Monitor Crack Latest Version & Serial Key 2025 [100% Working]
PRTG Network Monitor Crack Latest Version & Serial Key 2025 [100% Working]PRTG Network Monitor Crack Latest Version & Serial Key 2025 [100% Working]
PRTG Network Monitor Crack Latest Version & Serial Key 2025 [100% Working]
saimabibi60507
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Innovative Approaches to Software Dev no good at all
Innovative Approaches to Software Dev no good at allInnovative Approaches to Software Dev no good at all
Innovative Approaches to Software Dev no good at all
ayeshakanwal75
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
Creating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdfCreating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdf
Applitools
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
Lionel Briand
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Cryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptxCryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptx
riyageorge2024
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025Why Orangescrum Is a Game Changer for Construction Companies in 2025
Why Orangescrum Is a Game Changer for Construction Companies in 2025
Orangescrum
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Top 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdfTop 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdf
AffinityCore
 
Microsoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptxMicrosoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptx
Mekonnen
 
PRTG Network Monitor Crack Latest Version & Serial Key 2025 [100% Working]
PRTG Network Monitor Crack Latest Version & Serial Key 2025 [100% Working]PRTG Network Monitor Crack Latest Version & Serial Key 2025 [100% Working]
PRTG Network Monitor Crack Latest Version & Serial Key 2025 [100% Working]
saimabibi60507
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Innovative Approaches to Software Dev no good at all
Innovative Approaches to Software Dev no good at allInnovative Approaches to Software Dev no good at all
Innovative Approaches to Software Dev no good at all
ayeshakanwal75
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
Creating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdfCreating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdf
Applitools
 
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
What Do Contribution Guidelines Say About Software Testing? (MSR 2025)
Andre Hora
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categorie...
Lionel Briand
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Cryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptxCryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptx
riyageorge2024
 
Ad

Semantic MediaWiki - a Linked Open Data Platform

  • 1. Semantic MediaWiki as Linked Open Data Platform Bernhard Krabina, KM-A
  • 2. 2 Introduction Managing partner at KM-A Knowledge Management Associates Active member of the Semantic MediaWiki community ~ 15 years Knowledge Graph/Wiki researcher at WU Vienna (Prof. Polleres) Knowledge Management lecturer at university of applied sciences 2 • KM consulting • KM training • KM research • open-source SMW stack • professional hosting
  • 3. 1 2 3 Agenda MediaWiki as Knowledge Base/Graph Structured Data in MediaWiki Semantic MediaWiki as LOD platform
  • 4. Wikipedia – Wikimedia – Mediawiki Encyclopedia Operator Software 4
  • 5. The power of Knowledge Graphs  A knowledge graph represents knowledge in form of tripes: subject – predicate – object (format: RDF) This forms a network of nodes and edges page 5 Hedy Lamarr actor is an born in Vienna Austria located in artist subclass of  Query for Austrian artists can retrieve Hedy Lamarr even when this is not tagged on her page!
  • 6. Knowledge Graph vs. Knowledge Base  Term was made popular by Google „Introducing the Knowledge Graph: things, not strings”  Trivial definition: Ontology + Instances https://blog.google/products/search/introducing-knowledge-graph-things-not/ actress woman person ??? is a subclass of has birthdate has birthdate Hedy Lamarr Romy Schneider Christiane Hörbiger Paula Wessely https://en.wikipedia.org/wiki/Category:Actresses_
  • 7. A scientific definition (Paulheim 2016) A knowledge graph • mainly describes real world entities and their interrelations, organized in a graph, • defines possible classes and relations of entities in a schema, • allows for potentially interrelating arbitrary entities, • covers various topical domains. in MediaWiki • real world entities = wiki pages • classes = categories and relations of entities = properties, • interrelating entities = linking • wiki topic
  • 8. Structures in MediaWiki  Formatted text (Headings, numerations, paragraphs, quotes)  Templates  Pages and subpages  Namespaces  Categories and subcategories  Category „inflation“  Manually curated lists  No querying of data inside MediaWiki
  • 9. 9 Knowledge Graphs and Wikipedia vs. custom Knowledge Graphs • extract structured information from Wikipedia and make this information available on the Web  free knowledge base that can be read and edited by humans and machines alike… central storage for the data that may be accessed by the client Wikipedias  turns MediaWiki into a powerful and flexible knowledge management system  lets you store and query data within the wiki's pages  a set of extensions for MediaWiki
  • 10. 1 2 3 Agenda MediaWiki as Knowledge Base/Graph Structured Data in MediaWiki Semantic MediaWiki as LOD platform
  • 12. Knowledge Graph? Storage of data MW database, ElasticSearch, TripleStores (incl. Blazegraph) MW database, Blazegraph MW database MW database Properties flexible defined before usage, unchangeable no properties, but table fields defined through JSON-schema Queries parser function, API, TripleStore (SPARQL) API, TripeStore (SPARQL) parser function, API parser function, API Linking Data RDF, importing ontologies RDF, reusing Wikidata ontology - - Knowledge Graph    would need RDF or JSON-LD  would need RDF or JSON-LD
  • 13. 13 Semantic MediaWiki or Wikibase? https://www.mediawiki.org/wiki/Manual:Managing_data_in_MediaWiki Semantic MediaWiki Wikibase flexible data model data model of Wikidata properties can be pre-defined or declared by annotating properties need to be pre-defined properties (and datatypes) can be changed any time properties cannot be changed! requires extensions for form-based input comes with a fixed, built-in edit interface SPARQL only with external triplestore internal query language (easier than SPARQL) no built-in querying of data
  • 14. 14 Semantic MediaWiki or Wikibase? https://www.mediawiki.org/wiki/Manual:Managing_data_in_MediaWiki Semantic MediaWiki when you Wikibase when you have data that is not always disputed (reference datatype exists) need data provenance (complex statments with references for disputed data) want a data structure that defines your (smaller) world want a data structure that describes the world want to re-use domain-specific vocabularies (schema.org) want to re-use (part of the) Wikidata ontology want to define your own edit forms want the edit interface of Wikidata want to interact with your data in wiki pages want to interact with your data primarily via SPARQL endpoint
  • 15. 1 2 3 Agenda MediaWiki as Knowledge Base/Graph Structured Data in MediaWiki Semantic MediaWiki as LOD platform
  • 16. 16 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…
  • 17. 17 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 • … • online forms for data entry • more visualizations • responsive skin • authentication • image annotation • SPARQL • …
  • 18. Linked Data vs. Open data
  • 19. Open Data and SMW  Make your SMW readable by everyone – editing can still be restricted to logged-in users  Include an open license – see https://www.mediawiki.org/wiki/Manual:Copyright – $wgRightsIcon = "$wgScriptPath/resources/assets/licenses/cc-by-sa.png";  Make it easy for users to access your data: – SMW puts a link to the RDF-representation of individual pages (via Special:ExportRDF) in the HTML automatically, see https://www.semantic-mediawiki.org/wiki/Help:RDF_export – create an RDF Dump https://www.semantic-mediawiki.org/wiki/Help:Maintenance_script_dumpRDF.php – indicate exporting of data on pages or lists (e. g. vCard, iCalendar, BibTex, KML) – provide export pages with explanations and several result formats (CSV, JSON, RDF)
  • 20. Linked Data and SMW  Re-use external vocabularies, most importantly Schema.org  Add vocabulary definitions to properties, but also to category pages  Use the page IDs of MediaWiki as unique identifiers  Use the data type External identifier to link to external sources
  • 21. 21 Building your Knowledge Base • page Vienna can have properties – number of inhabitants, located in, coordinates, WikidataID, … • properties can have various data types – page, text, number, date, URL, … – external identifier links to external resources • re-use external vocabularies – “Coordinates” imported from schema:geo • a page should be put into a category – Also category pages should re-use vocabularies: {{#set:Imported from=schema:City}}
  • 22. Unique IDs in MediaWiki and Special:URIResolver in SMW  Every page has a unique page ID  display it with the magic word: {{PAGEID}}  use it to link to a page without using the page name (that could change over time)  Use Special:URIResolver https://yourwiki/Special:URIResolver/?curid=34  supports content negotiation  Furthermore: IDs for every version of a page!
  • 23. Using External Vocabularies 1. Add/edit a page MediaWiki:Smw import schema 2. Instead of local datatype declarations, use {{#set:Imported from=schema:geo}} on the property page (e. g. Property:Coordinates) instead of {{#set:Has type=Geographic coordinates}} Add (or remove) vocabulary terms any time…
  • 24. Linking to external identifiers  Define a property  Assign datatype „External identifier“ – Links to external ids {{#set:Has type=External identifier |External formatter uri= http://www.wikidata.org/entity/$1}}  Look for other identifiers – ORCID https://orcid.org/ – GND – ….. Even better, use Schema.org: {{#set:Imported from::schema:sameAs}}
  • 26. Changing data types in SMW https://www.caf-network.eu/MediaWiki:Smw_import_dcterms
  • 29. 29 > 70 result formats, supporting MediaWiki templates |format=moderntimeline |format=calendar |format=median |format=D3chart |format=gantt |format=tagcloud |format=json |format=rdf |format=bibtex …
  • 30. 30 Maintaining your Knowledge Graph Data/ontology curation: “semantic gardening” • user rights – admins, curators, users • property annotation health – Outdated properties/entities – Similar properties – Property uniqueness – Improper annotations and failed queries – Missing redirect annotations https://www.semantic-mediawiki.org/wiki/Semantic_gardening Inferencing • subcategories • subproperties • equality of pages: redirects • subqueries https://www.semantic-mediawiki.org /wiki/Help:Inferencing
  • 31. 31 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 easy (to install) harder to install but more powerful
  • 32. Examples  Vienna History Wiki – https://www.geschichtewiki.wien.gv.at  Knowledge Management Platform – https://www.wissensmanagement.gv.at  Austrian Public Sector Award – https://www.verwaltungspreis.gv.at  FINA Wiki (numismatic research) – https://fina.oeaw.ac.at/
  • 34. 34 Hacking Semantic MediaWiki Get involved in the SMW community: www.semantic-mediawiki.org Join our Github account: https://github.com/SemanticMediaWiki/ Join mailing lists: https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki_mailing_lists Element/Matric/Telegram chat https://t.me/joinchat/MCG84k3OMoaYZoFA9yhyMg Social Media channels (Twitter, Mastodon, LinkedIn, Facebook, YouTube) Projects you should look into • https://canasta.wiki • https://www.open-csp.org
  • 35. SMW sponsorship: donating time https://www.semantic-mediawiki.org/wiki/Sponsorship Self-declaration
  • 37. 1 2 Let’s collaborate on the future of SMW!
  • 39. KMA Knowledge Management Associates | Gersthofer Straße 162 | A-1180 Wien | [email protected] | www.km-a.net 39  Knowledge Management  Wiki consulting, Semantic MediaWiki  Open Government, Open Data Bernhard Krabina +43 676 5103593 [email protected] linkedin.com/in/krabina @krabina