Issue on the latest syntax document: placement of @instanceof

My apologies if that was discussed on the telco. I saw in [1] that this
issue came up; maybe I am banging on open doors. If so, sorry about that...

The question: what is the subject for rdf:type in a construction like:

<span about="#a" instanceof="a:b">...

Following the Processing steps of

http://www.w3.org/MarkUp/2007/ED-rdfa-syntax-20070906/

I believe the answer is:

[] rdf:type a:b.

ie, the subject is a new bnode.

Why:

 - in step 2, item 1 of the processing steps [current object resource]
is set to a new bnode (there is no @href, @resource, etc to set it
otherwise)
 - in step 3, item 2 of the processing steps triples are generated using
the [current object resource] as subject for rdf:type

I do not think this is what we want. I think what we want is

<#a> rdf:type a:b.

Informally, I think what we want to say is that the subject of the type
should be [current resource] in case no triples are generated with the
[current object resource], and the latter otherwise...

Taking into account the problem with chaining, and my proposed changes
in [2], this is what I propose for the Processing step

- Remove step 2 from processing step 3

- Insert a new step between processing step 4 and 5 to set the type
values. This is essentially the same text as what was removed from the
previous setp, but the type value should be set on [current resource]
(an not on [current object resource] as it currently says). Also, the
last remark (referring to [chaining]) should be removed.

I believe that takes care of the problems.

Ivan

[1] http://www.w3.org/2007/09/06-rdfa-minutes.html
[2]
http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2007Sep/0058.html

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Sunday, 9 September 2007 11:18:49 UTC