Skip to content

πŸ› Columns are not extracted from [ rr:graphMap [ rr:template ] ]Β #57

@sroze

Description

@sroze

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions