Hi,
With below data, I'm trying to find all nodes that are connected to DRAFT and doesn't have incoming has-draft edge. Which in this case, it would be node 7 (Lorem).
I managed to get it with Gremlin with below command:
g.query().has("label", "Restaurant").vertices()._().as('x').out('has-status').has('name', 'DRAFT').back('x').filter{!it.inE('has-draft').hasNext()}.map
But I have problems to convert this Gremlin expression into clojure/ogre. What "!" and "hasNext" can be converted into?