Difference between revisions of "SMW Demo"

From FollowTheScore
Jump to: navigation, search
Line 18: Line 18:
 
=== is a ===
 
=== is a ===
 
<ask> [[is a::+]] [[is a::*]]  </ask>
 
<ask> [[is a::+]] [[is a::*]]  </ask>
=== has type ===
+
 
<ask> [[has type::+]] [[has type::*]]  </ask>
+
=== plays ===
 +
<ask> [[plays::+]] [[plays::*]]  </ask>
  
 
[[Category:smdemo]]
 
[[Category:smdemo]]

Revision as of 20:53, 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?".

<ask>

 plays::+ plays:=* 

</ask>


{{#ask:Peter|plays::* }}

is a

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

plays

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