tinkerpop3 Questions

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

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

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

2

As my last post at 403 Forbidden error for Gremlin to AWS Neptune, I could successfully connect to my Neptune Cluster DB via my Tinkerpop Gremlin console v 3.4.3 that installed at my EC2 instance a...
Monobasic asked 15/5, 2020 at 2:2

2

In our graph, there are a lot of vertices which have more than 100k of outgoing edges. I would like to know what are the approaches to handle all palettes of situation which come out of this. Let...
Uticas asked 15/1, 2019 at 9:12

2

Solved

In Tinkerpop 3, how to perform pagination? I want to fetch the first 10 elements of a query, then the next 10 without having to load them all in memory. For example, the query below returns 1000,00...
Wendelin asked 3/10, 2016 at 8:3

2

Let's say I want to get a few vertices from my database: g.V(1, 2, 3) And then I have another set of vertices: g.V(4, 5, 6) Imagine it's not just g.V(), but some more complicated traversal to...

0

I have a high level code like this. MethodXyz() { updateVertex(A, props1) commit // some other code updateVertex(A, props2) commit // do something else - long running } This method is called fr...
Moonshiner asked 16/1, 2020 at 7:7

2

Solved

I'm having a vertex with following details: http://localhost:8182/?gremlin=g.V(4192) { "requestId": "6ce01f3b-f623-41f6-bb03-dd56014e0701", "status": { "message": "", "code": ​200, "attrib...
Dietetics asked 18/5, 2016 at 12:57

1

Solved

I want to add more than one property to a vertex, but from the outset do not explicitly know what those properties might be. For example, say for one person to be added as vertex to the graph, we h...
Meri asked 14/6, 2019 at 17:46

1

I'm sure this is straightforward, but I'm not sure how to do it. I have vertices, with a certain label, which have two integer properties. Let's call them integer1 and integer2. I simply want to qu...
Dreibund asked 8/3, 2019 at 15:21

1

Solved

I'm using JanusGraph with the standard python gremlin binding, and I'd like to set a float[] property on a vertex/edge. However, the Tinkerpop driver for Python doesn't seem able to do so. For exa...
Sunbonnet asked 5/12, 2018 at 4:16

2

Solved

Just started out with Tinkerpop and Janusgraph, and I'm trying to figure this out based on the documentation. I have three datasets, each containing about 20 milions rows (csv files) There is a s...
Realism asked 13/11, 2018 at 20:2

1

Solved

I'm trying to understand how this pattern for a conditional insert works: g.V() .hasLabel('person').has('name', 'John') .fold() .coalesce( __.unfold(), g.addV('person').property('name', 'John...
Ellsworthellwood asked 10/8, 2018 at 10:25

1

Solved

In the Modern graph, I want to get for each person the name and the list of names of software he created. So I tried the following query g.V().hasLabel('person').project('personName','softwareName...
Cima asked 24/3, 2018 at 15:25

1

Solved

I'm running on Windows 10 with janusgraph-0.2.0-hadoop2. I have put the winutils.exe in the bin folder. P:\Software\DB\NoSQL\janusgraph-0.2.0-hadoop2\bin>gremlin-server.bat Error: Could not fi...

1

Solved

Im new to gremlin. i followed the document on tinkerpop3. But i couldn't understand the use of store and select keywords.. Can anyone explain it simply?
Twoseater asked 23/11, 2017 at 12:53

1

Iterate() step is used in the end of the command when creating nodes and edges through function chaining in Tinkerpop 3.3/Gremlin. What is the significance of this iterate() step? I could not find ...
Mitre asked 21/11, 2017 at 0:18

2

I have noticed double underscore being used in some step functions in Tinkerpop Gremlin 3.3. Could someone please tell why we use this double underscore with an example ? I could not find enough in...
Pasteurization asked 16/11, 2017 at 5:45

2

I remotely connect to a gremlin server using gremlin-console(which is janusgraph), but when I create a variable and access it, it doesn't work. My ultimate goal is to use gremlin-console to create ...
Ataghan asked 18/8, 2017 at 7:31

1

I have a requirement to drop all child nodes when parent node is dropping using gremlin query. suppose A / \ B C / \ D E / \ F G / \ H I If we want to drop 'B' vertex then its childs...
Nemesis asked 21/7, 2017 at 16:17

1

Solved

We have vertex which will store various jobs and their types and counts as properties. I have to group by the status and their counts. I tried the following query which works for one property(recei...
Intuitive asked 14/7, 2017 at 5:0

2

Solved

What is the best way to get values with same property key? EDIT: Sorry for changing the question my requirement was to get an employee from either of the departments I need to fetch all the the e...
Buckskin asked 24/2, 2017 at 12:44

© 2022 - 2025 — McMap. All rights reserved.