nasar2016 / rdfquery

Automatically exported from code.google.com/p/rdfquery
0 stars 0 forks source link

Create difference summary between databanks #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It's sometimes useful to see what's changed in a databank, for example to post 
back a change set 
to the server, or to add items to a list. Need to have the ability to clone a 
databank, so the new one 
can be updated, and then compare the two.

Keeping track of changes as they occur isn't sufficient because some parts of 
the page might be 
changed by hand.

Original issue reported on code.google.com by jeni.ten...@gmail.com on 11 Nov 2008 at 4:16

GoogleCodeExporter commented 8 years ago
This is now supported through the except() method on $.rdf and $.rdf.databank. 
On
$.rdf.databank, it returns a new databank with all the triples that are in this
databank but not in the argument. On $.rdf it returns a new top-level rdfQuery 
over a
databank created by differencing this rdfQuery's databank with the one passed 
as the
argument.

Original comment by jeni.ten...@gmail.com on 19 Nov 2008 at 10:05