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

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

From: Frank Manola <fmanola@mitre.org>
Date: Thu, 24 Oct 2002 09:33:17 -0400
Message-ID: <3DB7F69D.6050808@mitre.org>
To: Dave Beckett <dave.beckett@bristol.ac.uk>
CC: w3c-rdfcore-wg@w3.org

Dave--

Some comments:

Dave Beckett wrote:

snip 
> 
> The N-Triples syntax for datatype values is:
> 
>   "literal"^^<datatypeURI>
> and with a language:
>   "literal"@en-us^^<datatypeURI>



Thanks for being so prompt on this.


> 
> Since I just took ages to find this, making URIs for W3C XML Schema
> Datatypes is defined here:
> 
>   [[For example, to address the int datatype, the URI is:
> 
>     * http://www.w3.org/2001/XMLSchema#int
>   ]]
>   -- http://www.w3.org/TR/xmlschema-2/#built-in-datatypes
> 
> so in RDF/XML, the namespace URI for xsd types would be
> http://www.w3.org/2001/XMLSchema#


According to section 3.1 of the XML Schema datatypes spec (i.e. XML 
Schema Part 2), the namespace name http://www.w3.org/2001/XMLSchema
is for use "within the XML Schema definition language".  The namespace 
name for use "in specifications other than the XML Schema definition 
language, such as those that do not want to know anything about aspects 
of the XML Schema definition language other than the datatypes", is 
http://www.w3.org/2001/XMLSchema-datatypes.  (?)


> SHORT FORM - for documents only, not normative
> 
>   "literal"^^qname
> and with a language:
>   "literal"@en-us^^qname
> 
> examples:
>    "10"^^xsd:int
> 
>    "blue"@en^^ex:mycolourspace
>    "bleu"@fr^^ex:mycolourspace
> 


Thanks for this too.

 
--Frank


-- 
Frank Manola                   The MITRE Corporation
202 Burlington Road, MS A345   Bedford, MA 01730-1420
mailto:fmanola@mitre.org       voice: 781-271-8147   FAX: 781-271-875
Received on Thursday, 24 October 2002 09:17:22 EDT

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