Prolog - Rules are correct, but not outputting the way it's supposed to?
问题 Clue Four guests (Colonel Mustard, Professor Plum, Miss Scarlett, Ms. Green) attend a dinner party at the home of Mr. Boddy. Suddenly, the lights go out! When they come back, Mr Boddy lies dead in the middle of the table. Everyone is a suspect. Upon further examination, the following facts come to light: Mr Boddy was having an affair with Ms. Green. Professor Plum is married to Ms. Green. Mr. Boddy was very rich. Colonel Mustard is very greedy. Miss Scarlett was also having an affair with Mr.