Questions tagged [tinkerpop]
Apache TinkerPop™ is a graph computing framework for both graph databases (OLTP) and graph analytic systems (OLAP).
tinkerpop
1,007
questions
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 ...
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 ...
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....
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/...
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 ...
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 ...
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 ...
-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":...
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", &...
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 ...
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 ...
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&...
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 ...
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 ...
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 ...