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
gremlin query using promise. Can't use it to return desired result
When using the following Gremlin statement to query AWS Neptune, the completableFuture is not returning the desired result. As i tried the following:
graphTraversal.promise(Traversal::hasNext());
Scenario 1:
It works for single vertex…

CdVr
- 323
- 3
- 15
0
votes
1 answer
Can a Lambda in a VPC be triggered by an S3 object creation event or API Gateway without routing through NAT Gateway?
If my design involves a Neptune cluster in a VPC in a private subnet and a lambda running in the same VPC subnet, can this be triggered using API Gateway/S3 events without using the NAT Gateway?
The idea is to have 2 separate lambdas - one for bulk…

tantan
- 81
- 7
0
votes
2 answers
How to get in / out spanning tree of a node with readable labels in response with gremlin?
This question is to how get a more readable response from gremlin that can be used to further process the data. I can get the spanning tree with simplePath step with some arbitrary depth (10 here) as follows:
g.V().has(name,…

EasyQuestions
- 327
- 1
- 10
- 23
0
votes
1 answer
How to authenticate js websocket for gremlin post request against Amazon Neptune endpoint
I am working on setting up JavaScript code to run a POST request against an AWS endpoint that is set up. It requires authentication to access, and I am able to test and get data back using postman where I set the Auth type to AWS Signature and set…

Jicaar
- 1,044
- 10
- 26
0
votes
1 answer
Lambda timeout when adding an edge using nodejs to aws neptune using gremlin
We are trying to add an edge between two vertex using nodejs running in Lambda and aws neptune.
We can easily add a vertex, but when we try to add an edge, our Lambda timesout. Our timeout is set to 20 seconds.
Here is the code.
async function…

pkpk
- 641
- 1
- 7
- 18
0
votes
2 answers
how to filter properties with values in Neptune + nodejs
with Neptune + nodejs
g.V().hasLabel('A').properties()
returns:
id, label, value
1, 'p1','v1'
2, 'p1','b2'
3, 'p1','b3'
4, 'p1','d4'
how can I do a filter so it only returns:
id, label, value
2, 'p1','b2'
3, 'p1','b3'
I…

Zhongmin
- 1,684
- 1
- 16
- 33
0
votes
0 answers
Find vertices that are related to another vertex that has duplicate properties
Consider I have person vertices and these vertices have a studied-at edge to school vertices . If school vertices have a name property and for some reason if there are few person vertices that have school vertices with duplicate name property
For…

Hemant
- 1
0
votes
2 answers
Tinkerpop Gremlin Console: java.lang.NoSuchMethodError: org.apache.tinkerpop.gremlin.driver.RequestOptions$Builder.userAgent
As my last post at 403 Forbidden error for Gremlin to AWS Neptune, I could successfully connect to my Neptune Cluster DB via my Tinkerpop Gremlin console v 3.4.3 that installed at my EC2 instance as v 3.4.1 suggested at…

Yifan Jiang
- 73
- 1
- 5
0
votes
1 answer
Getting request data with Gremlin.Net
I'm working with Gremlin.Net & Neptune and once a while some of the requests fail without much information in the error message (InternalFailureException).
I want to try and send the request through curl to the server's "/gremlin/explain" URL to get…

Avner Levy
- 6,601
- 9
- 53
- 92
0
votes
2 answers
DELETE WHERE not working with property path sequences sparql
PART 1:
These are the triplets which already exists.
"name"^^xsd:string
"place"^^xsd:string
"name1"^^xsd:string
…

harish chava
- 252
- 2
- 19
0
votes
1 answer
How to use multiple hashmaps in gremlin to generate dynamic properties when adding vertices
I want to create PARENT - HAS_CHILD -> CHILD nodes in my graph database using single gremlin traversal.
Problem is that PARENT vertex, HAS_CHILD edge and CHILD vertex have different properties and should come from different Hashmaps.
I am using java…

Umar Farman Ali
- 133
- 1
- 8
0
votes
2 answers
Are their performance differences between querying inbound vs outbound edges on a graph database?
Say I have a vertices V() and K() and I have potential edges:
V --isChildOf--> K
V <--isParentOf-- K
If I'm looking for children of vertex V, are their performance differences between:
V.out('isChildOf') vs V.in('isParentOf')?
Database: NeptuneDb

user13160267
- 3
- 1
0
votes
1 answer
How do I convert Gremlin-Console-Code in Java-Code?
I really like Gremlin but I think it's sometimes really hard to convert the Code of the Console to Java-Code
For Example this:
g.E().project('EDGE','IN','OUT','PROP')
.by(id())
.by(inV().union(id()).fold())
…

lucas
- 197
- 4
- 14
0
votes
0 answers
Advantages of using container vs no container in sparql
Normal Data Insertion
{
:sub :pred 'o1'.
:sub :pred 'o2'.
:sub :pred 'o3'.
}
Data insertion using container
{
:sub :pred :_b.
:_b rdf:type rdf:Seq.
:_b rdf:_1 'o1'.
:_b rdf:_2 'o2'.
:_b rdf:_3 'o3'.
}
When I used the basic…

harish chava
- 252
- 2
- 19
0
votes
1 answer
errorMessage“: ”'Neptune' object has no attribute 'stop_db_cluster"
Even which is not running on boto3 version 1.12.19 updated version
depend on this ticket, errorMessage": "'Neptune' object has no attribute 'stop_db_cluster"

eksm27
- 23
- 4