This is the code behind Ontaria, available for installation elsewhere. So far no one else has reported trying to install it (let along succeeding).
This code runs with SWI Prolog 5.3.11+ (see links and builtins reference).
Note that .pl means prolog, not perl.
Sandro Hawke