These are tests that should be applicable to implementations of the igraph/rdf. query-for-failures should be empty.
These are tests that should be applicable to implementations of the igraph/rdf. query-for-failures should be empty.
A small turtle file containing blank nodes
A small turtle file containing blank nodes
(prepare-report make-graph-fn load-file-fn)
Returns a graph initialized for RDFImplementationReport
Returns a graph initialized for RDFImplementationReport
A query to test for sub/super relations
A query to test for sub/super relations
(test-bnode-support report)
Side-effects: Updates report
with results of tests related to blank nodes
Returns: modified report
report
is an atom containing a native-normal graphreport
:rdf-app/RDFImplementationReport)) :~ #{:rdf-app/loadFileFn}loadFileFn
links to fn[file-name] -> RDF IGraph implementationSide-effects: Updates `report` with results of tests related to blank nodes Returns: modified `report` - Where - `report` is an atom containing a native-normal graph - (keys (@`report` :rdf-app/RDFImplementationReport)) :~ #{:rdf-app/loadFileFn} - `loadFileFn` links to fn[file-name] -> RDF IGraph implementation
(test-load-of-web-resource report)
Updates and returns a report on tests for loading web resources
report
is an atom containing a native-normal graphreport
:rdf-app/RDFImplementationReport)) :~ #{:rdf-app/loadFileFn}loadFileFn
links to fn[file-name] -> RDF IGraph implementationUpdates and returns a report on tests for loading web resources - Where - `report` is an atom containing a native-normal graph - (keys (@`report` :rdf-app/RDFImplementationReport)) :~ #{:rdf-app/loadFileFn} - `loadFileFn` links to fn[file-name] -> RDF IGraph implementation
(test-read-rdf-methods report)
Updates and returns a report testing read-rdf
report
is an atom containing a native-normal graphreport
:rdf-app/RDFImplementationReport)) :~ #{:rdf-app/makeGraphFn, :rdf-app/readFileFn}makeGraphFn
:= fn [] -> graph
readFileFn
:= fn[graph
file-url
] -> graph'file-url
is suitable as the to-read
argument to rdf/read-rdfUpdates and returns a report testing read-rdf - Where - `report` is an atom containing a native-normal graph - (keys (@`report` :rdf-app/RDFImplementationReport)) :~ #{:rdf-app/makeGraphFn, :rdf-app/readFileFn} - `makeGraphFn` := fn [] -> `graph` - `readFileFn` := fn[`graph` `file-url`] -> graph' - `file-url` is suitable as the `to-read` argument to rdf/read-rdf
(test-transit-support report)
Side-effects: Updates report
with results of tests related to transit serialization
Returns: modified report
report
is an atom containing a native-normal graphreport
:rdf-app/RDFImplementationReport)) :~ #{:rdf-app/makeGraphFn, :rdf-app/loadFileFn, :rdf-app/writeFileFn}makeGraphFn
links to fn[] -> empty RDF IGraph implemenationloadFileFn
links to fn[file-name] -> RDF IGraph implementationwriteFileFn
links to fn[graph file-name] -> ?, with side-effects that contents
of graph
are written to a file readable by loadFileFn
.Side-effects: Updates `report` with results of tests related to transit serialization Returns: modified `report` - Where - `report` is an atom containing a native-normal graph - (keys (@`report` :rdf-app/RDFImplementationReport)) :~ #{:rdf-app/makeGraphFn, :rdf-app/loadFileFn, :rdf-app/writeFileFn} - `makeGraphFn` links to fn[] -> empty RDF IGraph implemenation - `loadFileFn` links to fn[file-name] -> RDF IGraph implementation - `writeFileFn` links to fn[graph file-name] -> ?, with side-effects that contents of `graph` are written to a file readable by `loadFileFn`.
(test-write-rdf-methods report)
Updates and returns a report testing write-rdf
report
is an atom containing a native-normal graphreport
:rdf-app/RDFImplementationReport)) :~ #{:rdf-app/readFileFn, :rdf-app/writeFileFn}readFileFn
:= fn[graph
file-url
] -> graph
writeFileFn
:= fn[graph
output-file
] -> output-file
file-url
is suitable as the to-read
argument to rdf/read-rdfoutput-file
is a path to a file for containing contents of graph
Updates and returns a report testing write-rdf - Where - `report` is an atom containing a native-normal graph - (keys (@`report` :rdf-app/RDFImplementationReport)) :~ #{:rdf-app/readFileFn, :rdf-app/writeFileFn} - `readFileFn` := fn[`graph` `file-url`] -> `graph` - `writeFileFn` := fn[`graph` `output-file`] -> `output-file` - `file-url` is suitable as the `to-read` argument to rdf/read-rdf - `output-file` is a path to a file for containing contents of `graph`
A map containing clojure constructs serializable under transit
A map containing clojure constructs serializable under transit
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close