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
6
votes
5 answers

How to delete graph in amazon Neptune

How to delete Neptune graph or delete all vertex and edges from the graph. Is there also way from the gremlin. Rather than iterating all the nodes and delete single vertex
6
votes
1 answer

Gremlin OLAP queries on AWS Neptune

In the AWS Neptune documentation it says it is Apache TinkerPop Gremlin compatible but it only refers to online transaction processing (OLTP) type of graph traversal queries. I haven't seen anything about long-running online analytical processing…
onurmatik
  • 5,105
  • 7
  • 42
  • 67
5
votes
1 answer

Anonymous traversal vs normal traversal gremlin

I have read the documentation about anonymous traversals. I understand they can be started with __ and they can be used inside step modulators. Although I dont understand it conceptually. Why cannot we use a normal traversal spawned from graph…
CHID
  • 1,625
  • 4
  • 24
  • 43
5
votes
1 answer

How to do efficient bulk upserts (insert new vertex, or update property(ies)) in Gremlin?

Context: I do have a graph with about 2000 vertices, and 6000 edges, this over time might grow to 10000 vertices and 100000 edges. Currently I am upserting the new vertices using the following traversal query: Upserting Vertices &…
EasyQuestions
  • 327
  • 1
  • 10
  • 23
5
votes
3 answers

Problems connecting to Neptune from Lambda

I have created a simple AWS Neptune cluster, with a writer and no read replicas. I used the option to create a new VPC for it, and two security groups were automatically created for it, too. I also have a Lambda that calls that Nepture cluster's…
5
votes
1 answer

403 Forbidden error for Gremlin to AWS Neptune

Thanks a lot for your help in advance I'm trying to setup my AWS Neptune environment by following the instruction at https://docs.aws.amazon.com/neptune/latest/userguide/get-started.html . The setup seems to be fine, and I could check the status by…
5
votes
2 answers

AWS Neptune bulk delete data

I want to bulk delete nodes in the same way we can bulk load data using a curl operation in AWS Neptune. Is there an API convention for gremlin like I see for SPARQL? If so can you please post reference? If there is no bulk delete via the API, how…
Justin Gerard
  • 147
  • 1
  • 7
5
votes
2 answers

Merge results from multiple queries in Gremlin

Let's say I want to get a few vertices from my database: g.V(1, 2, 3) And then I have another set of vertices: g.V(4, 5, 6) Imagine it's not just g.V(), but some more complicated traversal to get my vertices. But the traversal must start with V(),…
Vojto
  • 6,901
  • 4
  • 27
  • 33
5
votes
3 answers

Multi-tenancy in AWS Neptune database

I'm new to Neptune. What is the best way to support multi-tenancy in the Neptune database? The requirements: 1. Support thousands of tenants in the database (one cluster) 2. Avoid query getting too complicated with tenants filtering 3. Good…
Avner Levy
  • 6,601
  • 9
  • 53
  • 92
5
votes
3 answers

aws neptune times out for large graph drop ()

There are some threads on this subject already.. particularly this one but is there any recommended solution to drop large graph other than batching..? I tried increasing timeout and it doesn't work Below is the example.. gremlin>…
Sahas
  • 3,046
  • 6
  • 32
  • 53
5
votes
0 answers

graph databases for store nested comments

I'm designing a data model for a nested comment system. like Reddit. I read so many blogs throughout the internet, all the solution I found is trying to build a hierarchical data structure in relational databases using designs like Adjacency list,…
5
votes
1 answer

Gremlin, javascript: where is the function "valueMap()" imported from?

I am using es6 on nodejs, and am trying to execute the project() step in a gremlin query. As part of the projection, I want to extract the properties. Using gremlin console I would use valueMap() to get the properties. However, when I attempt this…
Joel Stevick
  • 1,638
  • 2
  • 16
  • 22
5
votes
1 answer

Define Graph Schema in AWS Neptune to prevent data duplication

When using TinkerPop/JanusGraph I am able to define, VertexLabels and Property Keys which I can than use to create composite indexes. I read somewhere on the Neptune documentation that indexes are not necessary (or supported). My question is then…
Cracoras
  • 347
  • 3
  • 16
5
votes
1 answer

How to collect all vertex and edge properties along path, with Gremlin

Here's a really simple query: g.V('customerId').out().path() The JSON output of this is { "requestId":"96b26c1d-d032-2004-d36e-c700bd6db2a2", "status":{ "message":"", "code":200, "attributes":{ …
Wendell Blatt
  • 177
  • 1
  • 1
  • 10
4
votes
0 answers

Performance expectations for finding all paths from a node with Gremlin, in AWS Neptune

I read Query to retrieve all paths traversable from a given vertex which describes how to find all paths from a node using gremlin. I'm trying to understand what are reasonable expectations for the performance of this query on a real-life dataset in…
wless1
  • 3,489
  • 1
  • 16
  • 12
1
2
3
61 62