Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

RMLTC0002i & RMLTC0002j: columns that are not SELECTed are used in term maps #39

Description

For example in 2i, the source is defined with rml:query "SELECT Name FROM student";, selecting only column Name. Then in a term map, the column ID is also used: rr:template "http://example.com/{ID}/{Name}";, which throws an error.

This is not the goal of the respective test cases however, which test for missing SQL version identifiers and the use of qualified column names.

(I think this slipped under the radar because missing SQL version identifiers were not properly implemented in the mapper, see here and here.)

I propose to simplify the mappings in these test cases so they only test what is in their descriptions (SQL version identifiers/qualified column names), but use column names which are SELECTed. SELECTing column names is already partially covered by test cases 2g and 2h.

This leads to an error in the test case report generator, see https://github.com/kg-construct/rml-test-cases-support/issues/9

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions