Skip to main content

Module webizen_validator

Module webizen_validator 

Source
Expand description

Webizen NQuin Validation Layer

Provides shape/confidence/domain/structural rule enforcement for NQuins at ingestion and query time. Rules are stored as dedicated Q42 blocks and validated during ingestion via WebValidator.

A lightweight pattern-matching VM (execute_query_program) is also provided for the CLI SPARQL query path; it is distinct from the full Webizen bytecode engine in crate::webizen_bytecode.

Structs§

WebRule
A validation rule applied by the WebValidator to incoming NQuins.
WebRuleStorage
Serialises and deserialises WebRules to/from NQuin blocks in Q42.
WebValidator
Validates NQuins against a set of WebRules before Q42 append.

Enums§

WebRuleType
Classification of a WebRule.
WebVerdict
Outcome of a WebValidator::validate call.

Functions§

execute_query_program
Execute a query bytecode program against a NQuin dataset.

Type Aliases§

WebRuleId
Unique identifier for a WebRule.