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

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

From: Ivan Herman <ivan@w3.org>
Date: Fri, 20 Jul 2007 12:42:41 +0200
Message-ID: <46A091A1.1030003@w3.org>
To: W3C RDFa task force <public-rdf-in-xhtml-tf@w3.org>
In an effort to making this more precise;-) are the two additional rules

- the element's corresponding RDF identity is the subject of an
@property when it appears (the object of which follows the usual rules)

- the @src of <img> and the @data of <object> are, in this algorithms,
aliases to @href


Ivan Herman wrote:
> 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:42:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:23 UTC