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

Re: New version of @profile and @vocab

From: Ivan Herman <ivan@w3.org>
Date: Fri, 26 Mar 2010 10:09:51 -0400
Message-ID: <4BACC02F.2060800@w3.org>
To: Toby Inkster <tai@g5n.co.uk>
CC: W3C RDFa WG <public-rdfa-wg@w3.org>
Ok. I am a little bit agnostic about this for the moment. I can see its
usefulness, but I do not have a strong feelings neither pro or con...

Ivan

PS. The current document has to be modified in the description of the
processing steps, too, because it does rely on having one value per
keyword. This is just to remind myself and the reader:-)



On 2010-3-26 09:41 , Toby Inkster wrote:
> On Fri, 2010-03-26 at 05:51 -0400, Ivan Herman wrote:
>> That I do not understand. Do you mean that the same keyword would
>> automatically generate several URI-s, ie, would generate several
>> triples? This is certainly not the way I envisaged that... 
> 
> Precisely. 
> 
> It's not the way I'd envisaged it either, but if we do end up with
> @profile as an RDFa 1.1 feature, it doesn't seem too difficult to
> implement keywords so that they can expand to multiple URIs.
> 
> I can even imagine something like:
> 
> 	@prefix iana:    <http://www.iana.org/assignments/relation/> .
> 	@prefix rdfa:    <http://www.w3.org/ns/rdfa#> .
> 	@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
> 	@prefix xhv:     <http://www.w3.org/1999/xhtml/vocab#> .
> 	[
> 		a rdfa:KeywordMapping ;
> 		rdfa:keyword "nextdoc" ;
> 		rdfa:uri xhv:next, iana:next, rdfs:seeAlso ;
> 		rdfa:reverse_uri xhv:prev , iana:prev , rdfs:seeAlso
> 	] .
> 
> So that this:
> 
> 	<a about="doc1" rel="nextdoc" href="doc2">next</a>
> 
> Would generate:
> 
> 	@prefix iana:    <http://www.iana.org/assignments/relation/> .
> 	@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
> 	@prefix xhv:     <http://www.w3.org/1999/xhtml/vocab#> .
> 	<doc1> iana:next <doc2> ;
> 		xhv:next <doc2> ;
> 		rdfs:seeAlso <doc2> .
> 	<doc2> iana:prev <doc1> ;
> 		xhv:prev <doc1> ;
> 		rdfs:seeAlso <doc1> .
> 

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF   : http://www.ivan-herman.net/foaf.rdf
vCard  : http://www.ivan-herman.net/HermanIvan.vcf



Received on Friday, 26 March 2010 14:08:39 GMT

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