Liking cljdoc? Tell your friends :D

rdf4j.core

Collection of different generic multimethods

Collection of different generic multimethods
raw docstring

as-modelcljmultimethod

(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:

  • :memory (LinkedHashModel)
  • :persistent (persistent MemoryStore)
  • :solid (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`)
sourceraw docstring

as-repositorycljmultimethod

(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`.
sourceraw docstring

get-all-namespacescljmultimethod

(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
sourceraw docstring

get-statementscljmultimethod

(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.
sourceraw docstring

load-datacljmultimethod

(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`.
sourceraw docstring

rdf-filter-objectcljmultimethod

(rdf-filter-object data-src s p)

Extract object from triple [s p o c]

Extract object from triple [s p o c]
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close