Will BNodes in two DatasetGraph's ever collide?

No.

In Jena, the internal blank node identifier is globally unique.

In the parsers, blanks node internal label are based on UUIDs so they
are universally unique to very high probability.

Internally generated blank nodes (createResource()) are java RMI UIDs so
32 bit random host ID, JVM id, timestamp.


Looking at the JDK code, I see a couple of small potential problems that
limit the full range of the bit space but nothing too bad.
We could change that and switch to using UUIDs to generate BlankNodeIds.
 That gets used on Google App Engine anyway where there is no working
java.rmi RMI UID

JENA-1304.  Use UUIDs in the last place they aren't.


    Andy



Dick.

Reply via email to