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

Re: telecon Thursday, 1600 UTC

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Fri, 21 Dec 2007 12:30:02 -0500
Message-ID: <476BF81A.90206@digitalbazaar.com>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

Ivan Herman wrote:
>> We talked about Mark's most recent e-mail[1] and it deviates from the
>> understanding of the group

Sorry, didn't finish this thought... making it seem very strongly worded. :)

At the last telecon, we assumed that Mark's intentions were to not
change the processing rules in a manner that would affect the processing
rules for @instanceof. IE: That @instanceof only applied to @about and @src.

His set of statements seemed to indicate that @instanceof could apply to
@resource or @href in certain cases, which is not what the rest of the
group understood the rules to be. IF this is Mark's intention, then it
causes a couple of issues.

Let's take the following XHTML:

<a about="#alice" instanceof="foaf:Person"
   rel="foaf:knows" href="#bob">Bob</a>

Under the rules I understand for @instanceof, the following would be
generated:

<#alice> <rdf:type> <foaf:Person>.
<#alice> <foaf:knows> <#bob>.

Now, assume that we remove the @about:

<a instanceof="foaf:Person"
   rel="foaf:knows" href="#bob">Bob</a>

the following would be generated:

_:x <rdf:type> <foaf:Person>.
_:x <foaf:knows> <#bob>.

Notice how the triples that were generated didn't change very much, just
the named node changed to a bnode, and that was all that changed.

If I understand Mark's comments correctly, with the following XHTML:

<a about="#alice" instanceof="foaf:Person"
   rel="foaf:knows" href="#bob">Bob</a>

The same triples would be generated at first:

<#alice> <rdf:type> <foaf:Person>.
<#alice> <foaf:knows> <#bob>.

until you remove the @about:

<a instanceof="foaf:Person"
   rel="foaf:knows" href="#bob">Bob</a>

at which point, the triples change completely:

<#bob> <rdf:type> <foaf:Person>.

Not saying that is good or bad, just outlining the differences.

I thought, however, that we had moved away from the idea of @instanceof
applying to anything other than @about and @src, specifically because of
how different the triples that are generated become when you add and
remove other RDFa attributes?

I was also under the impression that @instanceof does not "inherit" its
subject from parent elements.

-- manu

-- 
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 17:30:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:19 GMT