Questions tagged [ibm-graph]

IBM Graph is a hosted OLTP graph database based on the Open Source Tinkerpop 3 Apache project. It provides a REST API that allows developers to create graphs, load data into their graphs, and issue Gremlin queries against their data.

IBM Graph is a hosted graph database based on Apache Tinkerpop 3. The service is an IBM Bluemix service that provides a REST API, which allows developers to create graphs, load data into graphs, and query them using the open source graph DSL Gremlin. In graph databases, data is stored as a property graph, a connected set of nodes that can have properties on nodes and edges.

Please post all non-technical questions on IBM's developerWorks site.

27 questions
3
votes
1 answer

tree() step results in a StackOverflowError

I always get a java.lang.StackOverflowError when executing a tree step. Here is an example from the Music Festival sample data: def g = graph.traversal(); g.V().has("genre", "Folk").out().tree(); Gives me the following error: Error: Error…
yo3jones
  • 33
  • 3
3
votes
1 answer

Why do my REST calls to IBM Graph take too long (2-4s)?

When I make any call to my IBM Graph instance it takes a couple of seconds for it to complete. curl "$apiURL/vertices" \ -u "$username:$password" -X POST \ -H 'Content-Type: application/json' \ -d '{ "Name": "Million Dollar Baby", "Type":…
Alaa Mahmoud
  • 743
  • 3
  • 18
2
votes
1 answer

Weaviate Search Graph Vs. GA of IBM Graph

IBM Graph service is only compared to how it can add and store properties in the form of key/value pairs associated with the data, for both vertices and nodes connected by edges, rather than the more traditional form of storing the data in tabular…
2
votes
2 answers

How can I retrieve and paginate a users feed in IBM Graph (TitanDB) using Gremlin/Tinkerpop

I have a very basic news feed modelled in IBM Graph (TitanDB backed by Cassandra) as shown below: I am trying to write a query that does the following: Start at vertex USER: John.Smith Get the 15 most recent posts from the users FRIENDS combined…
gordyr
  • 6,078
  • 14
  • 65
  • 123
2
votes
1 answer

What are the best practices for datatypes in Titan?

I'm creating a schema for my graph in IBM Graph that uses Titan. I'm using the string datatype for most of my properties like name, address, etc. What are the best practices for datatypes for properties like dates, timestamps, urls, and currency?
Lauren Schaefer
  • 696
  • 4
  • 9
2
votes
2 answers

IBM Graph APIs are too slow

I'm in California, and I'm making very simple API calls and they're taking 3-5 seconds each in average. I think this is too slow. I'm using the standard deal of $15.00 USD/GB $0.20 USD/1000 API Calls For example: Just looking up a user vertex based…
2
votes
1 answer

Getting an error when I run a V().has() gremlin query against IBM Graph service on bluemix

I created an instance of IBM Graph service on bluemix and created some vertexes. When I try to issue a gremlin query to find one of the vertexes I created, I get an "Internal Error". Here's the query I'm using Create the Vertex curl -u …
1
vote
1 answer

Is IBM Graph still in existence?

I wanted to use a serverless Graph database similar to non-graph database like IBM's Cloudant, i.e, a remote database easily integrable with the web app. According to the docs, IBM Graph provides free tier 512 MB and 25000 API requests per year, but…
Pranjalya
  • 68
  • 2
  • 7
1
vote
1 answer

how to exclude vertices based on edges using gremlin/IBM graph

I'm working with IBM graph and using gremlin to try to filter certain vertices. My edges have two labels required and optional. this the situation: V3 -- V5 -- V6 / \ V1 \ \ \ V2 -- V4 This is a little like a supply/demand chain.…
Mischa
  • 2,069
  • 4
  • 23
  • 32
1
vote
0 answers

Not Authorized to create vertexes in IBM Graph

Tried to enter vertexes: curl -X 'POST' -d '{"vertexLables": [{"name": "event"},{"name": "category"}]}' -H 'content-type: application/json' -H 'authorization: gds-token yyyy…
jpsstack
  • 1,221
  • 4
  • 18
  • 29
1
vote
0 answers

How to traversal through IBM Graph using bluemix

I am trying write a gremlin query on how to display IBM graph with n number of child edges and vertex . if user has provided some index word , for example "acquisition" is index search word, the following query return a good result def g =…
1
vote
1 answer

Get all vertices having a labelname

I am using ibm graph in bluemix and new to this. I created a graph named 'test' using the GUI provided by bluemix and uploaded the sample data 'Music Festival' provided by ibm in that graph. Now I am trying to query all the vertices having label…
Radhika
  • 43
  • 1
  • 7
1
vote
1 answer

Connecting IBM Graph and php

I am a beginner with IBM Graph db as well as IBM Bluemix. I need to make entry to the db using php. Have tried making connection using this library https://github.com/PommeVerte/gremlin-php hosted in official tinkerpop but it doesnt work. After…
Radhika
  • 43
  • 1
  • 7
1
vote
1 answer

Is this data model optimal for a basic news feed in TitanDB?

Although I am not using Neo4j, and instead using TitanDB (IBM Graph), due to the fact that I am new to graph databases, I have modelled a basic news feed using the schema suggested in the Neo4j documentation, for…
gordyr
  • 6,078
  • 14
  • 65
  • 123
1
vote
1 answer

What are best practices for naming nodes, edges, and properties in IBM Graph?

I'm creating a schema for a graph in IBM Graph. I've heard it's a best practice for the names of my nodes, edges, and properties to all be lower case. What are other best practices? For example, what are typical best practices regarding the…
Lauren Schaefer
  • 696
  • 4
  • 9
1
2