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

Comparing variables

It is possible to compare variables, just follow the triple syntax. Example looking for two different persons:
?p   rdf:type   kmp:Person
?q   rdf:type   kmp:Person
?p   !=         ?q



Olivier Corby 2005-07-01