fork download
  1. %Forrest is the brother of Christina.
  2. brother(forrest,christina).
  3. %Christina is the sister of Forrest.
  4. sister(christina,forrest).
  5. %Forrest is a boy and Christina is a girl.
  6. gender(forrest,male).
  7. gender(christina,female).
  8. %Forrest and Christina are the children of the family.
  9. family(forrest,child).
  10. family(christina,child).
Success #stdin #stdout 0.03s 6204KB
stdin
?-brother(forrest,christina).
stdout
Standard output is empty