- From: Richard Cyganiak <richard@cyganiak.de>
- Date: Tue, 15 Mar 2011 15:34:14 +0000
- To: Souripriya Das <souripriya.das@oracle.com>
- Cc: public-rdb2rdf-wg@w3.org
On 15 Mar 2011, at 15:18, Souripriya Das wrote:
> You have raised a good point, but we think the capability of using class template or class column is already possible using the current constructs.
How about adding a short explanation to the rr:class section:
“Note: This property is merely a shortcut for specifying an rr:predicateObjectMap with predicate rdf:type and the class URI as rr:object. To achieve a mapping where the class URI is not constant but needs to be computed based on the contents of the database, one can explicitly define an rr:predicateObjectMap with a non-constant rr:objectMap.”
Best,
Richard
>
> For example,
> ...
> rr:classTemplate "
> http://example.com/ontology/{Type
> }"';
> ...
>
> can be replaced with
>
> rr:predicateObjectMap
> [
> rr:predicateMap [ rr:predicate rdf:type ];
> rr:objectMap [ rr:template "
> http://example.com/ontology/{Type
> }" ; rr:termType "IRI" ]
> ];
>
>
>
> Thanks,
> - Souri/Seema.
>
>
Received on Tuesday, 15 March 2011 15:34:46 UTC