Re: longdesc URLs and RDFa

Leif Halvard Silli, Sun, 15 Aug 2010 13:17:10 +0200:
> Ivan Herman, Sun, 15 Aug 2010 07:38:50 +0200:
   ... snip ...
> On the other side, coming back to @cite - what kind of triple would you 
> suggest being generated from using @cite? I think, logically, there 
> should be a triple containing the fragment URI of the <q> or 
> <blockquote> element - if such a thing is possible in RDFa. 
> 
> So for example this:
> <q id='quote' cite='http://example.com/source#fragment'>Lorem ipsum.</q>
> 
> should lead to something like this - 
> http://example.com/doc#quote <cite> <http://example.com/source#fragment>
> 
> So, by analogy, I would say that use of @longdesc on an image 
> <img id='iFrag' src="i.png" alt="text" 
> longdesc='http://example.com/l.htm' />
> 
> then should lead to
> http://example.com/doc#iFrag <longdesc> <http://example.com/l.htm>
> 
> though this would also be meaningful:
> http://example.com/doc/i.png <longdesc> <http://example.com/l.htm>
  ... snip ...

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. 

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.
-- 
leif halvard silli

Received on Sunday, 15 August 2010 13:42:10 UTC