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
One Gremlin query to get all connected vertices for multiple vertices
may I get some help from improving our query?
So the idea is that we have many connected sub-graphs, and each vertex has an unique id. Now we know some of ids, and we want to get all of the connected vertices in one query.
For example, we have a ->…
0
votes
1 answer
Is there a way to chain traversals in tinkerpop ? (other than .flatMap())
We've one photo sharing application and I'm using tinkerpop 3.4.3 java library and AWS Neptune graph. In our application, we're already using .flatMap() step to chain the traversals from the other methods. Our current code looks like this.
…

ashoksl
- 383
- 6
- 17
0
votes
1 answer
Gremlin query for getting the order for a "dependency graph" like graph
With the following graph:
g.addV("entity").property(id, "A")
.addV("entity").property(id, "B")
.addV("entity").property(id, "C")
.addV("entity").property(id, "D")
.addV("entity").property(id, "E")
.addV("entity").property(id, "F")
…

Daniel Olsson
- 698
- 1
- 6
- 18
0
votes
1 answer
Is there anyway to take backup/archive of a named graph data only from aws neptune using python?
Neptune has a feature of snapshot but instead of taking backup for a single named graph, it takes backup of the complete cluster. Is there anyway it can specifically get the backup of give graph name only?(sparql)

sundaram Shandilya
- 13
- 3
0
votes
1 answer
Neptune slow to insert data
I'm trying to load data with a script in python where I create 26000 vertex and related relationship.
Using gremlin-python, the script is like
g.V().has('dog', 'name', 'pluto').fold().\
coalesce(__.unfold(), __.addV('dog').property('name',…

dav04
- 19
- 7
0
votes
1 answer
Delete/clear all contents of a neptune named graph using sparql
I am trying to delete/clear data from a named graph using python. Used approach
import requests
url = "neptune_endpoint:8182/sparql"
query = "CLEAR GRAPH IRIref."
PARAMS = {"query" :query}
r = requests.get(url, params= PARAMS)
getting error…

sundaram Shandilya
- 13
- 3
0
votes
2 answers
0
votes
1 answer
Trying to update properties if it exists using gremlin query I am getting error as "Cannot find name 'has'"
Trying to update properties if it exists using gremlin query I am getting error as Cannot find name 'has' and the same query runs fine in Neptune notebook. But for the same thing in node.js I am getting error at "has"
Below is the query. What am I…

userrj_vj_051620
- 147
- 2
- 12
0
votes
1 answer
CSV Data format for Bulk Load in Amazon Neptune
I have two CSV files that I have to Bulk load in Amazon Neptune.
Vertex Data - -Node Data
Edge Data -Edge Data
I am trying to load this database in Amazon Neptune DB to create a Knowledge Graph on Edge Data,
But after completing all the required…

Karan Agrawal
- 3
- 3
0
votes
1 answer
How do we write gremlin update/modify query in node.js?
How do we write gremlin update/modify query in node.js ?
I want to update particular field and save the same and do not modify other fields which are not edited.
I have a table called "org" and it has some properties like name, id, label.
How can…

userrj_vj_051620
- 147
- 2
- 12
0
votes
1 answer
Close Connection on SessionClient - AWS Neptune
I use aws-neptune.
And I try to implement my queries as transactional(with sessionClient like: https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-sessions.html). But when I try to implement it, closing client throws exception.…

Sha
- 921
- 17
- 46
0
votes
0 answers
issue with Full-Text-Search Query Execution in Neptune with iam DB authorization enabled
I am trying to integrate ES with neptune for Full-Text-Search Query Execution. With IAM DB authorization enabled in neptune, it is not able to execute query and giving below error
{"detailedMessage":"The request signature we calculated does not…

santosh nahak
- 55
- 5
0
votes
1 answer
AWS Neptune python gremlin certificate verify failed
I have setup a ssh tunnel from local machine to neptune db and established a connection using endpoint.
ssh -L 8182:***.us-east-1.neptune.amazonaws.com:8182 ****
I see gremlin console work fine and i can able to run graph query but When i attempt…

Gowtham Ravichandran
- 11
- 4
0
votes
1 answer
How can I make complex Gremlin queries in AWS Neptune without variables?
I'm using Amazon Neptune, which does not support variables. For complex queries, however, I need to use a variable in multiple places. How can I do this without querying twice for the same data?
Here's the problem I'm trying to tackle:
Given a…

EarlyEarthworm
- 31
- 5
0
votes
1 answer
I have try to connect python jupyter notebook with amazon neptune DB Instance, but I got an error like this, what should I do?
This code, I got from the Amazon Neptune Tutorial https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-python.html
But, I got an error like this when I try to run the code in Jupyter Notebook (internal in my laptop).
This is my…