- 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 UTC