gremlin Questions
2
What is the difference between how AWS Neptune stores data internally vs. how Neo4j stores data? From this post, it says Neo4j stores each node with a direct link to its connected nodes, "rela...
Jiujitsu asked 23/1, 2022 at 17:53
4
Solved
What is the best way to get POCO's from a Gremlin.Net response?
Right now I manually cast to dictionaries:
var results = await gremlinClient.SubmitAsync<Dictionary<string, object>>("g...
Odin asked 30/3, 2018 at 18:38
2
Solved
Right now I am able to generate a query to create as many vertices and edges as I want.
e.g.
g.V().
addV('vert1').as('a').
addV('vert2').as('b').
addE('has').from('a').to('b')
^^^^^^^^^^^^^ This w...
Whitson asked 7/8, 2018 at 16:2
3
Index status is installed. How to change the status to registered, then disabled, to remove it?
GraphTraversalSource g = janusGraph.traversal();
JanusGraphManagement janusGraphManagement = janusGra...
Oviform asked 24/7, 2017 at 6:11
2
Hi I am now building a website using aws NeptuneDB(Gremlin), NodeJs as Backend and Angular as Frontend. Now I am facing a problem, I want to do pagination on my website because without pagination I...
Qualmish asked 17/12, 2019 at 7:45
4
Solved
I've been looking at the Gremlin graph language, and it appears very powerful. However, whilst running through what it can do to evaluate it against requirements, I came across a case that I can't ...
3
Solved
What is the easiest & most efficient way to count the number of nodes/edges in a large graph via Gremlin? The best I have found is using the V iterator:
gremlin> g.V.gather{it.size()}
How...
Irishirishism asked 20/6, 2013 at 13:30
2
I am using AWS Neptune with gremlin and I want to get the id of a vertex with all properties of the vertex in one query. How can I do this?
I have tried
g.V().hasLabel('file').valueMap(true)
b...
3
Solved
Background: I'm trying to implement a time-series versioned DB using this approach, using gremlin (tinkerpop v3).
I want to get the latest state node (in red) for a given identity node (in blue)...
Tman asked 10/2, 2017 at 17:16
3
Solved
I have an array of usernames (eg. ['abc','def','ghi']) to be added under 'user' label in the graph.
Now I first want to check if the username already exists (g.V().hasLabel('user').has('username',...
Margravine asked 3/9, 2017 at 20:14
2
Solved
I am new to Gremlin query language.
I have to insert data on a Cosmos DB graph (using Gremlin.Net package), whether the Vertex (or Edge) already exists in the graph or not. If the data exists, I on...
Steviestevy asked 10/4, 2018 at 16:14
1
This is my scenario:
I want to have one single collection where I can insert and query documents using SqlApi and create vertices and edges using Graph Api, all in the same collection.
I believed t...
Emelineemelita asked 24/6, 2018 at 20:7
2
The TinkerPop documentation describes GLV for Python. However, the examples presented in there are built around synchronous code. There is the aiogremlin library that was desingned to enable use of...
Omegaomelet asked 15/2, 2020 at 7:30
3
Solved
Is it accurate to say that of the existing graph query languages (Cypher, Datalog, Sparql etc) Gremlin is the only one that's Turing complete?
In case it matters, I'm not looking for edge cases li...
Raines asked 18/12, 2015 at 4:48
2
Solved
I find the following code to create edge if it has not existed yet.
g.V().hasLabel("V1")
.has("userId", userId).as("a")
.V().hasLabel("V1").has("userId", userId2)
.coalesce(
bothE("link").where(o...
Landwaiter asked 19/1, 2019 at 10:5
3
Solved
I am working with groovy (gremlin to traverse a graph database to be exact). Unfortunately, because I am using gremlin, I cannot import new classes.
I have some date values that I wish to convert ...
3
Solved
g.V()
.has('atom', '_value', 'red').fold()
.coalesce(unfold(), addV('atom').property('_value', 'red')).as('atom')
.out('view').has('view', '_name', 'color').fold()
.coalesce(unfold(), addE('vie...
Plossl asked 16/12, 2020 at 8:59
1
I am stuck with my TitanDB, Django1.8 and Mogwai0.7.7 package.
I have Graph database titan/cassandra on localhost dev machine, and after creating wrong queries in rexster gremlin web interface my D...
1
Solved
I'm using Amazon Neptune to create and query a simple graph database. I'm currently running my code in an AWS Jupyter Notebook but will eventually move the code to Python (gremlin_python). As you c...
Prefatory asked 20/2, 2021 at 15:10
5
Solved
How to delete Neptune graph or delete all vertex and edges from the graph.
Is there also way from the gremlin. Rather than iterating all the nodes and delete single vertex
Isabelleisac asked 28/6, 2018 at 9:23
2
I am a newbie to the gremlin. I am trying to get some random vertices based on some condition. But if I am using sample method with some mathematical computation it is not working. But if I give in...
Zeiger asked 3/9, 2020 at 7:30
4
Solved
GREMLIN and SPARQL only define the APIs for graph queries. How do I use the API responses and and plot that as an actual graph, with edges and vertices? Is there something like MySQL Workbenc...
Benevento asked 17/10, 2018 at 5:47
1
Solved
Seems like Gremlin Console not working for Windows:
I downloaded the latest Gremlin console and run the bin\gremlin.bat file. seems like after connecting (as in the below commands) and running a si...
Armillda asked 4/8, 2020 at 15:16
3
Solved
I'm using cosmos graph db in azure.
Does anyone know if there is a way to add an edge between two vertex only if it doesn't exist (using gremlin graph query)?
I can do that when adding a vertex,...
1
Solved
in particular following the tutorial here: https://kelvinlawrence.net/book/Gremlin-Graph-Guide.html#walk (3.3.2)
I do not understand this statement outE().inV()
Taken from g.V().has('airport','code...
Theurich asked 1/7, 2020 at 11:31
1 Next >
© 2022 - 2024 — McMap. All rights reserved.