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
29 views

Set an id for JanusGraph traversal for on-demand transaction trace

I want to set a unique identifier for a graph traversal and retrieves it at the JanusGraph storage backend plugin so that I could further trace storage operations related to this graph traversal. My ...
Hieu Nguyen's user avatar
1 vote
1 answer
96 views

search for value by key within dynamic collection

I am looking to extend discussion held here about filtering vertices based on property value from collection. However, in my case the collection is dynamic e.g. generated using store e.g. following ...
Anil_M's user avatar
  • 11.3k
0 votes
1 answer
96 views

How can I run queries in TinkerGraph using query strings?

I want to run some queries in TinkerGraph, but I need to read them from an external text file, instead of performing Java calls: TinkerGraph graph = TinkerGraph.open(); GraphTraversalSource g = graph....
Incognitex's user avatar
1 vote
1 answer
1k views

Neo4J - Gremlin Support

I did a bit research but need to clarify some things regarding neo4j gremlin support. I want to use tinkerpop-gremlin with neo4j db. I saw this link https://tinkerpop.apache.org/docs/current/reference/...
glsavvick's user avatar
1 vote
0 answers
103 views

Use previous store , compare name with collection and use in next step

I am fairly new to gremlin. For a project I am working with Directed Acyclic Graph (DAG). Here is a subgraph (with names changed). There are levels (from 0 to 3 in this graph). I need to traverse ...
Anil_M's user avatar
  • 11.3k
2 votes
0 answers
316 views

Connecting to JanusGraph using ConfiguredGraphFactory

I'm trying to figure out how to connect to JanusGraph server from SpringBoot. JanusGraph was setup with Cassandra and ElasticSearch to run in docker and as each instance of JanusGraph only serves one ...
毛三王's user avatar
1 vote
1 answer
68 views

Gremlin find shortest path and inspect each vertex along it for specific edge types

I'm learing Gremlin and trying to find a way to traverse from a given vertex to another along a path and "locating" each edge of a type and the associated node. This is a basic ...
Thomas's user avatar
  • 1,741
-1 votes
1 answer
28 views

Gremlin Query to get longest common subsequence for a given source from the Azure Cosmos graph

lets assume I have got list of all longest common paths for given source say A using below query g.V().hasLabel('A').repeat(out()).until(__.not(out())).path().by('id') Result: [ { "objects":...
place holder's user avatar
0 votes
1 answer
162 views

Gremlin query for a property with automatic creation of vertices containing this property if not existent

I want to create a query that looks for vertices which hold a property value out of a list of values and create a new Vertex with the property. Example: Input: List of names like "Frank", &...
Kiwifranky's user avatar
0 votes
0 answers
334 views

Tinkerpop Gremlin with Azure Cosmos DB Emulator: Invalid handshake response getStatus: 200 OK

I'm following the tutorials in https://learn.microsoft.com/en-us/azure/cosmos-db/local-emulator?tabs=ssl-netstd21#api-for-gremlin to use azure cosmos db emulator for gremlin. But got always following ...
Peng Liu's user avatar
1 vote
0 answers
104 views

Count the number of vertices/edges existed in the graph using Gremlin

Given a list of unique keys of, let's say, 2 vertices, I could write a single Gremlin query to count the number of vertices existed in the graph. For example, vertex label 'person' has composite index ...
Hieu Nguyen's user avatar
2 votes
1 answer
57 views

Apache Gremlin Filter returns empty when the vertex/edge is not present

Apache Gremlin Filter returns empty when the vertex/edge is not present. g.V('12336', '4128', '155808').as("a").filter( __.V().has('end_time', p.gte('---DATE---')).where(P.neq("a&...
Thirumal's user avatar
  • 9,116
0 votes
1 answer
103 views

How can I apply an anonymous traversal to a graph in Gremlin?

I've got a (generated) anonymous gremlin traversal. I know for a fact that: it contains start steps (.V() / .E()) it has been created exclusively using anonmous traversal (the __ class) Now, I want ...
Martin Häusler's user avatar
0 votes
1 answer
295 views

How Do I Configure the Gremlin Console to AWS Neptune?

I have downloaded the Apache Tinkerpop Gremlin Console but I cannot figure out how to connect this to my AWS Neptune Instance. Please provide me with step by step instructions to get this connected to ...
Manabu Tokunaga's user avatar
0 votes
1 answer
142 views

Combine two gremlin queries with individual start steps into one

I have two gremlin queries, both with individual start steps. I have no control over their inner structure (they are passed to me as method arguments). My task is to combine them into a single ...
Martin Häusler's user avatar

15 30 50 per page
1
3 4
5
6 7
68