Expand description
Dispatch ingest across RDF serialisations. Line formats seek; Turtle/TriG resume via prefix prolog + offset; XML / JSON-LD / gzip stay skip-N.
Structs§
- RawTriple
- Raw string triple from any RDF serialisation.
contextis the graph name hash (0 = default).
Constants§
- OBJECT_
IRI_ MASK - Object-field hashes keep bits 60–63 free for resolver type tags.
Functions§
- format_
from_ path - Infers the RDF ingest format from a lowercased path extension.
- object_
iri_ hash ?::object_iri_hash.- pack_
rio_ quad - Packs a rio
Quadinto aRawTriple. - pack_
rio_ triple - Packs a rio
Tripleinto aRawTripleundercontext. - parse_
bytes_ to_ raw - Helper for tests / small in-memory sources.
- parse_
triples_ format - Streams a triples-format document, invoking the callback per triple.
- repair_
rdfxml_ empty_ base - Catalog RDF/XML often ships
xml:base="". Fill it from the stem IRI.