Ported oops.pl and sample expert system to SWI-Prolog.