Liking cljdoc? Tell your friends :D

tawny.repl

Repl and documentation functions for OWL objects

Repl and documentation functions for OWL objects
raw docstring

*cclj

The last change that an on-change listener saw.

The last change that an on-change listener saw.
raw docstring

auto-saveclj

(auto-save filename format)
(auto-save filename format nosave)

Autosave the current ontology everytime any change happens.

Autosave the current ontology everytime any change happens.
raw docstring

auto-save-listenerclj

The current listener for handling auto-saves or nil.

The current listener for handling auto-saves or nil.
raw docstring

auto-save-offclj

(auto-save-off)

Stop autosaving ontologies.

Stop autosaving ontologies.
raw docstring

fetch-docclj

(fetch-doc ontology owlobject)

Given an owlobject and potentially ontology, return documentation. The documentation is generated over the live object (owlobjects are mutable). It includes all labels, comments and a rendered version of the owlobject.

Given an owlobject and potentially ontology, return documentation.
The documentation is generated over the live object (owlobjects are mutable).
It includes all labels, comments and a rendered version of the owlobject.
raw docstring

load-ontologyclj

(load-ontology iri)
(load-ontology iri manager)

Loads and returns an ontology directly through the OWL API. This is function is meant for usage at the REPL; see 'tawny.read' for more integrated solution. If an manager is passed in, it should not already have loaded an ontology with the same name.

Loads and returns an ontology directly through the OWL API.
This is function is meant for usage at the REPL; see 'tawny.read' for more
integrated solution. If an manager is passed in, it should not already have
loaded an ontology with the same name.
raw docstring

make-no-nameclj

(make-no-name)
(make-no-name o)

Remove name annotations from current and future entities in the current ontology. This is not quite the same as setting :noname at the beginning, but it useful at the REPL where these annotations can just hinder the reading of the ontology. There is no way to reverse this function, so use with care.

Remove name annotations from current and future entities in the current
ontology. This is not quite the same as setting :noname at the beginning,
but it useful at the REPL where these annotations can just hinder the
reading of the ontology. There is no way to reverse this function, so use
with care.
raw docstring

materialize-ontologyclj

(materialize-ontology iri)
(materialize-ontology iri root)

Loads an ontology, attempts to resolve all of its imports, then saves the import clojure to the resources directory. Returns a map of IRI to file names. Save ontologies in 'root' or the resources directory.

Loads an ontology, attempts to resolve all of its imports, then
saves the import clojure to the resources directory. Returns a map of IRI
to file names. Save ontologies in 'root' or the resources directory.
raw docstring

name-annotationsclj

(name-annotations)
(name-annotations o)

new-managerclj

(new-manager)

Returns a new OWLOntologyManager.

Returns a new OWLOntologyManager.
raw docstring

on-changeclj

(on-change f)

Evaluate F everytime an ontology change happens

Evaluate F everytime an ontology change happens
raw docstring

(print-doc owlobject)
(print-doc owlobject ontology)

Print the documentation for the owlobject. See fetch-doc for more on how this documentation is generated.

Print the documentation for the owlobject. See fetch-doc for more on how
this documentation is generated.
raw docstring

(print-ns-doc)
(print-ns-doc ns)

Print the documentation for all owlobjects stored in vars within a given namespace.

Print the documentation for all owlobjects stored in vars within a given
namespace.
raw docstring

println-load-listenerclj

(println-load-listener)

Returns a OWLOntologyLoaderListener that logs to println.

Returns a OWLOntologyLoaderListener that logs to println.
raw docstring

render-iriclj

(render-iri iri file)

render-ontologyclj

(render-ontology o file)
(render-ontology o file options)

update-docclj/smacro

(update-doc name)

Updates the documentation on a symbol containing an OWLObject.

Updates the documentation on a symbol containing an OWLObject.
raw docstring

update-ns-docclj

(update-ns-doc)
(update-ns-doc ns)

Updates the documentation for all vars in a namespace.

Updates the documentation for all vars in a namespace.
raw docstring

update-var-docclj

(update-var-doc var)

Updates the documentation on a var containing a OWLObject. This updates the documentation based on the state of the OWLObject at the current time. See also update-ns-doc which is more efficient for updating multiple vars at once.

Updates the documentation on a var containing a OWLObject. This updates the
documentation based on the state of the OWLObject at the current time. See
also update-ns-doc which is more efficient for updating multiple vars at
once.
raw docstring

use-tawnyclj

(use-tawny)

Use key tawny namespaces. This is designed for repl uses with lein-shorthand.

Use key tawny namespaces.
This is designed for repl uses with lein-shorthand.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close