Expand description
RDF-Star Parsing and Serialization Infrastructure
This module provides trait definitions and shared infrastructure for parsing and serializing RDF-Star (SPARQL 1.2) data across multiple formats.
All parsers converge on Virtual IDs (TAG_EMBEDDED | 60-bit hash). All serializers diverge from Virtual IDs to format-specific syntax.
Enums§
- RdfStar
Parse Error - Error type for RDF-Star parsing operations
- RdfStar
Serialize Error - Error type for RDF-Star serialization operations
Traits§
- RdfStar
Parser - Trait for RDF-Star parsers across multiple formats
- RdfStar
Serializer - Trait for RDF-Star serializers across multiple formats
Functions§
- create_
virtual_ id - Helper function to create a Virtual ID from component IDs
- is_
virtual_ id - Check if a u64 is a Virtual ID (has TAG_EMBEDDED bit set)
- object_
of_ virtual_ id - Extract the object component from an embedded triple.
- predicate_
of_ virtual_ id - Extract the predicate component from an embedded triple.
- subject_
of_ virtual_ id - SPARQL-Star BIND Functions
- triple_
from_ components - Construct a Virtual ID from three component IDs