Questions tagged [tinkerpop-blueprint]

Blueprints is a property graph model interface API with provided implementations. Databases that implement the Blueprints interfaces automatically support Blueprints-enabled applications.

Tinkerpop: An Open Source Graph Computing Framework


Blueprints

Blueprints is a collection of interfaces, implementations, ouplementations, and test suites for the property graph data model. Blueprints is analogous to the JDBC, but for graph databases. As such, it provides a common set of interfaces to allow developers to plug-and-play their graph database backend. Moreover, software written atop Blueprints works over all Blueprints-enabled graph databases. Within the TinkerPop software stack, Blueprints serves as the foundational technology for:

  • Pipes: A lazy, data flow framework
  • Gremlin: A graph traversal language
  • Frames: An object-to-graph mapper
  • Furnace: A graph algorithms package
  • Rexster: A graph server

Please join the Gremlin users group at http://groups.google.com/group/gremlin-users for all TinkerPop related discussions.

52 questions
1
vote
1 answer

Difference between traversal using gremlin and methods from Graph

Suppose I've the following simple graph. I see two ways of traversing this graph Option 1 I can use the following API provided by the Graph class Graph factory = ... factory.getVertices("type", "Response"); Option 2 I can also use GremlinPipeline…
Aravind Yarram
  • 78,777
  • 46
  • 231
  • 327
0
votes
1 answer

Graphml generated from tinkerpop cannot be opened by yEd Graph Editor

I have saved a graph using the Tinkergraph API. The file is here: https://pastebin.com/C81rZYa2 I was trying to open the file using yEd and I am getting the following error: at y.H.A.K.ā(Unknown Source) at y.H.H.ā(Unknown Source) at…
Exploring
  • 2,493
  • 11
  • 56
  • 97
0
votes
2 answers

Convert GraphResultSet JSON using Graphson

I'm trying to convert the GraphResultSet object to JSON format similar to datastax studio returns. I'm trying to use Graphson. Is there any sample codes convert the result object to JSON? i tried the following from the tikerpop blueprints but its…
0
votes
1 answer

Orientdb Match with OCommandSQL is returning null Vertices

I am new to OrientDB and blueprint. I am trying to execute simple MATCH query using OrientDB Java API. Below is my code : import com.orientechnologies.orient.core.sql.OCommandSQL; import com.tinkerpop.blueprints.TransactionalGraph; import…
Amit Kumar
  • 2,685
  • 2
  • 37
  • 72
0
votes
1 answer

Best practice: How to specify a vertex's domain 'type' in a graph database

When building a graph, it is usually necessary to specify the 'type' of vertices. Conceptually I see this could be done by applying a vertex label or property to each vertex (ie Bob, Label: Man), or alternatively by linking a vertex to another…
0
votes
1 answer

OrientDB get label from vertex and get relationship from vertex

I have two separate questions: How can I get the label of a vertex object. I tried vertex.getId() .getClass() and similar but nothing is even close to the label I set to the vertex. and, how can I get a relationship which connects any vertices of a…
raycons
  • 735
  • 12
  • 26
0
votes
1 answer

dijkstra function of orientdb is not working with tinkerpop API

The below code is not giving the correct result, am I doing something wrong..? OrientGraph graph = factory.getTx(); for (OrientVertex v : (Iterable) graph.command( new OCommandSQL("SELECT dijkstra(#97:1334, #97:1335,…
Chinnadurai_V
  • 90
  • 1
  • 10
0
votes
0 answers

How to handle Options in orientdb blueprint

I'm using Scala and OrientDB with Blueprint API. libraryDependencies += "com.orientechnologies" % "orientdb-core" % "2.1.16" libraryDependencies += "com.tinkerpop.blueprints" % "blueprints-core" % "2.6.0" libraryDependencies +=…
0
votes
1 answer

Tinkerpop Stack Rexster REST API _properties

Technology Stack: Tinkerpop Stack 2.4 (Rexster HTTP REST Server) Titan 0.5.4 DynamoDB (AWS) NodeJS Goal: I would like to utilize the Rexster RESTful based API for querying and traversals of my graph database. I am trying to understand the…
Tom Pennetta
  • 482
  • 7
  • 25
0
votes
1 answer

orientDB `OrientGraphNoTx ` Super-class V; not exists

I'm programmatically loading a file containing the OSql statements to create the schema of my DB by using the Blueprint API, specifically, I'm creating a DB in plocal mode by using by instantiating the OrientGraphNoTx class: val graph = new…
Alberto
  • 597
  • 3
  • 17
0
votes
1 answer

Tinkerpop Blueprints set id/name for graph

I'm creating some graphs with Blueprints, store them later in GraphML format and want to identify them by an id or name. Does the API provide something like this? GraphML files (even the ones created by Blueprints) are looking like
Sören Henning
  • 326
  • 4
  • 16
0
votes
1 answer

How to add label to vertices in GRAPHSON (a JSON based format for graph elements)

With reference To link https://github.com/tinkerpop/blueprints/wiki/GraphSON-Reader-and-Writer-Library How to label the vertices in the json file which will result in speeding up graph traversals. I am using titan graph db . So GRAPHSON will be…
user3646858
  • 137
  • 1
  • 2
  • 12
0
votes
2 answers

Titan Cassandra - Ghost Vertices and Inconsistent Read Behavior Until Restart

Deleting vertices from Titan leads to inconsistent read behavior. I'm testing this on a single machine running Cassandra, here's my conf.properties: storage.backend=cassandra storage.hostname=localhost storage.cassandra.keyspace=test The following…
cscan
  • 3,684
  • 9
  • 45
  • 83
0
votes
1 answer

Not loading data from titan graph with cassandra backend using gremlin.

I have added data in titan(cassandra backend) using blueprint api with java. I used following configuration in java for inserting data. TitanGraph getTitanGraph() { conf2 = new BaseConfiguration(); conf2.setProperty("storage.backend",…
Rupesh
  • 27
  • 7
0
votes
1 answer

How do I write Gremlin queries for following patterns?

I have some miniature Gremlin directed graphs, in which each vertex has two properties "type" and "text". The values for "text" property are just English text while the "type" property can a have a value selected from this set : NP, PP, VP, ADVP,…
swap310
  • 768
  • 2
  • 8
  • 22