Logic Programming
What
versus
How
 

Exercise 6.3 - Kinship


Suppose we have a kinship dataset with a binary predicate parent and a unary predicate male. Write update rules to replace all factoids using the parent predicate with equivalent factoids using the binary predicates father and mother.