tinkerpop

What is tinkerpop? [closed]

旧城冷巷雨未停 提交于 2021-02-18 10:25:30
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 7 years ago . Improve this question How the forum TinkerPop can be addressed? Is it going to specify a standard for the Graph DBs and the related technology Frameworks? In this effort TinkerPop is considered as an authority or pioneer in some sense? I was not able to understand these by going

Variables - Gremlin on Neptune

假如想象 提交于 2021-02-10 02:58:24
问题 I'm on the Gremlin console and connected to an AWS Neptune DB g.V().hasLabel('Risk').toList() provides the expected results, but when i try to assign the results to a variable risks = g.V().hasLabel('Risk').toList() I get the message below - the token recognition error is clearly throwing on the variable name because when i change the variable name the position and "at" part of the message changes. {"requestId":"650d7c4b-44d1-43f8-b9a3-fbf085cc3ead","code":"MalformedQueryException",

Variables - Gremlin on Neptune

别等时光非礼了梦想. 提交于 2021-02-10 02:56:47
问题 I'm on the Gremlin console and connected to an AWS Neptune DB g.V().hasLabel('Risk').toList() provides the expected results, but when i try to assign the results to a variable risks = g.V().hasLabel('Risk').toList() I get the message below - the token recognition error is clearly throwing on the variable name because when i change the variable name the position and "at" part of the message changes. {"requestId":"650d7c4b-44d1-43f8-b9a3-fbf085cc3ead","code":"MalformedQueryException",

Variables - Gremlin on Neptune

*爱你&永不变心* 提交于 2021-02-10 02:55:24
问题 I'm on the Gremlin console and connected to an AWS Neptune DB g.V().hasLabel('Risk').toList() provides the expected results, but when i try to assign the results to a variable risks = g.V().hasLabel('Risk').toList() I get the message below - the token recognition error is clearly throwing on the variable name because when i change the variable name the position and "at" part of the message changes. {"requestId":"650d7c4b-44d1-43f8-b9a3-fbf085cc3ead","code":"MalformedQueryException",

Variables - Gremlin on Neptune

自闭症网瘾萝莉.ら 提交于 2021-02-10 02:54:52
问题 I'm on the Gremlin console and connected to an AWS Neptune DB g.V().hasLabel('Risk').toList() provides the expected results, but when i try to assign the results to a variable risks = g.V().hasLabel('Risk').toList() I get the message below - the token recognition error is clearly throwing on the variable name because when i change the variable name the position and "at" part of the message changes. {"requestId":"650d7c4b-44d1-43f8-b9a3-fbf085cc3ead","code":"MalformedQueryException",

Variables - Gremlin on Neptune

一曲冷凌霜 提交于 2021-02-10 02:54:42
问题 I'm on the Gremlin console and connected to an AWS Neptune DB g.V().hasLabel('Risk').toList() provides the expected results, but when i try to assign the results to a variable risks = g.V().hasLabel('Risk').toList() I get the message below - the token recognition error is clearly throwing on the variable name because when i change the variable name the position and "at" part of the message changes. {"requestId":"650d7c4b-44d1-43f8-b9a3-fbf085cc3ead","code":"MalformedQueryException",

Variables - Gremlin on Neptune

纵饮孤独 提交于 2021-02-10 02:53:28
问题 I'm on the Gremlin console and connected to an AWS Neptune DB g.V().hasLabel('Risk').toList() provides the expected results, but when i try to assign the results to a variable risks = g.V().hasLabel('Risk').toList() I get the message below - the token recognition error is clearly throwing on the variable name because when i change the variable name the position and "at" part of the message changes. {"requestId":"650d7c4b-44d1-43f8-b9a3-fbf085cc3ead","code":"MalformedQueryException",

Gremlin for CosmosDB - Cannot create ValueField on non-primitive type GraphTraversal

谁说胖子不能爱 提交于 2021-01-29 18:34:32
问题 I'm trying to execute a query but facing this error. Below query is the simplest form of what I was trying to achieve. g.V('Users12345').as('u'). project('id', 'email', 'test'). by('id'). by('emailId'). by(where(values('id').is(eq(select('u').values('id'))))) I was trying to use select inside project. What's that I'm missing here? 回答1: The invalid part is eq(select('u').values('id')) . I guess "the query in its simplest form" means that you're aware of it being pointless. Assuming that u is

Shortest path taking into consideration the weight on tinkergraph in Java

无人久伴 提交于 2021-01-29 08:16:16
问题 I'm trying to find the shortest path taking into consideration the weights properties on the edges my work is on TinkerGraph and i want to do it in java. gremlin is not very helpful for me g.V().has(id1). repeat(both().simplePath()). until(has(id2)).as("path"). map(unfold().coalesce(values("weight"), constant(0)). sum()).as("cost"). select("cost","path").next().get("path"); this gives me the shortest path without taking into consideration the weight property on the edges . EDITED: my example: