W3C home > Mailing lists > Public > public-rdf-wg@w3.org > November 2012

Disimproved definition of literals in Concepts; close ISSUE-94?

From: Richard Cyganiak <richard@cyganiak.de>
Date: Tue, 6 Nov 2012 20:13:07 +0000
Message-Id: <0F752467-281D-40A8-B472-38C1C4C715AB@cyganiak.de>
Cc: Antoine Zimmermann <antoine.zimmermann@emse.fr>
To: RDF Working Group WG <public-rdf-wg@w3.org>
I've messed with the definition of literals in order to address the concern raised here:

  ISSUE-94: Definition of literals does not include language-tagged strings properly
  http://www.w3.org/2011/rdf-wg/track/issues/94

The new definition is this:

[[
A literal in an RDF graph consists of two or three elements:

 [lexical form]
 [datatype IRI]

A literal is a language-tagged string if and only if its datatype IRI is http://www.w3.org/1999/02/22-rdf-syntax-ns#langString, and only in this case the third element is present:

 [language tag]
]]
http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-concepts/index.html#dfn-literal


For the record, this was the old (equivalent) definition:


[[
A literal in an RDF graph consists of:

 [lexical form]
 [datatype IRI]

A language-tagged string is any literal whose datatype IRI is equal to http://www.w3.org/1999/02/22-rdf-syntax-ns#langString. In addition tolexical form and datatype IRI, a language-tagged string also has:

 [language tag]
]]


PROPOSAL: Close ISSUE-94 as addressed in the latest version of http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-concepts/index.html#dfn-literal
Received on Tuesday, 6 November 2012 20:13:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:52 GMT