Cayley is a graph database oriented toward linked data and RDF-style triples. It layers on existing SQL, NoSQL, or key-value stores and exposes several graph query languages.
Overview
Cayley stores and queries graph-shaped data for applications that model relationships explicitly rather than only tables. The design draws on ideas from large knowledge graphs and supports RDF concepts plus formats such as N-Quads and JSON-LD.
The server is modular: backends, import formats, and query languages can be swapped or extended. Built-in tooling includes a query editor, visualizer, and REPL for interactive work. Documented query options include a GraphQL-inspired language, Gizmo as a Gremlin dialect, and MQL.
Operators can run Cayley as a production-facing service with testing and performance characteristics aimed at application embedding. The project describes usage in company workloads and reports example intersection queries over large quad stores on commodity hardware from its performance notes.
Community support is available through discourse and website resources; extension points allow custom logic without replacing the whole stack.
Key features
- RDF and linked data support
- Pluggable storage backends
- Built-in query editor and REPL
- Gizmo, MQL, and GraphQL dialects
- NQuads and JSON-LD formats
- Graph visualizer
- Modular extension points
- Application-oriented performance
Use cases
- Knowledge graph storage
- Linked open data publishing
- Relationship-heavy application backends
- Graph analytics prototypes
- Multi-hop graph queries