On 06/06/13 04:05, Bai Wei wrote:
Hi,
I want to design a mechanism using Jena rules and I need to define a
general function just like in Java. I have read a paper [1], which is
written in 2004, it mentioned the design of "Recursive
datastructures/general function symbols" in rule language.
My question is:
Can I define a general function in jena rules?
The rule language is probably Turing-complete but not in a helpful way.
There is no support for recursive data structures for example.
The easy way to get a general function is to write it in Java and
register it as a builtin.
Dave