Creation of activity-map
for Profile compilation.
Creation of `activity-map` for Profile compilation.
(create-activity-map type-iri-map
seed
&
{:keys [min-per-type] :or {min-per-type 1}})
Given a type-iri-map
and seed
, derive map from Activity Types to
Activity IDs to the Activity objects. Finds Activities and Activity Type
Concepts from type-iri-map
, as well as additional Activity Types from
Statement Templates; the latter is because unlike other values, Activity
Types are commonly defined in Templates as Determining Properties or via
rules.
The seed
is used generate additional Activities from Activity Types
that are not specified as Concepts, while min-per-type
specifies the
minimum number of Activities that should be generated per Activity Type.
Given a `type-iri-map` and `seed`, derive map from Activity Types to Activity IDs to the Activity objects. Finds Activities and Activity Type Concepts from `type-iri-map`, as well as additional Activity Types from Statement Templates; the latter is because unlike other values, Activity Types are commonly defined in Templates as Determining Properties or via rules. The `seed` is used generate additional Activities from Activity Types that are not specified as Concepts, while `min-per-type` specifies the minimum number of Activities that should be generated per Activity Type.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close