Hi, I have been struggle with how to make custom SHACL functions and use it in my SPARQL queries.
I have an application based on Jena. I can write custom functions that extend FunctionBaseXXX and register the functions and then execute the functions successfully as described here
I am new to SHACL but if I understand it correctly, I can also write function in SHACL and TopBraid API can make it available in my SPARQL queries as well?
What steps do I have to do to achieve this? At a high level, I think I have to do the following
1. Define SHACL functions as triples
2. Import these triples into my Jena dataset ????
3. Somehow register these SHACL functions with FunctionRegistry ?? how do I do that with TopBraid SHACL API ??
The thing that I can't figure out is how to make Jena aware that I have such SHACL functions and where should I store those functions?
Thank you
Best Regards