15 The following Answer Set Prolog (ASP) program defines a Frame. Program 1
1 cooking_creation(my_cook).
2 sentient(xiaobing).
3 cook(my_cook,xiaobing).
4 food(my_kumara).
5 produced_food(my_cook,my_dish).
6 ingredients(my_cook,my_kumara).
7 ingredients(my_cook,my_salt).
8 condiment(my_salt).
9
10 vegetable(In):- not meat(In), not condiment(In), food(In).
11 vegetarian(Di) :- cooking_creation(Ev), produced_food(Ev,Di), ingredients(Ev,In), vegetable(In).
12 vegetarian_friendly(Co) :-cooking_creation(Ev),cook(Ev,Co), produced_food(Ev,Di), vegetarian(Di).
In this frame Instance, xiaobing, my_salt, my_cook, my_kumara, and my_salt are all: Select one alternative:
o Types
o Rules
o Predicates
o Individuals
In this frame Instance, sentient, food, cooking_creation, condiment, vegetable, vegetarian and vegetarian_friendly are all:
Select one alternative
o Operators
o Individuals
o Binary Predicates
o Types
Maximum marks: 2