- From: Alexandre Bertails <bertails@w3.org>
- Date: Wed, 04 May 2011 10:06:35 -0400
- To: Ivan Herman <ivan@w3.org>
- Cc: Souripriya Das <SOURIPRIYA.DAS@oracle.com>, public-rdb2rdf-wg@w3.org
On Wed, 2011-05-04 at 15:55 +0200, Ivan Herman wrote: > On May 4, 2011, at 15:34 , Souripriya Das wrote: > > > I too like Alexander's proposal. Abstracting the details of, what we call a rowsource, away from TriplesMap seems nice. > > > > Maybe we need to change the names a bit. Specifically, while "relation" is a well-understood term in relational algebra, its use causes some confusion with relationship (or predicates) in RDF. > > Being the archetype of an RDF savy person who has no experience/knowledge in relational algebra, I fully agree:-) It took me a while to understand the proposal due to this misunderstanding! Actually, this is consistent with a resolution we made several months ago, where we decided not to use "relational algebra" vocabulary but use words like table, column and row instead. (and I'm too lazy to find the reference now) Alexandre. > > Ivan > > > > > > > So, instead of "relation", we could use "rowSource" as the theme term. For example, instead of rr:relation we could use rr:rowSource as the property name whose value identifies the source for the rows that a TriplesMap is trying to map to RDF triples. > > > > Using this new naming in Alex's example: > > > > <TriplesMap1> > > a rr:TriplesMapClass; > > rr:rowSource<MyTable>; > > ... > > > > <TriplesMap2> > > a rr:TriplesMapClass; > > rr:rowSource<GetFailStudents>; > > ... > > > > <TriplesMap3> > > a rr:TriplesMapClass; > > rr: rowSource<GetFailStudents>; > > ... > > > > <MyTable> > > a rr:ReferencableRowSourceClass; > > rr:tableName "my_table"; > > rr:tableOwner "my_schema". > > > > <GetFailStudents> > > a rr:QueryResultRowSourceClass; > > rr:SQLQuery "SELECT id, name FROM my_schema.students WHERE grade< 50". > > > > Thanks, > > - Souri. > > > > > > > > > ---- > Ivan Herman, W3C Semantic Web Activity Lead > Home: http://www.w3.org/People/Ivan/ > mobile: +31-641044153 > PGP Key: http://www.ivan-herman.net/pgpkey.html > FOAF: http://www.ivan-herman.net/foaf.rdf > > > > > > >
Received on Wednesday, 4 May 2011 14:06:42 UTC