Expand description
Unified RDF / RDF-Star format dispatch with zero-heap parse collection.
Re-exports§
pub use crate::sparql_library::quin_sink::QuinSink;
Structs§
- Package
Exposure Manifest - Receipt fields for a Civics / ontology package.
- Quin
Collector - Stack-backed quin buffer — no heap growth during parse callbacks.
- Solid
RdfMedia - Solid-facing RDF representation entry (content type + Qualia format id).
Enums§
- RdfFormat
- Supported RDF surface syntaxes.
- RdfParse
Error - RdfSerialize
Error - RdfStar
Mode - Rdfc
Error - Error during RDFC-1.0 canonicalization.
Constants§
- MAX_
RDF_ QUINS - PROVISIONAL_
SPO_ DIGEST_ PROFILE - Provisional profile id — not RDFC-1.0.
- QUALIA_
JSONLD_ CONTEXT_ ID - Label for package manifests / receipts.
- QUALIA_
JSONLD_ CONTEXT_ V1 - Qualia / Civics decision-evidence JSON-LD 1.1 context (v1).
- RDFC10_
PROFILE - W3C profile IRI / short name for RDF Dataset Canonicalization 1.0.
- SOLID_
DEFAULT_ CONTENT_ TYPE - Default Content-Type when a Solid client does not send
Accept. - SOLID_
RDF_ MEDIA - Media types Qualia webcivics / Solid adapters must support for RDF Sources.
- VIBE_
AST_ TAG - Vibe homoiconic CBOR AST tag — kept in lockstep with
vibe::cbor_ast::TAG_VIBE_AST.
Functions§
- construct_
results_ as_ ld_ json - Build the RDF-shaped JSON-LD document a Node/WASM adapter should emit for
CONSTRUCT / graph results (not the daemon quin-decimal
@graph). - context_
digest_ hex - SHA-256 of
QUALIA_JSONLD_CONTEXT_V1as lowercase hex (64 chars). - daemon_
quin_ graph_ ld_ json - Daemon-style quin-decimal
@graphbody (documentary parity withwebizen_serverJsonLd arm). Marked so adapters do not confuse it with RDF JSON-LD 1.1. - digest_
hex - SHA-256 of arbitrary context bytes as lowercase hex.
- negotiate_
solid_ accept - Choose the best RDF Content-Type for a Solid
Acceptheader. - package_
exposure_ manifest - Build a package exposure manifest.
- parse_
rdf - Parse RDF/RDF-Star bytes into a fixed-capacity collector (no per-triple heap).
- pinned_
context_ bytes - UTF-8 bytes of the pinned v1 context.
- provisional_
spo_ digest_ hex - Ordered SHA-256 over
(subject,predicate,object,context)little-endian u64 words, sorted lexicographically. Useful for CI fingerprints only. - rdfc10_
available - Returns true when RDFC-1.0 canonicalization is available.
- rdfc10_
hash_ hex - Compute conforming RDFC-1.0 canonical dataset hash (SHA-256 over sorted canonical N-Quads).
- serialize_
rdf - Serialize quins to RDF/RDF-Star syntax, writing directly to
out(zero-heap hot path).