rdf-utils 0.2: support for diff and patch

rdf-utils 0.2: support for diff and patch [uri-1]
Reto Bachmann-Gmür [uri-2] 2006-01-07 24:26
Uploaded version 0.2 which supports the patch operation, get it from the sourceforge  download page [uri-3].

The main improvement is the ability to serialize diffs to file and to patch a graph using such a file.

Example:

diff: java -jar rdf-utils-compact-0.2.jar diff -OUT false -M1 danny-2006-01-04.rdf -M2 danny-2006-01-06.rdf -S danny-diffpatch: java -jar rdf-utils-compact-0.2.jar patch -S danny-diff -I danny-2006-01-04.rdf -T danny-2006-01-06-rec.rdfThe jar must be executed with a java 5 compliant virtual machine, the jar should not be uncompressed.

The diff file is a zip of a directory-structure containing rdf-molecules and functionally grounded nodes which have been added or removed.

Note that the diff is very small for models using many (inverse) functional properties and named resources while in models consisting mainly of anonymous nodes and no (inverse) functional properties smallest changes can cause big diffs.

A diff can be used to patch any model, the patch operation should never fail but may create more resources than the authors intended. Again: using (inverse) functional properties reduces the risk of having resource splitting with concurrent changes.


 





Links:
 [uri-1] http://wymiwyg.org/2006/01/07/rdf-utils-0
 [uri-2] http://gmuer.ch/me
 [uri-3] http://sourceforge.net/project/showfiles.php?group_id=83223&package_id=173731

Received on Friday, 6 January 2006 23:55:38 UTC