Your assignment should be typed using 12 point Times New Roman font and 1.5 line spacing.
The clarity of writing presentation.
Follow ASSIGNMENT RUBRIC that is require & follow the CRITERIA need
Proper format (Cover Page, Table of Content, page numbering, APA format references, etc.)
Assignment should be between 2500 to 3000 words excluding references. The number of words should be shown at the end of your assignment.
TITLE : KNOWLEDGE MODELING AND REPRESENTATION
Your assignment should be typed using 12 point Times New Roman font and 1.5 line spacing.
The clarity of writing presentation.
Follow ASSIGNMENT RUBRIC that is require & follow the CRITERIA need
Proper format (Cover Page, Table of Content, page numbering, APA format references, etc.)
Assignment should be between 2500 to 3000 words excluding references. The number of words should be shown at the end of your assignment.
QUESTION
Prolog offers the capabilities of encoding facts about the world and deducing the consequences of these facts through an automated inference engine. In this assignment, we will take advantage of these capabilities to build a simple system that will consider a database of âHouse Of Cupcakesâ that sell varieties of cupcakes in different outlets. The database consists of facts as below.
Facts that encode the price of different ingredients.
cost(flour, 2.00) .
cost(sugar, 2.50) .
cost(baking_powder,1.20) .
cost(butter,4.40) .
cost(almond_whole, 7.50) .
cost(vanilla_extract, 1.90) .
cost(blueberry_emulco, 2.00) .
cost(cocoa_powder, 6.10) .
cost(peanut_butter, 7.00) .
cost(cream_cheese, 39.00) .
cost(orea_cookie,10.90) .
Facts that list type of cupcakes and for each cupcake, a list of main ingredients will be encoded.
ingredients(blueberry_cupcake[flour, sugar, baking_powder, butter, blueberry_emulco]) .
ingredients(vanilla_cupcake[flour, sugar, baking_powder, vanilla_extract]) .
ingredients(oreochocolate_cupcake[flour, sugar, baking_powder, vanilla_extract, orea_cookie, cocoa_powder]) .
ingredients(yummy_cupcake[flour, sugar, baking_powder, butter, almond_whole, coca_powder, oreo_cookie]) .
ingredients(cheese_cupcake[cream_cheese, sugar, vanilla]) .
ingredients(peanutbutter_cupcake[flour, sugar, baking_powder, butter, almond_whole, peanut_butter]) .
Facts that…





