rdf4j.collections
rdf->seq
(rdf->seq source-model root-resource coll)Converts RDF collection with root root-resource within source-model to Clojure collection.
coll variable is used as a starting collection which is populated. Source model is either Model or SailRepository.
seq->rdf
(seq->rdf rdf-type in-seq)Converts a sequence into instance of RDF/LIST or one of RDFS/CONTAINER.
The result graph is wrapped within instance of ModelHolder. The root-node is always blank node.
For mode details about collections is RDF see: https://www.w3.org/TR/rdf-schema/#ch_othervocab.
seq->rdf-list
(seq->rdf-list in-seq)Simplify converter from clojure collection to RDF/LIST.