Liking cljdoc? Tell your friends :D

owl-db-tools.resolvers

Pathom3 resolvers to make accessing the DB easy.

Pathom3 resolvers to make accessing the DB easy.
raw docstring

attr-fnclj

(attr-fn attr resolve?)

Return a function for the argument. the dp/pull returns wrapped in the output Pathom requires.

Return a function for the argument.
the dp/pull returns wrapped in the output Pathom requires.
raw docstring

attr-infoclj

(attr-info conn)

Return a vector of maps containing :attr/id and :attr/type for every attribute in the DB.

Return a vector of maps containing :attr/id and :attr/type
for every attribute in the DB.
raw docstring

attr-typesclj

(attr-types conn)

Return map of two sets (with the following two keys):

  • :resource? : DB attributes that appear directly in resources.
  • :experssion? : DB attributes that do not appear directly in resources.
Return map of two sets (with the following two keys):
- :resource? :  DB attributes that appear directly in resources.
- :experssion? : DB attributes that do not appear directly in resources.
raw docstring

diagclj


iris-with-filtersclj


make-resolverclj

(make-resolver sym {:keys [input output fn]})

make-resource-attr-resolversclj

(make-resource-attr-resolvers conn)

Return a vector of resolvers for rdf resource attributes.

Return a vector of resolvers for rdf resource attributes.
raw docstring

onto-testclj


other-resolversclj

a vector of miscellaneous resolvers defined in this namespace

a vector of miscellaneous resolvers defined in this namespace
raw docstring

owl-orderclj

(owl-order x y)

Return a comparator value for ordering the keys of a sorted map of owl-db-tools stuff.

Return a comparator value for ordering the keys of a sorted map of owl-db-tools stuff.
raw docstring

pull-resourceclj

(pull-resource resource-iri
               conn
               &
               {:keys [keep-db-ids? sort?] :or {sort? true}})

Return the nicely sorted sorted-map of a resource; it's like pretty printing.

Return the nicely sorted sorted-map of a resource; it's like pretty printing.
raw docstring

register-resolvers!clj

(register-resolvers! conn)

Register resolvers and create a boundary interface function that takes as an argument EQL compatible with any of the resolvers defined/computed in this file.

Register resolvers and create a boundary interface function that takes as an argument
EQL compatible with any of the resolvers defined/computed in this file.
raw docstring

resource-by-iriclj


subclass-of-orderclj

(subclass-of-order x y)

Sort a :rdfs/subClassOf property.

Sort a :rdfs/subClassOf property.
raw docstring

subclass-of-sortclj

(subclass-of-sort v)

Sort a:rdfs/subClassOf property (a vector).

Sort a:rdfs/subClassOf property (a vector).
raw docstring

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

× close