On 13/07/2026 21:10, Andy Seaborne wrote:
Is this what you are looking for?

   QueryExec.constructTriples -> Iterator<Triple>

   QueryExecution.execConstructTriples -> Iterator<Triple>

Quads variants also available.

The iterator is streaming if the underlying engine streams the pattern matching.

>> [1] https://github.com/SPARQL-Anything/sparql.anything/issues/635

And for writing, use

StreamRDFWriter


     Andy

Reply via email to