Perfect, thank you, Andy! FYI: https://github.com/SPARQL-Anything/sparql.anything/issues/635#issuecomment-4979295328
-- Enrico Daga, PhD Senior Research Fellow Knowledge Media Institute The Open University http://enridaga.net<http://enridaga.net/> http://sparql-anything.cc<http://sparql-anything.cc/> ________________________________ From: Andy Seaborne <[email protected]> Sent: 13 July 2026 21:59 To: [email protected] <[email protected]> Subject: Re: Disable unique on CONSTRUCT output External email: if the sender or content looks suspicious, please click the Report Message icon, or forward it to report-phishing 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSPARQL-Anything%2Fsparql.anything%2Fissues%2F635&data=05%7C02%7Cenrico.daga%40open.ac.uk%7C7fdce93ce75b477d9af208dee121b005%7C0e2ed45596af4100bed3a8e5fd981685%7C0%7C0%7C639195731978402084%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=4Qde21BBsJ0A%2FsSPwJj4giSuLfh6NvTWiS4TTLTT5X8%3D&reserved=0<https://github.com/SPARQL-Anything/sparql.anything/issues/635> And for writing, use StreamRDFWriter > > Andy >
