Closed david-martinez-garcia closed 5 months ago
Hi @david-martinez-garcia ,
grel:string_indexOf
is not implemented in morph-kgc. Here you can check the list of built in functions.
Could you implement grel:string_indexOf
and contribute a PR?
Sure @arenas-guerrero-julian, I'll have a look at it. I also see there are other functions that are not implemented yet. The unexperienced me in the RML-FNML world thought that all these GREL functions were "there" for anybody to use them. I didn't know they must be implemented - I guess the list of functions defined in the grel.ttl
file serves as an interface.
Thanks for your help.
Thanks. Your are right, ideally all GREL functions would be implemented as built-in functions, but currently we just support a subset of them. I think that taking as reference other GREL function that are already implemented, adding new ones is simple 🙂.
Hello,
I am working on a case study where I need to do some processing to generate RDF subjects. More precisely, I have the following JSON data source:
I have to generate the subjects using the
name
element value, but I must only use the left part of it when splitting by the_
character. The expected output should be the following:I have written the following mappings file:
With Matey this works as expected, but with Morph it doesn't. I am getting these exceptions:
Do you have any idea about what might be wrong? Thanks a lot.