Calling Prolog from Java is done by using the Java package
se.sics.jasper
. This package contains a set of Java classes,
which can be used to create and manipulate terms, ask
queries and request one or more solutions. The functionality
provided by this set of classes is basically the same as the
functionality provided by the C-Prolog interface (see Mixing C and Prolog).