Difference between revisions of "SMW Demo"

From FollowTheScore
Jump to: navigation, search
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 27: Line 19:
 
=== Properties of the user domain ===
 
=== Properties of the user domain ===
 
<ask>[[Property:+]][[.prop scope::user]]</ask>
 
<ask>[[Property:+]][[.prop scope::user]]</ask>
 +
 +
=== user classes ===
 +
<ask> [[.class color::+]] </ask>
 +
 +
=== user objects ===
 +
<ask> [[.obj is a::+]] [[.obj is a::*]]  </ask>
 +
 +
=== Ssample query on user object: who plays an instrument or a game? ===
 +
<ask> [[plays::+]] [[plays instrument::*]] [[plays game::*]]  </ask>
 +
  
 
[[Category:smdemo]]
 
[[Category:smdemo]]

Revision as of 14:08, 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>

Properties of the user domain

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

user classes

<ask> .class color::+ </ask>

user objects

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

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

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