Expert System For this assignment, you will use what you learned from chapters 7, 8, and 9 to build an expert system. To construct the expert system, you will create a knowledge base using Prolog....

1 answer below »
need to be done in Prolog LAnguge


Expert System For this assignment, you will use what you learned from chapters 7, 8, and 9 to build an expert system. To construct the expert system, you will create a knowledge base using Prolog. Your expert system requires a knowledge base in the range of 30 to 40 some odd rules and facts. Some ideas:   · Diagnosing medical conditions  · Diagnosing computer problems  · Your family genealogy · Playing a game · Diagnosing what types of car maintenance needs to be done · A system to help you navigate public transit. Identify some expert you can refer to (example, WebMD).   Provide evidence your system works.  A listing of test cases trying to solve different problems would be sufficient. Upon submission, provide a listing of your rules and a summary documenting your system.  Include the source code for your system. The extra documentation required could be provided as comments in your source code or in a separate word document. Your submission should demonstrate your understanding of expert systems, but I don't expect you to take a month on it (the semester is almost over).   Hints: · I've provided several resources to help you out with this assignment (see above). · I suspect the Prolog Step-By-Step tutorial and the TutorialsPoint Expert Systems tutorial will be all you need to get this assignment done (along with the logic learned in CH07, CH08, CH09) and each are pretty short.  · You can be your own expert, maybe even make up your own game or rules for a game. · Check out the video I did and the sample expert system I posted. · Hopefully, this will be a really easy assignment.  Don't be surprised if it is! Submission Instructions: · Submit your program in a single, plain-text source file. · Do not attach any screenshots. · Do not archive your submission (no ZIP, TAR, etc).  · Include a brief summary of how your program is built (as above). · If you do not follow these submission instructions, you will lose points.
Answered Same DayMay 02, 2021

Answer To: Expert System For this assignment, you will use what you learned from chapters 7, 8, and 9 to build...

Arun Shankar answered on May 09 2021
144 Votes
There are two parts to the assignment :- (i) writing down the facts, and (ii) writing down the rules. The facts are just information about who are the males in the family, who are the females, and who are whose parents. The rules are then used to answer questions about other relations. The rules and their reasonings are given below :-
father(X,Y):- male(X), parent(X,Y).
X is the father of Y if X is a male, and there is a fact that says X is Y’s parent

mother(X,Y):- female(X), parent(X,Y).
X is the mother of Y if X is a female, and there is a fact that says X is Y’s parent

grandfather(X,Y):- male(X), parent(X,Z), parent(Z,Y).
X is the grandfather of Y if X is a male, and there is some Z who is the parent of Y and whose parent is X

grandmother(X,Y):-...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here