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 both triples and add a new one, or just remove a triple, and if so, is that deterministic? If dataset2 is instead: _:a a my:type . will the algorithm only remove one triple and be done, or remove both and add a new one? ajs6f > On Dec 27, 2017, at 11:00 AM, Andy Seaborne <[email protected]> wrote: > > 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 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 delete insert and delete one >> dataset to make it "identical" to the other. Identical in this case means >> that each model in the two datasets are isomorphic. >> Is anyone else interested in this? >> Claude
