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.
sourceraw 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.
sourceraw docstring

auto-save-listenerclj

The current listener for handling auto-saves or nil.

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

auto-save-offclj

(auto-save-off)

Stop autosaving ontologies.

Stop autosaving ontologies.
sourceraw docstring

fetch-docclj

(fetch-doc 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.
sourceraw 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.
sourceraw 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.
sourceraw 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.
sourceraw docstring

name-annotationsclj

(name-annotations)
(name-annotations o)
source

new-managerclj

(new-manager)

Returns a new OWLOntologyManager.

Returns a new OWLOntologyManager.
sourceraw docstring

on-changeclj

(on-change f)

Evaluate F everytime an ontology change happens

Evaluate F everytime an ontology change happens
sourceraw 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.
sourceraw 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.
sourceraw docstring

println-load-listenerclj

(println-load-listener)

Returns a OWLOntologyLoaderListener that logs to println.

Returns a OWLOntologyLoaderListener that logs to println.
sourceraw docstring

render-iriclj

(render-iri iri file)
source

render-ontologyclj

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

update-docclj/smacro

(update-doc name)

Updates the documentation on a symbol containing an OWLObject.

Updates the documentation on a symbol containing an OWLObject.
sourceraw 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.
sourceraw 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.
sourceraw 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.
sourceraw docstring

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

× close