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.
Questions tagged [amazon-neptune]
930 questions
0
votes
1 answer
Search for the most recently added node
I'm adding vertices with a certain label to a graph (currently using gremlin-python over gremlinv3.3). I'm manually adding a "timestamp" property to these nodes. I want to be able to find the most recently added vertex with this label so that I can…

simbamford
- 71
- 1
- 9
0
votes
1 answer
AWS Neptune, JS, Gremlin: add Vertex with optional Edge
Sometimes there is need to create Vertex with optional Edge.
g.addV('label')
.property(id, 'uniq_id_2').as('u')
.property('edge_is_needed', edgeIsNeeded)
.constant(edgeIsNeeded)
.choose(eq(true),
…

aring
- 3,422
- 2
- 22
- 29
0
votes
1 answer
Turtle files data processing from s3 to Neptune
I have copied turtle files from s3 to Neptune through curl post method commands as suggested in the AWS document. curl command executed and job is successfully completed. Post job execution, I have checked the job id status to know the details of…

Srinivas Rao
- 29
- 9
0
votes
1 answer
Gremlin/Neptune vertex lookup by property using gremlinpython
Using the graph traversal object g, I can look up a vertex by ID:
>>> g.V().has("~id", "foo").toList()
[vp[category->my category], vp[title->my title], vp[description->my description], vp[myprop->my property]]
Looking up by "category" also…

technomage
- 9,861
- 2
- 26
- 40
0
votes
2 answers
Querying Turtle data through SPARQL
I have uploaded my turtle files data from AWS S3 to Neptune service.
Now I am querying below sparql from RDF4J console to view my data in Neptune but getting "no gremlin script supplied" error.
neptune> select ?p ?o {…

Srinivas Rao
- 29
- 9
0
votes
2 answers
Neptune throwing "Host did not respond in a timely fashion" when trying to connect from private EC2
I have created a neptune instance and per the documentation here...
I create the following yaml...
hosts: [xxx.xxx.us-east-2.neptune.amazonaws.com]
port: 8182
serializer: { className:…

Jackie
- 21,969
- 32
- 147
- 289
0
votes
1 answer
Parsing Error while uploading CSV files to AWS Neptune
I want to solve Parsing Error occurring in uploading CSV files to AWS Neptune.
The problem may be occurred by column name and its type, but I do not know what types are right to write in the header.
I transformed types of all the data as string…

K.Tomita
- 11
- 1
0
votes
2 answers
Adding Multiple Unique Vertices
I want to write a single gremlin query that will create multiple vertices, but only does so if they are all unique. I know I can use the get or addV method by using coalesce step mentioned in the comments.
g.V().has('com.demo.test', '__type',…

Austin Malpede
- 115
- 2
- 8
0
votes
1 answer
Connecting to AWS Neptune
In the official aws neptune documentation they have mentioned that we can connect to neptune outside vpc but a security group has to be defined for that. Though somewhere it is mentioned that you cannot connect to it from outside vpc and if want to…
0
votes
1 answer
Can a group count query fail due to Big Data ? Amazon Neptune Graph Databases
Can a group count query in Amazon Neptune or any Graph Databases fail due to Big Data ?
I mean if the counts exceeds the limits of the count datatype can there be a n overflow?

Sandeep Kumar Jakkaraju
- 881
- 2
- 8
- 13
0
votes
1 answer
Copied data from S3 to Neptune instance | Need to view my data with SPARQL
I have copied data from S3 to AWS Neptune instance (4 CSV files).
As per the AWS document, created RDF4 console to connect to Neptune instance.
In this console as per document created Neptune repository also.
Now I want see may data, how we can…

Srinivas Rao
- 29
- 9
0
votes
1 answer
how to copy xml fiiles amazon from s3 to neptune
I am trying to move xml files from s3 to Neptune with bellow steps.
https://docs.aws.amazon.com/neptune/latest/userguide/bulk-load-data.html
from the below path I have followed below topic to move the data from s3 to…

Srinivas Rao
- 29
- 9
0
votes
1 answer
Gremlin throwing an error while executing the lambda
g.V().hasLabel("OperatingSystem")
.filter(Lambda.predicate("{it.get().property('name').startsWith('xyz')}")).out("dpend_on")
.as("ast").out("depend_on").hasLabel("abc")
results in an…

Bharateshwar Patil
- 329
- 2
- 14
0
votes
1 answer
Gremlin python filter by gte or lte
I am trying to find a vertex that has a property called last_time_stamp which is between the range of last_time_stamp and last_timestamp - 1hour. The query below seems to work in AWS Neptune but fails in the Gremlin Python script.
I believe its…

kilomo500
- 39
- 1
- 6
-1
votes
1 answer
Gremlin and Neptune Db Set Property Max Length
What is the max number of values Gremlin and Neptune supports for set-based array properties?
I have searched Tinkerpop and AWS documentation but I am not able to find out what is the limit of set-based array properties in both of these graph…

S7H
- 1,421
- 1
- 22
- 37