For questions related to the open source graph-notebook project that allows graph data to be viewed and manipulated in a Jupyter notebook.
Questions tagged [graph-notebook]
34 questions
0
votes
1 answer
Connect to Neptune DB with SageMaker
I was able to test out my connection successfully to my Neptune DB from within Neptune Notebooks and was able to perform bulk load and query with no issues but when trying to connect to SageMaker studio then I get connection error. I tried using the…

tmd13
- 55
- 2
- 6
0
votes
1 answer
Gremlin - how to show IN edges and vertex for specific vertex
I need to show a specific vertex with IN edges and related vertex.
I tried with this but I don't have a graph
%%gremlin -p v-d,oute,inv, -d name g.V().has('name','my_value').outE().inV().path().by(elementMap())
how can I modify my command?
For…

Diego R
- 5
- 3
0
votes
1 answer
Gremlin - how to show field value instead label value
with gremlin I want to show a graph with vertex name a field name end not the label name.
How can do it?
If I use this
my graph
I see the label name and not a specific value field, for example Name field value
How I can modify my query?
Thanks a…

Diego R
- 5
- 3
0
votes
1 answer
openCypher equivalent of Gremlin repeat...until loop
Using the air-routes data set, the following Gremlin query will find five routes between Austin (AUS) and Wellington (WLG).
g.V().has('code','AUS').
repeat(out('route').simplePath()).
until(has('code','WLG')).
limit(5).
path().
…

Kelvin Lawrence
- 14,674
- 2
- 16
- 38
0
votes
1 answer
Prevent overlapping edges on AWS Neptune
I have a Tinkerpop graph database on AWS Neptune.
In some cases, I have more than one edge connecting two nodes.
In the screenshot below, there is a node for 'Gary Barlow' and there is a node for 'All That I've Given Away'. Two edges connect these…

Data
- 689
- 7
- 23
0
votes
0 answers
AWS Neptune Notebook: not able to create notebook
I am trying to create AWS Neptune Notebook I am using AWS Neptune notebook wizard to create a note book, but it fails to create it. I was able to create it before and suddenly it stopped. I have no change in VPC, subnet and security group.
my…

Jigar Gajjar
- 183
- 2
- 12
0
votes
1 answer
Gremlin - Looking at a graph at different levels (hierarchies)
Disclaimer: I'm coming with more of a relational DB world, so I might come with some misconceptions on what the best practices are for storing and working with graph databases.
Anyway, let's say I have data with some hierarchy in it.
Let's say I…

sid802
- 315
- 2
- 18
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
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?

Joe Deer
- 31
- 1
- 3
0
votes
1 answer
Is there a way in SPARQL/ Neptune Notebooks to get Graph #2 as the visualization instead of Graph #1?
Querying this graph results in graph #1. Can we plot Graph #2? I don't think getting Graph #2 is a possibility but if anyone knows, do help.
Mark :Friends_Name "John"
Mark :Stays_In "USA"
John :Stays_In "USA

Aman Singh
- 27
- 3
0
votes
1 answer
Return fictive edges from Gremlin query
I have a graph with the following vertices and edges for example:
A->B->C
and I want to write a gremlin query that will return a path like A->C so it will be visualized in the Jupyter notebook I'm using (aws-notebooks-visualization.
This means…

Avner Levy
- 6,601
- 9
- 53
- 92
0
votes
1 answer
How to connect to AWS Neptune graph-notebook from JupyterLab?
I followed the steps in - https://github.com/aws/graph-notebook , and I was able to run the magic commands from my Mac. But I need to get this configured in JupyterLab.
Here is what I did:
Created a new conda env in JupyterLab
Installed all…

aaaaa
- 11
- 1
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
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