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

Re: Does @instanceof apply to @href?

From: Mark Birbeck <mark.birbeck@formsPlayer.com>
Date: Tue, 22 Jan 2008 01:54:59 +0000
Message-ID: <a707f8300801211754q357bed11j98e92d27fc005e98@mail.gmail.com>
To: "Ben Adida" <ben@adida.net>
Cc: "Manu Sporny" <msporny@digitalbazaar.com>, RDFa <public-rdf-in-xhtml-tf@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 January 2008 01:55:14 GMT