expose predicate as service

Josef Fydl <[email protected]> Wed, 16 Jul 2014 16:36:50 -0400
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
I have a predicate(in swill) which has the as input 2 lists and after long calculations returns the list of true and false , it is multithreaded and intended to be invoked by different programs in other languages, which are to run
on the same machine. Is restful service a overkill?  It separate the thread models of swi-prolog. If not is there ready made complete example?
Thanks Josef Frydl