Questions tagged [cayley]

Cayley is an open-source graph database.

Cayley is an open-source graph database inspired by the graph database behind Freebase and Google's Knowledge Graph.

Useful links


Related tags :

23 questions
3
votes
1 answer

How to use Cayley with a Postgres backend?

As per this Github issue, the Postgres backend feature for the Cayley graph database is implemented. However, currently there aren't examples in the docs, and I couldn't figure it out by reading the code. Could someone help? Edit To start playing…
3
votes
1 answer

Gremlin Cayley query: How to have a multi leveled query

New to cayley and have cannot figure out how to display a multi level query with unknown amount of levels. For example Lets say all predicates/relations between nodes are "likes". If I have a graph shaped this way. A --> B B --> C C --> D D -->…
2
votes
1 answer

How to load an json api in cayley graph db

I have various data located within various data sources like Json ,various apis etc,.Now there is requirement to collate all these data and push it into cayley graph data base. this will eventually act as an input for a chatbot framework. i am…
2
votes
1 answer

Creating a new quad store with go(cayley)?

I'm new to go and I'm trying to create a Quad store using cayley/graph library(NewQuadStore()). I'm trying to do it on testdata.nq file which is a sample data that comes with cayley. Here is my code: package main import ( "fmt" …
2
votes
0 answers

Graphically produce a undirected / unweighted graph

I am currently working on a project to to calculate the God's Number and Devils Algorithm of the 2x2 and 3x3 Rubiks Cube. I have successfully created the graphs using my own structure types in C, but would like to visually represent this like…
Adam
  • 31
  • 3
2
votes
2 answers

Cayley: How do insert vertices and edges into graph using Cayley-Gremlin code?

So being new to Go and Cayley I am struggling with inserting data into the graph. I am running a gremlin console on the command line with this command: cayley repl --db="bolt" --dbpath=../../database/database1 --query_lang="gremlin" I know cayley…
Stratus3D
  • 4,648
  • 4
  • 35
  • 67
1
vote
2 answers

How to fix "Error: This QuadStore is not registered"?

I am trying to load a sample chinook.db database into Cayley. I am using a standart Cayley config file cayley_example.yml with small changes specific to sqlite3. Here's chinook.db cayley_example.yml store: # backend to use backend: sqlite #…
Radical Ed
  • 178
  • 2
  • 13
1
vote
2 answers

How to read linked-nodes recursively in Cayley Graph Database?

The database has nodes which form a tree. Each node follows another with the predicate "precedes". I want to write a query that can read the entire tree given the start node. I have tried Morphism, but the output makes no sense to me at all. Perhaps…
Muhammad Ali
  • 712
  • 7
  • 14
1
vote
2 answers

Cayley docker isn't writing data

I'm using [or, trying to use] the docker cayley from here: https://github.com/saidimu/cayley-docker I created a data dir at /var/lib/apps/cayley/data and dropped the .cfg file in there that I was instructed to make: { "database": "myapp", …
Kristian
  • 21,204
  • 19
  • 101
  • 176
1
vote
0 answers

Gremlin Cayley query: return all orphaned nodes?

I found this post, namely, this Gremlin query at the end of the post: g.V.as('all').out.in.as('parents').optional('all').except('parents') This query finds all orphaned nodes (or at least it should). I need to do this in Cayley (google's Golang…
Stratus3D
  • 4,648
  • 4
  • 35
  • 67
1
vote
1 answer

Cayley with BoltDB backend?

I am new to Go and I am trying to setup a simple graph database using Cayley with BoltDB as the backend datastore. Right now I am trying to run cayley from the command line. Running this command: cayley http --db="bolt" Generates this error: panic:…
Stratus3D
  • 4,648
  • 4
  • 35
  • 67
1
vote
1 answer

Difference between Graph Triples and EAV

Recently I've started to play with cayley and ArangoDB for their graph datastores. While reading and watching videos about graph databases a question popped up into my mind: what makes a graph database so different (and "awesome") from a typical…
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
0
votes
0 answers

Cayley: How to get an `Quad` by subject?

For example: There are some quads of subject: "bob". . <12> . . ... Are there any way to get all quads of ?
0
votes
1 answer

Identify the path in Graph traversing

In the graph database, I want to know from which route I traverse e.g. Path-1. a-1-2-3-4-5-b Path-2. a-1-2-7-4-5-b In both the above examples, it traverses from point a to point b through different routes. Here I want to identify from which route I…
0
votes
1 answer

What is "label" in cayley quads?

I already tried, to look in https://godoc.org/github.com/cayleygraph/cayley/quad but cant find the definition of it and it's uses. I will appreciate any advice and recommendation, thanks.
zer09
  • 1,507
  • 2
  • 28
  • 48
1
2