W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > February 2008

Re: A note on CURIE-s in tutorials, primers, examples...

From: Ivan Herman <ivan@w3.org>
Date: Wed, 27 Feb 2008 19:19:20 +0100
Message-ID: <47C5A9A8.30604@w3.org>
To: Shane McCarron <shane@aptest.com>
CC: W3C RDFa task force <public-rdf-in-xhtml-tf@w3.org>

Shane McCarron wrote:
> This actually raises an interesting point I was agonizing over just 
> yesterday.  Can someone explain to me *why* there is any value at all in 
> permitting a safe_curie in @resource, @about, etc?  If the only value is 
> "the resulting source file is shorter" I don't find that compelling.  I 
> understand why I want to use CURIEs to scope identifiers in @rel, @rev, 
> etc.  I get that they can be deferenced into nifty RDF magic.  But I 
> don't see that making sense for @about or @resource.  I must be missing 
> something.

Why is there a difference between @rel/@rev and @resource/@about in this 
respect? After all, we could argue that we could put a full URI into the 
@rel/@rev value, too... In all cases the value of CURIE-s is that I do 
not have to type in a full, long, and possibly complicated URI... (which 
I have to do all the time in RDF/XML, and it is quite a pain...)


> Ivan Herman wrote:
>> I have spent some time in the past few days in adding RDFa to various 
>> files, and I have realized that one of the recurring mistakes I did 
>> was the protected curie vs URI-s. Ie, if I type in, say, a @resource 
>> value, I'd put in a CURIE and I'd regularly forget to put the CURIE 
>> into a '[' and ']' pair. Fortunately, my implementation has a flag to 
>> generate warnings, and one of the warnings I added was when a value is 
>> not protected, but does not begin with the usual 'http:', 'mailto:', 
>> etc. It turned out to be very useful....
>> The reason I say all that: it is probably worth emphasizing this 
>> several times in the various documents. Of course, it is mentioned in, 
>> say, the CURIE processing session in the syntax document, but maybe 
>> more emphasis would be helpful... And we should probably draw 
>> attention on this in tutorials and other places where we present RDFa...
>> Of course, it may be only me...
>> Ivan


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

Received on Wednesday, 27 February 2008 18:19:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:55 UTC