- From: Toby A Inkster <tai@g5n.co.uk>
- Date: Fri, 7 Nov 2008 10:46:08 +0000
- To: RDFa <public-rdf-in-xhtml-tf@w3.org>
Ben Adida in the Meeting Record: > ... We want to make markup simpler - so when we compare Microformats > to RDFa, people don't see that RDFa is very complicated. Here's yet another possible solution. Define yet another attribute, which I'm calling "object" for now, though probably a better name can be found. It works like "typeof", but has a side-effect of setting a default CURIE prefix for the element and any descendant elements. <html xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:doap="http://usefulinc.com/ns/doap#"> ... <div object="foaf:Person"> <a property="name" rel="page" href="http://tobyinkster.co.uk" >Toby Inkster</a> made <div rel="made"> <span object="doap:Project" property="name">Cognition</span> </div> </div> </html> This gives you the following result: _:b1 a foaf:Person ; foaf:name "Toby Inkster" ; foaf:page <http://tobyinkster.co.uk> ; foaf:made _:b2 . _:b2 a doap:Project ; doap:name "Cognition" . -- Toby A Inkster <mailto:mail@tobyinkster.co.uk> <http://tobyinkster.co.uk>
Received on Friday, 7 November 2008 10:47:22 UTC