If you have class A mapped to cluster a, you can do:
select from A where not( out.in.@class in ['b'] )
This means the cross "out" property of the A records (like edges), then the "in" property (vertex), and then get the class name (@class). I used the IN operator instead of = (equal) because "out.in. @class" returns a collection of class names.
If you want to have class A and you need to go through the cluster, use cluster: syntax:
select from cluster:A where not( out.in.@class in ['b'] )
I tested the latest version 1.0rc8-SNAPSHOT and it works.
source share