Collection of different generic multimethods
Collection of different generic multimethods
(as-model data-src & {:keys [model-type]})
Presents (and converts) a data source as instance of Model
.
The final class of Model
depends on model-type
option:
LinkedHashModel
)MemoryStore
)NativeStore
)Presents (and converts) a data source as instance of `Model`. The final class of `Model` depends on `model-type` option: - :memory (`LinkedHashModel`) - :persistent (persistent `MemoryStore`) - :solid (`NativeStore`)
(as-repository data-src repository-type data-dir & opts)
Presents (and converts) a data source as instance of SailRepository
.
Parameters repository-type
, data-dir
and opts
are directly passed to rdf4j.repository.sails/make-sail-repository
.
Presents (and converts) a data source as instance of `SailRepository`. Parameters `repository-type`, `data-dir` and `opts` are directly passed to `rdf4j.repository.sails/make-sail-repository`.
(get-all-namespaces r)
Return a sequence of all instances of Namespace
in the repository or repository connection
Return a sequence of all instances of `Namespace` in the repository or repository connection
(get-statements data-src s p o reified c)
Returns a lazy sequence of statements following pattern: s p o & c.
Boolean option reified
is passed to the data source and specifies if the output contains deified RDF statements.
Returns a lazy sequence of statements following pattern: s p o & c. Boolean option `reified` is passed to the data source and specifies if the output contains deified RDF statements.
(load-data repository data-source & {:keys [rdf-handler context-uri]})
Loads content of data-source
into repository
.
Currently supported types are: String
(file path), Model
, Path
and File
.
Loads content of `data-source` into `repository`. Currently supported types are: `String` (file path), `Model`, `Path` and `File`.
(rdf-filter-object data-src s p)
Extract object from triple [s p o c]
Extract object from triple [s p o c]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close