next up previous contents
Next: Type Operators Up: Body Previous: RDF Schema   Contents

Operators

The query language implements a set of operators that enables to compare resources and literals.

Example : retrieve resources whose name contains "Olivier" :

?p   rdf:type   kmp:Person
?p   kmp:name   ?n
?n   ~          "Olivier"

There are polymorphic operators for strings and numbers :

= != < <= >= >

The following string operators implements contain, not contain, contained in, not contained in, begin with and not begin with :

~ !~ in !in ^ !^



Olivier Corby 2005-07-01