W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > October 2002

Re: N-Triples changes for datatype values, (possible) N3 alignment

From: Patrick Stickler <patrick.stickler@nokia.com>
Date: Fri, 25 Oct 2002 10:41:10 +0300
Message-ID: <007301c27bf9$e2df3fb0$6a80720a@NOE.Nokia.com>
To: "Patrick Stickler" <patrick.stickler@nokia.com>, "ext Dave Beckett" <dave.beckett@bristol.ac.uk>
Cc: "w3c-rdfcore-wg" <w3c-rdfcore-wg@w3.org>



[Patrick Stickler, Nokia/Finland, (+358 40) 801 9690, patrick.stickler@nokia.com]

> Again, KISS would say to leave them out. They are unnecessary.

I see now that in the case of using qnames rather than URIs,
as a nod to N3 as well as for the convenience of examples,
having at least one delimiter is necessary if both lang and
datatype are to follow the lexical form. Though still following
KISS, the following appears to be sufficient to handle all
variations/combinations without supporting/suggesting any
shorthand interpretation of a ^^ delimiter:

   "foo"
   "foo"@en
   "foo"@en-UK
   "foo"xsd:string
   "foo"xsd:string@en
   "foo"xsd:string@en-UK
   "foo"<http://www.w3.org/2001/XMLSchema#string>
   "foo"<http://www.w3.org/2001/XMLSchema#string>@en
   "foo"<http://www.w3.org/2001/XMLSchema#string>@en-UK

   XML"<h1>foo</h1>"
   XML"<h1>foo</h1>"@en
   XML"<h1>foo</h1>"@en-UK
   XML"<h1>foo</h1>"xhtml:h1
   XML"<h1>foo</h1>"xhtml:h1@en
   XML"<h1>foo</h1>"xhtml:h1@en-UK
   XML"<h1>foo</h1>"<http://www.w3.org/1999/xhtml#h1>
   XML"<h1>foo</h1>"<http://www.w3.org/1999/xhtml#h1>@en
   XML"<h1>foo</h1>"<http://www.w3.org/1999/xhtml#h1>@en-UK

Patrick
Received on Friday, 25 October 2002 03:41:12 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:52:30 EDT