W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > August 2010

Re: longdesc URLs and RDFa

From: Mark Birbeck <mark.birbeck@webbackplane.com>
Date: Sun, 15 Aug 2010 15:35:17 +0100
Message-ID: <AANLkTinwmdYiE-MbizS7br=bJd1uLn4Y=cLTnWP=Kwz=@mail.gmail.com>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Cc: Ivan Herman <ivan@w3.org>, Shane McCarron <shane@aptest.com>, public-rdfa-wg@w3.org
Hi Leif,

> [...]
> The RDFa syntax spec has a blockquote example,
> http://www.w3.org/MarkUp/2010/ED-rdfa-syntax-20100113/#sec_6.3.2.1.
>
> If we rewrite it a little, it looks like this:
> <blockquote id="q1" about="#q1" rel="cite"
> resource="urn:ISBN:0140449132" >
>
> and generates
> doc#q1 <http://www.w3.org/1999/xhtml/vocab#cite> <urn:ISBN:0140449132>
>
> And I think that this:
> <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.)

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.

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.


> 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.

Regards,

Mark

--
Mark Birbeck, webBackplane

mark.birbeck@webBackplane.com

http://webBackplane.com/mark-birbeck

webBackplane is a trading name of Backplane Ltd. (company number
05972288, registered office: 2nd Floor, 69/85 Tabernacle Street,
London, EC2A 4RR)
Received on Sunday, 15 August 2010 14:36:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:07 GMT