On 01/07/15 18:42, Jean-Marc Vanel wrote:
Hi
This happens often when loading a FOAF several times.
The foaf:knows values are often blank nodes.
I seems that TDB creates a new blank node with a different ID every time.
Hi there,
This is nothing to do with TDB; it has to do with RDF syntax.
Every time a file is parsed, new blank nodes get created. It's required
by any RDF syntax. A label is scoped to the file read operation.
The way to not have that occur is to use relative URIs on file.
<#me> foaf:knows <#you> .
Andy
http://www.w3.org/TR/turtle/#BNodes
Reading a file twice is two documents. Technically, if some
implementation can prove they are the same, it could use the same blank
node. But I don't know of any parser that does that (hard for the
parser to know) and the burden of proof on "same" is very high.
Andy