Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [tinkerpop]

Apache TinkerPop™ is a graph computing framework for both graph databases (OLTP) and graph analytic systems (OLAP).

1 vote
0 answers
36 views

gremlin query to count by path-length all paths between nodes that share the same (specified) label

I have a graph with no cycles. Each vertex has a label. For those with a specific label, call it "A", I want to count how many nodes with label "A" are not connected to any other ...
wizangzing's user avatar
1 vote
0 answers
34 views

Gremlin.net throwing exception when using tree

When using the following query in Gremlin.net, I get the exception: System.Collections.Generic.KeyNotFoundException: 'The given key 'DataType{ TypeCode = 43 }' was not present in the dictionary.' var ...
zXynK's user avatar
  • 1,243
1 vote
1 answer
78 views

I am creating client application in java using tinkerpop for gremlin but i am unable to query through my application. JanusGraph and Gremlin server

I am trying to build client application in java for gremlin. My janusgraph server is running on one more virtual machine in the same network. Through my gremlin client code i am able to establish ...
Prajwal Patil's user avatar
0 votes
0 answers
57 views

Gephi not displaying graph from gremlin console .......1. error

Ibeen tinkering with Gremlin console and was trying to visualize graph created in gremlin console through Gephi(V0.1)and gremlin 3.7. I followed the instruction from Tinkerpop tutorials. https://...
kirosumi's user avatar
0 votes
1 answer
35 views

Why I could not do E step at the middle of a Gremlin query?

I notice that I could not have an E step at the middle of a Gremlin query. Is there a reason behind it, or just the feature is missing? g.V().....E()... Basically, I have an index on an edge property ...
Hieu Nguyen's user avatar
0 votes
1 answer
45 views

Fetch substring of a field from the edge of a graph

I am trying fetch substring of field that is stored as an attribute in the edge of graph. To be more specific on the company-company edges I have attached the graph creation query. g.addV('company')....
SDS's user avatar
  • 331
0 votes
1 answer
69 views

Tinkerpop Gremlin Query: Find all edges pointing back to a vertex in the current path

I query the following path: Company has Employees has User From User I want to find all HasRights edges which point back to the current Company (the user also has rights on other companies). See TODO ...
uTILLIty's user avatar
  • 475
0 votes
1 answer
89 views

gremlin query for cycle detection works for complex graph but returns nothing for simple one

I have a gremlin query to detect cycle nature of the graph. I have tested it with multiple large complex graph it works as expected. But it does not return anything with simple 1 depth graph. Could ...
SDS's user avatar
  • 331
0 votes
1 answer
51 views

select and arrange multiple result within single projection

Apologies for not having sample graph. I’ve a directed acyclic graph mapping where Multiple nodes called "greatgrandparents" have edges to "grandparents" that has edges to ...
Anil_M's user avatar
  • 11.3k
0 votes
0 answers
50 views

Gremlin query to check the cycle nature of the graph

I am new to gremlin. I have task where I need to check the cycle nature of the vertex in the graph and return the output in either of the format String or Boolean: {'crn': 'COMPANY_X', 'cycle': 'Y'} {'...
SDS's user avatar
  • 331
0 votes
1 answer
69 views

Modify the gremlin Query to add a new field along with existing one

I am new to Gremlin struggling modify the query to get the appropriate result. I have a query that gives the depth of the graph. The query is as below: g.withSack(0) .V('company_1') .repeat( ...
SDS's user avatar
  • 331
1 vote
1 answer
77 views

Efficient way for filtering related nodes connected to a supernode

I am trying to filter connected nodes to a super node in Janus Graph where millions of vertices can be connected to a super node directly at level =1, suppose there is a parent node, it could have ...
A R K's user avatar
  • 92
0 votes
1 answer
60 views

Gremlin Query to fetch all objects till specified level along with sibling nodes

I have a Gremlin hierarchy of nodes which are referenced (Refer below pic). How can I retrieve all nodes, including their sibling nodes, at a specific provided level from root node ? For instance, ...
solveit's user avatar
  • 1,139
0 votes
1 answer
39 views

Gremlin query traverse multiple nodes and edges

Knowledge sharing --> Below query traverse from A(node)<--W(edge)<--B(node)-->X(edge) --> C(node)-->Y(edge)--> D(node)<--Z(edge)<--E(node) g.V().hasLabel("A")....
Ankit Soni's user avatar
0 votes
0 answers
80 views

Tinkerpop Gremlin upgrade path (3.4.10 - 3.6.5)

I have to upgrade AWS Neptune Engine version to 1.2.1.0. The current Tinkerpop gremlin version (as a client) is 3.4.10. Now, Thought I have already upgraded the Neptune server version which is still ...
rudrapbiswas's user avatar

15 30 50 per page
1
2
3 4 5
68