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).

tinkerpop
0 votes
1 answer
148 views

AWS Neptune recommendation to make response faster

I recently had to use AWS Neptune in an authorization service to model a dataset that has intrincate relations between entities, most of them are many to many relations. This is the model I came up ...
Jesus Zuñiga's user avatar
0 votes
1 answer
200 views

How to use Cardinality properly in mergeV in gremlin javascript?

I'm trying to set cardinality. It works with addV, for example await g.V(id1).property(single, 'timestamp', 10).next(); However it does not work when I try to do it with mergeV const ...
kyl's user avatar
  • 549
1 vote
1 answer
71 views

Why doesnt the gremlin query return edges using path() when logical operators are present in the query?

I am fairly new to gremlin query and janusgraph. I had a requirement to get both edges and nodes of the graph given various properties of the nodes and the relationship between them. There can be ...
Shahul Irshad's user avatar
2 votes
1 answer
86 views

Is there a nicer way to force a Gremlin query to fail when it discovers an invalid state?

It would be nice if there was a way to have a Gremlin query terminate with some kind of error message if, as part of the query, it is determined that there is no point proceeding further. One not very ...
Kelvin Lawrence's user avatar
0 votes
1 answer
26 views

OrientDB v3.2.21 - No more resources available in pool (max = 50)

I'm upgrading from OrientDB v2 with Tinkerpop 2.0 to OrientDB v3.2.21 with the Tinkerpop 3.0. In OrientDB v2, I've always use the OrientGraphFactory with setupPool(1, 50). However, in OrientDB v3, if ...
liyang's user avatar
  • 25
0 votes
1 answer
104 views

Gremlin "merge" api resulting in UnsupportedOperationException in 3.6.2, but works in 3.7.0

When using org.apache.tinkerpop:tinkergraph-gremlin:3.7.0 the following statement works. It comprises 3 merge statements. In plain English: insert vertex endpoint e1, upsert vertex permission p1, ...
Paul Schwarz's user avatar
  • 1,908
1 vote
0 answers
44 views

How to use a single query to retrieve a vertex whose id is given by the traversal?

I have a graph on Azure CosmosDB which involves company hierarchies where a Top Parent exists and there are child companies like CompanyX(Top Parent) -> CompanyY(Child of X + Parent of A) -> CompanyA(...
Roshni Natarajan's user avatar
2 votes
1 answer
105 views

gremlin query to n hops and traversal of all sub edges and nodes

I am trying to create a graph where i can find all relationships with given person and list of their friends. the problem statement my graph looks like this bob ->friends -> jay jay -> ...
Aaron's user avatar
  • 686
1 vote
1 answer
124 views

How do I create AWS Neptune nodes with nested proprieties using gremlin queries

I'm looking into a way to create nodes with nested proprieties like the "location" inside this example, that I found on Github here: https://github.com/apache/tinkerpop/blob/master/data/...
Tomás Santos's user avatar
0 votes
0 answers
27 views

Query to find the current size of janusGraph?

What is the Query to find the current size of janusGraph? or is there any Tinkerpop query to find the database size?
Thirumal's user avatar
  • 9,116
0 votes
1 answer
28 views

What's a hasContainer() in TinkerPop Gremlin?

I recently stumbled upon the concept of hasContainers, however I don't find much about what it is in the documentation and the Practical Gremlin book. So what's a hasContainer and how and when is it ...
94621's user avatar
  • 71
0 votes
0 answers
69 views

Gremlin query to assign single property to all connected components

I need to write query which does following steps: Takes selected vertexes ids and goes through all connected components with SinglePath. Each of initial and connected vertex may have gl_id property ...
Kamil Hojka's user avatar
0 votes
1 answer
36 views

How to rewrite OrientDB query to Gremlin (TinkerPop)?

I have simple OrientDB query MATCH {class:SomeObj, as:obj, Where:( (outE('SomeEdge')[in=#74:2].StringValue="STRINNNGGG") and (outE('SomeEdge')[in=#75:2].NumberValue=333) ...
yasuro's user avatar
  • 23
1 vote
1 answer
76 views

What Gremlin query can I write to create custom relationships between all pairs nodes that have a certain number of connections in common?

In AWS Neptune, I have a graph that has many clusters like the one defined below: g.addV('person').property('name', 'John').as('p1') .addV('person').property('name', 'Weihua').as('p2') .addV('...
jjjjohnson's user avatar
1 vote
1 answer
70 views

Hashmap as Property Value in Janusgraph

I use a janusgraph docker container. I connect with it via tinkerpop remote connection in my Java application. I want to set a hashmap as property value on a specific node. That should be possible ...
Zonko's user avatar
  • 182

15 30 50 per page
1 2
3
4 5
68