- From: Ivan Herman <ivan@w3.org>
- Date: Fri, 23 Sep 2011 11:36:45 +0200
- To: Toby Inkster <mail@tobyinkster.co.uk>
- Cc: RDFa WG <public-rdfa-wg@w3.org>
Toby, I can see the point in your example. However... If I have <div about="bla"> <span rel="a:b" inlist resource="Toby">Toby</span>, <span rev="a:b" inlist resource="Gregg">Gregg</span> <span rel="a:b" inlist resource="Ivan">Ivan</span> <span rev="a:b" inlist resource="Manu">Manu</span> </div> Then what I should get, in my view, is (<Gregg> <Manu>) a:b <bla> . <bla> a:b (<Toby> <Ivan>) . ie, when finding out which elements are put on which list, we would have to cluster not only along the line of the attribute values but also whether it originates from a @rev or a @rel/@property. Ie, this extra information must be stored while processing, which is the source of the extra complication both in the spec and in an implementation. The additional issue is that @property creates an asymmetry. Ie, there is no way I could encode succinctly something like ("A" "B") <prop> <resource> . using @rev. That may become a problem with users if they do not understand things. I wonder if opening the floodgates on that issue is worth it... Ivan On Sep 22, 2011, at 11:54 , Toby Inkster wrote: > Any particular reason why this doesn't work? Seems like it would be > easy enough to support. Given that @inlist works with @rel, it seems > counter-intuitive for it not to work with @rev. > > i.e. how to express the following Turtle in RDFa... > > (:Ben :Mark :Shane :Ivan) foaf:made <http://www.w3.org/TR/rdfa-core/> . > > Right now, the most concise method is: > > <div typeof> > <span rel="rdf:first" resource="#Ben">Ben</span>, > <span rel="rdf:rest" inlist=""> > <span about="#Mark">Mark</span>, > <span about="#Shane">Shane</span> & > <span about="#Ivan">Ivan</span> > </span> > edited > <a rel="foaf:made" href="http://www.w3.org/TR/rdfa-core/" > >RDFa Core 1.1</a> > </div> > > Though that's pretty counter intuitive compared with: > > <div about="http://www.w3.org/TR/rdfa-core/"> > <span rev="foaf:made" inlist=""> > <span about="#Ben">Ben</span>, > <span about="#Mark">Mark</span>, > <span about="#Shane">Shane</span> & > <span about="#Ivan">Ivan</span> > </span> > edited > <a href="http://www.w3.org/TR/rdfa-core/">RDFa Core 1.1</a> > </div> > > -- > Toby A Inkster > <mailto:mail@tobyinkster.co.uk> > <http://tobyinkster.co.uk> > > ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 PGP Key: http://www.ivan-herman.net/pgpkey.html FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Friday, 23 September 2011 09:36:13 UTC