W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > August 2010

Re: A possible design to incorporate collections and containers into RDFa?

From: Toby Inkster <tai@g5n.co.uk>
Date: Sat, 28 Aug 2010 21:51:18 +0100
To: Ivan Herman <ivan@w3.org>
Cc: W3C RDFa WG <public-rdfa-wg@w3.org>, Jeni Tennison <jeni@jenitennison.com>
Message-ID: <20100828215118.12e00569@miranda.g5n.co.uk>
On Wed, 25 Aug 2010 13:40:50 +0200
Ivan Herman <ivan@w3.org> wrote:

> I wrote down my current design on the Wiki:
> 
> http://www.w3.org/2010/02/rdfa/wiki/ContainersAndCollections

I think this is a good start. Little problem though re the use of
@resource to trigger the list behaviour. Consider the following:

	<div about="#eachpeach">
	    <i property="dc:title">Each Peach Pear Plum</i>
	    <ul rel="dc:creator" resource="::Bag">
	        <li property="::member">Janet Ahlberg</li>
	        <li property="::member">Allen Ahlberg</li>
	    </ul>
	</div>
	<div about="#megmog">
	    <i property="dc:title">Meg and Mog</i>
	    <ul rel="dc:creator" resource="::Bag">
	        <li property="::member">Helen Nicoll</li>
	        <li property="::member">Jan Pienkowski</li>
	    </ul>
	</div>

If this were parsed in an RDFa 1.0 parser, it would come out as:

  <#eachpeach>
    dc:title "Each Peach Pear Plum" ;
    dc:creator <./::Bag> .
  <#megmog>
    dc:title "Meg and Mog" ;
    dc:creator <./::Bag> .
  <./::Bag>
    <http://www.w3.org/1999/xhtml/vocab#:member> "Janet Ahlberg" ;
    <http://www.w3.org/1999/xhtml/vocab#:member> "Allen Ahlberg" ;
    <http://www.w3.org/1999/xhtml/vocab#:member> "Helen Nicoll" ;
    <http://www.w3.org/1999/xhtml/vocab#:member> "Jan Pienkowski" .

Any automated agent looking at that would conclude that the two books
have the same authors. Something using, say, @typeof wouldn't suffer
from this problem.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>


Received on Saturday, 28 August 2010 20:52:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:07 GMT