Difference between revisions of "SMW Demo"

From FollowTheScore
Jump to: navigation, search
Line 11: Line 11:
  
 
=== is a ===
 
=== is a ===
<ask> [[is a::+]] [[is a::*]]  </ask>
+
<ask> [[.obj is instance of::+]] [[.obj is instance of::*]]  </ask>
  
 
=== plays ===
 
=== plays ===
Line 18: Line 18:
 
=== Properties ===
 
=== Properties ===
 
<ask>[[Property:+]]</ask>
 
<ask>[[Property:+]]</ask>
 
===== Model for Person =====
 
<ask>[[describes type::Person]]</ask>
 
===== Model for Location =====
 
<ask>[[describes type::Location]]</ask>
 
  
 
[[Category:smdemo]]
 
[[Category:smdemo]]

Revision as of 13:59, 23 March 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> .obj is instance of::+ .obj is instance of::* </ask>

plays

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

Properties

<ask>Property:+</ask>