Difference between revisions of "SMW Demo"

From FollowTheScore
Jump to: navigation, search
Line 16: Line 16:
 
{{#ask:[[Peter]]|[[plays::*]]
 
{{#ask:[[Peter]]|[[plays::*]]
 
}}
 
}}
 
+
=== is a ===
<ask>
+
<ask> [[is a::+]] [[is a::*]] </ask>
  [[is a::+]] [[is a::*]]
+
=== has type ===
</ask>
+
<ask> [[has type::+]] [[has type::*]]  </ask>
  
 
[[Category:smdemo]]
 
[[Category:smdemo]]

Revision as of 20:52, 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>

has type

<ask> has type::+ has type::* </ask>