W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2001

Re: Putting context in RDF serialization

From: Graham Klyne <GK@Dial.pipex.com>
Date: Mon, 01 Jan 2001 16:53:47 +0000
Message-Id: <>
To: Seth Russell <seth@robustai.net>
Cc: RDF-IG <www-rdf-interest@w3.org>
At 08:45 PM 12/20/00 -0800, Seth Russell wrote:
>Fine, show me an actual example of in XML of putting three statements in two
>different contexts.   Of course, I concede, it can be done ... but I won't
>concede it is practical until I can see an actual practical example.   Let's
>compare the M&S container way to my proposal, line for line.

OK, try this:




Where the notation:



   <rdf:Description rdf:about='s1'>
     <p1 rdf:id='t1' rdf:resource='o1' />

Then, the above graph serializes to:

   <rdf:Description rdf:about='s1'>
     <p1 rdf:id='t1' rdf:resource='o1' />
     <p2 rdf:id='t2' rdf:resource='o2' />
     <p3 rdf:id='t3' rdf:resource='o3' />

   <Context rdf:about='c1'>
     <quotes rdf:resource='t1' />
     <quotes rdf:resource='t2' />

   <Context rdf:about='c2'>
     <quotes rdf:resource='t2' />
     <quotes rdf:resource='t3' />

Plus the usual RDF boilerplate.


Graham Klyne
Received on Monday, 1 January 2001 14:00:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:33 UTC