oeg-upm / mapeathor

Translator of spreadsheet mappings into R2RML, RML or YARRRML
https://morph.oeg.fi.upm.es/tool/mapeathor
Apache License 2.0
30 stars 10 forks source link

Function as parameter generates error in RML mapping #37

Closed mnieuwland closed 2 years ago

mnieuwland commented 2 years ago

When I use the result of a function as the input parameter in another function, an incorrect RML mapping seems to be generated.

In the Function sheet: FunctionID Feature Value
\ grel:valueParameter \

Generates output.rml.ttl of the triplesMap form , that ends with:

rr:predicateObjectMap [
            rr:predicate zin:p_string_b ;
            rr:objectMap [  <#Function1> ]
        ];

The brackets that surround #Function1 lead to a RDFParseExeption in RMLMapper: Expected an RDF value here, found ']'.

When I manually delete the brackets the correct output is generated by RMLMapper.

anaigmo commented 2 years ago

Solved in v1.5.4