W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > July 2001

Re: #rdfms-xmllang

From: Brian McBride <bwm@hplb.hpl.hp.com>
Date: Wed, 11 Jul 2001 11:40:16 +0100
Message-ID: <3B4C2D10.774B238@hplb.hpl.hp.com>
To: rdf core <w3c-rdfcore-wg@w3.org>
FYI, the following can be found in section 6 of M&S:

  The xml:lang attribute may be used as defined by [XML] to associate a
  language with the property value. There is no specific data model
  representation for xml:lang (i.e., it adds no triples to the data model);
  the language of a literal is considered by RDF to be a part of the literal. 
  An application may ignore language tagging of a string. All RDF applications
  must specify whether or not language tagging in literals is significant; 
  that is, whether or not language is considered when performing string 
  matching or other processing.

at

http://lists.w3.org/Archives/Public/www-archive/2001Jun/att-0021/00-part#221

Brian

Brian McBride wrote:
> 
> The message that raises this issue suggests that xml:lang attributes are
> not represented in the model.
> 
> An interpretation of m&s is that a literal is not a simple string but is
> in fact a pair of two strings (s, l), s representing the string value of the
> literal and the l being the language encoding, e.g. the value of
> an xml:lang attribute.
> 
> With this interpretation, we would need to modify n-triple so that it
> could represent the pair, not just the literal string.  Personally,
> I've been writing:  "string"-"lang", but I'm not precious about the
> precise syntax and would be happy for one of the N3 designers to
> propose something in keep with the langauge design.
> 
> This issue is related to:
> 
>   http://www.w3.org/2000/03/rdf-tracking/#rdfms-literals-as-resources
> 
> I'll something more about that in a separate message.
> 
> Brian
Received on Wednesday, 11 July 2001 06:42:38 EDT

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