Re: RDF Diff/patch

2017-12-27 Thread Claude Warren
ly if the blank nodes have different ids they would be deleted and reinserted in the first case and just one deleted in the second case. The code is at https://github.com/Claudenw/rdf-diff-patch (sorry Andy got "rdf" and "patch" in the name -- I'll change it if I ca

Re: RDF Diff/patch

2017-12-27 Thread ajs6f
I'm curious too, Claude. Is the idea that one assumes that bnodes are already using the same pool of labels, or something like that? IOW, if I have dataset1: _:a a my:type . _:b a my:type . and dataset2: _:c a my:type . and I want to convert dataset1 into dataset2, will your algorithm delete b

Re: RDF Diff/patch

2017-12-27 Thread Andy Seaborne
It would be interesting to see especially the handling of blank nodes cycles and other structures. Please don't call it "RDF Patch" or a names similar to that - that term is already used. Andy On 26/12/17 18:17, Claude Warren wrote: Howdy, I am working on a tool that can create UpdateR

RDF Diff/patch

2017-12-26 Thread Claude Warren
Howdy, I am working on a tool that can create UpdateRequests that will convert one Dataset into another. The basic idea is to extract the quads sorted by (g,s,p,o) and then perform a diff on the lists (like a text diff but each quad is a "line"). The result is that I can create statements to del