Liking cljdoc? Tell your friends :D

com.yetanalytics.pan.objects.concept


concept-iri-keysclj/s

source

concept?clj/smultimethod

source

create-graphclj/s

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

external-iri-keysclj/s

source

get-edgesclj/s

(get-edges cgraph)

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

get-external-irisclj/s

(get-external-iris profile)

Return the external IRIs from the Concepts of profile.

Return the external IRIs from the Concepts of `profile`.
sourceraw docstring

valid-edge?clj/smultimethod

source

validate-concept-edgesclj/s

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

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

× close