Re: A way to generate PK-strings or new blank nodes

On 22 Oct 2011, at 09:00, Fabian Pijcke wrote:
> b) Allow more than one logical tables for a triples map, at the only condition that the rows are the same, and the SQL Version strings are different. We could then use the SQL Version String to create "generic" mappings with RDF Views specific to each RDBMS (So we could use the specific syntax of each RDBMS and use their power)

My previous comments on not trying to turn R2RML into a database abstraction layer still hold, but I'm not opposed to this.

The spec could say:

1. A triples map MAY have more than one logical table

2. Within a triples map, the same version identifier cannot appear on more than one logical table

3. Within a triples map, two logical tables cannot share the same set of version identifiers

4. The normative behaviour in the spec (which only considers SQL 2008 compatible DBs) is to pick the logical table with the SQL 2008 identifer, and if none such exists, then the one without any version identifier. If that doesn't exist either, then the behaviour is undefined.

5. An informative note is added that explains the intuition of the feature.

Best,
Richard

Received on Thursday, 27 October 2011 10:40:22 UTC