On 21/06/2023 18:25, Shaw, Ryan wrote:
I have managed to modify TurtleShell.ShellGraph to output formatted TTL that is
very close to rdflib’s longturtle output.
The modified functions are:
writeRemainingNLinkedLists
writeCluster
writePredicateObjectList (x2)
writePredicateObject
writePredicate
writeNestedObjectTopLevel
writeNestedObject
writeList
write_S_P_Gap
I could use some advice on how best to integrate this.
Should I simply subclass TurtleShell.ShellGraph?
If you think that it is modifying the same algorithm then yes. if it
doing lists?
More generally -
We have Jena 5.x coming up (at a minimum - require Java17)
Should this become the default pretty layout? or some variant?
The current pretty form does tend to march off the right of the window.
How should I register a new RDFFormat (e.g. TURTLE_LONG)?
Yes.
Ryan
Andy