zelph is an innovative semantic network system and reasoning engine written in C++ with an embedded Janet scripting layer. It treats logic, rules, and mathematics not as external code, but as homoiconic structures within the graph itself.
By blending the flexibility of semantic webs (like Wikidata) with logic programming concepts (deep unification, constructive rules, negation as failure), zelph effectively transforms a static knowledge base into an executable graph.
zelph has been selected for a grant from NLnet's NGI0 Commons Fund for Auditable Reasoning over Linked Open Data — streaming import adapters for RDF/N-Triples and JSON-LD, an open proof-export format that publishes derivation chains as Linked Data, a reusable constraint-rule library, and a web-based proof explorer.
Earlier work was funded by two Wikimedia Community Fund (Rapid Fund) grants: Wikidata Contradiction Detection and Constraint Integration and Transitive Reasoning, Qualifier Support, and SPARQL-Subset Integration, both completed and reported.
The complete documentation, including tutorials, language references, and the architectural concepts behind "Semantic Math", is hosted on our documentation site:
👉 Read the zelph Documentation
- 🕹️ Try zelph in your browser – the complete reasoning engine as WebAssembly, no installation required. (Bleeding edge from
main: GitHub Pages playground.) - 🚀 Installation & Quick Start Guide – Get started immediately with pre-compiled binaries for all major platforms (no build required).
- 🧠 Core Concepts & Homoiconicity
- 🧮 Semantic Math & Rule-based Addition
- 📜 Scripting with Janet