Question: ARTI 401 - Artificial Intelligence: Principles and Techniques Academic Year (2022-2023) - 2nd Semester 1. Describe the following rules ( 0.25 marks) - is mother(Mum):-mother(Mum,Child).
ARTI 401 - Artificial Intelligence: Principles and Techniques Academic Year (2022-2023) - 2nd Semester 1. Describe the following rules ( 0.25 marks) - is mother(Mum):-mother(Mum,Child). ANSWER: - is father(Dad):-father(Dad, Child). ANSWER: - is son(Son):-parent(Par,Son),male(Son). ANSWER: - sister_of(Sis.,Pers):- parent(Par,Sis),parent(Par,Pers), female(Sis),not(Sis, Pers). ANSWER: - granpa_of(Gpa,X):-parent(Par,X),father(Gpa,Par). ANSWER: - sibling(S1,S2):- parent(Par,S1),parent(Par,S2),not(S1,S2). ANSWER: ARTI 401 - Artificial Intelligence: Principles and Techniques Academic Year (2022-2023) - 2nd Semester 1. Describe the following rules ( 0.25 marks) - is mother(Mum):-mother(Mum,Child). ANSWER: - is father(Dad):-father(Dad, Child). ANSWER: - is son(Son):-parent(Par,Son),male(Son). ANSWER: - sister_of(Sis.,Pers):- parent(Par,Sis),parent(Par,Pers), female(Sis),not(Sis, Pers). ANSWER: - granpa_of(Gpa,X):-parent(Par,X),father(Gpa,Par). ANSWER: - sibling(S1,S2):- parent(Par,S1),parent(Par,S2),not(S1,S2)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
