W3C home > Mailing lists > Public > public-rdb2rdf-comments@w3.org > October 2011

DM and R2RML should use same datatype mapping

From: Richard Cyganiak <richard@cyganiak.de>
Date: Thu, 27 Oct 2011 11:27:06 +0100
Message-Id: <588F1319-CA6A-415E-A60D-274650392A90@cyganiak.de>
Cc: Eric Prud'hommeaux <eric@w3.org>
To: public-rdb2rdf-comments@w3.org
This is a Last Call comment on the Direct Mapping and R2RML specifications:

http://www.w3.org/TR/2011/WD-rdb-direct-mapping-20110324/
http://www.w3.org/TR/2011/WD-r2rml-20110920/


Both specifications define a mapping from SQL datatyped values to RDF literals.

http://www.w3.org/TR/2011/WD-rdb-direct-mapping-20110920/#defn-literal_map
http://www.w3.org/TR/2011/WD-r2rml-20110920/#datatype-conversions

The two mappings differ in various details. Given that the requirements for both mappings are the same, this places undue burden on implementers that plan to implement both the Direct Mapping and R2RML.

Therefore, both specifications should use the same mapping.

I note that the mapping in R2RML is based on the SQL-to-XML mapping in ISO/IEC 9075-14:2008, and covers more of SQL 2008 than the mapping in the DM.

I therefore propose that the mapping from the R2RML specification is used in both documents, with the DM specification using a normative reference to the R2RML spec.

Best,
Richard
Received on Thursday, 27 October 2011 10:27:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 27 October 2011 10:27:39 GMT