Was able to make it work in gremlin using this query.

x = [] 
;g.v(172079).as('seller').store(x).outE('Seller').inV.inE('Buyer').outV.as('buyer').loop('seller'){x.contains(it.object)
 
== false}
x will contain the initial vertex which is the root seller and seller-buyer 
chain children.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to