W3C home > Mailing lists > Public > public-cwm-talk@w3.org > October to December 2004

success with diff/delta in RDF calendar testing work

From: Dan Connolly <connolly@w3.org>
Date: Tue, 09 Nov 2004 23:34:45 -0600
To: Tim Berners-Lee <timbl@w3.org>
Cc: public-cwm-talk@w3.org
Message-Id: <1100064885.4261.273.camel@dirk>
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 Wednesday, 10 November 2004 05:34:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:01 GMT