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
1 answer

How to get all properties with the ids

I'm new to all the graph database stuff and I'm having a hard time with some basic queries. I'm using Gremlin with Kotlin to connect to AWS Neptune. I want to get all my vertex properties including the Id. I have added an vertex with: g.addV("foo") …
João Menighin
  • 3,083
  • 6
  • 38
  • 80
0
votes
1 answer

Gremlin - Move multiple edges in single traversal

I am using Gremlin to access data in AWS Neptune. I need to modify 2 edges going out from a single vertex to point to 2 vertices which are different from the ones it points to at the moment. For instance if the current relation is as shown…
Samuel Konat
  • 113
  • 1
  • 9
0
votes
1 answer

Can I connect AWS Neptune to Tableau Desktop?

Just a simple question, can I connect AWS Neptune to Tableau Desktop? If yes, then how? And also, can I write query in SPARQL using new Custom SQL? Thanks.
0
votes
1 answer

Gremlin Comparing DateTime

I have the following model (Club)-HAS-(Match)-AT-(Datetime) And (Club)-HAS-(Player)-UNAVAILABLE-(Datetime) I am using Amazon Neptune to run this, and i am running in the following situation: I should be able to for each match that a club has,…
groovekiller
  • 1,122
  • 2
  • 8
  • 20
0
votes
1 answer

Graphical visualisation tool for AWS Neptune

I am starting a project with AWS Neptune service which is a TinkerPop/Gremlin implementation and since I am moving over from MySQL to graph db i was curious to know whether there are any workbench kind solutions available while working with AWS…
0
votes
1 answer

How toSkip Null Property When Creating Vertex in NeptuneDB(Gremlin)

In NeptuneDB, I wanna check if one specific vertex exist or not, if not, create it and add some properties. Here is my implementation in Gremlin Python: g.V().hasLabel('Event').has(T.id, idNum).fold().coalesce(unfold(), addV('Event').property(T.id,…
Hongli Bu
  • 461
  • 12
  • 37
0
votes
1 answer

AWS Neptune Gremlin paginate on hashed edge ID

I have a very large data set, close to 500 million edges in which almost all edges need to be traversed. I'm trying to parallelize these traversals by trying to paginate on IDS. My strategy was to try and paginate by ID which is an MD5 hash. I tried…
Omar Darwish
  • 1,536
  • 2
  • 15
  • 23
0
votes
1 answer

Gremlin. In a parent-child relation, filter by the higher version of the child

I have a parent-child structure. The child has a version and a group. I need to create a filter for the newest version grouping by group,parent. This query returns the values properly, but I need the vertex for each…
cmaluenda
  • 2,099
  • 1
  • 14
  • 15
0
votes
2 answers

Gremlin - Using an OR step to get different types of connected vertices

So I have a graph schema where vertex type A can connect inwards to vertex type B or type C in a one to many relationship. I'm trying to write a query that outputs any of those relationships if they exist, for instance a sample output would be: Type…
dl8
  • 1,270
  • 1
  • 14
  • 34
0
votes
1 answer

How can I add a new Vertex only if it is possible to add an Edge too?

I need to add a new Vertex with an Edge. My code is something like: g.V().addV("Vertex").addE("MyEdge").to(V().has("OtherVertex", "name", "test")) If V().has("OtherVertex", "name", "test") return a Vertex, everything works fine. My problem is if…
cmaluenda
  • 2,099
  • 1
  • 14
  • 15
0
votes
1 answer

How to calculate the time and memory consumption of a Gremlin Query

I have found some good articles about optimizing queries on Gremlin, but I still don't know how to get the memory consumption and time of execution of a query. Some places that I found talking about query…
Thiago Mata
  • 2,825
  • 33
  • 32
0
votes
1 answer

How to drop an edge in Gremlin?

I currently have this state of my graph database. I've SSH'ed into my EC2 instance and from there connected to my Amazon Neptune database. …
Jwan622
  • 11,015
  • 21
  • 88
  • 181
0
votes
1 answer

Does gremlin support the bulkloader with neptune?

Neptune's newest update includes bulkload with a CSV file. Does the js lv of Gremlin support this?
0
votes
1 answer

Traverse graph database from random seed nodes

I am tasked with writing a query for a front-end application that visualizes a Neptune Graph database. Let us say that the first vertex are items while the second vertex user. A user can create an item. There are item to item relationships to show…
sage
  • 587
  • 1
  • 8
  • 28
0
votes
1 answer

Follow a certain relationship (edge with a certain label) between the same kind of vertices (vertices that share the same label) in gremlin

I am tasked with writing a query for a front-end application that visualizes a Neptune Graph database. Let us say that the first vertex are items while the second vertex user. A user can create an item. There are item to item relationships to show…
sage
  • 587
  • 1
  • 8
  • 28