Re: BNode problem in XHTML2

Steven Pemberton wrote:

> Jeremy said on the call that he thought you could do it with only one 
> new  attribute.

Here's two versions with inheritance rules:

V1:
a) nodeID defines an object
b) if subject is absent then inherit object of parent as your subject

<strawman>
     <link nodeID="a" rel="foaf:mbox" href="xxx" />
     <link nodeID="b" rel="foaf:mbox" href="yyy" />

     <link nodeID="a">
          <link rel="foaf:knows" nodeID="b" />
     </link>
</strawman>

V2:
a) nodeID defines a subject
b) if object is absent then use subject of child as your object

<strawman>
     <link nodeID="a" rel="foaf:mbox" href="xxx" />
     <link nodeID="b" rel="foaf:mbox" href="yyy" />

     <link nodeID="a" rel="foaf:knows">
          <link  nodeID="b" />
     </link>
</strawman>

Jeremy

> 
> Following the call today I had an action to report on the problem of  
> getting the Bnode stuff in XHTML2  
> (http://www.w3.org/2005/04/05-swbp-irc#T14-29-36).
> 
> The problem is this: bnodes are anonymous nodes (not referencable with  
> URLs) that you need to refer to using *some* naming mechanism or 
> another.  But since the current naming mechanism uses URLs, we need 
> something on top  of that.
> 
> Take a use-case. You want to represent "The person with an mbox of 
> 'xxx'  and the person with an mbox of 'yyy' know each other."
> 
> <strawman>
>     <link metaabout="a" rel="foaf:mbox" href="xxx" />
>     <link metaabout="b" rel="foaf:mbox" href="yyy" />
> 
>     <link metaabout="a" rel="foaf:knows" metahref="b" />
> </strawman>
> 
> RDF/A did it this way, proposing an xpointer framework:
> 
>     <link nodeID="a" rel="foaf:mbox" href="xxx" />
>     <link nodeID="b" rel="foaf:mbox" href="yyy" />
> 
>     <link about="#bnode(a)" rel="foaf:knows" href="#bnode(b)" />
> 
> Neither of these solutions are really pretty.
> 
> 
> Steven
> 

Received on Tuesday, 5 April 2005 16:04:53 UTC