'How to replace whitespaces in RML mapping?
I'm trying to use replacechars for RML mapping within a certain column of a CSV dataframe, but it doesn't work. Here is my function:
<#ReplaceChars-Function>
fnml:functionValue [
rr:predicateObjectMap [
rr:predicate fno:executes ;
rr:objectMap [ rr:constant grel:string_replaceChars ]
];
rr:predicateObjectMap [
rr:predicate grel:p_string_find ;
rr:objectMap [ rml:constant " " ]
];
rr:predicateObjectMap [
rr:predicate grel:p_string_replace ;
rr:objectMap [ rml:constant "-" ]
];
];
rr:termType rr:IRI.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
