- From: Alexander De Leon <me@alexdeleon.name>
- Date: Wed, 4 May 2011 13:26:32 +0200
- To: RDB2RDF WG <public-rdb2rdf-wg@w3.org>
- Message-Id: <42B53F64-47B6-4D94-B0F3-52A3A8CDCEDB@alexdeleon.name>
Hello everyone, I hope this can clarify my proposal for ISSUE-18 presented at the last meeting. The proposal is based on the following two ideas: 1) Each TriplesMap is associated with exactly one relation. 2) Relations can be of two kinds: - RefereciableRelations which are those that have a name in the DB schema (i.e. tables and views); - QueryResultRealtions which are the runtime relations generated from the result of a SELECT SQL query. The following UML illustrates the relationship between the TriplesMap and the Relation.
The following R2RML demonstrate the usage of the proposed schema: <TriplesMap1> a rr:TriplesMapClass; rr:relation <MyTable>; ... <TriplesMap2> a rr:TriplesMapClass; rr:relation <GetFailStudents>; ... <TriplesMap3> a rr:TriplesMapClass; rr: relation <GetFailStudents>; ... <MyTable> a rr:ReferenciableRelationClass; rr:tableName "my_table"; rr:tableOwner "my_schema". <GetFailStudents> a rr:QueryResultRelationClass; rr:SQLQuery "SELECT id, name FROM my_schema.students WHERE grade < 50". The advantages that I see on this proposal are: - Abstraction of the relation attributes to its own semantic object. - Separation of concerns between the TriplesMaps and the Relation - Enable reuse of the relation objects by multiple TripleMaps because now every relation has its own URI. The disadvantages that I see on this proposal are: - Changes the structure of the current R2RML specification. - Introduces complexity to the R2RML language. The names of properties and classes could (or should) be changed to others that are more user-friendly and meaningful. Cheers, Alex
Attachments
- image/png attachment: ISSUE-18-proposal.png
- application/pkcs7-signature attachment: smime.p7s
Received on Wednesday, 4 May 2011 11:27:05 UTC