Advertisement
logicmoo

Unbounded ephemeral term example

Nov 2nd, 2015
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 0.65 KB | None | 0 0
  1. baseKB:  ?- listing(human).
  2. :- dynamic human/1.
  3. :- multifile human/1.
  4.  
  5. baseKB:human(trudy).
  6. baseKB:human(eileen).
  7. baseKB:human(skArg1ofFatherFn(trudy)).
  8. baseKB:human(skArg1ofFatherFn(eileen)).
  9. baseKB:human(skArg1ofFatherFn(skArg1ofFatherFn(trudy))).
  10. baseKB:human(skArg1ofFatherFn(skArg1ofFatherFn(eileen))).
  11. baseKB:human(skArg1ofFatherFn(skArg1ofFatherFn(skArg1ofFatherFn(trudy)))).
  12. baseKB:human(skArg1ofFatherFn(skArg1ofFatherFn(skArg1ofFatherFn(eileen)))).
  13. baseKB:human(skArg1ofFatherFn(skArg1ofFatherFn(skArg1ofFatherFn(skArg1ofFatherFn(trudy))))).
  14. baseKB:human(skArg1ofFatherFn(skArg1ofFatherFn(skArg1ofFatherFn(skArg1ofFatherFn(eileen))))).
  15.  ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement