(any-to-value x)
Converts anything into Value
.
The argument value is checked in the following order:
v
is valid IRI than create result using (.createIRI value-factory v)
Literal
.Converts anything into `Value`. The argument value is checked in the following order: - if `v` is valid IRI than create result using `(.createIRI value-factory v)` - otherwise create `Literal`.
(context-array)
(context-array _)
(context-array kb a)
(context-array kb a & rest)
Create array of Resource.
Code was adapted from kr-sesame: sesame-context-array.
Create array of Resource. Code was adapted from kr-sesame: sesame-context-array.
(create-dir path)
Create directory after given path normalisation.
Create directory after given path normalisation.
(get-all-statements r)
Generic method returns all statements from a data-source.
By defailt
Generic method returns all statements from a data-source. By defailt
(iter-seq i)
It is iterator-seq like but works with iterator-like patterns. Reused implementation describe in http://stackoverflow.com/questions/9225948/ task.
It is iterator-seq like but works with iterator-like patterns. Reused implementation describe in http://stackoverflow.com/questions/9225948/ task.
(make-baseuri x)
Creates baseuri from file path.
Creates baseuri from file path.
(multioption->seq previous key val)
Function handles multioptions for command line arguments
Function handles multioptions for command line arguments
(normalise-path path)
Proceeds path string normalisation. Additionally replace '~' character by Java's 'user.home' system property content. If string is blank (ref. clojure.string/blank?) than returns nil.
Proceeds path string normalisation. Additionally replace '~' character by Java's 'user.home' system property content. If string is blank (ref. clojure.string/blank?) than returns nil.
(normalise-path-supportsp data)
Check if type of data
is suppoerted by normalise-path
.
Check if type of `data` is suppoerted by `normalise-path`.
(re-splitted->seq re previous key val)
Function handles options separated by regular expression.
Function handles options separated by regular expression.
(string->id s)
Converts free string into id.
This method does following actions:
\s*[,;-_]?\s+
into single underscoreXMLUtil/escapeText
Converts free string into id. This method does following actions: - converts any white characters into single underscore - converts pattern `\s*[,;-_]?\s+` into single underscore - converts all upper-case letters into lower-case - process `XMLUtil/escapeText`
(value-factory & [x])
Returns instance of value factory for given optional object. The object might be either RepositoryConnection or Repository
Returns instance of value factory for given optional object. The object might be either RepositoryConnection or Repository
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close