next up previous contents
Next: Datatype Up: Body Previous: Property   Contents

Type

Defining the type of resources that are searched. The query engine uses the rdfs:subClassOf subsumption relation to answer an rdf:type query. It retrieve resources that are of the given type or that are of a type that is a subClassOf the given type.

Example : retrieve resources of type Person and Document :

?p  rdf:type  kmp:Person
?d  rdf:type  kmp:Document

An rdf:type can be customized with a direct qualifier (see below).



Olivier Corby 2005-07-01