- From: Manu Sporny <msporny@digitalbazaar.com>
- Date: Fri, 21 Dec 2007 11:18:58 -0500
- To: RDFa <public-rdf-in-xhtml-tf@w3.org>
Ivan Herman wrote: > <div about="#q"><div resource="A" rel="a:b"/></div> > > which yields > > <#q> a:b <A> Correct. > or the Bnode from a hanging rel, like > > <div about="#q" rel="q:r"><div resource="A" rel="a:b"/></div> > > <#q> q:r [ a:b <A> ]. Also, correct (I think)... although, I don't think we have a test case for this at the moment. > The behaviour of @instanceof seems to follow the same pattern for most > of the cases, but you seem to imply that, somehow, in some cases, an > extra BNode is generated for the subject of @instanceof. Can anybody > tell me what the result of, say: > > <div about="#q" rel="q:r"><div instanceof="q:s"/></div> > > is? My instinct would say > > <#q> q:r [ rdf:type q:s ]. Manu, you say above >From my understanding, which includes Ben's most recent proposal, this is the behavior of @instanceof: 1. Applies to @about or @src if either exist on the current element, @about takes precedence over @src. 2. Creates a new bnode if there is no @about or @src on the current element. >>> <div resource="A" instanceof="B" /> >> _:x rdf:type B > > But WHICH _:x are you talking about? A new one just created for the > local instanceof? Is it an inherited subject from the parent? I'm talking about the new one that was just created for the local @instanceof. @instanceof does not inherit anything, ever. >>> <a href="A" instanceof="B">label</a> >> _:x rdf:type B >> >> Again, I thought we agreed that @instanceof doesn't apply to @href. > > More exactly: we agreed that, for almost all aspect of the processing, > @resource and @href behave in an identical manner. Correct! We talked about Mark's most recent e-mail[1] and it deviates from the understanding of the group -- manu [1]http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2007Dec/0125.html -- Manu Sporny President/CEO - Digital Bazaar, Inc. blog: Over One Million Songs Available on Bitmunk http://blog.digitalbazaar.com/2007/10/29/one-million-songs-on-bitmunk/
Received on Friday, 21 December 2007 16:19:08 UTC