Developer reference
Technical details
Incremental RDF parsing and serialization
Async readers and writers process Turtle, TriG, N-Triples, and N-Quads incrementally. Parser state survives transport chunk boundaries, including split IRIs, prefixes, and triple terms. A network chunk is not a syntactic record boundary.
Turtle and N-Triples describe triples. TriG and N-Quads preserve dataset graph names. Choose the syntax for the dataset semantics, not just its filename.
Backpressure and transaction boundaries
A streaming consumer requests more data as it has capacity. Bounded buffers and incremental serialization avoid retaining the complete input or result merely to transfer it. Slow downstream consumers must not cause unbounded upstream accumulation.
Parsing a stream does not publish each received fragment as an independent committed fact. Workspace transaction and commit-time validation rules still determine publication. A truncated or invalid stream is an error, not a successful complete import.
Streaming support is format-specific. These guarantees describe the four named syntaxes; they are not a claim that every supported RDF format has the same buffering behavior.