ISSUE-56 (template-termtype): Default termType for template-valued term maps should be IRI [R2RML]

ISSUE-56 (template-termtype): Default termType for template-valued term maps should be IRI [R2RML]

http://www.w3.org/2001/sw/rdb2rdf/track/issues/56

Raised by: Richard Cyganiak
On product: R2RML

Currently, this will produce literals, because object maps default to creating literals:

rr:objectMap [ rr:template "company/{COMP_ID}" ];

So you'd have to say this to make it work as desired:

rr:objectMap [ rr:template "company/{COMP_ID}"; rr:termType "IRI" ];

The main use of templates is to create IRIs. The same template used in a subject map or graph map would already produce an IRI. So it seems reasonable and useful to have it always create IRIs per default, even if used as an object map.

Received on Monday, 18 July 2011 17:59:06 UTC