Questions tagged [tinkerpop3]

Apache TinkerPop™ is an open source graph technology stack, providing a storage agnostic interface to graph databases and graph analytics frameworks. Tinkerpop 3.x represents a major change in the API since 2.x given a complete re-write with Java 8 and refined thinking with respect to graph traversal mechanisms for both OLTP and OLAP.

Apache TinkerPop™ 3.x provides graph computing capabilities for both graph databases (OLTP) and graph analytic systems (OLAP) under the Apache2 license.

It offers:

  • A standard, vendor-agnostic graph API on the JVM (needs Java 8)
  • In-memory reference implementation of this API, TinkerGraph
  • A standard, vendor-agnostic graph query language, called "Gremlin" (Groovy based)
  • OLTP and OLAP engines for evaluating query
  • A command line shell, Gremlin shell
  • Visualization, via Gephi Integration

More information:

731 questions
4
votes
1 answer

How to connect to embedded inmemory Janusgraph via Gremlin Console

I have a Spring Boot Java server with an embedded in memory JanusGraph instance. While my server is running, I would like to connect to that embedded in memory JanusGraph instance via the Gremlin console for verification purposes. Here is how I am…
4
votes
1 answer

Gremlin querying with the depth information while traversing

I have a use-case where users are in a hierarchy like user1 --HAS_CHILD--> user2--HAS_CHILD--> user3 --HAS_CHILD--> user4 For the given user I need to get all the cars owned by that user and all the cars owned by the children of that user. With the…
prabushitha
  • 1,433
  • 12
  • 13
4
votes
0 answers

Connect to OrientDB using Gremlin.Net

Hi I'm trying to connect to Orient.DB (Community 3.0.18) with gremlin support from a easy console application and Gremlin.net. I'm using the standard demodb. I can't get any gremlin query run, I get: ResponseException: ServerSerializationError:…
Diego Martelli
  • 302
  • 1
  • 10
4
votes
1 answer

How do I list running gremlin queries? How can I cancel slow or long running queries?

Most databases provide a mechanism for users to list running queries and cancel them if required. This is particularly useful is terminating queries that take a lot of time. For example, in MySQL you woul do something like this: mysql>show…
The-Big-K
  • 2,672
  • 16
  • 35
4
votes
1 answer

Proper handling of date operations in Gremlin

I am using AWS Neptune Gremlin with gremlin_python. My date in property is stored as datetime as required in Neptune specs. I created it using Python code like this: properties_dict['my_date'] = datetime.fromtimestamp(my_date, timezone.utc) and…
cryanbhu
  • 4,780
  • 6
  • 29
  • 47
4
votes
0 answers

Does OrientDb makes use of indexes when using Tinkerpop3?

Does OrientDb makes use of indexes when using Tinkerpop3? The last answer for this question was in 2015. Anythign changed since then? Tinkerpop 3.1 on OrientDB? I'm currently using Orientdb3.0.9 with orientdb-gremlin library that uses Tinkerpop3
raj
  • 3,769
  • 4
  • 25
  • 43
4
votes
1 answer

TinkerPop problem with multiple filters using and/or

I was filtering multiple properties and fetching a node, so if had multiple filter joined with and and or. 2 work fine but from the 3rd it seems to crash. Below is a simplified demonstration of the error. With filter gremlin>…
Srinath Ganesh
  • 2,496
  • 2
  • 30
  • 60
4
votes
1 answer

What is the capacity of TinkerGraph in gremlin server?

I have run a session of gremlin server for a tinker graph.…
Bằng
  • 557
  • 6
  • 24
4
votes
1 answer

Can not execute a query in "gremlin" using Orientdb v-3.0.0

I want to execute a query such as g.v('#21:0') using orientdb studio version 3.0.0. But when I execute this command, I get this exception: java.lang.IllegalArgumentException: Cannot find a script executor requester for language: gremlin
4
votes
1 answer

TinkerPop: Filter by Edge count

Sample data: TinkerPop Modern Summary: I want to find People who have created 2 softwares. I started with the basics, and got the count properly g.V().hasLabel("Person").as("from" ,"to1" ) .repeat(bothE().as("e1").otherV().as("to1").dedup("from",…
Srinath Ganesh
  • 2,496
  • 2
  • 30
  • 60
4
votes
1 answer

Tinkerpop common version for multiple databases

Summary I am devloping a app that is intendent to work across multiple graph databases suppoted by tinkerpop Details Based on my research the same version of tinkerpop library (gremlin-python) does not work with the latest version of all the graph…
Akshay
  • 359
  • 1
  • 3
  • 14
4
votes
0 answers

Janusgraph + Cassandra & ES cluster as backend + Spark cluster as analytics. Topology & COnfiguration?

I used the link Setup spark cluster and titan and cassandra to setup my topology. My topology is as follows: VMs: Number 3: Cores 8 each RAM 16GB each. The following is topology of VMs, along with its components of each: Note: In bellow set of…
4
votes
1 answer

Indexing fails on enabling force index in Titan/Janus

I've written a JUnit Test to check against the generate-modern.groovy graph if marko exists. My gremlin query being "g.V().has('name','marko')"; As you can see in the generate-modern.groovy file that indexing is already applied on the name…
Abhishek Raj
  • 502
  • 3
  • 15
4
votes
1 answer

Gremlin group by vertex property and get sum other properties in the same vertex

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…
Sads
  • 557
  • 6
  • 20
4
votes
4 answers

Valuemap returns array

In Tinkerpop3 valueMap is returning an array, how can I get a real key value pair (without Array)? gremlin> Gremlin.version() ==>3.0.1-incubating :> def trav = g.V().hasLabel('Group'); trav.valueMap() ==>{joinTime=[2016-12-05T22:27:01.088Z],…
Vibgy
  • 577
  • 6
  • 15