Questions tagged [amazon-neptune]

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.

Overview, Features, Pricing, Getting Started, Resources, FAQs

930 questions
0
votes
0 answers

AWS Lambda access Neptune on the same VPC

I have the following lambda code to try to access Neptune from the same VPC on AWS. Which most copied from https://docs.aws.amazon.com/neptune/latest/userguide/access-graph-gremlin-python.html. But I am getting 403 Forbidden error. The source…
0
votes
1 answer

No data in Neptune after bulk load

After loading a lot of data into the Neptune from S3, I cannot see any vertices in the database. Here is my loader status: curl -G 'https://**.amazonaws.com:8182/loader/**?details=true&errors=true' ^[[A{ "status" : "200 OK", "payload" : { …
Omid
  • 1,959
  • 25
  • 42
0
votes
1 answer

Gremlin order() step not natively supported?

I'm running into a warning when profiling a slow gremlin traversal. WARNING: >> OrderGlobalStep([[[CoalesceStep([[VertexStep(IN,[view],edge), ProfileStep, NeptuneHasStep([isActive.eq(true)]), ProfileStep, EdgeVertexStep(OUT), ProfileStep,…
Fook
  • 5,320
  • 7
  • 35
  • 57
0
votes
1 answer

Encrypt existing AWS Neptune DB instance

I have created AWS Neptune DB. However, now I want to encrypt it. As per AWS documentation, I should take snapshot and while restoring, encrypt new DB instance. However, enabling Encryption check-box is disabled in my account. Am I missing anything?…
0
votes
1 answer

Upsert fails when using as() and coalesce()

I'm trying to create an upsert traversal in Gremlin. Update an edge if it exists, otherwise add a new edge. g.V("123") .as("user") .V("456") .as("post") .inE("like") .fold() .coalesce( __.unfold() .property("likeCount", 1), __.addE("like") …
Fook
  • 5,320
  • 7
  • 35
  • 57
0
votes
1 answer

AWS Neptune find all ancestors for a node

I used Jupyter notebook to insert the following vertices and edges into Neptune database. %%gremlin g.addV('my').property(T.id, '1').next() g.addV('my').property(T.id, '2').next() g.addV('my').property(T.id, '3').next() g.addV('my').property(T.id,…
user1187968
  • 7,154
  • 16
  • 81
  • 152
0
votes
1 answer

Python/Gremlin/AWS Neptune: Given a node, final all ancestors

I have the following code to setup a graph inside AWS Neptune. How can I find all ancestors for vertext "a"? Edges: a -> b b -> c c -> d d -> e a -> f a -> g g -> h Source Code: from gremlin_python import statics from…
0
votes
1 answer

Does an Increased Number of Node Types Impact Performance of Graph DBs?

I am in the process of creating a graph database, a simple one for movies with several types of information like the actors, producers, directors and so on. What I would like to know is, is it better to break down your nodes to a more granular…
Minura Punchihewa
  • 1,498
  • 1
  • 12
  • 35
0
votes
1 answer

Gremlin Python: Query a list and that returns key/value list

I want to query a list and the query response must return to me which response of the list item. For example: a = [1,2,3] graph.V().has("cid", "value", P.within(a)).in_('o_f_c').out('o_f_c').values().toList() The response of above query…
0
votes
1 answer

One way bulk transactional sync into a Tinkerpop graph

I have a system (Cassandra) that contains data that I would like to one-way "sync" with my Tinkerpop enabled store (I use AWS Neptune). By one-way sync I mean the data is only ever updated by the sync process from the source of truth to the graph…
Tinou
  • 5,908
  • 4
  • 21
  • 24
0
votes
1 answer

Leveraging AWS Neptune Gremlin Client Library

We're looking to leverage the Neptune Gremlin client library to get load balancing and refreshes automatic. There is a blog article here: https://aws.amazon.com/blogs/database/load-balance-graph-queries-using-the-amazon-neptune-gremlin-client/ This…
Ryan
  • 1,102
  • 1
  • 15
  • 30
0
votes
1 answer

Transform project results into a single list in Gremlin query

I have a gremlin query that I would like to return an array of user ids. Currently it's returning an array of arrays. One array for each projection. Is there a way to transform this array of arrays into a single array of user ids in the query or is…
Josh Chappelle
  • 1,558
  • 2
  • 15
  • 37
0
votes
1 answer

Gremlin Translator returning error: "Cannot read property 'length' of undefined"

I'm trying to use the Translator feature as described here: https://tinkerpop.apache.org/docs/3.4.11/reference/#translators But I get an error: "Cannot read property 'length' of undefined" I traced it back to this line in the Gremlin…
Fook
  • 5,320
  • 7
  • 35
  • 57
0
votes
1 answer

Removing an entire tree in Neptune using Gremlin

I'm new to using Gremlin + Neptune. I'm writing a small python program to cleanup some edges + nodes in a Neptune DB. To start, I want to delete all nodes + edges rooted at a particular node. After looking around, I came across How to delete all…
de1337ed
  • 3,113
  • 12
  • 37
  • 55
0
votes
1 answer

Retrieving data from Neptune DB using SPARQL queries

I am trying to retrieve the data from Neptune DB by using SPARQL queries. I connected to the EC2 instance which has same VPC as Neptune from local Jupyter Notebook. But the query is not retrieving any data and stdout is empty, I'm not sure where I…
Meghana Kb
  • 43
  • 5