Hi all, Please note that I've just today improved the longturtle format as it is implemented in RDFLib. The implementation now better aligns Blank Nodes, Collections and fixes a small semi-bug (two trailing blank lines).
Jena users might just like to compare Jena's longturtle to the longturtle now implemented in RDFLib master branch. I think that longturtle will be the default turtle format in RDFLib 7.x due out soon (couple of months) as it's better fro Git and better for similarity with SPARQL. Cheers, Nick ------- Original Message ------- On Friday, June 23rd, 2023 at 22:40, Andy Seaborne <[email protected]> wrote: > > On 23/06/2023 15:02, Shaw, Ryan wrote: > > > > On Jun 22, 2023, at 5:32 PM, Andy Seaborne [email protected] wrote: > > > > > > is it doing lists? > > > > Yes, with a newline for every list item as in rdflib’s longturtle. > > > > > More generally - > > > We have Jena 5.x coming up (at a minimum - require Java17) > > > > > > Should this become the default pretty layout? or some variant? > > > > I’m agnostic about making it the default. Maybe it should just be an option > > initially? > > > Yes. > > I hope we can get this into Jena 4.9.0 accessible as a RDFFormat which > is "soon". > > Andy > > > > > How should I register a new RDFFormat (e.g. TURTLE_LONG)? > > > > Yes. > > > > 👍
