Ryan,
Please, could you show example code that illustrates what you are
seeing? Presumably it isn't a mix in one parser run because it looks
like "Annn" come from a different place than UUIDs Ids.
Which version of Jena are you running?
Andy
On 04/02/2022 19:09, Shaw, Ryan wrote:
Hello,
I am trying to experiment with generating diffable N-Triples or flat Turtle
files.
I was hoping that I could do this by setting
JenaParameters.disableBNodeUIDGeneration to true, so that blank nodes would be
assigned IDs in increasing order as the parser created them. But it seems that
only some methods of blank node creation respect this setting. When I parse
Turtle with BNode UID generation disabled, I get a mix of `ANNN` (incremented,
as expected) and random UUID BNode IDs. When I parse N-Triples I get all random
UUIDs.
Is there any way to tap into the parsing pipeline to ensure that all BNode IDs
are deterministically (ideally incrementally) generated?
Thanks,
Ryan