first time here. I was hoping someone could help me create custom SPARQL functions for use in the Jena API (ARQ). I need SPARQL to do some aggregation, and I know that it already implements avg, count, min, max and sum, but I also need to be able to standard deviation and median (I also need a range, but this can only be using min and max).
I was hoping the query might be similar to what you use for already implemented functions:
PREFIX example: <http://www.examples.com/functions
I donโt know if this is possible or not, but if I need to use it, like other user-defined functions, it will also be good if it still gets the standard deviation of the results.
All I know is that the functions will be written in Java, which I already know pretty well. So I was wondering if anyone knew of a good way to do this or where to start looking for some advice. I tried looking for documentation on it, but there seems to be nothing. Any help would be greatly appreciated.
Thanks in advance.
source share