Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

Merge remote-tracking branch 'origin/main' into studio-warrant-graph

FABIOTESSb48363920270
diff --cc README.md
index df84676e,ce33ec1e..da6c6bb2
--- a/README.md
+++ b/README.md
@@@ -29,22 -29,70 +29,80 @@@
<strong>English</strong> · <a href="README.zh-CN.md">简体中文</a>
</p>
+ <p align="center">
+ <a href="https://tesseractsemantics.com"><b>Building this into a platform &rarr; tesseractsemantics.com</b></a><br>
+ <sub>The engine is MIT and stays that way. The platform is the hosted, governed version of it.</sub>
+ </p>
+
---
+<p align="center">
+ <img src="docs/assets/studio-graph-dense.png" alt="A 3D knowledge graph of ies-core.ttl with grey asserted edges, green certified edges and red rejected ones, and a panel counting each" width="100%">
+</p>
+
+<p align="center">
+ <sub><b>150 asserted, 259 certified, 4 rejected.</b> Green edges the engine derived and a Lean 4
+ checker then <i>proved</i>. Red edges are forged lines the same checker refused, exit 1, with the
+ rule named. Every count is taken from the run, not written into the caption.</sub>
+</p>
+
- Ask a reasoner why it believes something and it will tell you to trust it.
+ **Ask a reasoner why it believes something and it will tell you to trust it.** This one hands you a
+ proof, and refuses a forged one.
+
+ Open Ontologies builds, changes and operates ontologies and knowledge graphs with Terraform-style
+ lifecycle management, and reasons over them with proof-carrying inference. Every conclusion comes
+ with a certificate that a separate checker, written in Lean 4 and proved sound, will either accept
+ or reject. Written in Rust, ships as a single binary, speaks MCP to Claude, Cursor and anything else
+ that talks to it.
+
+ ## See it in action
+
+ <p align="center">
+ <img src="docs/assets/certified-inference.svg" alt="A supplier ontology with asserted and derived edges, and the certificate the run produced" width="100%">
+ </p>
+
+ Four triples in, three out. `ex:Northwind` was only ever asserted to be in a sanctioned
+ jurisdiction; that it needs enhanced due diligence was *derived*, and the derivation is checkable by
+ someone who does not trust you, your engine, or the model that wrote the ontology.
- This one hands you the proof, and refuses a fake one. Run it yourself; the three files are in
- the repository and the output below is what the checker printed, trimmed to the fields that matter.
+ ## With a proof, and without one
+
+ The same query, answered by an ordinary reasoner and by this one.
+
+ | | An ordinary reasoner | Open Ontologies |
+ | --- | --- | --- |
+ | The answer | `Northwind needs enhanced due diligence` | the same answer |
+ | Why it holds | "the reasoner said so" | a certificate naming every rule and premise |
+ | Who can check it | nobody, short of rerunning the same engine | anyone, with a checker that shares no code with the engine |
+ | If the engine has a bug | you get a wrong answer, confidently | the checker rejects it, exit 1 |
+ | If someone edits the output | undetectable | rejected, with the line and rule named |
+ | If a rule was yours, not the standard's | reported identically | a different verdict word, enforced by a test |
+ | What an auditor receives | a screenshot | a file they can re-verify themselves |
+ | Guarantee on an unsatisfiability answer | asserted | **none, and it says so** |
+
+ That last row is the point of the whole project. Where something is measured rather than proved, the
+ tool says measured; where a prover's opinion is an opinion, it never borrows the checker's
+ vocabulary. [What is proved, and what is not](#what-is-actually-proved).
+
+ ## What it does
+
+ | Capability | What you get |
+ | --- | --- |
+ | Reason over OWL and RDFS | Materialised inferences **and** a derivation certificate a proved checker accepts |
+ | Bring your own rules | SWRL, RIF Core or a Horn table, evaluated, with a verdict word that says they were yours |
+ | Validate against SHACL | A report from an evaluator measured against the W3C suite, not just asserted to pass |
+ | Ask if something is satisfiable | A finite model, replayed and checked, rather than a yes |
+ | Ask if something is inconsistent | A refutation where one is certifiable, and an honest engine opinion where it is not |
+ | Retrieve a slice for RAG | Per-claim entailment preservation, because 99% coverage can still drop the one triple that mattered |
+ | Change an ontology in production | Plan, blast radius, risk score, locked IRIs, apply, monitor, drift, rollback |
+ | Load real data | CSV, JSON, XML, YAML, XLSX, Parquet, PostgreSQL and DuckDB into RDF |
+ | Hand it to a prover | TPTP, CLIF, SMT-LIB and LADR from one translation, with what it cannot export named and counted |
+ | Work from an assistant | An MCP server, so Claude or Cursor drives all of it in conversation |
+
+ ## Try the checker itself
+
+ The three files are in the repository, and the output below is what the checker printed, trimmed to
+ the fields that matter.
```bash
$ cd lean && lake build # builds the checkers, core Lean 4, no Mathlib