SWI PROLOG.
Using the structures parent(x,y),male(x) and female(x), write a structure that defines mother(x,y)
Structure that defines mother(x, y)
male(x) ... Given
female(x)....... Given
parent(x, y)........ Given
mother(x, y) :-female(x), parent(x, y)
SWI PROLOG. Using the structures parent(x,y),male(x) and female(x), write a structure that defines mother(x,y)