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
1 answer
How do I set the query timeout using gremlin query for aws neptune?
I tried to use something like g.with_('evaluationTimeout', 1) but it does not seem to work

newbie master
- 130
- 9
0
votes
1 answer
How to calculate the PageRank and shortest path algorithm with gremlin in Amazon Neptune?
Is there any way to calculate PageRank and Shortest Path algorithm with gremlin in Amazon Neptune?
As it said in gremlin documentation PageRank centrality can be calculated with Gremlin with the pageRank()-step which is designed to work with…

Elite
- 5
- 5
0
votes
1 answer
openCypher client for AWS Neptune
I'm looking for a graph exploration tool similar to https://github.com/prabushitha/gremlin-visualizer for querying AWS Neptune while using openCypher to enjoy the new…

Avner Levy
- 6,601
- 9
- 53
- 92
0
votes
0 answers
Unable to connect to s3 endpoint from Session Manager
I am trying to bulk load RDF N-triples data from S3 bucket into Neptune loader. I have created a S3 bucket, IAM Role, Endpoint and Neptune cluster as per the following link https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-data.html.
To…

swathi selvaraju
- 61
- 3
0
votes
1 answer
Getting vertices and their immediate 'child' vertices with Gremlin
I have a set of data that looks like this:
I can go a super simple g.V('group_id').in('user').valueMap() to retrieve all the users and their properties. I can also retrieve the roles, but somehow, I can't retrieve all at once.
What I need to get is…

E.T
- 1,095
- 1
- 10
- 19
0
votes
0 answers
Neptune `barrier()` optimization
https://docs.aws.amazon.com/neptune/latest/userguide/gremlin-traversal-tuning.html
This documentation mentions an important optimization affecting Neptune engine version 1.0.5.0 recommending a barrier() step during a specific traversal…

Fook
- 5,320
- 7
- 35
- 57
0
votes
1 answer
Query Neptune nodes with Cypher not working in Node.js
I'm using Neptune version 1.0.5.0 with the bolt+s protocol.
I've run the following query: MATCH (n) return n limit 1
with Node.js neo4j latest driver (4.3) and getting the following error:
Neo4jError: "Unexpected server exception 'Data type…

Avner Levy
- 6,601
- 9
- 53
- 92
0
votes
1 answer
How to close Gremlin session client without executing submitted queries
I'm trying to use Gremlin sessions with Amazon Neptune and using GroovyTranslator to submit String queries, as shown in below snippet
Client.SessionedClient sclient = cluster.connect(sessionId, false);
GraphTraversalSource g =…

Mayuresh
- 11
- 3
0
votes
1 answer
Getting vertices and their edges upon a condition
I have a not so complex set of data, but I am struggling to make a query.
Let's say that I have a main vertex with id 1.
That vertex has edges to vertices 10, 11, and 12. Each of those vertices have edges to 100 and 101.
If I do something like…

E.T
- 1,095
- 1
- 10
- 19
0
votes
1 answer
Why does my Gremlin migration query only add one edge from each vertex?
I'm trying to add a Subscription vertex ([Org-Sends->Subscription<-Receives-User]) for each [Org-Manages->User] where one is not already present. I wrote this traversal, which appears to select the values I'm interested in:
g.V().hasLabel('Org')
…

chrylis -cautiouslyoptimistic-
- 75,269
- 21
- 115
- 152
0
votes
0 answers
AWS Lambda (NodeJS) > AWS Neptune = 403
Currently attempting to connect to Neptune via NodeJS Lambda.
The code works to the point of getUrlAndHeaders in both libraries and I am getting response back and a connection is created, however, on attempt to insert/select, I get the 403.
There…

Joe Kennedy
- 91
- 6
0
votes
1 answer
AWS Neptune bulk load endpoint results in 403 every time
I'm trying to bulk load data by hitting the neptune bulk load endpoint:
private void upload(String source) throws URISyntaxException, IOException {
String jsonReq = createJson("s3://" + source);
InputStream inputStream = new…

Ryan
- 1,102
- 1
- 15
- 30
0
votes
1 answer
Can I configure Gremlin GraphBinary to serialize enums as strings?
I have a Gremlin application that I want to connect with Amazon Neptune. My application tries to save properties with enum values, but Neptune doesn't support this. Is there a way to configure the serializer (GraphBinaryMessageSerializerV1) to…

chrylis -cautiouslyoptimistic-
- 75,269
- 21
- 115
- 152
0
votes
1 answer
AWS Neptune HTTP REST change response serializer from GraphSON to JSON
I'm using this sample to make HTTP REST queries from Lambda.
The output format named as GraphSON
{
"requestId": "104803b-e5d-4e49-bad8-e95e32fe7f0",
"status": {
"message": "",
"code": 200,
"attributes": {
"@type": "g:Map",
…

Andrii Krupka
- 4,276
- 3
- 20
- 41
0
votes
1 answer
Is it possible to re-use GraphTraversal object to build query chain?
I know that you can do this to add multiple vertices in a single transaction
g.addV(...).addV(...).addV(...).iterate();
But is there a way to re-use the GraphTraversal object to construct the query chain using a loop to add multiple vertices in a…

DrakeX
- 27
- 4