(create-diff-profile-iri-vec profile-num
object-slug
num-profiles
num-versions
num-objects
max-iris)
Create a vector of IRIs (with length limited by max-iris
) of the form
http://poly.profile/profile-[pnum]/v[vnum]/[object-slug]-[onum]
where pnum
, vnum
, and onum
start at 0 (inclusive) and have max values
num-profiles
, num-versions
, and num-objects
(exclusive), respectively.
Excludes IRIs where pnum
is the same as profile-num
, ensuring that the
IRI always points to an item in a different Profile.
Create a vector of IRIs (with length limited by `max-iris`) of the form ``` http://poly.profile/profile-[pnum]/v[vnum]/[object-slug]-[onum] ``` where `pnum`, `vnum`, and `onum` start at 0 (inclusive) and have max values `num-profiles`, `num-versions`, and `num-objects` (exclusive), respectively. Excludes IRIs where `pnum` is the same as `profile-num`, ensuring that the IRI always points to an item in a different Profile.
(create-diff-version-iri-vec profile-num
version-num
object-slug
num-profiles
num-versions
num-objects
max-iris)
Create a vector of IRIs (with length limited by max-iris
) of the form
http://poly.profile/profile-[pnum]/v[vnum]/[object-slug]-[onum]
where pnum
, vnum
, and onum
start at 0 (inclusive) and have max values
num-profiles
, num-versions
, and num-objects
(exclusive), respectively.
Excludes IRIs where pnum
is the same as profile-num
and where vnum
is
the same as version-num
, ensuring that the IRI always points to an item in
a different Profile version.
Create a vector of IRIs (with length limited by `max-iris`) of the form ``` http://poly.profile/profile-[pnum]/v[vnum]/[object-slug]-[onum] ``` where `pnum`, `vnum`, and `onum` start at 0 (inclusive) and have max values `num-profiles`, `num-versions`, and `num-objects` (exclusive), respectively. Excludes IRIs where `pnum` is the same as `profile-num` and where `vnum` is the same as `version-num`, ensuring that the IRI always points to an item in a different Profile version.
(create-iri profile-num)
(create-iri profile-num version-num)
(create-iri profile-num version-num object-slug object-num)
Create a single fixed IRI string. The different arities correspond to different use cases: profile ID, version ID/inScheme, and object ID, in order of increasing arity. The 4-arity version looks like:
http://poly.profile/profile-[profile-num]/v[version-num]/[object-slug]-[object-num]
Create a single fixed IRI string. The different arities correspond to different use cases: profile ID, version ID/inScheme, and object ID, in order of increasing arity. The 4-arity version looks like: ``` http://poly.profile/profile-[profile-num]/v[version-num]/[object-slug]-[object-num] ```
(create-iri-vec object-slug num-profiles num-versions num-objects max-iris)
(create-iri-vec profile-num
version-num
object-num
object-slug
num-profiles
num-versions
num-objects
max-iris)
Create a vector of IRIs (with length limited by max-iris
) of the form
http://poly.profile/profile-[pnum]/v[vnum]/[object-slug]-[onum]
where pnum
, vnum
, onum
have min value 0 (inclusive) and max value
num-profiles
, num-versions
, and num-objects
(exclusive), respectively.
If profile-num
, version-num,
and object-num
are provided, then the
IRI that contains all three of these values is never returned, in order to
prevent self-loops.
Create a vector of IRIs (with length limited by `max-iris`) of the form ``` http://poly.profile/profile-[pnum]/v[vnum]/[object-slug]-[onum] ``` where `pnum`, `vnum`, `onum` have min value 0 (inclusive) and max value `num-profiles`, `num-versions`, and `num-objects` (exclusive), respectively. If `profile-num`, `version-num,` and `object-num` are provided, then the IRI that contains all three of these values is never returned, in order to prevent self-loops.
(create-same-version-iri-vec profile-num
version-num
object-num
object-slug
num-objects
max-iris)
Create a vector of IRIs (with length limited by max-iris
) of the form
http://poly.profile/profile-[profile-num]/v[version-num]/[object-slug]-[onum]
where onum
is between 0 (inclusive) and num-objects
(exclusive).
This ensures that the IRI always points to an item in the same Profile
version. Excludes IRIs that have the same onum
value as object-num
,
in order to prevent self-loops.
Create a vector of IRIs (with length limited by `max-iris`) of the form ``` http://poly.profile/profile-[profile-num]/v[version-num]/[object-slug]-[onum] ``` where `onum` is between 0 (inclusive) and `num-objects` (exclusive). This ensures that the IRI always points to an item in the same Profile version. Excludes IRIs that have the same `onum` value as `object-num`, in order to prevent self-loops.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close