Re: Does @instanceof apply to @href?

Hi Ben,

On 21/01/2008, Ben Adida <ben@adida.net> wrote:
>
> Ben Adida wrote:
> > <div about="#me" rel="foaf:knows">
> >    <div href="#mark" instanceof="foaf:Person" property="foaf:name">
> >       Mark
> >    </div>
> > </div>
> >
> > According to the "@href completes @rel" proposal, that gives:
> >
> > <#me> foaf:knows <#mark> .
>
> Trying very hard again to see the logic here: maybe @href doesn't
> complete the hanging @rel because of @instanceof?

No...it does. The whole point of the 'hanging rel' proposal, which
everyone seemed happy with at the time :( was to complete triples so
that statements could be chained together. Without it, the above
mark-up would not yield anything, i.e., the @rel with no rvalue would
generate nothing.


> Does @instanceof
> create a bnode and take precedence here so that @href basically does
> nothing?

No. @instanceof only creates a bnode if there is no other explicit subject.

Regards,

Mark

-- 
  Mark Birbeck, formsPlayer

  mark.birbeck@formsPlayer.com | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.

Received on Tuesday, 22 January 2008 01:55:11 UTC