ISSUE-39 (refactor-common-props): Refactor R2RML spec to avoid duplicate definitions [R2RML]

ISSUE-39 (refactor-common-props): Refactor R2RML spec to avoid duplicate definitions [R2RML]

http://www.w3.org/2001/sw/rdb2rdf/track/issues/39

Raised by: Richard Cyganiak
On product: R2RML

Currently the R2RML spec defines many properties, such as :column, :graph, :termType, in multiple places, because they can occur in multiple contexts (subject map, predicate map, object map) and their rules and constraints vary slightly depending on context (e.g., blank nodes allowed in subject maps but not predicate maps).

The duplication makes the spec harder to read and understand (and harder to write/update!)

The spec could be refactored so that these properties are defined only once, in a section that defines “common properties for mapping a SQL result row to an RDF node” or something like that.

Then there could be short sections for subject/predicate/object maps that only state the specific constraints imposed on the common properties in that context.

Received on Tuesday, 22 March 2011 21:10:51 UTC