- From: Ivan Herman <ivan@w3.org>
- Date: Tue, 7 Feb 2012 15:50:00 +0100
- To: W3C RDFWA WG <public-rdfa-wg@w3.org>
- Cc: Manu Sporny <msporny@digitalbazaar.com>
- Message-Id: <F7045471-88B6-43B8-9ABC-582CAB9DF713@w3.org>
Without going to the details: the same problem occurs in tests number 81 and 82, it is just the "surrounding" is more convoluted (eg, #82 has a @rel and a @rev in the same element, pretty awful, b.t.w.:-). I think for both of these the same change (ie, putting Mark's name in an enclose span with the property) is the trick. Ivan On Feb 7, 2012, at 15:17 , Ivan Herman wrote: > The test 0078 leads again to discrepancies due to the @typeof/@property behavior differences between RDFa 1.0 and RDFa 1.1; the situation is similar to the one I reported before[1] > > The test is: > > <body> > <div about ="http://www.example.org/#somebody" rel="foaf:knows"> > <p property="foaf:name">Ivan Herman</p> > <p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p> > <p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p> > </div> > </body> > > and the required SPARQL is > > ASK WHERE { > <http://www.example.org/#somebody> <http://xmlns.com/foaf/0.1/knows> > [ <http://xmlns.com/foaf/0.1/name> "Ivan Herman"; > <http://xmlns.com/foaf/0.1/mailbox> <mailto:ivan@w3.org> ], > [ <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person>; > <http://xmlns.com/foaf/0.1/name> "Mark Birbeck" ] . > > However, again due to the differences in @property/@type, the portion on Mark goes wrong, and what is generated by RDFa 1.1 is: > > http://www.example.org/#somebody> foaf:knows > [ foaf:mailbox <mailto:ivan@w3.org>; > foaf:name [ a foaf:Person ], "Ivan Herman" ] . > > To get to the same SPARQL result, the correct test would/should be: > > <body> > <div about ="http://www.example.org/#somebody" rel="foaf:knows"> > <p property="foaf:name">Ivan Herman</p> > <p rel="foaf:mailbox" resource="mailto:ivan@w3.org">mailto:ivan@w3.org</p> > <p typeof="foaf:Person"><span property="foaf:name">Mark Birbeck</span></p> > </div> > </body> > > Ivan > > [1] http://lists.w3.org/Archives/Public/public-rdfa-wg/2012Feb/0007.html > > ---- > Ivan Herman, W3C Semantic Web Activity Lead > Home: http://www.w3.org/People/Ivan/ > mobile: +31-641044153 > FOAF: http://www.ivan-herman.net/foaf.rdf > > > > > ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 FOAF: http://www.ivan-herman.net/foaf.rdf
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Tuesday, 7 February 2012 14:50:39 UTC