Difference between revisions of "SMW Demo"

From FollowTheScore
Jump to: navigation, search
Line 19: Line 19:
 
<ask>[[Property:+]]</ask>
 
<ask>[[Property:+]]</ask>
  
=== Model for Person ===
+
===== Model for Person =====
 
<ask>[[describes type::Person]]</ask>
 
<ask>[[describes type::Person]]</ask>
 +
===== Model for Location =====
 +
<ask>[[describes type::Location]]</ask>
  
 
[[Category:smdemo]]
 
[[Category:smdemo]]

Revision as of 00:02, 30 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>

Properties

<ask>Property:+</ask>

Model for Person

<ask>describes type::Person</ask>

Model for Location

<ask>describes type::Location</ask>