Skip to content

Constant-valued term maps contained rr:termType and the constant value changed from Literal to IRI after running docker container #151

@s-minoo

Description

@s-minoo

Describe the bug
Running the Docker instance to generate the data will return an incorrect CSV RML mapping document in the output dataset files.
All the rr:constant values are explicitly changed to RDF literals instead of keeping their original RDF term.
That is, if there is an rr:constant gtfs:Stop defined in the RML mapping, the docker will transform it into rr:constant "http://vocab.gtfs.org/terms#Stop"; rr:termType rr:IRI instead.

To Reproduce
Steps to reproduce the behavior:

  1. Run docker image docker run --pull always -itv "$(pwd)":/output oegdataintegration/gtfs-bench
  2. Choose CSV data format and data scale of 1
  3. See the generated RML document

Expected behavior
These rr:constant statements should not be changed at all.
In fact, the generated RML document from the docker image contains non-human readable Turtle format (i.e., a lot of anonymous IRIs generated with indirect links between different RDF statements) instead of just returning the mapping files in the mappings folder of the repo.

Screenshots or Video

Expected rr:constant:

Image

Actual rr:constant:

Image

Resources (please complete the following information):

  • OS: Linux
  • Docker: Yes
  • Data Format(s): CSV
  • Data Size: 1

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