- From: Tim Berners-Lee <timbl@w3.org>
- Date: Thu, 11 Nov 2004 11:41:22 -0500
- To: Dan Connolly <connolly@w3.org>
- Cc: public-cwm-talk@w3.org
:) Good! Heads up that in the 1.0RC1 release and thereafter, diff.py is renamed delta.py to avoid confusion with diff. Hmmm... Looking at the results below, I cansee it would be nice if diff used variable syntax ?x ?y instead of @forAll :_g0 etc. But that is icing on the cake. Tim On Nov 10, 2004, at 0:34, Dan Connolly wrote: > I'm working on yet another rdf-to-ical conversion, > and the round-trip graph-match was failing, and I wanted > to know why. I've been disappointed by earlier versions > of diff.py, but it worked quite nicely this time: > > > connolly@dirk:~/w3ccvs/WWW/2002/12/cal$ python > ~/w3ccvs/WWW/2000/10/swap/diff.py --from test/spec01-conf3.rdf > --to ,xxx.rdf > @prefix : <#> . > @prefix cal: <http://www.w3.org/2002/12/cal/ical#> . > @prefix delta: <http://www.w3.org/2004/delta#> . > > @forAll :_g0, > :_g1 . > { > > } delta:deletion {<test/spec01-conf3.rdf#uid1@host.com> > cal:description """Networld+Interop Conference and Exhibit > Atlanta World Congress Center > Atlanta, Georgia""" . > }; > delta:insertion {<test/spec01-conf3.rdf#uid1@host.com> > cal:description "Networld+Interop Conference and Exhibit Atlanta World > Congress Center Atlannta, Georgia" . > } . > { > <test/spec01-conf3.rdf#uid1@host.com> cal:organizer :_g0 . > > } delta:deletion {:_g0 cal:calAddress > <mailto:jsmith@host.com> . } . > { > <test/spec01-conf3.rdf#uid1@host.com> cal:organizer :_g1 . > > } delta:insertion {:_g1 cal:calAddress > <test/spec01-conf3.rdf> . } . > > > > > -- > Dan Connolly, W3C http://www.w3.org/People/Connolly/ > D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E
Received on Thursday, 11 November 2004 16:41:27 UTC