Re: A Proposal for subject setting by @class

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>
 </div>
</div>

yields

[
   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
now...

Ivan


[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