× mějme tyto rodinné vztahy:
Forrest is the brother of Christina.
[Forrest je bratr Christiny.]
Christina is the sister of Forrest.
[Christina je sestra Forresta.]
Forrest is a boy and a child in his family.
[Forrest je kluk a dítě v jeho rodině.]
Christina is a girl and a child in her family.
[Christina je holka a dítě v její rodině.]
× pak tyto relace popíšeme v Prologu těmito klauzulemi:
brother(forrest,christina).
sister(christina,forrest).
gender(forrest,male).
gender(christina,female).
family(forrest,child).
family(christina,child).