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
0
votes
1 answer

Bulk removal of Edges on Titan 1.0

I have a long list of edge IDs (about 12 billion) that I am willing to remove from my Titan graph (which is hosted on an HBase backend). How can I do it quickly and efficiently? I tried removing the edges via Gremlin, but that is too slow for that…
imriqwe
  • 1,455
  • 11
  • 15
0
votes
0 answers

Import Neo4j into TitanDB

I have tried to achieve this by using this snippet But class org.apache.tinkerpop.gremlin.neo4j.structure.Neo4jGraph does not support graph computer. Is there any other way to do this?
polianych
  • 252
  • 3
  • 7
0
votes
1 answer

How to bring only complete paths via gremlin path?

My gremlin query looks like this: g.V.has('someProp','A').as('x').in.loop('x'){it.loops<100}{true}.path() the result: ==>[v[768], v[1792]] ==>[v[768], v[1536]] ==>[v[768], v[1792], v[2048]] ==>[v[768], v[1792], v[2048], v[2304]] But I don't want…
BadChanneler
  • 1,450
  • 1
  • 12
  • 20
0
votes
2 answers

TinkerPop3 - Finding the same properties between edge

I'm trying to output vertices's that had a same edge properties (weight:0.4) from the created in the modern graph. gremlin> graph = TinkerFactory.createModern() Thanks.
0
votes
1 answer

install-gremlin-server.sh generates titan-1.0.0-hadoop1.zip which can not be unzipped

I am installing and Running the DynamoDB Storage Backend for Titan. Following the instructions given at Installing and Running DynamoDB for Titan Fifth step asks me to install gremlin server using src/test/resources/install-gremlin-server.sh I did…
0
votes
1 answer

What import do i need for inV() and hasID() in gremlin groovy (3.0.1-incubating)

I'm trying to get a property value of an edge given source and dest vertex ids, and edge label. in the gremlin terminal the following worked: g.V("fromNodeId").outE("edgeLabel").where(inV().hasID("toNodeID")).values("edgeProp") sadly, in groovy,…
Joey Baruch
  • 4,180
  • 6
  • 34
  • 48
0
votes
0 answers

TinkerPop Java API language level

I set Intellij Project Settings -> Modules -> Language level to 1.8. But when I include tinkerpop 3.0.1-incubating in my pom file, the language level will automatically change to 5.0. Then I change it back to 1.8 manually. When I try to run my…
liupro925
  • 45
  • 1
  • 6
0
votes
1 answer

TinkerPop3 updating graph during traversal

I'm using a TinkerPop3 Traversal in Java, and I want to update output vertices, edit them and then have that edited vertex not show up again while the traversal continues. Is this possible? This code: TinkerGraph tg = TinkerGraph.open(); /**add…
Brenden
  • 185
  • 2
  • 10
0
votes
1 answer

Tinkerpop 3.1 on OrientDB?

is there any way to run Tinkerpop Gremlin 3.1 traversals in OrientDB? I've noticed that currently the DBMS supports the previous version (2.x) of the Tinkerpop traversal language which, for example, only allows to directly filter edges by label, but…
Alberto
  • 597
  • 3
  • 17
0
votes
3 answers

Setting vertex ID in Titan 1.0.0

My app is currently using Titan 0.5.4 as its graph DB and does the following - Parses a given raw data, then creates a vertex containing the parsed data, and also creates a unique identifier using a combination of the input data fields. Later on,…
imriqwe
  • 1,455
  • 11
  • 15
0
votes
1 answer

converting Freebase MQL to TinkerPop3 gremlin?

Even though Freebase was deprecated in Jun. 2015, I was impressed by Freebase's MQL. It is intuitive, concise, declarative, and easy to understand/write. These days I'm learning about TinkerPop3 and gremlin. I think gremlin has many good features. I…
Jason Heo
  • 9,956
  • 2
  • 36
  • 64
0
votes
1 answer

Gremlin Console: JSON response doesn't work

I'm trying to access a remote Gremlin server with version 3.0.0 using a Gremlin console 3.0.0. The serializer I'm using is GraphSONMessageSerializerV1d0. When I run this, I get an error message: \,,,/ (o…
Mohamed Taher Alrefaie
  • 15,698
  • 9
  • 48
  • 66
0
votes
2 answers

TitanDB: Avoid searching twice to find if node exists

I am trying to check if vertex exists before creating a new one or updating existing one: x = g.V().has('name','xyz').hasNext() // /search 1 if ( x != true ){ g.V().addVertex( 'name', 'xyz' ) } g.V().has('name','xyz').property('x','1') //…
alex_123
  • 211
  • 1
  • 2
  • 7
0
votes
1 answer

Force neo4j-ce.exe (2.3.0) to use Java 8?

I'm running Neo4j 2.3.0 on Win 7 x64. The computer is configured to use Java 8: >java -version java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode) and yet, my…
JasonPlutext
  • 15,352
  • 4
  • 44
  • 84
0
votes
1 answer

titandb gremlin-server running out of memory how to set #jsr223.groovy.engine.keep.globals

I'm running several instances of titandb / gremlin-server.sh but it keeps running out of memory under high load. How and where do I set the property mentioned in th the docs? I would like to set #jsr223.groovy.engine.keep.globals to…
Scott
  • 21
  • 2
1 2 3
48
49