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
18
votes
2 answers

How can I use gremlin-console to remotely create and access variables?

I remotely connect to a gremlin server using gremlin-console(which is janusgraph), but when I create a variable and access it, it doesn't work. My ultimate goal is to use gremlin-console to create index... gremlin> :remote connect tinkerpop.server…
Gao
  • 912
  • 6
  • 16
14
votes
6 answers

How can I remotely connect to a JanusGraph server?

I want to use Java API to manipulate graph on a remote server, the server actually hosts in localhost. The code I use to connect server is: JanusGraphFactory.Builder b = JanusGraphFactory.build(); b.set("hosts", "[localhost]"); JanusGraph graph =…
Gao
  • 912
  • 6
  • 16
13
votes
1 answer

What is tinkerpop?

How the forum TinkerPop can be addressed? Is it going to specify a standard for the Graph DBs and the related technology Frameworks? In this effort TinkerPop is considered as an authority or pioneer in some sense? I was not able to understand these…
Vinodh
  • 896
  • 1
  • 15
  • 28
11
votes
1 answer

Titan db how to list all graph indexes

I've been looking at the management system but some things still elude me. Essentially what I want to do is: List all Edge based indexes (including vertex centric). List all Vertex based indexes (on a per label basis if the index is attached to a…
Pomme.Verte
  • 1,782
  • 1
  • 15
  • 32
10
votes
1 answer

How do I connect to a remote Neo4j database using gremlin python?

From what I've read Neo4j implements apache tinkerpop which leads me to think I can use gremlin python and rather than connect to a gremlin server I can point the python code at a neo4j server and treat it like a gremlin server. However I can't find…
Alex Ward
  • 461
  • 4
  • 16
10
votes
3 answers

Choosing an appropriate way to use Neo4j in Python

I am currently using embedded python binding for neo4j. I do not have any issues currently since my graph is very small (sparse and upto 100 nodes). The algorithm I am developing involves quite a lot of traversals on the graph, more specifically DFS…
npobedina
  • 331
  • 3
  • 14
9
votes
1 answer

gremlin python - add multiple but an unknown number of properties to a vertex

I want to add more than one property to a vertex, but from the outset do not explicitly know what those properties might be. For example, say for one person to be added as vertex to the graph, we have the following property dictionary: Person 1 { …
Ian
  • 3,605
  • 4
  • 31
  • 66
9
votes
2 answers

How to get id and all properties from a vertex in gremlin?

I am using AWS Neptune with gremlin and I want to get the id of a vertex with all properties of the vertex in one query. How can I do this? I have tried g.V().hasLabel('file').valueMap(true) but the output is: { "fileSize": [ "9170" ],…
Christopher
  • 91
  • 1
  • 1
  • 3
9
votes
1 answer

how to commit changes on gremlin server using gremlin python

I am writing a script to create a graph on gremlin-server using the gremlin-python library. I could not find any good documentation for the library. This is the code structure with which I am experimenting: from gremlin_python …
Tushar Aggarwal
  • 827
  • 1
  • 10
  • 26
9
votes
4 answers

How to delete graph in Titan with Cassandra storage backend?

I use Titan 0.4.0 All, running Rexster in shared VM mode on Ubuntu 12.04. How could I properly delete a graph in Titan which is using the Cassandra storage backend? I have tried the TitanCleanup.clear(graph), but it does not delete everything. The…
Automatico
  • 12,420
  • 9
  • 82
  • 110
8
votes
2 answers

Is there a way of using Gremlin within an asyncio Python application?

The TinkerPop documentation describes GLV for Python. However, the examples presented in there are built around synchronous code. There is the aiogremlin library that was desingned to enable use of Gremlin in Python's asyncio code. Unfortunately,…
skalski
  • 111
  • 1
  • 6
8
votes
1 answer

How to increment a vertex property value in a TinkerPop graph

How would I traverse through a graph and increment a value of a vertex property? Either by some fixed amount or by an amount in a property of an edge leading to it. eg. with the following graph: gremlin> graph =…
Matt Hamilton
  • 805
  • 1
  • 9
  • 12
8
votes
2 answers

Neo4j Multi-tenancy

What is the best way to achieve multi-tenancy in neo4j? I have seen Tinkerpop and Spring Data. I'm have multiple clients and I would like to store client info in its own database to ensure security. I do not want to use labels or indexes to solve…
Kelly Watson
  • 569
  • 1
  • 4
  • 7
8
votes
4 answers

What is the right way to find an edge between two vertices?

Using tinkerpop blueprints API, what is the best way to find if an edge exists between two vertices? I would like to avoid vertex.getEdges() and iterate until find the right one. E.g.: Check if v1 is friend of v2 Vertex v1 =…
Luccas
  • 4,078
  • 6
  • 42
  • 72
7
votes
1 answer

What are the Pros and Cons when using remote janusgraph connection over embedded?

I am using embedded janusgraph in my java backend my code depends on janusgraph instanciated from graph = JanusGraphFactory.open(conf) AFAIK this connects to Cassandra and elastic search directly and run the janusgraph processor in my backend…
Ali Aboud
  • 329
  • 3
  • 11
1
2 3
64 65