On 26/12/17 19:39, Dick Murray wrote:
On 26 Dec 2017 19:10, "Laura Morales" <[email protected]> wrote:

What is more, it gets bNode labels across files right (so using _:a in
two files is two bNodes).

Thinking about this...

- if the files contain anonymous blank nodes (for example in Turtle), each
node (converted with RIOT) should be assigned a random name (this is where
rapper fails, and RIOT works)
- if the files already contain named blank nodes (eg _:node1 <predicate>
<object>) then I guess these nodes should probably keep their names and not
be reassigned a random ID, because they are probably intended to mean the
same blank node


Blank node identifiers are only limited in scope to a serialization of a
particular RDF graph, i.e. the node _:b does not represent the same node as
a node named _:b in any other graph.


Right.

Don't mix up "internal identifiers" with "blank node labels".

Strictly the latter are only in syntax.

What Node.getBlankNodeLabel does is strictly "getInternalId".

If the app knows something beyond what the parser can assume, it can join up blank nodes. (Sometimes called "smushing".)

    Andy

Reply via email to