Skip to content
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

v1.3.6+ URL encoding breaks with GREL functions #183

Open
vaishalir18 opened this issue Nov 22, 2022 · 1 comment
Open

v1.3.6+ URL encoding breaks with GREL functions #183

vaishalir18 opened this issue Nov 22, 2022 · 1 comment

Comments

@vaishalir18
Copy link

Issue type: 🐛 Bug

Description

In versions 1.3.6+, certain iris are corrupted as GREL lowercasing removes URL encoding of subjects. The rml file generated with version 1.3.5 appears unaffected by this bug. It appears a bug was introduced in v1.3.6 onwards.

Steps

  1. Generate a rml file using yarrrml-parser for versions 1.4.0
  2. Generate a rml file using yarrrml-parser for version 1.3.5

The respective rml turtle files and yml file needed for the parser have all been attached in the zip file within this report.

The diff in the mapping is as follows:

 $ diff mapping1.3.5.ttl mapping1.4.0.ttl
59,60c59,60
<     rml:parentTermMap :ptm_000.
< :ptm_000 rr:template "http://www.example.com/canonical/skill_{Skill-Canonical}".
>     rr:template "http://www.example.com/canonical/skill_{Skill-Canonical}";
>     rr:termType rr:Literal.
97,98c97,98
<     rml:parentTermMap :ptm_001.
< :ptm_001 rr:template "http://www.example.com/skill_{Skill-AssetMetadata}".
>     rr:template "http://www.example.com/skill_{Skill-AssetMetadata}";
>     rr:termType rr:Literal. 

Environment

Java version: openjdk version "11.0.11"
System OS: macOS Monterey Version 12.5

yarrrml-Parser.zip

@henrieglesorotos
Copy link

This bug appears to be similar to this - #151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants