prolog assignment and infodatamgmt study guide