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

Different image for nodes in Neptune Jupyter notebook

I loaded my node.csv and edge.csv successfully to AWS Neptune. I'm trying to display the vertices as an image accordingly to the corresponding label. For example, there's an edge between 198.51.100.0 & adesai and 198.51.100.0 is also connecting to…
0
votes
1 answer

How can we group objects and assign a generic color to the group in a RDF graph on AWS Neptune?

Graph notebooks allow grouping and appearance customization for Property graphs. Is there any way do the same for RDF graph ?
0
votes
1 answer

ConcurrentModificationException in amazon neptune using gremlin javascript language variant

I am trying to check and insert 1000 vertices in chunk using promise.all(). The code is as follows: public async createManyByKey(label: string, key: string, properties: object[]): Promise { const promises = []; const allVertices =…
codegutsy
  • 37
  • 12
0
votes
1 answer

Can we change the maximum length of content on an RDF graph node in the Neptune database?

In Gremlin there is : -l to increase the length of content displayed in each node. Does anyone know how to increase length in RDF nodes?
Aman Singh
  • 27
  • 3
0
votes
1 answer

Gremlin - AWS Neptune - issue when Order by property which does not exist on a vertex

g.V().hasLabel('Asset').order().by('anyprop',decr).valueMap(true) sometimes it throws error: UnsupportedOperationException\",\"detailedMessage\":\"Encountered a traverser that does not map to a value for child traversal: value(anyprop) my guess is…
Zhongmin
  • 1,684
  • 1
  • 16
  • 33
0
votes
0 answers

Visualizing Gremlin query results from AWS Neptune - is there a way?

im a bit new on AWS Neptune. Currently using gremlin to query data from it. My question is, is there a way to view the query results visually? I tried creating a Notebook (Jupyter) that connects to my Neptune cluster but it doesn't show the option…
0
votes
2 answers

Unable to pass variable in gremlin query in shell script

I am trying to connection to Neptune DB and getting vertices details using CURL command. I have shell script for it. But somehow variable data is not going through it gremlin query. I have one Orgid.txt file where tenantid is present and my shell…
ashis dash
  • 27
  • 5
0
votes
1 answer

How to execute a Gremlin query in Python

In Python, I am trying to connect using Gremlin and execute a query. Here I could connect to Neptune DB using gremlin and fetch vertices count using only print statement: print(g.V().has("system.tenantId",…
ashis dash
  • 27
  • 5
0
votes
1 answer

Gremlin - batch query for adding a vertices if it doesn't exist

We are using the Gremlin JavaScript language variant and Amazon Neptune in our project and we have multiple use cases for the creation of vertices and edges in batch. A simple example would be an array of 200 - 1000 users. I need to perform a batch…
codegutsy
  • 37
  • 12
0
votes
1 answer

Limit number of requests(read, update, delete) if it exceeds the capacity of AWS Neptune Server?

I'm trying to implement some limits on the database requests made to the Neptune Server. The problem is: Multiple scheduled jobs that do analytics, logs, updates, deletions User activity, anything related to users: read, write, update, delete All…
0
votes
1 answer

How to connect to Amazon Neptune by using ssh Java

I've setup a ssh tunnel to allow connecting to NeptuneDB and now i want to use Java from local machine to connect to NeptuneDB by using ssh, so is there any way to do that?
Tien Vu
  • 87
  • 7
0
votes
1 answer

Implementing 'max' for a Gremlin sack

I have a parent-child relationship in which there is a numeric property on the edge. I would like to sack the maximum value of this property and carry it through the reset of the traversal, referring to it as needed. Current implementation looks…
0
votes
1 answer

Drop in Netpune Gremlin Session Query

Can the "drop()" query work in a Session client in Gremlin queries in Java for AWS Neptune. I have tried a few times but the "drop()" only works if I use iterate() and does not have any effect is the session client is used and query is submitted. If…
0
votes
0 answers

Vertex pattern analysis and matching using Gremlin with Amazon Neptune

I have following analysis data Problem statement: Find out a session (From Neptune session) that contains least inbetween vertex. As you can see expected output for following example data is [11, 12, 1, 2, 3] as it contains continued 1,2,3 connected…
0
votes
1 answer

Need help and Want to know how we can write this type of Neo4j Cypher query into Gremlin query?

MATCH (m:movie)-[has_directed_by:has_directed]->(director:Director) OPTIONAL MATCH(director)-[has_name:has_name]->(directorName:DirectorName) OPTIONAL MATCH(director)-[has_type:has_type]->(directionType:DirectionType) OPTIONAL…