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

Re: A Proposal for subject setting by @class

From: Ivan Herman <ivan@w3.org>
Date: Tue, 10 Jul 2007 12:38:47 +0200
Message-ID: <469361B7.5060802@w3.org>
To: Ben Adida <ben@adida.net>
CC: RDFa <public-rdf-in-xhtml-tf@w3.org>
Looking at this question with my newly found[1] (though probably
temporary wisdom...)...

In your proposal,

<div about="#me" id="me" class="t:blabla">
	<div class="cal:Vevent" rel="foaf:topic">
	  <span property="cal:dtstart">2007-07-07</span>


   a t:blabla;
   foaf:topic [
	a cal:Event;
	cal:dtstart "2007-07-07".

although I would expect

<#me> a t:blabla;
  foaf:topic [
      a cal:dtstart;
      cal:dtstart "2007-07-07".

Isn't that correct?

I am not sure we foresee all the ripple down (or up:-) effect of such an
implicit behaviour. I would try to explore it more or keep it on ice for


[1] http://www.w3.org/mid/46935E25.1010003@w3.org

Ben Adida wrote:
> We've recently had a discussion about what to do when one wants to
> publish a calendar event on a page without necessarily naming it.
> The recommendation was:
> <div class="cal:Vevent" rel="rdf:li">
> ...
> or rel="foaf:topic"
> (note that I'm using the @class notation though this issue has now been
> reopened, so assume
> the_attribute_that_shall_not_be_named="cal:Vevent"
> where I say @class.)
> I propose that, when a @class appears with a namespaced-value, there be
> an implicit @about set for contained statements, exactly as if there
> were a @rel. I suspect someone else has brought this up before, but I
> can't seem to find it in the archive.
> So, for example:
> <div class="cal:Vevent">
>   <span property="cal:dtstart">2007-07-07</span>
> </div>
> would yield:
> _:div0 rdf:type cal:Vevent ;
>        cal:dtstart "2007-07-07" .
> This is a small but noticeable change, and it may invalidate some
> existing markup (though unlikely, since most use case here involve using
> an @about on the same @div, in which case the @about takes precedence.)
> Thoughts, comments?
> -Ben


Ivan Herman, W3C Semantic Web Activity Lead
URL: http://www.w3.org/People/Ivan/
PGP Key: http://www.cwi.nl/%7Eivan/AboutMe/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Tuesday, 10 July 2007 10:38:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:50 UTC