Introduction to MediaWiki and Semantic MediaWiki

Jump to: navigation, search
SMWCon Fall 2013Introduction to MediaWiki and Semantic MediaWiki
SMWCon Fall 2013
Introduction to (Semantic) MediaWiki
Talk details
Description: This tutorial is for the absolute beginners. It introduces the (Semantic) MediaWiki platform for collaborative content management, starting from basic page creation and climbing the complexity ladder to advanced semantic annotations and queries.
Speaker(s): Michael Erdmann
Slides: see here
Type: Tutorial
Audience: Everyone
Event start: 2013/10/28 09:00:00 AM
Event finish: 2013/10/28 12:00:00 PM
Length: 180 minutes
Video: not available
Keywords: MediaWiki, Semantic MediaWiki
Give feedback

Since this tutorial aims at teaching you something, please bring your own laptop in order to follow the lesson hands-on and to really experience collaborative data authoring first-hand. The first session will be more slide-heavy and the second session will be more DIY.


Session 1

  • MediaWiki
    • Architecture
    • Wiki pages
    • Links
    • Wiki markup
    • Namespaces
    • Templates and transclusion
    • Magic words and parser functions and parser tags
  • Hands-on: Let's create some wiki pages!
  • MediaWiki deficits and how SMW overcomes them
    • Making data explicit
    • From many manual lists to queries to the data

Session 2

  • SMW basics (20min)
    • Knowledge graph
    • Names links/Properties
    • Special pages
    • SMW mark up/annotations
    • Annotations via templates
  • Hands-on: Let's create some semantic data!
  • Retrieving Data
    • Queries
    • #ask, AQL syntax and model
    • Query formats
  • Hands-on: Let's retrieve and reuse the data!

Link List

Sample Queries

== Queries1 ==
* Michael stays in this hotel: {{#show: Michael Erdmann|?Hotel}}
* {{#ask: [[SMW Expert]]}}
* {{#ask: [[Category:SMWCon Participant]] [[Firstname::~M*]]}}

== Queries2 ==
{{#ask: [[SMWCon Participant]]
|?City of residence

{{#ask: [[SMWCon Participant]]

{{#ask: [[SMWCon Participant]]

;Birth dates
{{#ask: [[SMWCon Participant]]
|?Date of birth
|sort=Date of birth

== Query 3 ==
;Query results via templates
{{#ask: [[SMWCon Participant]]
|?Date of birth
|?City of birth

;Birth places on a map
{{#ask: [[SMWCon Participant]]
|?Place of birth
|?Job description