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

Does Gremlin.NET support submitting async bytecode?

There are extension functions for submitting queries asynchronously in Gremlin.Net, some get string which is not recommended and others use RequestMessage which is not as readable as using GraphTraversal functions. Is there a way to submit a query…
3
votes
1 answer

Vertex.value() Property Not found Gremlin Neptune Java

I am accessing a neptune DataBase instance from a Lambda, I have successfully configured the connection of the neptune database from the lambda using the following Cluster.Builder builder =…
3
votes
1 answer

Add a HashMap of Properties in Tinkerpop

I have a Map of Properties for Example: map[0] = { ("name";"lux"); ("lang";"german") } map[1]= { ("name";"lux") } As you can see map[1] has no property "lang". Now I want to add a Vertex without hard Coding the keys. Is there a way how…
lucas
  • 197
  • 4
  • 14
3
votes
1 answer

Geolocation distance with AWS Neptune?

I'm trying to use Amazon Neptune, in my gremlin query I need to filter nearby users and also filter by other relationships, similar to what Tinder (a dating app) does. So I need a geolocation distance calculation into the query. I can't find that…
fermmm
  • 1,078
  • 1
  • 9
  • 17
3
votes
1 answer

Connect to AWS Neptune via an application load balancer

An AWS Neptune DB cluster can only be created inside a VPC and its endpoints are only accessible within the VPC. I would like to connect to the cluster endpoints via the Gremlin Java driver and to be able to debug locally my code. Is that possible?
Eszter
  • 331
  • 1
  • 3
  • 19
3
votes
1 answer

How do you use the sideEffect() method in the Gremlin npm package

I've tried various ways of calling sideEffect(), but none have worked, I can't find any documentation or examples online, and the source code is a bit too abstract for me to understand without spending considerably longer looking at it. As an…
Dan
  • 7,446
  • 6
  • 32
  • 46
3
votes
1 answer

How do I get all the edges, associated vertices, and the respective id, label and properties via gremlin-python?

I want to fetch all the edges and associated vertices from my AWS Neptune DB. In addition, I want the id, labels and properties for the nodes as well as edges. My data is a stored as a property graph and I'm using gremlin-python to query it. Below…
Analytical Monk
  • 369
  • 3
  • 14
3
votes
1 answer

Gremlin find highest match

I am planning to use a Graph Database (AWS Neptune) that can be queried with Gremlin as a sort of Knowledge base. The KB would be used as a classification tool on with entities with multiple features. For simplicity, I am using geometric shapes to…
Sanandrea
  • 2,112
  • 1
  • 27
  • 45
3
votes
1 answer

Issue with .project().by() in Gremlin JS 3.4.0

I'm seeing .project().by() traversals returning {} under Gremlin JS 3.4.0. When I downgrade to 3.2.10 they work correctly. gremlin> g.addV("trip").property(single, "trackName", "Ohio") ==>v[1] In Gremlin JS `3.4.0`: const result = await…
Fook
  • 5,320
  • 7
  • 35
  • 57
3
votes
2 answers

How do i arrange Single cardinality for Vertex properties imported via CSV into AWS Neptune?

Neptune documentation says they support "Set" property cardinality only on property data imported via CSV, which means there is no way that a newly arrived property value could overwrite the old property value on the same vertex, on the same…
3
votes
1 answer

AWS - Neptune restore from snapshot using SDK

I'm trying to test restoring Neptune instances from a snapshot using python (boto3). Long story short, we want to spin up and delete the Dev instance daily using automation. When restoring, my restore seems to only create the cluster without…
3
votes
1 answer

Get start node and end node id of the edge without map step() gremline for neptune

I am working on Neptune AWS, and trying to fine out the start node id and end node id of the edge. The map step is working for Neo4j, but the same query is not working for the Neptune. Data example: enter link description here Query: query =…
Ravindra Gupta
  • 1,256
  • 12
  • 42
3
votes
5 answers

How do I connect to Neptune using Java

I have the following code based on the docs... @Controller @RequestMapping("neptune") public class NeptuneEndpoint { @GetMapping("") @ResponseBody public String test(){ Cluster.Builder builder = Cluster.build(); …
Jackie
  • 21,969
  • 32
  • 147
  • 289
3
votes
2 answers

access Amazon Neptune from EC2 windows

I have an Amazon EC2 (windows) and an Amazon Neptune, both in the same VPC. I would like to connect to Neptune from EC2 using either sparql or Gremlin and don't know how to do this. I…
3
votes
1 answer

gremlin python retrieve ids and labels (valueMap(True))

python g.V('test_red1').valueMap().toList() works fine but when I pass true to request ids and labels I get this error. Anything I am missing? g.V('test_red1').valueMap(True).toList() Traceback (most recent call last): File "", line 1,…
andrew shved
  • 137
  • 1
  • 8