Difference between revisions of "SMW Demo"

From FollowTheScore
Jump to: navigation, search
Line 15: Line 15:
 
=== plays ===
 
=== plays ===
 
<ask> [[plays::+]] [[plays instrument::*]] [[plays game::*]]  </ask>
 
<ask> [[plays::+]] [[plays instrument::*]] [[plays game::*]]  </ask>
 +
 +
== Peter is a .. ==
 +
<ask format="list" template="smwtemplate">
 +
[[Peter]] [[is a::+]] [[is a::*]]
 +
</ask>
  
 
[[Category:smdemo]]
 
[[Category:smdemo]]

Revision as of 21:32, 29 January 2008

University of Karlsruhe an others are developing a Mediawiki extension called Semantic Mediawiki.

We have set up a couple of small example pages to give an idea of this approach:

Persons: Peter, Lucie ; persons have an Age and play an Instrument Instrument; Trombone, Piano, ..

Click on one of the above links and follow the navigation.

Using "ask" you can formulate queries like "who plays an instrument?".

is a

<ask> is a::+ is a::* </ask>

plays

<ask> plays::+ plays instrument::* plays game::* </ask>

Peter is a ..

<ask format="list" template="smwtemplate"> Peter is a::+ is a::* </ask>