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

Gremlin-Driver update causes NoSuchMethodError

I have a Java Spring Boot application that connects to an Amazon Neptune graph database running on engine version 1.1.1.0. After upgrading the gremlin-driver and TinkerPop dependencies to 3.5.2 from 3.4.6 (working on this version), the application…
ReiSchneider
  • 185
  • 1
  • 12
0
votes
0 answers

Optimize query complete path based on a provided vertex using starting edge property

I have a query that needs to get complete path based on property. There are locations and peoples. People can travel from a location to another so I want a complete map of where they started from and ended at Suppose P1 travels from a -> b -> c -> d…
0
votes
0 answers

Gremlin - Finding Specific Vertex within Path Traversed

I have a very simple graph in which I am returning (recursively) everyone, directly/indirectly, in my graph from a certain person that is older than 5. I am returning the person's properties but I also want to return a "derived relationship" based…
user3726393
  • 265
  • 1
  • 2
  • 11
0
votes
1 answer

exclude self and other specific usernames from query results

In this gremlin query: g.V('c3833064-94aa-4084-9c0e-029543d69892').as('self') .sideEffect(out('rated').store('movies')) .out('friended') .group() .by() .by(outE('rated') .where(values('rating').is(gt(5))) //filter on positive scores on common rated…
Programjon
  • 23
  • 6
0
votes
0 answers

How to connect to Amazon Neptune Database Using Talend

Can anyone help me to find the way to connect to the amazon neptune database using talend studio.
0
votes
1 answer

Is it good practice to use same edge name b/w multiple verticies in gremlin?

Is it good practice to use the same edge name on multiple places in Gremlin? I have a situation where I can use has as an EDGE name b/w multiple vertecies. Is that ok ? or it's better to have a different name for the performance? For understanding,…
Thirumal
  • 8,280
  • 11
  • 53
  • 103
0
votes
1 answer

Getting Error "not spawned anonymously - use the __ class rather than a TraversalSource " while adding or updating the edge(in Neptune using gremlin)

I am using Amazon Neptune engine version 1.1.1.0 and I am trying to execute below query g.E().has(id, '6529056485837422516').fold().coalesce(unfold().property('id','6529056485837422516').property('createdat', 1553676114).property('status',…
0
votes
1 answer

Tinkerpop Gremlin is it better to query with hasId or to search by property values

Using Tinkerpop Gremlin (Neptune DB), is there a preferred/"faster" way to query? For example, let's say I have a graph containing the node: label: Student id: 'student/12345' studentId: '12345' name: 'Bob' Is there a preferred query? (for this…
Ebad
  • 131
  • 11
0
votes
0 answers

Multiple sideEffects in Gremlin Neptune query?

I have a gremlin query that uses a sideEffect to store the common movies that friends have rated positively. I would like to add tv_shows vertices to the query. Does this require a separate sideEffect?…
Programjon
  • 23
  • 6
0
votes
1 answer

Finding all vertices that share a common set of paths on a graph

I am working on a proof of concept that aggregates user comments across N number of dimensional hierarchies. The idea is that when looking at a report in the application a user would put a comment on some data. The coordinate of that comment would…
finn224
  • 1
  • 1
0
votes
1 answer

Can we load the Wikidata dumps to AWS Neptune and query using Gremlin?

Is it possible to load the Wikidata dumps into AWS Neptune and query the data using Apache TinkerPop Gremlin? Is there a straight-forward way to load the json/ttl/nt dumps into Neptune (or) should the dumps be in Gremlin format?
MAK
  • 1,915
  • 4
  • 20
  • 44
0
votes
0 answers

Is there any annotation for Gremlin Spring Boot for transactions?

Is there any @Transaction for Gremlin in Spring Boot to handle commit and rollback? Normal transaction handles dirty read?
Thirumal
  • 8,280
  • 11
  • 53
  • 103
0
votes
1 answer

Neptune: get properties key and value from the relation lookup query

I have the following query to insert two vertices and create an parent edge. I use g.V('001').repeat(out('parent')).emit().dedup().toList() to search the parent for node 001. However, I don't see any property attached to the results. How do I modify…
user1187968
  • 7,154
  • 16
  • 81
  • 152
0
votes
1 answer

How to handle many to many relationships in Graph database?

How to model Many-to-Many relationship in Graph databases (Property graph database) In the below picture, Company/creditor files their claim to court when the borrower goes bankrupt and there will be an authorised representative for the each…
Thirumal
  • 8,280
  • 11
  • 53
  • 103
0
votes
2 answers

Can we sort by outV or inV in gremlin?

How to sort by inV() or outE() from the edge? I need to get the roles that are assigned to the user. Users can have multiple roles. g.addV('project').as('p'). .addV('user').property(T.id, 'u1').as('u1') .addV('user').property(T.id,…
Thirumal
  • 8,280
  • 11
  • 53
  • 103