Skip to content

RML conditional mapping using custom functions. #56

Answered by bjdmeest
nayomirana asked this question in Q&A
Discussion options

You must be logged in to vote

The issue is actually that, when you load your custom functions (using the -f directive in the RMLMapper CLI), the original GREL functions are no longer loaded (to make sure no conflicts arise). So if you add your own function and also want to load the grel functions, make sure to also add the references to the grel functions (available at https://github.com/RMLio/rmlmapper-java/blob/72c6a636d7f7bd9e09dc0028f2ccb7b26b76c32e/src/main/resources/functions_grel.ttl and https://github.com/FnOio/grel-functions-java/blob/master/src/main/resources/grel_java_mapping.ttl). Typing this, I have the feeling it makes more sense to keep them loaded by default. I made an issue at RMLio/rmlmapper-java#244

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nayomirana
Comment options

Answer selected by dachafra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants