Expand description
purrdf-shapes — the Rust SHACL Core validator for purrdf.
Validates a PurRDF RDF 1.2 data graph against a SHACL shapes graph with
NO inference (parity with pySHACL inference="none"). The engine core is
PyO3-free and oxigraph-free, so the rlib links into any Rust consumer over
the interned purrdf-core IR. SHACL-SPARQL constraints
(sh:sparql/sh:SPARQLConstraint) and targets (sh:SPARQLTarget) are
implemented in the sparql module on the native purrdf-sparql-eval
engine.
Re-exports§
pub use json_schema::Namespaces;pub use json_schema::ValueVocab;pub use json_schema::ValueVocabProjection;pub use json_schema::compile_with_value_vocab;pub use rules::apply_rules;pub use rules::entail_dataset;
Modules§
- constraints
- SHACL Core constraint implementations.
- data
- The SHACL engine’s data-access surface (C4).
- engine
- SHACL Core validation engine.
- expression
- SHACL Advanced Features node-expression evaluation.
- instance
- JSON-LD
@graphprojector for PurRDF instance data. - json_
schema - SHACL → JSON Schema (draft 2020-12) + OpenAPI 3.1 emitter.
- model
- Namespace IRI constants for SHACL, RDF, RDFS, and XSD.
- path
- SHACL property path evaluation.
- report
- SHACL validation report types and serialization.
- rules
- SHACL Advanced Features rules (
sh:rule). - shape_
union - The shared SHACL shape-file set.
- shapes
- SHACL shapes graph parser.
- sparql
- Pure SPARQL evaluation helpers for SHACL-AF, over the native engine.
- term
- The SHACL engine’s native RDF 1.2 term value model.
- text_
ingest - Native RDF-text ingestion for the SHACL engine.
Constants§
- VERSION
- Crate version string for cache/toolchain salt parity with Python package
versions (
metadata.version("purrdf-shapes")).