# cayleygraph/cayley

An open-source graph database

Repository: https://github.com/cayleygraph/cayley
Canonical: https://ross.abutalabs.com/products/cayley
Homepage: https://cayley.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: graph, graph-database, cayley, go, linked-data
Last push: 2026-08-17T21:06:26+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 4472, "days_push": 16, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 15062, forks 1236 (observed 2026-08-28T04:11:09.087487+00:00)

## What it is
Cayley is an open-source graph database for Linked Data written in Go, inspired by the graph database behind Google's Knowledge Graph (Freebase). It supports RDF formats like NQuads and JSON-LD, multiple query languages (Gizmo/Gremlin, GraphQL-inspired, MQL), and pluggable backends such as SQL, NoSQL, and KV stores.

## Use cases
- store and query linked data as RDF quads
- build a knowledge graph with graph queries
- run multi-hop graph traversal queries over millions of quads
- query a graph with a Gremlin-like language
- import NQuads or JSON-LD datasets and explore them visually
- use an existing SQL or KV store as a graph backend

## When to choose
- you need a self-hosted graph database with RDF/linked-data support
- you want multiple query languages including a Gremlin dialect
- you want to layer graph queries on top of an existing database backend
- you need a built-in query editor and visualizer

## When to avoid
- you need a general-purpose relational database with ACID transactions
- you require heavy ongoing development or frequent releases
- you need a distributed, horizontally scalable graph store at massive scale

## Facets
- artifact type: application
- maturity: maintenance
- function: database, search-engine, http-server, cli
- domain: databases, developer-tools
- platform: go, windows, cross-platform, self-hosted
- tags: graph-database, linked-data, rdf, quads, gremlin, graphql, mql, knowledge-graph, leveldb, search, linux, macos, docker

## Member repositories
- cayleygraph/cayley (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:09.087487+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:06:45.817111+00:00, confidence not recorded.
  - readme: https://github.com/cayleygraph/cayley (fetched 2026-08-28T04:11:09.087487+00:00, sha 86397e2a1a55)
  - homepage: https://cayley.io (fetched 2026-08-29T08:04:39.662276+00:00, sha 03f838279876)
- Data as of 2026-08-30T08:39:29.467469+00:00.
