view SMWConTalk2015-05-01 as slides
<slideshow style="bitplan" headingmark="⌘⌘" incmark="…" scaled="true" font="Comic Sans MS, Calibri, cursive" >
</slideshow>
This is a tutorial for people generally interested in using Semantic MediaWiki and learning more about the background of it. Understanding the Semantic MediaWiki concepts will help you
see
Some questions will guide this tutorial:
The goal ist that you should be able to explain to others what a Semantic MediaWiki is.
But why should it be necessary to add meaning to the World Wide Web?
The issue is that the World Wide Web has parts that are nicely understood by humans and other parts that are nicely understood by computers.
The message "It's a girl!" is not well understood by a computer.
"Semantic Web" might well fit the definition of a Misnomer:
A misnomer is a word or term that suggests a meaning that is known to be wrong. Misnomers often arise because the thing named received its name long before its true nature was known.
The Semantic Web received it's name by the inventor of the World Wide Web Sir Tim Berners Lee in a Scientific American Article of 2001.
The Semantic Web is not a separate Web but an extension of the current one, in which information is given well-defined meaning, better enabling computers and people to work in cooperation
Quite a few parts are about making human-computer interaction possible - where it would be helpful if the computer understands what a human being wants and of course the other way round that the human user understands the computer.
The goal of making the Web "meaningful" ist to allow
communication via the web where there is a common ground of understanding which is the basis for every good communication.
To achieve this common ground the fundamental differences in how humans and computers understand the meaning of facts is to be bridged. People are e.g. good at recognizing faces. Computers are not.
The mum of this baby will easily recognize her girl. A computer will need a very sophisticated algorithm and lots of data to get close to this capability. Now this picture has been in the news as "It's a girl!" and millions of people over the world cheered up. How could a computer get as excited about this news as humans would get?
Humans are very good at understanding things:
may be even in this order of understandability.
Faces are the first thing humans learn to remember. This was an important survival skill for stoneage people. They had to be able to recognize friend and foe. That's why the "web of faces" is the most natural web of meaning that people interact with. Social networks these days take advantage of this natural ability and need of humans. This family here is easily recognized:
Symbols are the closest thing to faces that are used to convey meanings. Pictograms link a picture to some kind of concept/meaning. With a pictogram the idea is to be able to communicate regardless of the language the viewer might understand. Most humans will understand what the above symbol means if it's shown in the context:
Writing characters were the next step in improving communication between humans. Different cultures developed different ways to do it:
Structure conveys meaning e.g. when a hierachy is presented like in your organizational chart. Typical structures are:
Humans communicate best via pictures. E.g. body language and facial expression is much more important during a conversion than what people say.
Semantic Media Wiki (SMW) extends a MediaWiki to be able to store and retrieve structured information together with MediaWiki pages.
If you'd like to store information in SMW you might want to pick three things:
The subject is usually a page e.g. a MediaWiki article about the Royal baby. This article might be named "Princess Charlotte of Cambridge". In this article you'd like to keep track of when the baby was born with the predicate "is born". The object will then be the date of birth 2nd of May 2015 or in ISO notation: 2015-05-02.
In MediaWiki markup such subject-predicate-object statements are created with the following notation:
The princess of cambridge was born on [[is born::2015-05-03]] Her rank inline to the throne is [[throne rank is::4]]. Her mother is [[mother is::Duchess Kate]].
The princess of cambridge was born on 2015-05-03
Her rank inline to the throne is 4.
Her mother is Duchess Kate.
The values in the double square brackets are called Properties.
A subject-predicate-object set is called a "triple". The "database" used to store in a Semantic Wiki is a TripleStore. There are quite a few different notations for triples and there are quite a few TripleStore implementations.
Adding Semantic Properties directly in page content can get very tedious if the semantic content is wells structured. In this cases its better to work with Semantic Forms. See Persons as an example.
Using the #ask parser function you can select semantic content and display it. The following query displays the list of people with a number in line to the throne of less than five:
{{#ask: [[Concept:Person]][[Person noInLine::<5]] | ?Person name = name | ?Person picture = picture | ?Person noInLine = noInLine | mainlabel=- | sort=Person noInLine | limit=5 }}
The data in the example was taken from the Royal92.ged GEDCOM source.
It was imported with the smartMediaWiki approach to be shown tomorrow.
Importing directly to the SMW tripleStore is possible but a technical challenge.
Export is possible via different Result formats
See also List_of_Persons
Working With MediaWiki Yaron Koren | |
Foundation of Semantic Web Technolgoies Pascal Hitzler, Markus Krötzsch, Sebastian Rudolph | |
Semantic Media Wiki |