Documentation
How to install, run and use LeanRDF: the command-line tools, the library API of every package, the certificate format, testing and contributing. The book explains the ideas; these pages are the manual.
- Getting started
Install Lean, build every package, run each tool once and check the examples, in about ten minutes. - Packages and installation
The five Lake packages, what each one contains and requires, and how to depend on them from your own project. - Command-line tools
Every executable, its arguments, input formats, output and exit codes. - The core library
Terms, literals, triples, graphs and datasets; parsing and writing N-Triples, Turtle, N-Quads and TriG; XSD values. - Semantics and entailment
Interpretations and the four entailment relations, rules as data, the Derives relation and the soundness theorems you call. - Certificates and the checker
The certificate data type and JSON format, what the verified checker accepts and rejects, the soundness theorems, and the CertifyingDatalog export. - The Elpi search
Saturating a graph in Elpi under any proven rule list, reading the closure, and cutting certificates out of it. - SPARQL
Parsing and running SPARQL 1.1 queries from Lean, the algebra and its semantics, the correctness theorems, result formats and coverage. - OWL 2 RL and EL
The OWL conditions, the OWL 2 RL and EL rule lists, the soundness theorems, certificates under OWL, and classification. - SHACL
Reading shapes, validating, the report, the theorems that turn a report into a fact about the data, and the supported constraint components. - oxilite
Certifying a live oxilite store: setup, the RDFS and OWL profiles, auditing the materialized closure, recording and replaying runs. - Testing and CI
What each package's test suite checks, the W3C suites, axiom guards, recorded fixtures, the examples script and the CI jobs. - Contributing
The rules for proofs, how changes are specified with OpenSpec, how design is recorded in the typed graph, and the checks to run before a pull request. - FAQ and troubleshooting
Answers to the questions people ask first, and fixes for the problems they hit first.