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

Re: A Proposal for subject setting by @class

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Tue, 10 Jul 2007 11:59:16 +0100
Message-ID: <640dd5060707100359l447cc2dfv56397db8ae57b199@mail.gmail.com>
To: "Ben Adida" <ben@adida.net>
Cc: RDFa <public-rdf-in-xhtml-tf@w3.org>

Hi Ben,

I think the use-case and motivation are fine. I would rather see this
resolved along the lines I mentioned in another thread, namely "what
is the minimum amount of RDFa needed to generate a triple?"

Looking at the big picture, it seems that if we agree on your proposal
we will *always* generate a  triple when we have a predicate.
Obviously we'll generate triples in other conditions too, but if you
see @rel, @rev, @property or @the_attribute_that_shall_not_be_named on
an element you know that you are *definitely* going to get one or more
triples generated. (As Ivan says in a separate thread,
@the_attribute_that_shall_not_be_named is only a shorthand for
@rel="rdf:type", so it's still a predicate.)

I think that's a fair enough rule to try to put into more detail and
would probably be easier to remember than having to know each
attribute's behaviour separately. This suggestion doesn't change the
core of your proposal, only how we try to explain it when we write it
up.

Regards,

Mark

On 07/07/07, Ben Adida <ben@adida.net> 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
>
>
>


-- 
  Mark Birbeck, formsPlayer

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.
Received on Tuesday, 10 July 2007 10:59:32 GMT

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