Gremlin如何获取不指向具有特定id的节点的节点?

Gremlin如何获取不指向具有特定id的节点的节点?,gremlin,tinkerpop3,Gremlin,Tinkerpop3,让我们从人1开始在现代图表中说。我们将如何找到以下内容: All nodes that person 1 knows. That have NOT created a software by id 5. Result would be person 2. person 1知道的所有节点。id为5的用户尚未创建软件。 结果将是第二个人 person 1知道的所有节点。id为5的用户尚未创建软件。 结果将是第二个人 gremlin> g.V(1).out('knows').not(o

让我们从人1开始在现代图表中说。我们将如何找到以下内容:

  All nodes that person 1 knows. That have NOT created a software by id 5.
  Result would be person 2.
person 1知道的所有节点。id为5的用户尚未创建软件。 结果将是第二个人

person 1知道的所有节点。id为5的用户尚未创建软件。 结果将是第二个人

gremlin> g.V(1).out('knows').not(out('created').hasId(5))
==>v[2]