- From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Date: Sun, 15 Aug 2010 18:50:41 +0200
- To: Mark Birbeck <mark.birbeck@webbackplane.com>
- Cc: Ivan Herman <ivan@w3.org>, Shane McCarron <shane@aptest.com>, public-rdfa-wg@w3.org
Hi Mark, Mark Birbeck, Sun, 15 Aug 2010 15:35:17 +0100: >> The RDFa syntax spec has a blockquote example, >> http://www.w3.org/MarkUp/2010/ED-rdfa-syntax-20100113/#sec_6.3.2.1. [...] >> <blockquote id="q1" cite="urn:ISBN:0140449132" > >> should generate the same triples. > > There's nothing wrong with @cite generating a predicate, and indeed > this featured in some of the early RDFa work. (It was dropped more > because of time constraints than anything to do with the feature > itself.) Good. Ivan asked for clear use cases. > However, @id does not automatically generate a URI, and there are good > reasons for not doing so. In other words, these two sets of markup > will both genereate the same triples, with <#q1> as the subject: > > <blockquote id="q1" about="#q1" rel="cite" resource="urn:ISBN:0140449132"> > <blockquote about="#q1" rel="cite" resource="urn:ISBN:0140449132"> > > I.e., the @id is irrelevant. OK. So the @about points to the @id - wherever it is. (Had I tested that example as written, then I would of course have seen that it did not work ...) There might still be errors in the example, but please then assume that I meant that the following blockquotes should lead to the same triples: <blockquote id="q1" about="#q1" rel="cite" resource="urn:ISBN:0140449132"/> <blockquote id="q1" about="#q1" cite="urn:ISBN:0140449132" /> Btw, I think the blockquote example in the draft doesn't make sense - from an HTML point of view. I would expect the entire <blockquote> element to constitute the quote, whereas in the example, then only the <p> element is linked to the ISBN resource. What if the example in the draft contained more than one paragraphs? Then only the first paragraph would stemming from ISBN 0140449132. I hope this rewrite of the example shows the problem: <blockquote about="#q1" rel="dc:source" resource="urn:ISBN:0140449132" > <p id="q1">Rodion Romanovitch! My dear friend! </p> <p>If you go on in this way you will go mad, </p> <p>I am positive! Drink, pray, if only a few drops!</p> </blockquote> I think the example in the spec is meant to demonstrate how @about and @id relate to each other. However, I think you evetnually should find another way to demonstrate that relationship. > Similarly, both of these have bnodes for their subjects: > > <blockquote id="q1" rel="cite" resource="urn:ISBN:0140449132"> > <blockquote rel="cite" resource="urn:ISBN:0140449132"> > > Once again, the @id is irrelevant. OK. >> So, perhaps one of the first things that should be done would be to add >> @longdesc to the XHTML vocab profile so that one do the same for >> @longdesc. > > I'll leave that discussion to another thread -- I just wanted to > quickly clarify the situation with relation to @id. OK. Thanks. Whichever thread you want. :-) -- leif halvard silli
Received on Sunday, 15 August 2010 16:51:17 UTC