1. Homepage
  2. Exam
  3. [2021] COMPSCI 367 Artificial Intelligence - Final Exam - Question 15 Prolog Program

[2021] COMPSCI 367 Artificial Intelligence - Final Exam - Question 15 Prolog Program

This question has been solved
Engage in a Conversation

15 The following Answer Set Prolog (ASP) program defines a Frame. Program 1 CourseNana.COM

1      cooking_creation(my_cook). CourseNana.COM

2      sentient(xiaobing). CourseNana.COM

3      cook(my_cook,xiaobing). CourseNana.COM

4      food(my_kumara). CourseNana.COM

5      produced_food(my_cook,my_dish). CourseNana.COM

6      ingredients(my_cook,my_kumara). CourseNana.COM

7      ingredients(my_cook,my_salt). CourseNana.COM

8      condiment(my_salt). CourseNana.COM

9        CourseNana.COM

10   vegetable(In):- not meat(In), not condiment(In), food(In). CourseNana.COM

11   vegetarian(Di) :- cooking_creation(Ev), produced_food(Ev,Di), ingredients(Ev,In), vegetable(In). CourseNana.COM

12   vegetarian_friendly(Co) :-cooking_creation(Ev),cook(Ev,Co), produced_food(Ev,Di), vegetarian(Di). CourseNana.COM

In this frame Instance, xiaobing, my_salt, my_cook, my_kumara, and my_salt are all: Select one alternative: CourseNana.COM

o   Types CourseNana.COM

o   Rules CourseNana.COM

o   Predicates CourseNana.COM

o   Individuals CourseNana.COM

In this frame Instance, sentient, food, cooking_creation, condiment, vegetable, vegetarian and vegetarian_friendly are all: CourseNana.COM

Select one alternative CourseNana.COM

o   Operators CourseNana.COM

o   Individuals CourseNana.COM

o   Binary Predicates CourseNana.COM

o   Types CourseNana.COM

Maximum marks: 2 CourseNana.COM

Get the Solution to This Question

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
COMPSCI 367代写,Artificial Intelligence代写,Markov Decision Process代写,THE UNIVERSITY OF AUCKLAND代写,Prolog代写,COMPSCI 367代编,Artificial Intelligence代编,Markov Decision Process代编,THE UNIVERSITY OF AUCKLAND代编,Prolog代编,COMPSCI 367代考,Artificial Intelligence代考,Markov Decision Process代考,THE UNIVERSITY OF AUCKLAND代考,Prolog代考,COMPSCI 367help,Artificial Intelligencehelp,Markov Decision Processhelp,THE UNIVERSITY OF AUCKLANDhelp,Prologhelp,COMPSCI 367作业代写,Artificial Intelligence作业代写,Markov Decision Process作业代写,THE UNIVERSITY OF AUCKLAND作业代写,Prolog作业代写,COMPSCI 367编程代写,Artificial Intelligence编程代写,Markov Decision Process编程代写,THE UNIVERSITY OF AUCKLAND编程代写,Prolog编程代写,COMPSCI 367programming help,Artificial Intelligenceprogramming help,Markov Decision Processprogramming help,THE UNIVERSITY OF AUCKLANDprogramming help,Prologprogramming help,COMPSCI 367assignment help,Artificial Intelligenceassignment help,Markov Decision Processassignment help,THE UNIVERSITY OF AUCKLANDassignment help,Prologassignment help,COMPSCI 367solution,Artificial Intelligencesolution,Markov Decision Processsolution,THE UNIVERSITY OF AUCKLANDsolution,Prologsolution,