The shipped ontology's files on the classpath: which files a layer under kb/ holds,
from a filesystem tree and from a packaged jar alike, and the terms their premises name.
vaelii.host.seed reads and loads the files. See docs/kbs.md.
The shipped ontology's files on the classpath: which files a layer under `kb/` holds, from a filesystem tree and from a packaged jar alike, and the terms their premises name. `vaelii.host.seed` reads and loads the files. See docs/kbs.md.
The classpath path of the file every KB carries: resource discovery anchors on it when a jar records no directory entry for the directory it lists.
The classpath path of the file every KB carries: resource discovery anchors on it when a jar records no directory entry for the directory it lists.
(layer-contexts dir)The context symbols whose KB files live in the layer sub-directory dir ("middle"),
sorted for determinism. Discovered from the classpath, so dropping a new
Cx<Name>.txt in kb/<dir>/ loads it with no code change — every context is loaded
on kb start by default, from a filesystem tree and from a packaged jar alike
(layer-files).
The context symbols whose KB files live in the layer sub-directory `dir` ("middle"),
sorted for determinism. Discovered from the classpath, so dropping a new
`Cx<Name>.txt` in `kb/<dir>/` loads it with no code change — every context is loaded
on kb start by default, from a filesystem tree and from a packaged jar alike
(`layer-files`).(layer-files dir)The .txt file names in layer sub-directory dir (resource-files of kb/<dir>).
The `.txt` file names in layer sub-directory `dir` (`resource-files` of `kb/<dir>`).
(resource-files dir ext)The names of the files ending ext directly under classpath directory dir, sorted,
or nil when it holds none. A filesystem tree (repl / lein / test) is listed as a
directory, and a packaged jar by its own entries, anchored on anchor when the jar
carries no directory entry for dir. Any other protocol is refused rather than answered
nil: nil here starts a KB with a layer silently absent, the failure
seed/read-sentences refuses one file at a time.
The names of the files ending `ext` directly under classpath directory `dir`, sorted, or nil when it holds none. A filesystem tree (repl / lein / test) is listed as a directory, and a packaged jar by its own entries, anchored on `anchor` when the jar carries no directory entry for `dir`. Any other protocol is refused rather than answered nil: nil here starts a KB with a layer silently absent, the failure `seed/read-sentences` refuses one file at a time.
(shipped-term? term)Does a form of the shipped upper or middle ontology name term, or is term a middle
context? The term operations refuse such a term as the one they change (docs/api.md,
"Contract notes: term operations").
Does a form of the shipped upper or middle ontology name `term`, or is `term` a middle context? The term operations refuse such a term as the one they change (docs/api.md, "Contract notes: term operations").
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 |