Skip to content
vic

cayleygraph/cayley

An open-source graph database

cayleygraph/cayley.json
{
"createdAt": "2014-06-05T18:49:41Z",
"defaultBranch": "master",
"description": "An open-source graph database",
"fullName": "cayleygraph/cayley",
"homepage": "https://cayley.io",
"language": "Go",
"name": "cayley",
"pushedAt": "2025-11-22T03:55:24Z",
"stargazersCount": 15002,
"topics": [
"cayley",
"go",
"graph",
"graph-database",
"linked-data"
],
"updatedAt": "2025-11-25T14:31:11Z",
"url": "https://github.com/cayleygraph/cayley"
}

Tests

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

Get it from the Snap Store

  • Built-in query editor, visualizer and REPL
  • Multiple query languages:
    • [Gizmo]!(./docs/gizmoapi.md): query language inspired by Gremlin
    • [GraphQL]!(./docs/graphql.md)-inspired query language
    • [MQL]!(./docs/mql.md): simplified version for Freebase fans
  • Modular: easy to connect to your favorite programming languages and back-end stores
  • Production ready: well tested and used by various companies for their production workloads
  • Fast: optimized specifically for usage in applications

Rough performance testing shows that, on 2014 consumer hardware and an average disk, 134m quads in LevelDB is no problem and a multi-hop intersection query — films starring X and Y — takes ~150ms.