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

All Questions

1 vote
1 answer
32 views

Neptune query behavior during edge creation

Gremlin query submitted to neptune to create edge , behaves differently when source/target vertices are missing. we are using gremlin query in below format to submit edge creation on amazon neptune. ...
Karthik Nair's user avatar
1 vote
1 answer
124 views

How do I create AWS Neptune nodes with nested proprieties using gremlin queries

I'm looking into a way to create nodes with nested proprieties like the "location" inside this example, that I found on Github here: https://github.com/apache/tinkerpop/blob/master/data/...
Tomás Santos's user avatar
0 votes
1 answer
395 views

Unable to add edge properties in Neptune/Gremlin?

I've been trying to add edges to existing vertices and give them a specific ID and some properties using the Gremlin library in nodeJS (connecting to an AWS Neptune graph) However, even though it ...
Oded Answer's user avatar
0 votes
1 answer
316 views

Prevent overlapping edges on AWS Neptune

I have a Tinkerpop graph database on AWS Neptune. In some cases, I have more than one edge connecting two nodes. In the screenshot below, there is a node for 'Gary Barlow' and there is a node for 'All ...
Data's user avatar
  • 739
0 votes
1 answer
477 views

Slow insertion using Neptune and Gremlin

I'm having problems with the insertion using gremlin to Neptune. I am trying to insert many nodes and edges, potentially hundred thousands of nodes and edges, with checking for existence. Currently, ...
ronenpi18's user avatar
0 votes
1 answer
267 views

Gremlin slow joinTime on Neptune

I have an issue with a request performance in Neptune. I have a graph like this : hasId('A_id') (count: 1) -> out('has_group') (count: 12) -> out('has_class').hasLabel('C') (count: 9751) -> ...
Pred05's user avatar
  • 512
0 votes
1 answer
817 views

Send string gremlin query to Amazon Neptune database using TinkerPop's gremlinpython

We can do the following to create a connection, and then attached the connection to the graph g object, and then use g to mirror gremlin query inline. from gremlin_python import statics from ...
user1187968's user avatar
  • 7,734
0 votes
1 answer
506 views

AWS Neptune Schema Optimization - Billions of nodes and edges

I am creating an AWS Neptune graph that will eventually have billions of nodes and edges. With this kind of data volume, I was wondering if there are some best practices when creating the schema to ...
natsbat4ws's user avatar
2 votes
1 answer
179 views

Guarantees of traversal order in AWS Neptune graph database

I'm working with Gremlin and AWS Neptune graph database. I was wondering if any query, when it is applied in different times (but the query stays exactly the same), could potentially result in ...
Danya's user avatar
  • 21
0 votes
0 answers
120 views

Vertex pattern analysis and matching using Gremlin with Amazon Neptune

I have following analysis data Problem statement: Find out a session (From Neptune session) that contains least inbetween vertex. As you can see expected output for following example data is [11, 12, ...
Anish Giri's user avatar
0 votes
1 answer
1k views

Use gremlin module for Python to add vertex to Amazon Neptune graph database

Synopsis I am trying to use Python on an Amazon EC2 instance, in the same VPC as an Amazon Neptune instance, to add a vertex (node) to Neptune. Using the example code for Amazon Neptune, I constructed ...
user avatar
2 votes
1 answer
2k views

Gremlin Query to count Edges - MemoryLimitExceededException AWS Neptune

Gremlin Query on Neptune to count no of edges for vertexes with certain label results in MemoryLimitExceededException. Error only occurs a few times i.e. if i run query 10 times, succeeds twice. ...
Balu Vyamajala's user avatar
3 votes
1 answer
1k views

Is there a way to store more information on the Edges of Amazon Neptune Graph?

I am doing a small POC project where I want to represent the road network of a village using Amazon's Neptune Graph. I have intersections that I intend to use as Vertex in this graph, and streets as ...
i_use_the_internet's user avatar
2 votes
1 answer
772 views

Most optimal Neptune query for getting all related vertices with the shortest distances

I need to get all related vertices with shortest distances to the given vertex, which distances does not exceed some maximum distance value. I came up with the following query for maximum distance of ...
Rob Yart's user avatar
  • 333
1 vote
1 answer
439 views

Most optimal gremlin query for getting all related vertices

I need to get all the vertices related by any number of relationships to the starting vertex. I have a working query, but it starts to slow significantly after a few hundred edges and the complexity ...
Dave Zabriskie's user avatar

15 30 50 per page