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

Re: Mini comment on concepts

From: Richard Cyganiak <richard@cyganiak.de>
Date: Thu, 9 Aug 2012 21:05:55 +0100
Cc: W3C RDF WG <public-rdf-wg@w3.org>
Message-Id: <027E72C0-2348-4E1C-9D00-E7319D7753FE@cyganiak.de>
To: Ivan Herman <ivan@w3.org>
Hi Ivan,

On 13 Jun 2012, at 11:22, Ivan Herman wrote:
> the current document does not say that the XMlLiteral and the HTML datatypes are optional. 

Well, technically speaking it was already there, but in a rather subtle way. I've now added a sentence to the introduction paragraph of the datatypes section [1]:

The list of datatypes supported by an implementation is determined by its datatype map.

The definition of datatype map [2] now reads in its entirety:

A datatype map is an implementation-defined set of <IRI, datatype> pairs such that no IRI appears twice in the set and the IRI denotes the datatype. It can be seen as a function from IRIs to datatypes.

If a datatype map contains the IRI http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral, then it must be paired with the datatype rdf:XMLLiteral.

If a datatype map contains the IRI http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML, then it must be paired with the datatype rdf:HTML.

If a datatype map contains an IRI of the form http://www.w3.org/2001/XMLSchema#xxx, then it must be paired with the RDF-compatible XSD type named xsd:xxx.

Specifications that conform to RDF may impose additional constraints on the datatype map, for example, require support for certain datatypes.

I think this makes clear that RDF Concepts, as such, does not require support for any datatypes.


[1] http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-concepts/index.html#section-Datatypes
[2] http://dvcs.w3.org/hg/rdf/raw-file/default/rdf-concepts/index.html#dfn-datatype-map
Received on Thursday, 9 August 2012 20:06:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:19 UTC