Renders OWL Entities into tawny.owl forms
Renders OWL Entities into tawny.owl forms
(as-form entity & options)
Given a OWLObject render it to a Tawny form, or clojure data structure. Entity can be any OWLObject or a number of Clojure collection types. The rendered form is controlled with options, which are interpreted as a map; by default an evalable Tawny-OWL form is returned. :keyword true renders entities as keywords rather than symbols. This also affects the nesting structure -- frames are returned as an explicit rather than implicit list. :explicit true returns data- or object- symbols or keywords; for example, :object-and or :data-and will be returned rather than :and. :terminal :resolve returns terminal objects as their interned symbol (if one exists) or their IRI. :terminal :object returns terminal objects as their OWL API object.
Given a OWLObject render it to a Tawny form, or clojure data structure. Entity can be any OWLObject or a number of Clojure collection types. The rendered form is controlled with options, which are interpreted as a map; by default an evalable Tawny-OWL form is returned. :keyword true renders entities as keywords rather than symbols. This also affects the nesting structure -- frames are returned as an explicit rather than implicit list. :explicit true returns data- or object- symbols or keywords; for example, :object-and or :data-and will be returned rather than :and. :terminal :resolve returns terminal objects as their interned symbol (if one exists) or their IRI. :terminal :object returns terminal objects as their OWL API object.
(form-fact s options)
Renders facts which as-form-int passes as a map with a ::type key for positive or negative fact.
Renders facts which as-form-int passes as a map with a ::type key for positive or negative fact.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close