Getting Started
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide will take you through starting a graph based on provided data.
This tutorial requires you to be connected to local Cayley installation. For more information on installing Cayley locally, see .
You should see:
You can now open the web-interface on: .
Cayley is configured by default to run in memory (That's what backend memstore
means). To change the configuration see the documentation for or run cayley http --help
.
For more information about the UI see:
Using the 30kmoviedata.nq dataset from above, let's walk through some simple queries:
To select all vertices in the graph call, limit to 5 first results. g
and V
are synonyms for graph
and Vertex
respectively, as they are quite common.
Find vertex with property "Humphrey Bogart"
You may start to notice a pattern here: with Gizmo, the query lines tend to:
Start somewhere in the graph | Follow a path | Run the query with "all" or "getLimit"
Get the list of actors in the film
This is starting to get long. Let's use a Morphism, a pre-defined path stored in a variable, as our linkage
To learn more about querying see