Args: [head-kwi
& args
]. Returns a canonical kwi.
Where
head-kwi
initiates the KWI (typically the name of an existing class in some
model).args
:= [property
value
, ...], .s.t. the named value is uniquely distinguished.
E.g: The default method simply joins arguments on _ as follows:
(mint-kwi :myNs/MyClass :myNs/prop1 'foo' :myNs/prop2 'bar)
-> :myNs/MyClass_prop1_foo_prop2_bar, but overriding methods will be
dispatched on head
Compiled arguments are rendered as their hashes.Args: [`head-kwi` & `args`]. Returns a canonical kwi. Where - `head-kwi` initiates the KWI (typically the name of an existing class in some model). - `args` := [`property` `value`, ...], .s.t. the named value is uniquely distinguished. E.g: The default method simply joins arguments on _ as follows: (mint-kwi :myNs/MyClass :myNs/prop1 'foo' :myNs/prop2 'bar) -> :myNs/MyClass_prop1_foo_prop2_bar, but overriding methods will be dispatched on `head` Compiled arguments are rendered as their hashes.
(mint-kwi-dispatch head-kwi & _args)
Returns head-kwi
as dispatch-key
for the mint-kwi
method.
Where:
head-kwi
is the first argument
dispatch-key
is a keyword
Returns `head-kwi` as `dispatch-key` for the `mint-kwi` method. Where: `head-kwi` is the first argument `dispatch-key` is a keyword
Supporting ontology for IGraph stuff
Supporting ontology for IGraph stuff
(rdfs-subsumed-by g context _acc queue)
Returns [context acc' #{}] for g
context
acc
queue
Where
g
implements igraphcontext
is a traversal context, which will be returned unchanged.
If there is a :seek function supplied, the traversal will stop early.acc'
:= #{class
...}class
is a superclass of the type associated with some target
queue
:= [target
, ...]target
is a subject in g
, and member of queue
SEE ALSO the docs for igraph traversal
NOTE equivalent of SPARQL property path 'a/rdfs:subClassOf*'Returns [context acc' #{}] for `g` `context` `acc` `queue` Where - `g` implements igraph - `context` is a traversal context, which will be returned unchanged. If there is a :seek function supplied, the traversal will stop early. - `acc'` := #{`class` ...} - `class` is a superclass of the type associated with some `target` - `queue` := [`target`, ...] - `target` is a subject in `g`, and member of `queue` SEE ALSO the docs for igraph traversal NOTE equivalent of SPARQL property path 'a/rdfs:subClassOf*'
(resolve-namespace-prefixes g s p o)
Returns g'
with [s'
p'
o'
] added
Where
Each of s'
p'
o'
may have had its long URI abbreviated for currently
declared namespaces prefixes.
Note: This is typically used when some edn source was generated in an environment
which only included the standard namespaces, but non-default namespaces
were used in the origional ttl source.
Returns `g'` with [`s'` `p'` `o'`] added Where Each of `s'` `p'` `o'` may have had its long URI abbreviated for currently declared namespaces prefixes. Note: This is typically used when some edn source was generated in an environment which only included the standard namespaces, but non-default namespaces were used in the origional ttl source.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close