- From: David McNeil <dmcneil@revelytix.com>
- Date: Tue, 10 May 2011 14:46:40 -0500
- To: Richard Cyganiak <richard@cyganiak.de>
- Cc: RDB2RDF WG <public-rdb2rdf-wg@w3.org>
Received on Tuesday, 10 May 2011 19:47:08 UTC
> However, we still have to handle the case where the join is across multiple
> columns. I propose to do it by using RDF lists, like this:
>
> [] rr:parentTriplesMap <#TriplesMap1>;
> rr:joinChild ("col1","col2");
> rr:joinParent ("col1","col2");
>
>
How about:
[] rr:parentTriplesMap <#TriplesMap1>;
rr:joinCondition [ rr:child "col1";
rr:parent "col1" ];
rr:joinCondition [ rr:child "col2";
rr:parent "col2" ];
Slightly more verbose, but it keeps the two columns that are being checked
closer to each other (i.e. the child column is more explicitly paired up
with its parent column). Also, it seems like lists end up causing pain in
RDF.
-David
Received on Tuesday, 10 May 2011 19:47:08 UTC