Closed sixdiamants closed 1 year ago
The specification says that only when the term type is IRI we should replace them with percent encoding:
If the term type is rr:IRI, then replace the pair of curly braces with an IRI-safe version of value; otherwise, replace the pair of curly braces with value
If you think this should also happen with blank nodes, I would raise an issue at https://github.com/kg-construct/rml-core
let my CSV be
Note the presence of spaces in PAD1, PAD2 values.
A template string
rr:template "{PAD1}_{PAD2}"
should percent-encode values like so6624AO%201102_6624AO%201103
However, when the template string is used to produce a blank node label in the object map, the template fails to percent-encode:
rr:objectMap [ rr:template "length{PAD1}_{PAD2}"; rr:termType rr:BlankNode; ]
produces_:length6624AO 1101_6624AO 1102
Here's the mapping