A Implication rule that specifies when a rule is true

Rules

Conjoined Antecedents

sibling(X,Y) :- parent(P,X),parent(P,Y).

Disjoint Antecedents

% or case
person(X) :- male(X);female(X).
% equivalent to:
% person(X) :- male(X).
% person(X) :- female(X).

Functor Notation

isaParent(+X, ?Y)
  • X is always given
  • Y is an optional variable