2 Using the API
: Setting up the VM to run
: Constructing questions to ask
You may also find the demo programs in gnu.prolog.demo which are distributed with the docs useful in showing the use of the API. The basic usage is quite simple if you are already familiar with both Prolog and Java.