Does a JSON-RPC server exist for answering general Prolog queries?
问题 I saw this tutorial for writing a JSON-RPC server for SWI-Prolog. Unfortunately, all it does is add two numbers. I'm wondering if there exists a RPC server for SWI-Prolog that can define new rules and answer general Prolog queries, returning JSON lists, etc? 回答1: When you take a tour on SWI-Prolog website, proudly self-powered, you can see at work some of the features offered by http package. It's a fairly large range of tools, and to grasp the basic of the system, the easiest way it's to