- From: Toby Inkster <tai@g5n.co.uk>
- Date: Sat, 12 Dec 2009 00:15:29 +0000
- To: "Ennals, Robert" <robert.ennals@intel.com>
- Cc: Manu Sporny <msporny@digitalbazaar.com>, "public-html@w3.org" <public-html@w3.org>
On Fri, 2009-12-11 at 20:14 +0000, Ennals, Robert wrote: > Yeah. You are right. But typing about="_:bnode" seems pretty awkward > for end users, especially given that, in the microdata usage models, > this is something we expect to see almost everywhere. Microdata's > "itemscope" seems much more friendly. I *think* typeof="" should quickly and easily accomplish the feat of creating a blank node without giving it a name or type, or using chaining, but the current RDFa spec is a little unclear in that regard. Hopefully RDFa 1.1 will clarify this particular case, as I do think it's a useful pattern. > In Microdata, a common idiom is to write something like the following: > > <div itemscope> > <span itemprop="name">Rob</span> > <div itemprop="knows" itemscope> > <span itemprop="name">Manu</span> > <span itemprop="special-power">RDFa wizardry</span> > </div> > </div> > > This declares two blank nodes, one for me and one for you, and > declares that you are my friend. > > In RDFa I believe I would have to write: > > <div about="_:bnode" vocab="whatever"> > <span property="name">Rob</span> > <div rel="knows"> -- This node isn't needed in Microdata > <div about="_:bnode2"> > <span property="name">Manu</span> > <span property="special-power">RDFa wizardry</span> > </div> > </div> In RDFa you could write: <div about="_:bnode" vocab="whatever"> <span property="name">Rob</span> <div rel="knows"> <span property="name">Manu</span> <span property="special-power">RDFa wizardry</span> </div> </div> No extra node. -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Saturday, 12 December 2009 00:16:15 UTC