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
0
votes
2 answers
errorMessage": "'Neptune' object has no attribute 'stop_db_cluster"
The following code is given below for my lambda funciton
import boto3
client = boto3.client('neptune') response =
client.stop_db_cluster(DBClusterIdentifier='qa-n1-cluster')
output is given below
Response: { "errorMessage": "'Neptune' object…

eksm27
- 23
- 4
0
votes
1 answer
Tornado is throwing stream closed error in chalice python
I am trying out AWS Neptune for the first time using Chalice.
This is the entire error
Traceback (most recent call last):
File "/var/task/chalice/app.py", line 1104, in _get_view_function_response
response = view_function(**function_args)
…

Paul Ryan Lucero
- 521
- 1
- 3
- 16
0
votes
1 answer
regarding about export of neptune data
I am trying to export Neptune RDF data using the following tools.
amazon-neptune-tools/neptune-export at master · awslabs/amazon-neptune-tools
https://github.com/awslabs/amazon-neptune-tools/tree/master/neptune-export
But, Error…

chihiro
- 31
- 1
- 5
0
votes
2 answers
Get a secret from AWS secret manager using DefaultAWSCredentialsProviderChain
Is there a way to retrieve a secret from the AWS secret store using DefaultAWSCredentialsProviderChain java class?
If not please suggest a way to retrieve it? (I need this in the context of doing signature V4 signing the request to connect with AWS…

harish chava
- 252
- 2
- 19
0
votes
0 answers
Suggestions for neptune DB graph traversal management
We have implemented AWS Neptune DB as the graph implementation for our solution, I am having an issue with the connection being timed out multiple times.
This is our local development environment (this is a springboot application) where we access…
0
votes
1 answer
Want two Vertices off the same Edge in Gremlin
I have a graph like this
V('Producer')-E('RESPONSIBLE_PRODUCER)->V('Event')<-E('INSPECTED')-V('Engineer')
V('Event')<-E('ALIGNED_PRODUCER')-V('Producer')
That is, each 'Event' vertex has two incoming edges: one that terminates at an 'Engineer'…

fiacre
- 1,150
- 2
- 9
- 26
0
votes
2 answers
Gremlin identifying subsets of populations based on vertices that only have in or out edges
I've got a gremlin graph with users who have features. The edges of the graph go out from the users and enter the features. There are no incoming edges to the users and there are no outgoing edges from the features. Each user vertex has many dozen…

Justin Gerard
- 147
- 1
- 7
0
votes
1 answer
Apply customized transformation logic when replicate data from Neptune to AWS ElasticsearchService
Amazon Neptune now supports Full-Text Search Using Amazon Elasticsearch Service. It automatically replicates data from Neptune to Elasticsearch. My question is: Does Neptune support customized transformation logic during the replication? For…

coderz
- 4,847
- 11
- 47
- 70
0
votes
1 answer
Gremlin: select last (or first, or all, etc.) from set property
Given this vertex: g.addV().property('numbers',1).property('numbers',2).property('numbers',3).next()
I would like to select only the last value (3) in the numbers set. How can this be accomplished? I've reviewed the docs and not found a clear means…

JTW
- 3,546
- 8
- 35
- 49
0
votes
0 answers
Neptune is returning a 500 error on Lambda cold starts
I'm using Gremlin on Lambda (Node 12.x) to traverse Neptune. Occasionally on a cold start, Neptune will return a 500 error. From CloudWatch:
{
"errorType": "ResponseError",
"errorMessage": "Server error:…

Fook
- 5,320
- 7
- 35
- 57
0
votes
1 answer
Performant query to find all reacheable nodes
I'm studying AWS Neptune with Gremlin to build a permission system.
This system would have basically 3 types of vertices: Users, Permissions and Groups.
A group has 0..n permissions
A user can have 0..n groups
A user can be directly connected to…

João Menighin
- 3,083
- 6
- 38
- 80
0
votes
1 answer
Amazon Neptune: How to perform bulk update of edge/vertice properties?
I'm trying to perform a bulk update of edges within my property graph using the following gremlin command:
g.E().hasLabel('foo').property('expiry', 1607808123)
The count of edges in my graph with this label is ~3 million. I expect this operation to…

JTW
- 3,546
- 8
- 35
- 49
0
votes
1 answer
Can't connect to Neptune anymore
I have created a Neptune instance in my AWS and a Load Balancer to access it from my local machine to play around.
I'm basically redirecting all connections on the :80 at my LB to :8182 in my Neptune.
So I can easily query it through the browser. In…

João Menighin
- 3,083
- 6
- 38
- 80
0
votes
2 answers
Gremlin Python: How to use coalesce to get vertex if exists, else insert
Is it possible to use the Gremlin coalesce step to select a vertex by id (or properties) if such a vertex exists, otherwise insert the vertex? I've attempted to do so with the following, but I get a 'list' object has no attribute 'coalesce' error,…

JTW
- 3,546
- 8
- 35
- 49
0
votes
1 answer
Gremlin/Neptune: How to range from 0 to end of list?
Using the gremlin console connected remotely to a Neptune DB instance, I'm trying to range from a given index to the last result. It seems like Neptune doesn't accept range(0,-1). It's not throwing an error when I try it, it's just returning an…

Meagan Sullivan
- 117
- 1
- 10