Skip to content

About

Any ontology in, Cypher 25 out — deterministically. Multi-format ontology ingestion (RDF, OWL, LinkML, YAML, OBO) → Canonical Ontology Model → Intent JSON validation → parameter-bound Cypher 25 for Neo4j 2025+. Rust core, Python & Go bindings, CLI. LLMs emit schema-constrained Intent, never raw Cypher.

Resources

Security policy

Stars

60 stars

Watchers

1 watching

Forks

Repository files navigation

Ontographia

Any ontology in, Cypher 25 out — deterministically.

Ontographia turns ontology definitions + Intent JSON into parameter-bound Cypher for Neo4j. The LLM (or a human) produces Intent; the Rust core validates it against the ontology and emits the query. It does not ask models to write Cypher.

Ontology → COM → validate(Intent) → AST → Cypher 25 + $params

Start here

Audience Go to
Humans (install, guides, Neo4j) Published docs: edgesentry.github.io/ontographia
Overview & golden rules docs/index.md
How the pipeline works docs/architecture.md
AI coding agents AGENTS.md (routes to docs/; do not treat this README as the manual)
Roadmap docs/roadmap.md

Docs map (short)

Need Doc
Install (CLI / Rust / Python / Go) docs/index.md · Rust · Python · Go
Browser WASM npm package docs/wasm.md
Short CLI otg (Homebrew installs the Rust binary; Python entry point for execute today) docs/otg.md
End-to-end with Neo4j docs/end-to-end-neo4j.md
LLM / Intent layer (ontographia[llm], experimental) docs/llm.md · examples/llm/
MCP server (ontographia[mcp], experimental) docs/mcp.md
Evaluation baselines docs/evaluation.md
Related Text2Cypher work docs/related-work.md
Repo layout docs/repository-layout.md
Release (Actions vs Mac before the next cut) docs/release.md

Tutorials and tables live under docs/ — this file is an index only.

Quick taste

# After install (see docs/index.md)
pip install ontographia
pip install "ontographia[llm]"   # optional Intent layer — docs/llm.md
pip install "ontographia[mcp]"   # optional MCP server — docs/mcp.md
pip install "ontographia[cli]"   # optional `otg` command — docs/otg.md

otg build --ontology examples/manufacturing.native.yaml \
  --intent examples/sample_intent.json --json

License

Apache-2.0 — see LICENSE.

About

Any ontology in, Cypher 25 out — deterministically. Multi-format ontology ingestion (RDF, OWL, LinkML, YAML, OBO) → Canonical Ontology Model → Intent JSON validation → parameter-bound Cypher 25 for Neo4j 2025+. Rust core, Python & Go bindings, CLI. LLMs emit schema-constrained Intent, never raw Cypher.

Resources

Security policy

Stars

60 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages