What is the proper way to construct a JIPCons from a list of JIPTerms?
Will this work?
JIPCons cons = JIPCons.NIL;
for (JIPTerm t : terms) {
cons = JIPCons.create(cons, t);
}
Hi:
I find it easier to just construct a prolog model as a long string, and then load the string into a JIPEngine. You can then solve queries against that JIPEngine afterward. I think there are examples of this usage in the manual. Have a look there. If you do not understand what I am describing, I can give you some examples...
Cheers.
wing