Today we will be developing a simple semantic wiki called “Media Base” that will contain information about books, movies or music CDs.
A semantic wiki is a wiki with the ability to model knowledge in the form of (RDF-like) triples.
We will be using the popular Semantic MediaWiki system.
Note: Your tasks start with the exclamation mark.
[login]
placeholder) – you can also click your name in top right corner of the wiki page[[Category:Person]]
on your page, you create the [user] → Category → Person
triple.[[User:kkutt]]
vs [[Works with::User:kkutt]]
– both look the same (they are links to the User:kkutt
page), but the latter additionally stores information about the name of this relation which forms a triple: [user] → Works with
→ User:kkutt
I am Wojtek and I am 12 years old
and I am [[Name::Wojtek]] and I am [[Age::12]] years old
Property:Age → Has type → Number
![[Age::years]]
into a page will result in a yellow exclamation mark (when the page is saved) and a corresponding warning.__SHOWFACTBOX__
somewhere at your page.#ask
query on your page that will display all people (instances of Person
category) and their Age
.I remind you that that I am {{#show: [FIXME]}} years old!
- replace [FIXME]
with the appropriate code to display the Age value that is entered somewhere else on your page. Use the documentation.#ask
queries)General readings:
Existing systems: