Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [gremlin]

Gremlin is the graph traversal language and virtual machine of Apache TinkerPop™

0 votes
0 answers
114 views

Batch mergeV working well when creating items, but yielding unexpected results when updating

I used this thread Gremlin MergeV To Update an Existing Element's property and Single Cardinality as a reference to test a mergeV query that creates a vertex with some properties if its id is not ...
Péricles Serotini's user avatar
0 votes
1 answer
97 views

mergeV query not working on AWS Neptune with gremlinpython

So I'm trying to follow the instructions on this thread Send string gremlin query to Amazon Neptune database using TinkerPop's gremlinpython, but it's not working with the mergeV example extracted ...
Péricles Serotini's user avatar
4 votes
1 answer
101 views

Merge Operator in sack() step does not work as expected

I've been working with sack() step in gremlin. I'm trying to perform some operation on sack when two traversers merge. But for some reason the merge doesn't seem to work as expected. To describe my ...
Naveen Raj's user avatar
0 votes
2 answers
44 views

Gremlin query optimization to remove redundant data from "path" step

I have person vertex and book vertex connected by owns edge (i.e. person => owns => book). One person can own multiple books. Let's say I have following vertices & edges which indicates that ...
coderz's user avatar
  • 4,971
0 votes
0 answers
57 views

Gephi not displaying graph from gremlin console .......1. error

Ibeen tinkering with Gremlin console and was trying to visualize graph created in gremlin console through Gephi(V0.1)and gremlin 3.7. I followed the instruction from Tinkerpop tutorials. https://...
kirosumi's user avatar
0 votes
1 answer
35 views

Why I could not do E step at the middle of a Gremlin query?

I notice that I could not have an E step at the middle of a Gremlin query. Is there a reason behind it, or just the feature is missing? g.V().....E()... Basically, I have an index on an edge property ...
Hieu Nguyen's user avatar
0 votes
1 answer
45 views

Fetch substring of a field from the edge of a graph

I am trying fetch substring of field that is stored as an attribute in the edge of graph. To be more specific on the company-company edges I have attached the graph creation query. g.addV('company')....
SDS's user avatar
  • 331
0 votes
1 answer
69 views

Tinkerpop Gremlin Query: Find all edges pointing back to a vertex in the current path

I query the following path: Company has Employees has User From User I want to find all HasRights edges which point back to the current Company (the user also has rights on other companies). See TODO ...
uTILLIty's user avatar
  • 475
0 votes
1 answer
334 views

How to run query as a string using Gremlin Python

I'm using lambda to query a Neptune graph where I'm trying to get output paths for a set of nodes. The query string is dynamically created in code as shown below. I was initially using Eval() to do ...
Sudha N's user avatar
  • 25
0 votes
1 answer
89 views

gremlin query for cycle detection works for complex graph but returns nothing for simple one

I have a gremlin query to detect cycle nature of the graph. I have tested it with multiple large complex graph it works as expected. But it does not return anything with simple 1 depth graph. Could ...
SDS's user avatar
  • 331
0 votes
0 answers
91 views

JanusGraph fails to create connection with multi-node Cassandra cluster

I have a multi-node Cassandra cluster version 4.1.3 with 3 nodes. I have changed the following properties in their cassandra.yaml file. cluster_name: 'cassandra_cluster' listen_address: <node_IP>...
Naveen Raj's user avatar
0 votes
1 answer
224 views

How to do "constant([:])" in gremlin-go

I previously received helpful guidance from Kelvin in a Stack Overflow post (linked here: Gremin mergeV() Upsert: knowing whether the vertex was added or not(side-effect free)) regarding the ...
Zhen_Lian's user avatar
0 votes
1 answer
51 views

select and arrange multiple result within single projection

Apologies for not having sample graph. I’ve a directed acyclic graph mapping where Multiple nodes called "greatgrandparents" have edges to "grandparents" that has edges to ...
Anil_M's user avatar
  • 11.3k
0 votes
1 answer
49 views

Determine if node is Leaf node or not in Gremlin

I am looking for a ways to find out the all the nodes coming out of a root node are either leaf node or intermediate node. I have added the a sample graph. g.addV('company').property(id,'TESTNX01')....
SDS's user avatar
  • 331
0 votes
1 answer
200 views

Connect to Neptune DB from Rest API .NET C#

I am trying to connect a .NET C# Service to my Neptune DB Instance. Through command lines, I am able to query the Database by connecting to an EC2 Instance and running a Gremlin client in that ...
Ben Tan's user avatar
  • 13

15 30 50 per page
1
3 4
5
6 7
241