Skip to main content

Questions tagged [amazon-neptune]

For questions related to Amazon Neptune, a graph database service which supports both Property Graph and RDF graph models, as well as their respective query languages Apache TinkerPop Gremlin, openCypher and SPARQL.

amazon-neptune
0 votes
0 answers
10 views

Neptune gremlin query times out

I have a Neptune cluster and I am using Gremlin for my queries. I have a query where it traverses nodes and adds other nodes connected to it. The issue is when I run this through the Notebook it runs ...
Khashayar's user avatar
  • 2,024
0 votes
1 answer
42 views

Cypher Query Optimize

I am using AWS Neptune and using python with neo4j to query the database. I am having difficult time to fetch the completely hierarchy by a node id. I want the all children and sub children which are ...
ak4550126's user avatar
-1 votes
1 answer
44 views

Error while saving entity in AWS neptune with neo4j-ogm

I try to evaluated if i can use Quarkus neo4j-ogm library with AWS Neptune but it fails with following error when saving 2024-06-28 10:20:18,900 DEBUG [org.neo.ogm.dri.bol.req.BoltRequest] (executor-...
dr0ps's user avatar
  • 19
1 vote
2 answers
41 views

Gremlingo stuck while evaluting g.V().hasNext()

I have a piece of code where i evaluate to drop vertices but only if a pre-fetch of g.V().<filters>.hasNext() returns true. Problem is on my subsequent call to fetch the nodes themselves it is ...
Wajih Siddiqui's user avatar
0 votes
1 answer
19 views

Apache TinkerPop Gremlin query language is not getting converted to Neptune-specific steps that are optimized to run on the underlying Neptune engine

I am using explain() API on AWS neptune cluster as below- GraphTraversalSource g = getTraversal(cluster); TraversalExplanation explain = g.V().hasLabel("Users").explain(); System.out....
dishabehrani77's user avatar
0 votes
1 answer
30 views

Gremlin query, get all the nodes 2 - 4 steps from the selected nodes

I would like to retrieve all the nodes that are 2 to 4 steps away from a selected node. My thought was that I could separate the query into two repeat().times(2) step so that I can call them later: ...
Herman Yuen's user avatar
1 vote
2 answers
73 views

Amazon Neptune OpenCypher - What is the cause for "Operation terminated (internal error)" when using SET after MERGE?

I am running this simple query on an Amazon Neptune DB, using directly the Neptune API: POST {{host}}/openCypher Content-Type: application/json { "query":"MERGE (t:Test {reference: ...
Joats's user avatar
  • 11
0 votes
0 answers
41 views

Why "Could not locate method: NeptuneGraphTraversal.property()" after addE()?

I'm trying to convert the code from this QA about copying a node from groovy gremlin to nodejs gremlin. One section of that code I've converted like so this.__.select('source').inE().as('e'). select(...
Joseph Summerhays's user avatar
0 votes
0 answers
16 views

Setting constants for usage in math steps with select in gremlin

I have a working js gremlin query for Haversine distance which I am looking to make more composable by setting constants for usage in the math step in some other way than using withSideEffect. The ...
ashissl's user avatar
  • 147
0 votes
1 answer
20 views

Gremlin - can I attach a property to a path?

So my question is, after traversal, I have got several paths, a path looks like node1-edge1-node2-edge2-node3, now I want to attach a property called 'frequency' to this specific path, and its values ...
Z Yk's user avatar
  • 1
0 votes
1 answer
69 views

Neptune graph traversal that uses dynamically calculated values from last vertex to select outgoing edges for further traversal

Here is my graph: Here is graph building code: // backslashes included so the code can be copy and pasted into gremlin console g\ .addV("Person").property(T.id, "A").as("a&...
spc16670's user avatar
  • 536
0 votes
1 answer
27 views

Neptune Gremlin how to break cycles when collecting paths

I have the following graph: Created using: g.addV("Person").property(T.id, "1").as("p1") .addV("Person").property(T.id, "2").as("p2"...
spc16670's user avatar
  • 536
0 votes
1 answer
40 views

Neptune gremlin graph traversal that uses previous edge property to decide next edge, and the property is a collection

My requirement is to use properties from incoming edge which can be sets of strings to decide which outgoing edges to select for further traversal. If any of the values in one collection can be found ...
spc16670's user avatar
  • 536
0 votes
0 answers
24 views

Facing Python Gremlin Timeout Issue: (gremlin-3.7.0)

I am using gremlinpython==3.7.0. I am getting Timeout Issue, while fetching the results. Error: gremlin_python.driver.protocol.GremlinServerError: 598: {"detailedMessage":"A timeout ...
ak4550126's user avatar
1 vote
1 answer
23 views

why doesn't this graph traversal object have a .from() function? gremlin query in nodejs

I've encountered a bug, and here is the minimal replication of it in nodejs. g.addV("foo").as("x").addV("bar").as("y").addE("relatesTo").from("x&...
Joseph Summerhays's user avatar

15 30 50 per page
1
2 3 4 5
68