Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 Consider the following database that will be used to determine meals for halloween and thanksgiving with the ingredients needed for the given sides. [15

image text in transcribed

2 Consider the following database that will be used to determine meals for halloween and thanksgiving with the ingredients needed for the given sides. [15 points] halloween thanksgiving entre: chocolate entre: turkey sides sides candy bread egg Sugar foodcoloring flour soda pumpkin pie pumpkin water syrup pie 2.1 Create facts for the entres: entreox, where X is the occasion and Y is the entre. Create facts for the side: side 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. 2.2 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. [5] 2.3 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.[5]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Successful Keyword Searching Initiating Research On Popular Topics Using Electronic Databases

Authors: Randall MacDonald, Susan MacDonald

1st Edition

0313306761, 978-0313306761

More Books

Students also viewed these Databases questions

Question

5. Successful recruitment.

Answered: 1 week ago