W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > September 2004

Reification in XHTML2

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Thu, 09 Sep 2004 18:26:26 +0100
Message-ID: <41409242.1090004@hplb.hpl.hp.com>
To: Jeremy Carroll <jjc@hplb.hpl.hp.com>
CC: public-rdf-in-xhtml-tf@w3.org



If we have a triple

eg:a eg:p eg:o .

it's reification is

eg:s eg:p eg:o .
eg:r rdf:type rdf:Statement .
eg:r rdf:subject eg:s .
eg:r rdf:predicate eg:p .
eg:r rdf:object eg:o .

Omitting namespace declarations, ..., and this probably needs fixing up 
a bit ...
This can be encoded as:

   <link  about="http://example.org/#s"
          resource="http://example.org/#o" />

   <link  about="http://example.org/#r"
          resource="http://www.w3.org/...rdf-ns#Statement" />
   <link  about="http://example.org/#r"
          resource="http://example.org/#s" />ns#Statement" />
   <link  about="http://example.org/#r"
          resource="http://example.org/#p" />
   <link  about="http://example.org/#r"
          resource="http://example.org/#o" />

This is harder if either the subject or object is anonymous - I suspect 
with the reverse link it can be done.
It is not possible to create a reification where the node for the 
reified triple (eg:r above) is replaced with a blank node. This is a 
relative of the issue with blank nodes in my previous post, and could be 
fixed in the same way (although a specific proposal is needed)

To reify a <meta> element with a literal object, the object triple of 
the reification will also have a literal object, and hence need a <meta> 

Received on Thursday, 9 September 2004 17:26:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:18 UTC