Expand description
SHACL and ShEx validation of oxilite data with rudof.
rudof’s engines run unchanged: StoreGraph implements rudof’s Rdf, NeighsRDF and
QueryRDF traits over a blocking Store, so neighbourhood lookups become SQL pattern
scans and rudof’s SPARQL runs through the oxilite compiler. For stores that cannot block
(Cloudflare D1), prefetch loads the relevant subgraph into rudof’s in-memory graph with
a bounded number of requests, then validates it natively. rudof’s validators do not build
for wasm32, so D1 validation runs in native code (a CLI, a server, CI) over the D1 HTTP API.
Modules§
- prefetch
- Bounded prefetch for stores that cannot block (Cloudflare D1).
Structs§
- Result
Shape Map - Contains a map of the results obtained after applying ShEx validation
- Store
Graph - An oxilite store seen as a rudof graph: its default graph, or every graph merged.
- Validation
Report
Enums§
- Error
- Validation errors (shapes that do not parse, rudof failures, store errors, limits).
- Shacl
Validation Mode - Backend used for the validation.
Functions§
- shacl_
schema - Parses a SHACL shapes graph (Turtle, N-Triples, RDF/XML…) and compiles it.
- shacl_
schema_ from_ store - Compiles the SHACL shapes held in the store itself.
- shex_
schema - Parses and compiles a ShEx schema (ShExC).
- validate_
shacl - Validates the default graph of a store (or, with
union, all graphs merged) against a SHACL shapes graph given as Turtle. - validate_
shacl_ graph - Validates any rudof graph against compiled SHACL shapes.
- validate_
shacl_ stored - Validates a store against the shapes it holds (see
shacl_schema_from_store). - validate_
shex - Validates the default graph of a store against a ShEx schema and a shape map.
- validate_
shex_ graph - Validates the nodes of a ShEx shape map (compact syntax, e.g.
<http://ex/a>@<http://ex/S>) on any rudof graph.