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
2 answers

How to implement lookup/reference data in apache tinkerpop gremlin or graph database?

How to implement lookup/reference data in a gremlin or graph database? I need to collect all types of identification, 1. Diving license, 2. Social security number, 3.... For UI, I need to send the "identification_type" list (above list). & What is…
Thirumal
  • 8,280
  • 11
  • 53
  • 103
0
votes
1 answer

hasNot() having no effect

I'm using gremlin traversals via a Jupiter Notebook on Amazon Neptune. I'm trying to filter edges from a specific vertex by their label, but it doesn't seem to work. some sample data: %%gremlin g.addV().property(id, 'u0').as('u0'). …
Meike
  • 171
  • 13
0
votes
1 answer

How to convert Gremlin query results into Pandas/Python dataframes?

I want to prettify my results from Gremlin queries by converting them into dataframes. Gremlin outputs results that (at least to my untrained eyes) look like the Json format. As an example I'll borrow the answer to one of my previous questions that…
gaspanic
  • 249
  • 1
  • 12
0
votes
0 answers

Gremlin DSL to mask g.V() with g.V().has()

how can i write a strategy to replace g.V("id123") with g.V().has("id","id123") in gremlin. I'm using JanusGraph as my graph DataBase.
0
votes
1 answer

Getting timeout error while connecting with AWS Neptune database from lambda function

I am trying to connect with the AWS Neptune database using gremlinpython library from the AWS Lambda function. from gremlin_python.driver import client query = "g.V().count()" uri = "wss://aws-neptune-endpoint:8182/gremlin" clientt =…
Ranjit Soni
  • 594
  • 6
  • 19
0
votes
1 answer

Gremlin Neptune query similar users based on common ratings count

From the following graph in the Tickerpop recipes: g.addV("user").property("name", "alice").as("u1"). addV("user").property("name", "jen").as("u2"). addV("user").property("name", "dave").as("u3"). addV("movie").property("name", "the wild…
Programjon
  • 23
  • 6
0
votes
1 answer

Unexplained ConstraintViolationException with AWS Neptune

I get this constraintViolationException with AWS Neptune when I tried to create a bunch of edges. The problem is that it does not tell which edge already exists. I add roughly 50 edges at once using script via java gremlin-driver. Has anyone came…
samairtimer
  • 826
  • 2
  • 12
  • 28
0
votes
1 answer

How to filter for vertices with a property who's value equals their own id (using Gremlin)

I want to get all v's s.t v.id == v.prop1 for some property named prop1 (which has a string value). I'm able to compare 2 props of the same vertex thanks to this answer using: g.V().as('v').where(eq('v')).by('prop1').by('prop2') but…
Danya
  • 21
  • 2
0
votes
1 answer

Windows to Neptune connection succeeded- How to use it further?

I have followed this :Connect to Neptune on AWS from local machine Instead of changing this file C:\Windows\System32\drivers\etc\hosts, I changed C:\Users\user_name.ssh\config file as below: Host 10.100.128.00 Hostname 10.100.128.00 Port 22 …
dbNovice
  • 399
  • 2
  • 4
  • 18
0
votes
1 answer

Is there a way to connect the neptune database graph visualization to a custom portal?

I want to create a website and send queries to neptune db. How do I go about embedding the graph that's generated as a result of that query to my website?
0
votes
1 answer

AWS Neptune Create Index

Can someone show a sample Gremlin query on create an index on a Neptune vertices? I can't find some clear example on the AWS Neptune guide. I know Neptune does implicit indexing, is there anyway I can re-enforce it?
user1187968
  • 7,154
  • 16
  • 81
  • 152
0
votes
1 answer

AWS Neptune/Gremlin: merge edge exists query and insert edge query into one query

I have the following query to check is an edge exists: g.V("N001").hasLabel("my-type").out("parent").hasId("N002").hasLabel("my-type").limit(1).hasNext() I also have the afterward query to insert the edge is not…
user1187968
  • 7,154
  • 16
  • 81
  • 152
0
votes
1 answer

AWS Neptune (db.r5.large) can't handle more than 250 requests per second

So I have a Neptune (db.r5.large) on AWS, If I make more than 250 requests/second. I will get the error HTTP 429: Too Many Requests. What should I do here? I was expecting db.r5.large instance type should able handle this kind of work load, and I…
user1187968
  • 7,154
  • 16
  • 81
  • 152
0
votes
1 answer

Graphql throwing "The repeat()-traversal was not defined" on query

I am using neptune and graphql and I am getting this error: "Server error: {\"detailedMessage\":\"The repeat()-traversal was not defined: RepeatStep(until([NeptuneMemoryTrackerStep, NeptuneHasStep([~label.eq("sample"),…
0
votes
0 answers

Using spark dataframe with UDF to access Graph DB using Gremlin? cannot pickle '_queue.SimpleQueue'

I'm currently having an issue trying to create a UDF to access a graph DB for each record in my DataFrame. Example testdf: **id name** 1 tom 2 ben .. etc. I have written a function which takes an id and looks into the Neptune Graph to see…
ak97
  • 15
  • 1
  • 6