Does RDFa processing recurse into content:encoded?

Hi,

A question. What triples are generated from the following HTML+RDFa  
snippet?

<div class="body" property="content:encoded">
   <p about="#me">
     Hi, I'm <span property="foaf:name">Richard</span>!
   </p>
</div>

My reading of the spec is that it should create one triple, with  
subject <>, property [content:encoded], and an rdf:XMLLiteral as object.

My reading is that no foaf:name triple is generated, because RDFa  
processing doesn't recurse into rdf:XMLLiterals.

Is this correct?

I'm asking because Drupal 7 puts a property="content:encoded" on the  
body of any page, which is a reasonable thing to do, but according to  
my understanding means that you cannot put RDFa markup into the body  
of a Drupal 7 page (because RDFa processing doesn't recurse into the  
body). If that's indeed the case, then I'll probably have to raise  
this as an issue with the Drupal folks.

Thanks a lot,
Richard


-- 
Linked Data Technologist • Linked Data Research Centre
Digital Enterprise Research Institute (DERI), NUI Galway, Ireland
http://linkeddata.deri.ie/
skype:richard.cyganiak
tel:+353-91-49-5711

Received on Monday, 8 February 2010 19:29:49 UTC