I am trying to solve this prolog puzzle and I am now stuck. I have tried writing different rules and solutions but it is not printing the solution. I am new to this language so any help would be greatly appreciated. I included what I have so far below. This is the puzzle... A group of friends attends a cooking class! Based on the facts below, determine the full name of each person, their favorite seasonings and the favorite recipe each made with that seasoning.
- The one who loved paprika made delicious vegetable lasagna, but it wasn't Arthur.
- Stan, whose last name wasn't Night, didn't cook with spearmint.
- Mr. Bradley loved cooking with cinnamon.
- Jake, whose last name wasn't Manor, loved to cook with basil but his favorite recipe wasn't grilled swordfish.
- Paul made hobo potatoes but not using spearmint. Arthur's last name wasn't Night.
- Frank Jones didn't make grilled swordfish.
- Stan, whose last name wasn't Manor, made an awesome slow roasted pork loin but not using sage.
- Mr. Summer, whose first name wasn't Arthur, made a great seasoned chicken but not using sage.
This is what I have so far...
name[authur] name[frank] name[jake] name[paul] name[stan] lname[bradley]. lname[jones]. lname[manor]. lname[night]. lname[summer]. snack[swordfish] snack[potato] snack[roast pork] snack[chicken] snack[lasagna] seasoning[basil]. seasoning[cinnamon]. seasoning[paprika]. seasoning[sage]. seasoning[spearmint]. And here is a picture of the puzzle and I appreciate any help. Thank you.
