Hi,
I am trying to connect a oracle DB as virtual graph to stardog.
There is only a simple table with two columns (ID and PART), both containing directly http IRIs as VARCHAR.
So I am using the following R2RML mapping:
@prefix rr: <http://www.w3.org/ns/r2rml#>.
@prefix ex: <http://example.org/example#>.
<#TriplesMap1>
rr:logicalTable [ rr:tableName "TABLE" ] ;
rr:subjectMap [
rr:termType rr:IRI;
rr:column "ID"
];
rr:predicateObjectMap [
rr:predicate ex:isPartOf ;
rr:objectMap [
rr:termType rr:IRI; ;
rr:column "PART" ];
].
However, when trying to register the graph I get the following error:
$ bin/stardog-admin virtual add oracle.properties oracle.ttl --format R2RML
it.unibz.inf.ontop.model.impl.VariableImpl cannot be cast to it.unibz.inf.ontop.model.ValueConstant
Am I doing something wrong with the R2RML?
(if I use rr:template without rr:termType everything works fine, except of course the IRI are encoded. So I do not assume that there is an issue with the JDBC drivers.)
Any help to what is going on would be much appreciated :-)