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
0 answers
Why AWS Neptune is not supporting MetaProperties feature?
Why AWS Neptune is not supporting the MetaProperties feature? It's a very useful feature in gremlin. Will it support the upcoming release?
Usecase 1:
Girl Name usually change from time to time, birth name will have her dad family name after…

Thirumal
- 8,280
- 11
- 53
- 103
0
votes
1 answer
TinkerPop multiple .by() only returning the last .by() value
I am using Java with TinkerPop v. 3.5.1 with Neptune DB
I am trying to use either .path().by("fieldName").by("otherFieldName") but I am only getting the value from the last .by("otherFieldName") returned, when I want the values from both .by().
Here…

Ebad
- 131
- 11
0
votes
1 answer
instanceof returns false in jdbc
I have problem with instanceof in java.
For clarification, I use aws-neptune-jdbc drive for connection to janusgraph server.
I create GraphSONMessageSerializerV3d0 which is obviously instance of MessageSerializer. After that i put serializer in…

Makar Selivanov
- 3
- 3
0
votes
1 answer
Performance benchmark between boost graph and tigerGraph, Amazon Neptune, etc
This might be a controversial topic, but I am concerned about the performance of boost graph vs commercial software such as TigerGraph, since we need to choose one.
I am inclined to choose Boost, but I am concerned whether performance-wise, boost is…

Michael
- 673
- 2
- 5
- 23
0
votes
1 answer
Is there a way to do an atomic increment of a property in Gremlin / Tinkerpop?
I've read thru the Tinkerpop documentation but I don't see (or I missed) a way to do atomic incrementing of properties on a vertex.
I'd like to do something like adding a document to a folder and atomically update a property to cache…

Adam
- 1,202
- 11
- 25
0
votes
1 answer
Gremlin - how to ensure one vertex only have one inbound edge?
I have person vertex and book vertex connected by owns edge (aka person=> owns => book). How can I ensure one book can only be owned by one person? In other words, I need a Gremlin query like addE('owns').from(person_1).to(book_1) only if the vertex…

coderz
- 4,847
- 11
- 47
- 70
0
votes
1 answer
Why is Gremlin query using Until/Repeat so much less performant than direct edge traversal?
I'm trying to understand a query plan in a more complex query but for simplicity I broke it down to a simpler example. I'm not understanding why a direct edge traversal is so much faster than an until/repeat traversal.
You can set up the scenario…

Adam
- 1,202
- 11
- 25
0
votes
0 answers
Optimizing Gremlin Query for Neptune outV() inV()
I'm new to gremlin and I'm trying to optimize the query.
Any ideas what can be done?
traversal = graph.V(fromID).toE(toID)
traversal.project(1KEY,…

Stacy
- 43
- 7
0
votes
1 answer
Gremlin find total number of edge connecting the provided vertex
I have a similar graph as provided here. I have simplified to be with airports as vertex and edge as a person travelling though those airports. I want to find the number of people who have travelled to the two airport from b to f (except airport d).…

Rajesh Paudel
- 1,117
- 8
- 19
0
votes
1 answer
Downtime required for 20 GB of Neo4j DB data migration to Neptune
I want to migrate 20 GB of Neo4j Graph data to AWS Neptune. how much Neo4j DB downtime is needed for entire data migration and how to handle the data lost during downtime.

anisha
- 1
0
votes
1 answer
Adding a node and edge to a graph using Gremlin behaving strange
I'm new to using Gremlin (up until now I was accessing Neptune using Opencypher and given up due to how slow it was) and I'm getting really confused over some stuff here.
Basically what I'm trying to do is -
Let us say we have some graph A-->B-->C.…

Oded Answer
- 11
- 2
0
votes
2 answers
Gremlin continue traversal only if 2 vertices are not the same
I have a query which looks at 2 different vertices and I want to stop traversing if they don't both roll up to the same root ancestor via a path of "contains" edges.
g.V('node1')
.until(hasLabel('root')).repeat(in('contains')).as('node1Root')
…

Adam
- 1,202
- 11
- 25
0
votes
1 answer
Gremlin query in Lambda not returning results
I am trying to execute a Neptune SparQl query inside a Lambda function.
Following the documentation : AWS Lambda function examples for Amazon Neptune
I have used the sample for nodeJS.
Running the sample I get in response :
{
"value": "5403",
…

Pogrindis
- 7,755
- 5
- 31
- 44
0
votes
1 answer
High memory consumption of gremlin query on AWS Neptune
I'm trying to parallelize a query to count vertices that have an edge of a given label in AWS Neptune on a large Graph by partitioning vertices by ID:
g.V().hasLabel('Label').
hasId(startingWith('prefix')).
…

user1587520
- 3,777
- 1
- 21
- 20
0
votes
1 answer
openCypher equivalent of Gremlin repeat...until loop
Using the air-routes data set, the following Gremlin query will find five routes between Austin (AUS) and Wellington (WLG).
g.V().has('code','AUS').
repeat(out('route').simplePath()).
until(has('code','WLG')).
limit(5).
path().
…

Kelvin Lawrence
- 14,674
- 2
- 16
- 38