(create-graph profile)
(create-graph profile extra-profiles)
Create a graph of Concept relations from profile
and possibly
extra-profiles
that can then be used in validation.
Create a graph of Concept relations from `profile` and possibly `extra-profiles` that can then be used in validation.
(get-edges cgraph)
Returns a sequence of edge maps, with the following keys:
Returns a sequence of edge maps, with the following keys: - src: source node ID - dest: destination node ID - src-type: source node 'type' property - dest-type: destination node 'type' property - src-version: source node 'inScheme' property - dest-version: destination node 'inScheme property - type: the property corresponding to this edge (eg. broader, narrower, related, etc.)
(get-external-iris profile)
Return the external IRIs from the Concepts of profile
.
Return the external IRIs from the Concepts of `profile`.
(validate-concept-edges cgraph)
Given the Concept graph cgraph
, return spec error data if the
graph edges are invalid according to the xAPI Profile spec, or
nil
otherwise.
Given the Concept graph `cgraph`, return spec error data if the graph edges are invalid according to the xAPI Profile spec, or `nil` otherwise.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close