The Prolog-in-Java implementation is free software, but it is Copyright (C) 1996 the Katholieke Universiteit Leuven and the Universite de Moncton. You can use it for whatever you want.