Metadata-Version: 2.4
Name: ontographia
Version: 0.1.8
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Requires-Dist: neo4j>=5 ; extra == 'cli'
Requires-Dist: openai>=1.40 ; extra == 'llm'
Requires-Dist: pyyaml>=6.0 ; extra == 'llm'
Requires-Dist: mcp>=1.9,<3 ; extra == 'mcp'
Requires-Dist: neo4j>=5 ; extra == 'mcp'
Provides-Extra: cli
Provides-Extra: llm
Provides-Extra: mcp
License-File: LICENSE
Summary: Multi-ontology deterministic Cypher 25 query builder
Keywords: neo4j,cypher,ontology,graph,rdf
Author: Ontographia Contributors
License: Apache-2.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://edgesentry.github.io/ontographia/
Project-URL: Homepage, https://github.com/edgesentry/ontographia
Project-URL: Repository, https://github.com/edgesentry/ontographia

# 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](https://edgesentry.github.io/ontographia/) |
| **Overview & golden rules** | [docs/index.md](docs/index.md) |
| **How the pipeline works** | [docs/architecture.md](docs/architecture.md) |
| **AI coding agents** | [AGENTS.md](AGENTS.md) (routes to `docs/`; do not treat this README as the manual) |
| **Roadmap** | [docs/roadmap.md](docs/roadmap.md) |

## Docs map (short)

| Need | Doc |
|------|-----|
| Install (CLI / Rust / Python / Go) | [docs/index.md](docs/index.md#install-released-versions) · [Rust](docs/rust.md) · [Python](docs/python.md) · [Go](docs/go.md) |
| Short CLI `otg` (Homebrew installs the Rust binary; Python entry point for execute today) | [docs/otg.md](docs/otg.md) |
| End-to-end with Neo4j | [docs/end-to-end-neo4j.md](docs/end-to-end-neo4j.md) |
| LLM / Intent layer (`ontographia[llm]`, experimental) | [docs/llm.md](docs/llm.md) · [`examples/llm/`](examples/llm/) |
| MCP server (`ontographia[mcp]`, experimental) | [docs/mcp.md](docs/mcp.md) |
| Evaluation baselines | [docs/evaluation.md](docs/evaluation.md) |
| Related Text2Cypher work | [docs/related-work.md](docs/related-work.md) |
| Repo layout | [docs/repository-layout.md](docs/repository-layout.md) |
| Release | [docs/release.md](docs/release.md) |

Tutorials and tables live under [`docs/`](docs/) — this file is an index only.

## Quick taste

```bash
# 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

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

## License

Apache-2.0 — see [LICENSE](LICENSE).

