something is a person if it is either Adam or Eve, or if it has a mother. We can express this in a single rule as follows:

person(X) :- (X=adam; X=eve; mother(X, Y)).

  • bleistift2
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    Thanks for catching that. I fixed my comment.