Skip to content

[RMLTC0019b-JSON] Expected output should be the same as RMLTC0019a-JSON #214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
s-minoo opened this issue Apr 24, 2025 · 0 comments · May be fixed by #215
Open

[RMLTC0019b-JSON] Expected output should be the same as RMLTC0019a-JSON #214

s-minoo opened this issue Apr 24, 2025 · 0 comments · May be fixed by #215
Assignees
Labels
bug Something isn't working

Comments

@s-minoo
Copy link

s-minoo commented Apr 24, 2025

Problem

Currently, the test case's expected output is an empty dataset even though the mapping document is
the same as the one used in RMLTC0019a-JSON.

The only difference is the addition of the following JSON record in the input data file:

{
      "ID": 30,
      "FirstName": "Juan Daniel",
      "LastName": "Crespo"
}

which results in an error when generating the subject IRI since the subject map is using rml:reference for the
reference expression $.FirstName without any IRI validations.

This error doesn't happen with the other two JSON records (the same input as the test case RMLTC0019a-JSON) :

{
      "ID": 10,
      "FirstName": "http://example.com/ns#Jhon",
      "LastName": "Smith"
    
},
{
      "ID": 20,
      "FirstName": "Carlos",
      "LastName": "Mendoza"
 },

Thus, the expected output should be the same as those of RMLTC0019a-JSON:

<http://example.com/ns#Jhon> <http://xmlns.com/foaf/0.1/name> "http://example.com/ns#Jhon" .
<http://example.com/base/Carlos> <http://xmlns.com/foaf/0.1/name> "Carlos" .
@dachafra dachafra added the bug Something isn't working label Apr 24, 2025
@TheRazorace TheRazorace linked a pull request Apr 25, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants