Questions tagged [tinkerpop]

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

Apache TinkerPop™ is a graph computing framework for both graph databases (OLTP) and graph analytic systems (OLAP). Graph systems that are TinkerPop-enabled, allow users to the ability to utilize the various aspects of the TinkerPop stack in development of vendor-agnostic graph applications. The key component to the TinkerPop stack is the Gremlin, a graph traversal language, which allows users to query and manage a graph.

974 questions
7
votes
1 answer

Connecting gremlin CLI to a remote tinkerpop gremlin-server

Using gremlin-javascript, I'm connecting to a remote server using: const gremlin = require('gremlin') const Graph = gremlin.structure.Graph const DriverRemoteConnection = gremlin.driver.DriverRemoteConnection const graph = new Graph() const g =…
user479947
7
votes
2 answers

Can't delete/remove multiple property keys on Vertex Titan 1.0 Tinkerpop 3

Very basic question, I just upgraded my Titan from 0.54 to Titan 1.0 Hadoop 1 / TP3 version 3.01. I encounter a problem with deleting values of Property key: Cardinality.LIST/SET Maybe it is due to upgrade process or just my TP3 misunderstanding. …
VitalyT
  • 1,671
  • 3
  • 21
  • 49
7
votes
2 answers

Gremlin - Giraph - GraphX ? On TitanDb

I need some help to be confirm my choice... and to learn if you can give me some information. My storage database is TitanDb with Cassandra. I have a very large graph. My goal is to use Mllib on the graph latter. My first idea : use Titan with…
dede
  • 91
  • 1
  • 7
6
votes
0 answers

JanusGraphException: Could not commit transaction due to exception during persistence Caused by: PermanentLockingException: Local lock contention

I have a high level code like this. MethodXyz() { updateVertex(A, props1) commit // some other code updateVertex(A, props2) commit // do something else - long running } This method is called from 10+ different threads for different vertices,…
6
votes
2 answers

Where can I find out what version of Tinkerpop Gremlin, AWS Neptune is using

I am trying to use .valueMap().with(WithOptions.tokens) in my query against AWS Neptune. I get MalformedQueryException. I suspect that this is a new feature in Gremlin 3.4.* I have not been able to find a page that outlines what version of the…
James Render
  • 1,490
  • 1
  • 14
  • 26
6
votes
2 answers

How to handle vertices with a large number of edges?

In our graph, there are a lot of vertices which have more than 100k of outgoing edges. I would like to know what are the approaches to handle all palettes of situation which come out of this. Let's say that we have a group_1 defined in our graph.…
Michał
  • 616
  • 1
  • 7
  • 22
6
votes
1 answer

Tinkerpop & Python - Setting an array property via gremlin

I'm using JanusGraph with the standard python gremlin binding, and I'd like to set a float[] property on a vertex/edge. However, the Tinkerpop driver for Python doesn't seem able to do so. For example, here is an example with a script running…
Barak Itkin
  • 4,872
  • 1
  • 22
  • 29
6
votes
2 answers

Best way to get (millions of rows of) data into Janusgraph via Tinkerpop, with a specific model

Just started out with Tinkerpop and Janusgraph, and I'm trying to figure this out based on the documentation. I have three datasets, each containing about 20 milions rows (csv files) There is a specific model in which the variables and rows need to…
nikolai
  • 63
  • 1
  • 4
6
votes
2 answers

Cassandra/Scylla as graph database backen for JanusGraph and API exposed with GraphQl

I am looking for a Graph database using Scylla or Cassandra as the backend and then expose the web api as GraphQl. Can you help me verify that I have got the followin stack right: GraphQl or TinkerPop // Api schema, exposing api JanusGraph(privious…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
6
votes
2 answers

How to add an edge in Python Gremlin variant

I'm trying to create a graph using gremlin-python, but I can't seem to work out how to add an edge. Using the standard Gremlin console I can do the following: gremlin> a = g.addV().next() ==>v[0] gremlin> b = g.addV().next() ==>v[1] gremlin>…
Matt Hamilton
  • 805
  • 1
  • 9
  • 12
6
votes
2 answers

Counting Super Nodes On Titan

In my system I have the requirement that the number of edges on the node must be stored as an internal property on the vertex as well as a vertex centric index on a specific outgoing edge. This naturally requires me to count the number of edges on…
Filipe Teixeira
  • 3,565
  • 1
  • 25
  • 45
6
votes
1 answer

How do I connect to orientdb graph through rexster with bulbs?

So, I'm using python3.2 and bulbs on mac-osx with rexster and orientdb. Details: orientdb - standard download from their page ~/workspace/orientdb-community-1.7-rc1 Running the server, ./bin/server.sh database - orientdb…
Adam Miller
  • 1,756
  • 1
  • 25
  • 44
6
votes
1 answer

Bulbflow: difference between neo4jserver Graph and neo4jserver Neo4jclient

I am now trying to learn how to connect to Neo4j server and run Cypher queries on it using Bulbflow from Python. And the thing I do not understand is the difference between two possibilities to connect to the neo4j server: 1) Graph from…
npobedina
  • 331
  • 3
  • 14
5
votes
1 answer

Anonymous traversal vs normal traversal gremlin

I have read the documentation about anonymous traversals. I understand they can be started with __ and they can be used inside step modulators. Although I dont understand it conceptually. Why cannot we use a normal traversal spawned from graph…
CHID
  • 1,625
  • 4
  • 24
  • 43
5
votes
1 answer

How to do efficient bulk upserts (insert new vertex, or update property(ies)) in Gremlin?

Context: I do have a graph with about 2000 vertices, and 6000 edges, this over time might grow to 10000 vertices and 100000 edges. Currently I am upserting the new vertices using the following traversal query: Upserting Vertices &…
EasyQuestions
  • 327
  • 1
  • 10
  • 23
1
2
3
64 65