Reification in XHTML2

Using

http://www.w3.org/TR/2004/WD-xhtml2-20040722/mod-meta.html


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:

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

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

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> 
element.

Jeremy

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