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.
Questions tagged [amazon-neptune]
930 questions
4
votes
1 answer
AWS Neptune Performance / Issues with Gremlin
Working on loading data to Neptune using gremlin , Having Neptune Infrastructure of DB Instance size (db.r5.4xlarge(16 vCPUs)).
Data is loaded to Neptune via AWS Glue job with 5 worker threads using pyspark.
Loading data by doing an upsertion with…

Gokulakrishnan
- 227
- 1
- 2
- 12
4
votes
2 answers
Problem connecting from Neptune Database to Notebook
I was able to connect to the Notebook for my Database cluster earlier but now I am getting error when I do %status.
I have created cluster and notebook with new VPC connection and also added the roles. I have also verified that the VPC connection is…

Meghana Kb
- 43
- 5
4
votes
1 answer
AWS Neptune access from Lambda - Error 429 "Too Many Requests"
I am working on an app that uses AWS Lambda which eventually updates Neptune.
I noticed, that in some cases I get a 429 Error from Neptune: Too Many Requests.
Well, as descriptive as it might sound, I would love to hear an advice on how to deal with…

superuser123
- 955
- 2
- 12
- 24
4
votes
2 answers
Neptune - How to get distance to all nodes with proportional weights gremlin
I'm having difficult time figuring out query in gremlin for the following scenario. Here is the the directed graph (may be cyclic).
I want to get top N favorable nodes, starting from node "Jane", where favor is defined as:
favor(Jane->Lisa) =…

Some name
- 53
- 4
4
votes
1 answer
How can I use GraphQL to execute Gremlin queries?
I have a backend service with Gremlin and Amazon Neptune. I would like to provide a GraphQL endpoint to execute queries in Neptune.
I found an old hackathon project that might works. But, I would like to know if there is a better way to achive it.

cmaluenda
- 2,099
- 1
- 14
- 15
4
votes
1 answer
Neptune-Gremlin-Python | Best practises for scaling network analysis and serving use cases like recommendations in realtime
I have a generic question around the best practises on usage of Neptune DB as a network database and its ability to scale up for complex computing. I want to develop a user recommendation system where incoming users on the platform are prompted…

akriti
- 109
- 7
4
votes
1 answer
AWS Neptune DB vs. Dynamo DB for entity lineage
I'm trying to evaluate what might work best for the following use-case:
There exists a set of entities that can be represented as a graph. Each vertex in the graph represents an entity, and each (uni-directional edge) represents a child-to-parent…

Lakshay Sharma
- 827
- 1
- 7
- 19
4
votes
1 answer
Variables - Gremlin on Neptune
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…

Paul C
- 303
- 5
- 15
4
votes
1 answer
Can I use a Reserved Instance or Savings Plan for Neptune?
Is it possible to apply a Reserved Instance or Savings Plan towards the instances I am using for Neptune? For example, I currently have a Neptune cluster with a single db.r4.large instance. Would purchasing a Compute Savings Plan discount my Neptune…

Fook
- 5,320
- 7
- 35
- 57
4
votes
1 answer
Gremlin Python: Count vertices and its children in one query
I am trying to get the count of all vertices with a particular label and all its children in one query like so:
g.V().hasLabel('folder').has('folder_name', 'root').as_('a', 'b').select('a',…

Raghav Jajodia
- 419
- 4
- 6
4
votes
2 answers
How to implement full text search using AWS Neptune as the source
I've seen on other questions that Gremlin & Neptune do not support full text search natively.
How can I provide this feature as part of my web-site?
Ideally it would be not require running up more infrastructure/software that I have to look…

James Render
- 1,490
- 1
- 14
- 26
4
votes
1 answer
Amazon Neptune: How to create custom vertex id in Python using tinkerpop/gremlinpython package?
As outlined here https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-differences.html custom vertex ids can only be set with the unquoted id property, i.e., g.addV('label1').property(id, 'customid'). How can one accomplish this…

JTW
- 3,546
- 8
- 35
- 49
4
votes
1 answer
Is there a way to optimize this Gremlin query?
I have a graph database which looks like this (simplified) diagram:
Each unique ID has many properties, which are represented as edges from the ID to unique values of that property. Basically that means that if two ID nodes have the same email,…

Charlie Collard
- 43
- 4
4
votes
2 answers
How to retrieve a property value of a vertex in python gremlin
It might be easy, but I am really struggling with this problem. I use gremlin python lib and aws neptune db.
I know the vertex id, I just want to get the value(String type in python) of one of the properties of the vertex, and update it.
I have…

Hongli Bu
- 461
- 12
- 37
4
votes
1 answer
Having clause for a group count gremlin query
I have a query where I need to find the groupCount of a particular type of vertices where the count is greater than 1.
eg
g.V().hasLabel('airport').limit(40).groupCount().as('gc').by('region').having('gc',gt(1))
I know this syntax is not valid…

Ujjwal Pathak
- 646
- 12
- 21