A deeper look into SPIN library could be of help, since it might be possible to describe the function without using the current "hasTextFunction" property.
It also seems possible to define variable types and scope.
This link can help: http://spinrdf.org/spin.html#spin-functions
A deeper look into SPIN library could be of help, since it might be possible to describe the function without using the current "hasTextFunction" property.
It also seems possible to define variable types and scope.
This link can help: http://spinrdf.org/spin.html#spin-functions