Cayley CookBook

Cayley CookBook

Cayley is an open-source database for Linked Data. It is inspired by the graph database behind Google’s Knowledge Graph.

This website is a collection of code fragments, that use the Cayley Knowledge Graph as a Golang library.

The github.com/tombenke/cayley-cookbook-src repository holds the basic implementations of the most typical use-cases.about how to use Cayley as a Go library. The individual use-cases are organized into subfolders.

The current Cayley version is 0.7.5 at the time of this writing, so the examples were tested with this version.

The main purpose of this collection to make it easier to get started with using Cayley .

There are two options to use examples:

  1. The code examples can be immediately executed in the cloud. Run on Repl.it
  2. Clone the repository to your local machine, and execute there.

If you want to have a deeper insight about how Cayley works, then I highly recomment to install it to your local machine as well as to clone the source repositories (cayleygraph/cayley and cayleygraph/quad) of it too.