-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi there π A found a small issue with graphMap.
Example
<#AnswersTriplesMap>
# Note: we need to explicitly JOIN the assessments' table so that we can get `care_recipient_id` to
# generate the correct graph URI.
rr:logicalTable [ rr:tableName "my_table" ];
rr:subjectMap [
rr:template "https://example.com/{identifier}";
rr:graphMap [ rr:template "https://example.com/score/{customer_id}" ];
];
Expected result
The customer_id column is selected and the graph is set.
Actual result
The customer_id column is not selected and this leads to the following error:
[main] ERROR es.upm.fi.dia.oeg.morph.r2rml.rdb.engine.MorphRDBNodeGenerator - error occured when translating result: The column name V_71150_customer_id was not found in this ResultSet.
Workaround
There is one, yay! Using a predicateObjectMap to explicitly fetch customer_id make the graphMap work.
Reactions are currently unavailable