joshsh/sesametools — comment on commit 2ba993f66a832914e1a5eed664764258cd809866
File:  line 0
By ansell:

I don't understand why the serialisation of that document to RDF/JSON is not deterministic. Could you explain that?

I wrote the current RDF/JSON serialiser, and I thought it would be deterministic in this case. Blank node ordering which is not defined anywhere anyway. In this case there is only one blank node in the subject position across all of the triples, and one blank node in the object node across all of the triples.

The strategy for putting _: in front of blank nodes is not relevant to RDF/XML, and it shouldn't be relevant to the RDF/JSON parsed statements. I will look into the RDF/JSON parser to see if it includes the _: in the blank node identifiers. If it does I will remove it to match the RDF/XML behaviour. Then I will look at the RDF/JSON writer and verify it again using the RDF/XML parser / RDF/JSON writer that you refer to above.