A schema management and documentation tool for graph-shaped knowledge sources.
Example: documentation for an LLM-generated jazz schema (source), with icons and color-coded categories.
Alzabo defines a a simple schema format for graph databases or other storage formats. It's semantically close to RDF.
Core:
Import:
Export:
Schema Generation:
See documentation
Originally developed by Mike Travers at the Parker Institute for Cancer Immunotherapy as part of the CANDEL project.
Released under Apache 2.0 License.
To generate documentation, you need graphviz installed. On the Mac, you can do this with
$ brew install graphviz
lein with-profile library, prod install
From a real terminal (not Emacs)
lein deploy clojars
You will need to supply credentials (user name and authentication token).
You can run these commands with lein run <config> <cmd>.
$ lein run <config> documentation
Generates documentation from the given Alzabo schema file.
$ lein run <config> datomic
Generates a Datomic schema from the given Alzabo schema file.
$ lein run <config> server
Opens the generated documentation in browser..
Add dependency `[hyperphor/alzabo ]
(ns ...
(:require [hyperphor.alzabo.schema :as schema]
[hyperphor.alzabo.datomic :as datomic]
[hyperphor.alzabo.html :as html]))
;; read in a schema file
(let [schema (schema/read-schema <schema.edn>)]
;; write out a Datomic schema
(datomic/write-schema schema "datomic-schema.edn")
;; generate documentation
(html/schema->html schema "public/schema" {}))
Alzabo can generate a complete domain ontology for you using an LLM, including icons and color-coded categories:
export ANTHROPIC_API_KEY=<your key>
lein repl
(full-demo "model rocketry") ; or use your favorite domain
hyperphor.alzabo.generate.schema-gen/sgen returns the schema without writing it; :icons? and :categories? (both default true) control the extra passes.
org.parkerici/alzaboorg.candelbio/alzabo; mods for use as a library, OpenAPI importcom.hyperphor/alzabo:pack?) for large taxonomiesCan you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |