Liking cljdoc? Tell your friends :D

ont-app.igraph-jena.core


ask-jena-modelclj

(ask-jena-model g q)

Returns true/false for ASK query q posed to Jena model g

Returns true/false for ASK query `q` posed to Jena model `g`
sourceraw docstring

get-subjectsclj

(get-subjects jena-model)

Returns a sequence of KWIs corresponding ot subjects in jena-model

Returns a sequence of KWIs corresponding ot subjects in `jena-model`
sourceraw docstring

interpret-binding-elementclj

(interpret-binding-element elt)

Returns a KWI or literal value as appropriate to elt Where

  • elt is bound to some variable in a query posed to a jena model.
Returns a KWI or literal value as appropriate to `elt`
Where
- `elt` is bound to some variable in a query posed to a jena model.
sourceraw docstring

JenaGraphclj

source

make-jena-graphclj

(make-jena-graph)
(make-jena-graph model)
(make-jena-graph ds kwi)
source

make-statementclj

(make-statement s p o)

Returns a Jena Statment for s p and o

Returns a Jena Statment for `s` `p` and `o`
sourceraw docstring

ontologyclj

source

query-jena-modelclj

(query-jena-model g q)
(query-jena-model query-op g q)

Returns (binding-map, ...) for q posed to g Where

  • binding-map := {var value, ...}
  • q is a SPARQL query
  • g is a jena model
  • var is a keyword corresponding to a variable in q
  • value is an interpretation of the value bound to var this will be either a KWI or a literal, as appropriate.
Returns (`binding-map`, ...) for `q` posed to `g`
Where
- `binding-map` := {`var` `value`, ...}
- `q` is a SPARQL query
- `g` is a jena model
- `var` is a keyword corresponding to a variable in `q`
- `value` is an interpretation of the value bound to `var`
  this will be either a KWI or a literal, as appropriate.
sourceraw docstring

read-rdfclj

(read-rdf rdf-file)

Returns g for rdf-file Where

  • g is an igraph
  • rdf-file is an io/file in one of the RDF formats
Returns `g` for `rdf-file`
Where
- `g` is an igraph
- `rdf-file` is an io/file in one of the RDF formats
sourceraw docstring

write-rdfclj

(write-rdf g target fmt)
(write-rdf g target fmt base)

Side-effect: writes contents of g to target in fmt Where

  • g is a jena igraph
  • target names a file
  • fmt names an RDF fmt, e.g. 'Turtle'
  • base (optional) isthe base URI of any relative URIs. Default is nil.
Side-effect: writes contents of `g` to `target` in `fmt`
Where
- `g` is a jena igraph
- `target` names a file
- `fmt` names an RDF fmt, e.g. 'Turtle'
- `base` (optional) isthe base URI of any relative URIs. Default is nil.
sourceraw docstring

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

× close