ISSUE-60: Syntactic sugar for the simple case of logical tables

simpler-logical-tables

Syntactic sugar for the simple case of logical tables

State:
CLOSED
Product:
R2RML
Raised by:
Richard Cyganiak
Opened on:
2011-07-29
Description:
Currently, a triples map and its logical table are two separate resources, linked by the rr:logicalTable property. This is good because it allows re-use of logical tables in multiple triples maps.

However, such re-use is not always needed, and in the interest of “making simple things simple and hard things possible” there should be some syntactic sugar for this case. I proposed this in [1] and Juan seconded in [2].

The idea would be: If a triples map does not have the required rr:logicalTable property, then *itself* MUST be a resource that fulfils the requirements for a logical table. So the current R2RML mapping:

<#TriplesMap1>
rr:logicalTable [
tableName "EMP";
];
rr:subjectMap [ ... ];
rr:predicateObjectMap [ ... ], [ ... ], [ ... ].

could then be written as:

<#TriplesMap1>
rr:tableName "EMP";
rr:subjectMap [ ... ];
rr:predicateObjectMap [ ... ], [ ... ], [ ... ].

This would be a simple change in the spec.

[1]: http://lists.w3.org/Archives/Public/public-rdb2rdf-wg/2011Jul/0169.html
[2]: http://lists.w3.org/Archives/Public/public-rdb2rdf-wg/2011Jul/0170.html
Related Actions Items:
No related actions
Related emails:
  1. Re: Please review: syntactic sugar and polishing (ISSUE-54, ISSUE-56, ISSUE-59, ISSUE-60) (from dmcneil@revelytix.com on 2011-08-30)
  2. Re: Please review: syntactic sugar and polishing (ISSUE-54, ISSUE-56, ISSUE-59, ISSUE-60) (from richard@cyganiak.de on 2011-08-30)
  3. Re: Please review: syntactic sugar and polishing (ISSUE-54, ISSUE-56, ISSUE-59, ISSUE-60) (from boris.villazon@deri.org on 2011-08-30)
  4. Re: Please review: syntactic sugar and polishing (ISSUE-54, ISSUE-56, ISSUE-59, ISSUE-60) (from dmcneil@revelytix.com on 2011-08-30)
  5. Re: Please review: syntactic sugar and polishing (ISSUE-54, ISSUE-56, ISSUE-59, ISSUE-60) (from dmcneil@revelytix.com on 2011-08-29)
  6. Re: Please review: syntactic sugar and polishing (ISSUE-54, ISSUE-56, ISSUE-59, ISSUE-60) (from richard@cyganiak.de on 2011-08-29)
  7. Re: Please review: syntactic sugar and polishing (ISSUE-54, ISSUE-56, ISSUE-59, ISSUE-60) (from dmcneil@revelytix.com on 2011-08-29)
  8. Please review: syntactic sugar and polishing (ISSUE-54, ISSUE-56, ISSUE-59, ISSUE-60) (from richard@cyganiak.de on 2011-08-27)
  9. Re: Status of the R2RML document and going last call (from michael.hausenblas@deri.org on 2011-08-02)
  10. Status of the R2RML document and going last call (from richard@cyganiak.de on 2011-08-02)
  11. Re: RDB2RDF WG agenda for 2011-08-02 meeting 1600 UTC (from marcelo.arenas1@gmail.com on 2011-08-02)
  12. Re: RDB2RDF WG agenda for 2011-08-02 meeting 1600 UTC (from ashok.malhotra@oracle.com on 2011-08-02)
  13. RDB2RDF WG agenda for 2011-08-02 meeting 1600 UTC (from michael.hausenblas@deri.org on 2011-07-30)
  14. Re: Many-to-Many table in R2RML (from juanfederico@gmail.com on 2011-07-29)
  15. Re: Many-to-Many table in R2RML (from richard@cyganiak.de on 2011-07-29)
  16. ISSUE-60 (simpler-logical-tables): Syntactic sugar for the simple case of logical tables [R2RML] (from sysbot+tracker@w3.org on 2011-07-29)

Related notes:

Done:
http://www.w3.org/2001/sw/rdb2rdf/r2rml/#dfn-triples-map
http://www.w3.org/2001/sw/rdb2rdf/r2rml/#example-m2m

Richard Cyganiak, 27 Aug 2011, 15:42:40

As per WG decision [1]:

[[
RESOLUTION: Close ISSUES 54, 56, 60; they are addressed in the latest draft.
]]

[1] http://www.w3.org/2011/09/06-RDB2RDF-minutes.html#item02

Michael Hausenblas, 6 Sep 2011, 17:25:53

Display change log ATOM feed


Ashok Malhotra <ashok.malhotra@oracle.com>, Michael Hausenblas <michael.hausenblas@deri.org>, Chairs, Eric Prud'hommeaux <eric@w3.org>, Ivan Herman <ivan@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 60.html,v 1.1 2012/10/16 16:28:39 vivien Exp $