Question: Consider the following database that will be used to determine meals for halloween and thanksgiving with the ingredients needed for the given sides. Create facts

Consider the following database that will be used to determine meals for halloween and thanksgiving with the ingredients needed for the given sides. Create facts for the entres: entre (X, Y) where X is the occasion and Y is the entre. Create facts for the side: side(X, Y) where X is the occasion and Y is the side. Create facts for the ingredients: ingredient(X, Y) where X is the side and Y is the ingredient. Create a rule meal (X, Y) where X is the occasion and Y is the food that will be served. For example, meal (thanksgiving, X) should return turkey, bread, and pumpkinpie. Create a rule shoppinglist (X, Y) where X is the occasion and Y is the ingredient needed. For example, shoppinglist (thanksgiving, X) should return egg, flour, pumpkin, and pie. Consider the following database that will be used to determine meals for halloween and thanksgiving with the ingredients needed for the given sides. Create facts for the entres: entre (X, Y) where X is the occasion and Y is the entre. Create facts for the side: side(X, Y) where X is the occasion and Y is the side. Create facts for the ingredients: ingredient(X, Y) where X is the side and Y is the ingredient. Create a rule meal (X, Y) where X is the occasion and Y is the food that will be served. For example, meal (thanksgiving, X) should return turkey, bread, and pumpkinpie. Create a rule shoppinglist (X, Y) where X is the occasion and Y is the ingredient needed. For example, shoppinglist (thanksgiving, X) should return egg, flour, pumpkin, and pie
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
