W3C home > Mailing lists > Public > public-rdf-wg@w3.org > February 2013

simple literals in concrete RDF syntaxes

From: Peter Patel-Schneider <pfpschneider@gmail.com>
Date: Tue, 26 Feb 2013 11:56:49 -0800
Message-ID: <CAMpDgVyqzAfyMDsu1aWBqRhY-C+LDUjboE0LxkhwuFgkgqomSA@mail.gmail.com>
To: RDF WG <public-rdf-wg@w3.org>
Concepts currently says that simple literals are xsd:string.  Is this the
case for all RDF syntaxes, i.e., are there RDF syntaxes that allow simple
literals that mean integers or decimals or floats.

Concepts currently says that simple literals consist of a lexical form
only.  This appears to permit simple literals not to have enclosing quotes.

Wouldn't it be better to just say, that concrete RDF syntaxes may support
simple literals, which do have an explicit datatype.  The concrete syntax
must provide a mapping from simple literals to either literals or
language-tagged strings as defined in Concepts.  For example, 100 might map
to the literal with lexical form "100" and datatype xsd:integer or "100"
might map to ... or "100"@en might map to ....

peter
Received on Tuesday, 26 February 2013 19:57:16 GMT

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