Gremlin:如何找到源自起始节点并与特定其他节点有连接的节点?

Gremlin: how to find nodes that stem from starting node and have connection to a particular other node?

例如使用 Appache 现代图形从节点 person 1 (marko) 开始。我想找到 marko 知道的所有创建了名称为 ripple 的软件的节点。意思是我想找到节点 4.

我会为此使用哪种查询?

g.V(1).out('knows').where(out('created').has('name','ripple'))