an artificial intelligence inference engine written in php using a knowledge based inference engine paradigm