Difference between revisions of "SMW Demo"

From FollowTheScore
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
Click on one of the above links and follow the navigation.
 
Click on one of the above links and follow the navigation.
 
Using "ask" you can formulate queries like "who plays an instrument?".
 
 
=== .obj is a ===
 
<ask> [[.obj is a::+]] [[.obj is a::*]]  </ask>
 
 
=== plays ===
 
<ask> [[plays::+]] [[plays instrument::*]] [[plays game::*]]  </ask>
 
  
 
=== Properties of Semantic MediaWiki ===
 
=== Properties of Semantic MediaWiki ===
Line 25: Line 17:
 
<ask>[[Property:+]][[.prop scope::smwpc]]</ask>
 
<ask>[[Property:+]][[.prop scope::smwpc]]</ask>
  
=== Properties of the user domain ===
+
=== user classes with their properties ===
<ask>[[Property:+]][[.prop scope::user]]</ask>
+
<ask> [[.prop describes::+]][[.prop describes::*]] </ask>
 +
 
 +
=== user objects ===
 +
<ask> [[.obj is a::+]] [[.obj is a::*]]  </ask>
 +
 
 +
=== Sample query on user object: who plays an instrument or a game? ===
 +
<ask> [[plays::+]] [[plays instrument::*]] [[plays game::*]]  </ask>
 +
 
  
 
[[Category:smdemo]]
 
[[Category:smdemo]]

Latest revision as of 20: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.

Properties of Semantic MediaWiki

<ask>Property:+.prop scope::smw</ask>

Properties of Semantic Forms

<ask>Property:+.prop scope::sf</ask>

Properties of Semantic MediaWiki with Personal Classes

<ask>Property:+.prop scope::smwpc</ask>

user classes with their properties

<ask> .prop describes::+.prop describes::* </ask>

user objects

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

Sample query on user object: who plays an instrument or a game?

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