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

Determination of subjects/objects (was: ISSUE-42)

From: Ivan Herman <ivan@w3.org>
Date: Fri, 20 Jul 2007 12:07:52 +0200
Message-ID: <46A08978.4060907@w3.org>
To: W3C RDFa task force <public-rdf-in-xhtml-tf@w3.org>
I follow here Niklas' advice[1] on starting a new thread. It is indeed a
central issue and it is better tracked that way. Reminder: there was an
algorithmic description on what happens in Ben's mail[2] and an older
one from me[3] as well as my proposal for anonymous nodes[4].

Let me also reproduce here, for easier reference, Ben's algorithm[2]. I
believe it is cleaner than mine[3] because it does not give a different
behaviour to @resource (apart from a priority issue). Niklas has already
started to match it against various use cases and we should probably
follow that. So here it is:

Consider the concept of an HTML element's "corresponding RDF identity".

- the "corresponding RDF identity" is determined as follows:
  - @resource takes precedence
  - if no @resource, @href is next
  - if no @href, then @id.
  - if no @id, then @about.
  - if all else fails, a bnode.

- the element's corresponding RDF identity is the subject of an rdf:type
triple when instanceof appears.

- the element's corresponding RDF identity is also the object of any
@rel, or the subject of any @rev.

- the subject of a @rel, or the object of a @rev, is determined using
the normal @about rules.

- the subject of an element's *content* is the element's corresponding
RDF identity when @rel, @rev, @href, @resource, or @instanceof appears.
Otherwise, it's @about resolution.


I will react on some of the issues here in a separate mail, to have a
clean thread.

I hope this helps

Ivan



[1]
http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2007Jul/0159.html
[2]
http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2007Jul/0158.html
[3]
http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2007Jul/0153.html
[4]
http://lists.w3.org/Archives/Public/public-rdf-in-xhtml-tf/2007Jul/0144.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 Friday, 20 July 2007 10:07:59 GMT

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