Advertisement
logicmoo

BOXLOG SANITY

Aug 9th, 2015
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ?-
  3. |    kif_sanity_test.
  4.  
  5.  
  6.  
  7. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  8. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  9. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  10. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  11. kif :-
  12.         [all[N3], [ex[O3], [implies, [room(N3)], =>, [door(O3), has(N3, O3)]]]].
  13. pkif :-
  14.  
  15.         [ implies,
  16.           [poss(KB, has(N3, O3))],
  17.           (=>),
  18.  
  19.           [ implies,
  20.             [poss(KB, door(O3))],
  21.             (=>),
  22.  
  23.             [ implies,
  24.               [poss(KB, room(N3))],
  25.               (=>),
  26.               [all[N3], [ex[O3], [implies, [room(N3)], =>, [door(O3), has(N3, O3)]]]]
  27.             ]
  28.           ]
  29.         ].
  30. cnf :-
  31.         (   not(possible_t(has(N3, O3)))
  32.         ;   not(possible_t(door(O3)))
  33.         ;   not(possible_t(room(N3)))
  34.         ;   not(skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)))
  35.         ;   not(room(N3))
  36.         ;   door(O3)
  37.         ),
  38.         (   not(possible_t(has(N3, O3)))
  39.         ;   not(possible_t(door(O3)))
  40.         ;   not(possible_t(room(N3)))
  41.         ;   not(skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)))
  42.         ;   not(room(N3))
  43.         ;   has(N3, O3)
  44.         ).
  45. %
  46.  
  47. tell3:0  not_possible_t(has,N3,O3);not_possible_t(door,O3);not_possible_t(room,N3);not_call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3));not_true_t(room,N3);true_t(door,O3).
  48. tell3:1  not_possible_t(has,N3,O3);not_possible_t(door,O3);not_possible_t(room,N3);not_call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3));not_true_t(room,N3);true_t(has,N3,O3).pttp :-
  49.  
  50.         [ (not_possible_t(door, O3):-possible_t(has, N3, O3), possible_t(room, N3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), true_t(room, N3), not_true_t(door, O3)),
  51.           (not_possible_t(door, O3):-possible_t(has, N3, O3), possible_t(room, N3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), true_t(room, N3), not_true_t(has, N3, O3)),
  52.           (not_possible_t(room, N3):-possible_t(has, N3, O3), possible_t(door, O3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), true_t(room, N3), not_true_t(door, O3)),
  53.           (not_possible_t(room, N3):-possible_t(has, N3, O3), possible_t(door, O3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), true_t(room, N3), not_true_t(has, N3, O3)),
  54.           (not_true_t(room, N3):-possible_t(has, N3, O3), possible_t(door, O3), possible_t(room, N3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), not_true_t(door, O3)),
  55.           (not_true_t(room, N3):-possible_t(has, N3, O3), possible_t(door, O3), possible_t(room, N3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), not_true_t(has, N3, O3)),
  56.           (true_t(door, O3):-possible_t(has, N3, O3), possible_t(door, O3), possible_t(room, N3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), true_t(room, N3)),
  57.           (not_call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)):-possible_t(has, N3, O3), possible_t(door, O3), possible_t(room, N3), true_t(room, N3), not_true_t(door, O3)),
  58.           (not_call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)):-possible_t(has, N3, O3), possible_t(door, O3), possible_t(room, N3), true_t(room, N3), not_true_t(has, N3, O3)),
  59.           (not_possible_t(has, N3, O3):-possible_t(door, O3), possible_t(room, N3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), true_t(room, N3), not_true_t(door, O3)),
  60.           (not_possible_t(has, N3, O3):-possible_t(door, O3), possible_t(room, N3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), true_t(room, N3), not_true_t(has, N3, O3)),
  61.           (true_t(has, N3, O3):-possible_t(has, N3, O3), possible_t(door, O3), possible_t(room, N3), call_builtin(skolem, O3, skIsDoorInUnkArg2ofHasFn(N3)), true_t(room, N3))
  62.         ].
  63. %
  64. not_possible_t(door, O3) :-
  65.         w_infer_by(tell3:0),
  66.         not(door(O3)),
  67.         poss(has(N3, O3)),
  68.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  69.         room(N3).
  70. %
  71.  
  72. tell3:0  not_possible_t(door,O3):-not_true_t(door,O3),possible_t(has,N3,O3),call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),true_t(room,N3).not_possible_t(door,
  73.                                                                                                                                                                 O3) :-
  74.         w_infer_by(tell3:1),
  75.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  76.         room(N3),
  77.         not(has(N3, O3)).
  78. %
  79.  
  80. tell3:1  not_possible_t(door,O3):-call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),true_t(room,N3),not_true_t(has,N3,O3).not_possible_t(room,
  81.                                                                                                                                             N3) :-
  82.         w_infer_by(tell3:2),
  83.         room(N3),
  84.         poss(has(N3, O3)),
  85.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  86.         not(door(O3)).
  87. %
  88.  
  89. tell3:2  not_possible_t(room,N3):-true_t(room,N3),possible_t(has,N3,O3),call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),not_true_t(door,O3).not_possible_t(room,
  90.                                                                                                                                                                 N3) :-
  91.         w_infer_by(tell3:3),
  92.         room(N3),
  93.         poss(door(O3)),
  94.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  95.         not(has(N3, O3)).
  96. %
  97.  
  98. tell3:3  not_possible_t(room,N3):-true_t(room,N3),possible_t(door,O3),call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),not_true_t(has,N3,O3).not_true_t(room, N3) :-
  99.         w_infer_by(tell3:4),
  100.         poss(room(N3)),
  101.         poss(has(N3, O3)),
  102.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  103.         not(door(O3)).
  104. %
  105.  
  106. tell3:4  not_true_t(room,N3):-possible_t(room,N3),possible_t(has,N3,O3),call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),not_true_t(door,O3).not_true_t(room, N3) :-
  107.         w_infer_by(tell3:5),
  108.         poss(room(N3)),
  109.         poss(door(O3)),
  110.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  111.         not(has(N3, O3)).
  112. %
  113.  
  114. tell3:5  not_true_t(room,N3):-possible_t(room,N3),possible_t(door,O3),call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),not_true_t(has,N3,O3).true_t(door, O3) :-
  115.         w_infer_by(tell3:6),
  116.         poss(door(O3)),
  117.         poss(has(N3, O3)),
  118.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  119.         room(N3).
  120. %
  121.  
  122. tell3:6  true_t(door,O3):-possible_t(door,O3),possible_t(has,N3,O3),call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),true_t(room,N3).not_call_builtin(skolem,
  123.                                                                                                                                                           O3,
  124.                                                                                                                                                           skIsDoorInUnkArg2ofHasFn(N3)) :-
  125.         w_infer_by(tell3:7),
  126.         poss(has(N3, O3)),
  127.         room(N3),
  128.         not(door(O3)).
  129. %
  130.  
  131. tell3:7  not_call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)):-possible_t(has,N3,O3),true_t(room,N3),not_true_t(door,O3).not_call_builtin(skolem,
  132.                                                                                                                                               O3,
  133.                                                                                                                                               skIsDoorInUnkArg2ofHasFn(N3)) :-
  134.         w_infer_by(tell3:8),
  135.         poss(door(O3)),
  136.         room(N3),
  137.         not(has(N3, O3)).
  138. %
  139.  
  140. tell3:8  not_call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)):-possible_t(door,O3),true_t(room,N3),not_true_t(has,N3,O3).not_possible_t(has,
  141.                                                                                                                                             N3,
  142.                                                                                                                                             O3) :-
  143.         w_infer_by(tell3:9),
  144.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  145.         room(N3),
  146.         not(door(O3)).
  147. %
  148.  
  149. tell3:9  not_possible_t(has,N3,O3):-call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),true_t(room,N3),not_true_t(door,O3).not_possible_t(has,
  150.                                                                                                                                             N3,
  151.                                                                                                                                             O3) :-
  152.         w_infer_by(tell3:10),
  153.         poss(door(O3)),
  154.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  155.         room(N3),
  156.         not(has(N3, O3)).
  157. %
  158.  
  159. tell3:10  not_possible_t(has,N3,O3):-possible_t(door,O3),call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),true_t(room,N3),not_true_t(has,N3,O3).true_t(has, N3, O3) :-
  160.         w_infer_by(tell3:11),
  161.         poss(has(N3, O3)),
  162.         poss(door(O3)),
  163.         skolem(O3, skIsDoorInUnkArg2ofHasFn(N3)),
  164.         room(N3).
  165. %
  166.  
  167. tell3:11  true_t(has,N3,O3):-possible_t(has,N3,O3),possible_t(door,O3),call_builtin(skolem,O3,skIsDoorInUnkArg2ofHasFn(N3)),true_t(room,N3).
  168. true ;
  169.  
  170.  
  171.  
  172. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  173. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  174. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  175. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  176. kif :-
  177.         [all[N3], [all[O3], [p(N3, O3), q(N3, O3)]]].
  178. pkif :-
  179.  
  180.         [ implies,
  181.           [poss(KB, q(N3, O3))],
  182.           (=>),
  183.  
  184.           [ implies,
  185.             [poss(KB, p(N3, O3))],
  186.             (=>),
  187.             [all[N3], [all[O3], [p(N3, O3), q(N3, O3)]]]
  188.           ]
  189.         ].
  190. cnf :-
  191.         (   not(possible_t(q(N3, O3)))
  192.         ;   not(possible_t(p(N3, O3)))
  193.         ;   p(N3, O3)
  194.         ),
  195.         (   not(possible_t(q(N3, O3)))
  196.         ;   not(possible_t(p(N3, O3)))
  197.         ;   q(N3, O3)
  198.         ).
  199. %
  200.  
  201. tell4:0  not_possible_t(q,N3,O3);not_possible_t(p,N3,O3);true_t(p,N3,O3).
  202. tell4:1  not_possible_t(q,N3,O3);not_possible_t(p,N3,O3);true_t(q,N3,O3).pttp :-
  203.  
  204.         [ (not_possible_t(p, N3, O3):-possible_t(q, N3, O3), not_true_t(p, N3, O3)),
  205.           (not_possible_t(p, N3, O3):-possible_t(q, N3, O3), not_true_t(q, N3, O3)),
  206.           (not_possible_t(q, N3, O3):-possible_t(p, N3, O3), not_true_t(p, N3, O3)),
  207.           (not_possible_t(q, N3, O3):-possible_t(p, N3, O3), not_true_t(q, N3, O3)),
  208.           (true_t(p, N3, O3):-possible_t(q, N3, O3), possible_t(p, N3, O3)),
  209.           (true_t(q, N3, O3):-possible_t(q, N3, O3), possible_t(p, N3, O3))
  210.         ].
  211. %
  212. not_possible_t(p, N3, O3) :-
  213.         w_infer_by(tell4:0),
  214.         poss(q(N3, O3)),
  215.         not(p(N3, O3)).
  216. %
  217.  
  218. tell4:0  not_possible_t(p,N3,O3):-possible_t(q,N3,O3),not_true_t(p,N3,O3).not_possible_t(p,
  219.                                                                                          N3,
  220.                                                                                          O3) :-
  221.         w_infer_by(tell4:1),
  222.         not(q(N3, O3)).
  223. %
  224.  
  225. tell4:1  not_possible_t(p,N3,O3):-not_true_t(q,N3,O3).not_possible_t(q, N3, O3) :-
  226.         w_infer_by(tell4:2),
  227.         not(p(N3, O3)).
  228. %
  229.  
  230. tell4:2  not_possible_t(q,N3,O3):-not_true_t(p,N3,O3).not_possible_t(q, N3, O3) :-
  231.         w_infer_by(tell4:3),
  232.         poss(p(N3, O3)),
  233.         not(q(N3, O3)).
  234. %
  235.  
  236. tell4:3  not_possible_t(q,N3,O3):-possible_t(p,N3,O3),not_true_t(q,N3,O3).true_t(p, N3, O3) :-
  237.         w_infer_by(tell4:4),
  238.         poss(q(N3, O3)),
  239.         poss(p(N3, O3)).
  240. %
  241.  
  242. tell4:4  true_t(p,N3,O3):-possible_t(q,N3,O3),possible_t(p,N3,O3).true_t(q, N3, O3) :-
  243.         w_infer_by(tell4:5),
  244.         poss(q(N3, O3)),
  245.         poss(p(N3, O3)).
  246. %
  247.  
  248. tell4:5  true_t(q,N3,O3):-possible_t(q,N3,O3),possible_t(p,N3,O3).
  249. true ;
  250.  
  251.  
  252.  
  253. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  254. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  255. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  256. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  257. kif :-
  258.         [all[N3], [loves(fatherFn(N3), N3)]].
  259. pkif :-
  260.  
  261.         [ implies,
  262.           [poss(KB, loves(fatherFn(N3), N3))],
  263.           (=>),
  264.           [all[N3], [loves(fatherFn(N3), N3)]]
  265.         ].
  266. cnf :-
  267.         (   mudEquals(FATHERFN9, fatherFn(N3))
  268.         ;   possible_t((not(skolem(FATHERFN8, skArg1ofEqualsLovesFn));not(mudEquals(FATHERFN8, fatherFn(N3)));not(loves(FATHERFN8, N3))))
  269.         ),
  270.         (   loves(FATHERFN9, N3)
  271.         ;   possible_t((not(skolem(FATHERFN8, skArg1ofEqualsLovesFn));not(mudEquals(FATHERFN8, fatherFn(N3)));not(loves(FATHERFN8, N3))))
  272.         ).
  273. %
  274.  
  275. tell5:0  mudEquals(FATHERFN9,fatherFn(N3));possible_t(;,not_call_builtin(skolem,FATHERFN8,skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8,fatherFn(N3));not_true_t(loves,FATHERFN8,N3))).
  276. tell5:1  true_t(loves,FATHERFN9,N3);possible_t(;,not_call_builtin(skolem,FATHERFN8,skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8,fatherFn(N3));not_true_t(loves,FATHERFN8,N3))).pttp :-
  277.  
  278.         [ (mudEquals(FATHERFN9, fatherFn(N3)):-not_possible_t(;, not_call_builtin(skolem, FATHERFN8, skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8, fatherFn(N3));not_true_t(loves, FATHERFN8, N3)))),
  279.           (possible_t(;, not_call_builtin(skolem, FATHERFN8, skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8, fatherFn(N3));not_true_t(loves, FATHERFN8, N3))):-not_mudEquals(FATHERFN9, fatherFn(N3))),
  280.           (possible_t(;, not_call_builtin(skolem, FATHERFN8, skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8, fatherFn(N3));not_true_t(loves, FATHERFN8, N3))):-not_true_t(loves, FATHERFN9, N3)),
  281.           (true_t(loves, FATHERFN9, N3):-not_possible_t(;, not_call_builtin(skolem, FATHERFN8, skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8, fatherFn(N3));not_true_t(loves, FATHERFN8, N3))))
  282.         ].
  283. %
  284. mudEquals(FATHERFN9, fatherFn(N3)) :-
  285.         w_infer_by(tell5:0),
  286.         not(poss((not(skolem(FATHERFN8, skArg1ofEqualsLovesFn));mudEquals(FATHERFN10, fatherFn(N3)), not(mudEquals(FATHERFN8, FATHERFN10));not(loves(FATHERFN8, N3))))).
  287. %
  288.  
  289. tell5:0  mudEquals(FATHERFN9,fatherFn(N3)):-not_possible_t(;,not_call_builtin(skolem,FATHERFN8,skArg1ofEqualsLovesFn), (mudEquals(FATHERFN10,fatherFn(N3)),not_mudEquals(FATHERFN8,FATHERFN10);not_true_t(loves,FATHERFN8,N3))).poss((not(skolem(FATHERFN8, skArg1ofEqualsLovesFn));not(mudEquals(FATHERFN8, FATHERFN13));not(loves(FATHERFN8, N3)))):not(mudEquals(FATHERFN13, fatherFn(N3)), (mudEquals(FATHERFN11, fatherFn(N3)), not(mudEquals(FATHERFN9, FATHERFN11)))) :-
  290.         w_infer_by(tell5:1).
  291. %
  292.  
  293. tell5:1  true_t(:,possible_t(;,not_call_builtin(skolem,FATHERFN8,skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8,FATHERFN13);not_true_t(loves,FATHERFN8,N3))),mudEquals(FATHERFN13,fatherFn(N3))- (mudEquals(FATHERFN11,fatherFn(N3)),not_mudEquals(FATHERFN9,FATHERFN11))).
  294. tell5:1  true_t(:,possible_t(;,not_call_builtin(skolem,FATHERFN8,skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8,FATHERFN13);not_true_t(loves,FATHERFN8,N3))),mudEquals(FATHERFN13,fatherFn(N3))- (mudEquals(FATHERFN11,fatherFn(N3)),not_mudEquals(FATHERFN9,FATHERFN11))).poss((not(skolem(FATHERFN8, skArg1ofEqualsLovesFn));not(mudEquals(FATHERFN8, FATHERFN14));not(loves(FATHERFN8, N3)))):not(mudEquals(FATHERFN14, fatherFn(N3)), not(loves(FATHERFN9, N3))) :-
  295.         w_infer_by(tell5:2).
  296. %
  297.  
  298. tell5:2  true_t(:,possible_t(;,not_call_builtin(skolem,FATHERFN8,skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8,FATHERFN14);not_true_t(loves,FATHERFN8,N3))),mudEquals(FATHERFN14,fatherFn(N3))-not_true_t(loves,FATHERFN9,N3)).
  299. tell5:2  true_t(:,possible_t(;,not_call_builtin(skolem,FATHERFN8,skArg1ofEqualsLovesFn), (not_mudEquals(FATHERFN8,FATHERFN14);not_true_t(loves,FATHERFN8,N3))),mudEquals(FATHERFN14,fatherFn(N3))-not_true_t(loves,FATHERFN9,N3)).true_t(loves,
  300.                                                                                                                                                                                                                                          FATHERFN9,
  301.                                                                                                                                                                                                                                          N3) :-
  302.         w_infer_by(tell5:3),
  303.         not(poss((not(skolem(FATHERFN8, skArg1ofEqualsLovesFn));mudEquals(FATHERFN12, fatherFn(N3)), not(mudEquals(FATHERFN8, FATHERFN12));not(loves(FATHERFN8, N3))))).
  304. %
  305.  
  306. tell5:3  true_t(loves,FATHERFN9,N3):-not_possible_t(;,not_call_builtin(skolem,FATHERFN8,skArg1ofEqualsLovesFn), (mudEquals(FATHERFN12,fatherFn(N3)),not_mudEquals(FATHERFN8,FATHERFN12);not_true_t(loves,FATHERFN8,N3))).
  307. true ;
  308.  
  309.  
  310.  
  311. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  312. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  313. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  314. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  315. kif :-
  316.         [relationAllExists('causes-EventEvent', 'Exhibitionism', 'VisualEvent')].
  317. pkif :-
  318.  
  319.         [ implies,
  320.  
  321.           [ poss(KB,
  322.                  relationAllExists('causes-EventEvent',
  323.                                    'Exhibitionism',
  324.                                    'VisualEvent'))
  325.           ],
  326.           (=>),
  327.           [relationAllExists('causes-EventEvent', 'Exhibitionism', 'VisualEvent')]
  328.         ].
  329. cnf :-
  330.         (   not(possible_t(relationAllExists('causes-EventEvent',
  331.                                              'Exhibitionism',
  332.                                              'VisualEvent')))
  333.         ;   relationAllExists('causes-EventEvent',
  334.                               'Exhibitionism',
  335.                               'VisualEvent')
  336.         ).
  337. %
  338.  
  339. tell6:0  not_possible_t(relationAllExists,causes-EventEvent,Exhibitionism,VisualEvent);true_t(relationAllExists,causes-EventEvent,Exhibitionism,VisualEvent).pttp :-
  340.  
  341.         [ (not_possible_t(relationAllExists, 'causes-EventEvent', 'Exhibitionism', 'VisualEvent'):-not_true_t(relationAllExists, 'causes-EventEvent', 'Exhibitionism', 'VisualEvent')),
  342.           (true_t(relationAllExists, 'causes-EventEvent', 'Exhibitionism', 'VisualEvent'):-possible_t(relationAllExists, 'causes-EventEvent', 'Exhibitionism', 'VisualEvent'))
  343.         ].
  344. %
  345. not_possible_t(relationAllExists, 'causes-EventEvent', 'Exhibitionism', 'VisualEvent') :-
  346.         w_infer_by(tell6:0),
  347.         not(relationAllExists('causes-EventEvent',
  348.                               'Exhibitionism',
  349.                               'VisualEvent')).
  350. %
  351.  
  352. tell6:0  not_possible_t(relationAllExists,causes-EventEvent,Exhibitionism,VisualEvent):-not_true_t(relationAllExists,causes-EventEvent,Exhibitionism,VisualEvent).true_t(relationAllExists,
  353.                                                                                                                                                                          'causes-EventEvent',
  354.                                                                                                                                                                          'Exhibitionism',
  355.                                                                                                                                                                          'VisualEvent') :-
  356.         w_infer_by(tell6:1),
  357.         poss(relationAllExists('causes-EventEvent',
  358.                                'Exhibitionism',
  359.                                'VisualEvent')).
  360. %
  361.  
  362. tell6:1  true_t(relationAllExists,causes-EventEvent,Exhibitionism,VisualEvent):-possible_t(relationAllExists,causes-EventEvent,Exhibitionism,VisualEvent).
  363. true ;
  364.  
  365.  
  366.  
  367. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  368. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  369. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  370. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  371. kif :-
  372.         ['(relationAllExists causes-EventEvent Exhibitionism VisualEvent)'].
  373. pkif :-
  374.         ['(relationAllExists causes-EventEvent Exhibitionism VisualEvent)'].
  375. cnf :-
  376.         '(relationAllExists causes-EventEvent Exhibitionism VisualEvent)'.
  377. %
  378.  
  379. tell7:0  (relationAllExists causes-EventEvent Exhibitionism VisualEvent).
  380. tell7:0  (relationAllExists causes-EventEvent Exhibitionism VisualEvent).pttp :-
  381.  
  382.         [ ('(relationAllExists causes-EventEvent Exhibitionism VisualEvent)':-true)
  383.         ].
  384. %
  385. '(relationAllExists causes-EventEvent Exhibitionism VisualEvent)' :-
  386.         w_infer_by(tell7:0),
  387.         [].
  388. %
  389.  
  390. tell7:0  (relationAllExists causes-EventEvent Exhibitionism VisualEvent):-[].
  391. true ;
  392.  
  393.  
  394.  
  395. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  396. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  397. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  398. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  399. kif :-
  400.  
  401.         [ relationAllExists(properSubEvents,
  402.                             'Exhibitionism',
  403.                             'DisplayingFn'('SexOrgan'))
  404.         ].
  405. pkif :-
  406.  
  407.         [ implies,
  408.  
  409.           [ poss(KB,
  410.                  relationAllExists(properSubEvents,
  411.                                    'Exhibitionism',
  412.                                    'DisplayingFn'('SexOrgan')))
  413.           ],
  414.           (=>),
  415.  
  416.           [ relationAllExists(properSubEvents,
  417.                               'Exhibitionism',
  418.                               'DisplayingFn'('SexOrgan'))
  419.           ]
  420.         ].
  421. cnf :-
  422.         (   mudEquals(DISPLAYINGFNSEXORGAN9, 'DisplayingFn'('SexOrgan'))
  423.         ;   possible_t((not(skolem(DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn));not(mudEquals(DISPLAYINGFNSEXORGAN8, 'DisplayingFn'('SexOrgan')));not(relationAllExists(properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8))))
  424.         ),
  425.         (   relationAllExists(properSubEvents,
  426.                               'Exhibitionism',
  427.                               DISPLAYINGFNSEXORGAN9)
  428.         ;   possible_t((not(skolem(DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn));not(mudEquals(DISPLAYINGFNSEXORGAN8, 'DisplayingFn'('SexOrgan')));not(relationAllExists(properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8))))
  429.         ).
  430. %
  431.  
  432. tell8:0  mudEquals(DISPLAYINGFNSEXORGAN9,DisplayingFn(SexOrgan));possible_t(;,not_call_builtin(skolem,DISPLAYINGFNSEXORGAN8,skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8,DisplayingFn(SexOrgan));not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN8))).
  433. tell8:1  true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN9);possible_t(;,not_call_builtin(skolem,DISPLAYINGFNSEXORGAN8,skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8,DisplayingFn(SexOrgan));not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN8))).pttp :-
  434.  
  435.         [ (mudEquals(DISPLAYINGFNSEXORGAN9, 'DisplayingFn'('SexOrgan')):-not_possible_t(;, not_call_builtin(skolem, DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8, 'DisplayingFn'('SexOrgan'));not_true_t(relationAllExists, properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8)))),
  436.           (possible_t(;, not_call_builtin(skolem, DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8, 'DisplayingFn'('SexOrgan'));not_true_t(relationAllExists, properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8))):-not_mudEquals(DISPLAYINGFNSEXORGAN9, 'DisplayingFn'('SexOrgan'))),
  437.           (possible_t(;, not_call_builtin(skolem, DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8, 'DisplayingFn'('SexOrgan'));not_true_t(relationAllExists, properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8))):-not_true_t(relationAllExists, properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN9)),
  438.           (true_t(relationAllExists, properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN9):-not_possible_t(;, not_call_builtin(skolem, DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8, 'DisplayingFn'('SexOrgan'));not_true_t(relationAllExists, properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8))))
  439.         ].
  440. %
  441. mudEquals(DISPLAYINGFNSEXORGAN9, 'DisplayingFn'('SexOrgan')) :-
  442.         w_infer_by(tell8:0),
  443.         not(poss((not(skolem(DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn));mudEquals(DISPLAYINGFNSEXORGAN10, 'DisplayingFn'('SexOrgan')), not(mudEquals(DISPLAYINGFNSEXORGAN8, DISPLAYINGFNSEXORGAN10));not(relationAllExists(properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8))))).
  444. %
  445.  
  446. tell8:0  mudEquals(DISPLAYINGFNSEXORGAN9,DisplayingFn(SexOrgan)):-not_possible_t(;,not_call_builtin(skolem,DISPLAYINGFNSEXORGAN8,skArg1ofEqualsArgnofRelationallexistsFn), (mudEquals(DISPLAYINGFNSEXORGAN10,DisplayingFn(SexOrgan)),not_mudEquals(DISPLAYINGFNSEXORGAN8,DISPLAYINGFNSEXORGAN10);not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN8))).poss((not(skolem(DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn));not(mudEquals(DISPLAYINGFNSEXORGAN8, DISPLAYINGFNSEXORGAN13));not(relationAllExists(properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8)))):not(mudEquals(DISPLAYINGFNSEXORGAN13, 'DisplayingFn'('SexOrgan')), (mudEquals(DISPLAYINGFNSEXORGAN11, 'DisplayingFn'('SexOrgan')), not(mudEquals(DISPLAYINGFNSEXORGAN9, DISPLAYINGFNSEXORGAN11)))) :-
  447.         w_infer_by(tell8:1).
  448. %
  449.  
  450. tell8:1  true_t(:,possible_t(;,not_call_builtin(skolem,DISPLAYINGFNSEXORGAN8,skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8,DISPLAYINGFNSEXORGAN13);not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN8))),mudEquals(DISPLAYINGFNSEXORGAN13,DisplayingFn(SexOrgan))- (mudEquals(DISPLAYINGFNSEXORGAN11,DisplayingFn(SexOrgan)),not_mudEquals(DISPLAYINGFNSEXORGAN9,DISPLAYINGFNSEXORGAN11))).
  451. tell8:1  true_t(:,possible_t(;,not_call_builtin(skolem,DISPLAYINGFNSEXORGAN8,skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8,DISPLAYINGFNSEXORGAN13);not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN8))),mudEquals(DISPLAYINGFNSEXORGAN13,DisplayingFn(SexOrgan))- (mudEquals(DISPLAYINGFNSEXORGAN11,DisplayingFn(SexOrgan)),not_mudEquals(DISPLAYINGFNSEXORGAN9,DISPLAYINGFNSEXORGAN11))).poss((not(skolem(DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn));not(mudEquals(DISPLAYINGFNSEXORGAN8, DISPLAYINGFNSEXORGAN14));not(relationAllExists(properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8)))):not(mudEquals(DISPLAYINGFNSEXORGAN14, 'DisplayingFn'('SexOrgan')), not(relationAllExists(properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN9))) :-
  452.         w_infer_by(tell8:2).
  453. %
  454.  
  455. tell8:2  true_t(:,possible_t(;,not_call_builtin(skolem,DISPLAYINGFNSEXORGAN8,skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8,DISPLAYINGFNSEXORGAN14);not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN8))),mudEquals(DISPLAYINGFNSEXORGAN14,DisplayingFn(SexOrgan))-not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN9)).
  456. tell8:2  true_t(:,possible_t(;,not_call_builtin(skolem,DISPLAYINGFNSEXORGAN8,skArg1ofEqualsArgnofRelationallexistsFn), (not_mudEquals(DISPLAYINGFNSEXORGAN8,DISPLAYINGFNSEXORGAN14);not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN8))),mudEquals(DISPLAYINGFNSEXORGAN14,DisplayingFn(SexOrgan))-not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN9)).true_t(relationAllExists,
  457.                                                                                                                                                                                                                                                properSubEvents,
  458.                                                                                                                                                                                                                                                'Exhibitionism',
  459.                                                                                                                                                                                                                                                DISPLAYINGFNSEXORGAN9) :-
  460.         w_infer_by(tell8:3),
  461.         not(poss((not(skolem(DISPLAYINGFNSEXORGAN8, skArg1ofEqualsArgnofRelationallexistsFn));mudEquals(DISPLAYINGFNSEXORGAN12, 'DisplayingFn'('SexOrgan')), not(mudEquals(DISPLAYINGFNSEXORGAN8, DISPLAYINGFNSEXORGAN12));not(relationAllExists(properSubEvents, 'Exhibitionism', DISPLAYINGFNSEXORGAN8))))).
  462. %
  463.  
  464. tell8:3  true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN9):-not_possible_t(;,not_call_builtin(skolem,DISPLAYINGFNSEXORGAN8,skArg1ofEqualsArgnofRelationallexistsFn), (mudEquals(DISPLAYINGFNSEXORGAN12,DisplayingFn(SexOrgan)),not_mudEquals(DISPLAYINGFNSEXORGAN8,DISPLAYINGFNSEXORGAN12);not_true_t(relationAllExists,properSubEvents,Exhibitionism,DISPLAYINGFNSEXORGAN8))).
  465. true ClauseIndex Size = 4294967233
  466. ClauseIndex Size = 4294967265
  467. ;
  468.  
  469.  
  470.  
  471. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  472. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  473. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  474. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  475. kif :-
  476.  
  477.         [ '(relationAllExists properSubEvents Exhibitionism (DisplayingFn SexOrgan))'
  478.         ].
  479. pkif :-
  480.  
  481.         [ '(relationAllExists properSubEvents Exhibitionism (DisplayingFn SexOrgan))'
  482.         ].
  483. cnf :-
  484.         '(relationAllExists properSubEvents Exhibitionism (DisplayingFn SexOrgan))'.
  485. %
  486.  
  487. tell9:0  (relationAllExists properSubEvents Exhibitionism (DisplayingFn SexOrgan)).
  488. tell9:0  (relationAllExists properSubEvents Exhibitionism (DisplayingFn SexOrgan)).pttp :-
  489.  
  490.         [ ('(relationAllExists properSubEvents Exhibitionism (DisplayingFn SexOrgan))':-true)
  491.         ].
  492. %
  493. '(relationAllExists properSubEvents Exhibitionism (DisplayingFn SexOrgan))' :-
  494.         w_infer_by(tell9:0),
  495.         [].
  496. %
  497.  
  498. tell9:0  (relationAllExists properSubEvents Exhibitionism (DisplayingFn SexOrgan)):-[].
  499. true ;
  500.  
  501.  
  502.  
  503. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  504. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  505. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  506. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  507. kif :-
  508.  
  509.         [ knows('UnitedStatesOfAmerica',
  510.  
  511.                 [ ex[THING],
  512.  
  513.                   [ assets('ChevronCorporation', THING),
  514.                     objectFoundInLocation(THING, 'Kazakhstan')
  515.                   ]
  516.                 ])
  517.         ].
  518. pkif :-
  519.  
  520.         [ implies,
  521.  
  522.           [ poss(KB,
  523.                  knows('UnitedStatesOfAmerica',
  524.                        objectFoundInLocation(THING, 'Kazakhstan')))
  525.           ],
  526.           (=>),
  527.  
  528.           [ implies,
  529.  
  530.             [ poss(KB,
  531.                    knows('UnitedStatesOfAmerica',
  532.                          assets('ChevronCorporation', THING)))
  533.             ],
  534.             (=>),
  535.  
  536.             [ knows('UnitedStatesOfAmerica',
  537.  
  538.                     [ ex[THING],
  539.  
  540.                       [ assets('ChevronCorporation', THING),
  541.                         objectFoundInLocation(THING, 'Kazakhstan')
  542.                       ]
  543.                     ])
  544.             ]
  545.           ]
  546.         ].
  547. cnf :-
  548.         (   not(knows('UnitedStatesOfAmerica',
  549.                       objectFoundInLocation(THING, 'Kazakhstan')))
  550.         ;   not(knows('UnitedStatesOfAmerica',
  551.                       assets('ChevronCorporation', THING)))
  552.         ;   beliefs('UnitedStatesOfAmerica',
  553.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));assets('ChevronCorporation', THING)))
  554.         ),
  555.         (   not(knows('UnitedStatesOfAmerica',
  556.                       objectFoundInLocation(THING, 'Kazakhstan')))
  557.         ;   not(knows('UnitedStatesOfAmerica',
  558.                       assets('ChevronCorporation', THING)))
  559.         ;   beliefs('UnitedStatesOfAmerica',
  560.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));objectFoundInLocation(THING, 'Kazakhstan')))
  561.         ).
  562. %
  563.  
  564. tell10:0  not_true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan));not_true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING));true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))).
  565. tell10:1  not_true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan));not_true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING));true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))).pttp :-
  566.  
  567.         [ (not_true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)):-true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')), not_true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING)))),
  568.           (not_true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)):-true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')), not_true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan')))),
  569.           (not_true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')):-true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)), not_true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING)))),
  570.           (not_true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')):-true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)), not_true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan')))),
  571.           (true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING))):-true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')), true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING))),
  572.           (true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan'))):-true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')), true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)))
  573.         ].
  574. %
  575. not_true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)) :-
  576.         w_infer_by(tell10:0),
  577.         knows('UnitedStatesOfAmerica',
  578.               objectFoundInLocation(THING, 'Kazakhstan')),
  579.         not(beliefs('UnitedStatesOfAmerica',
  580.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));assets('ChevronCorporation', THING)))).
  581. %
  582.  
  583. tell10:0  not_true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)):-true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)),not_true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))).not_true_t(knows,
  584.                                                                                                                                                                                                                                                   'UnitedStatesOfAmerica',
  585.                                                                                                                                                                                                                                                   assets('ChevronCorporation',
  586.                                                                                                                                                                                                                                                  THING)) :-
  587.         w_infer_by(tell10:1),
  588.         knows('UnitedStatesOfAmerica',
  589.               objectFoundInLocation(THING, 'Kazakhstan')),
  590.         not(beliefs('UnitedStatesOfAmerica',
  591.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));objectFoundInLocation(THING, 'Kazakhstan')))).
  592. %
  593.  
  594. tell10:1  not_true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)):-true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)),not_true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))).not_true_t(knows,
  595.                                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  596.                                                                                                                                                                                                                                                  objectFoundInLocation(THING,
  597.                                                                                                                                                                                                                                                'Kazakhstan')) :-
  598.         w_infer_by(tell10:2),
  599.         knows('UnitedStatesOfAmerica', assets('ChevronCorporation', THING)),
  600.         not(beliefs('UnitedStatesOfAmerica',
  601.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));assets('ChevronCorporation', THING)))).
  602. %
  603.  
  604. tell10:2  not_true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)):-true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)),not_true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))).not_true_t(knows,
  605.                                                                                                                                                                                                                                                   'UnitedStatesOfAmerica',
  606.                                                                                                                                                                                                                                                   objectFoundInLocation(THING,
  607.                                                                                                                                                                                                                                                 'Kazakhstan')) :-
  608.         w_infer_by(tell10:3),
  609.         knows('UnitedStatesOfAmerica', assets('ChevronCorporation', THING)),
  610.         not(beliefs('UnitedStatesOfAmerica',
  611.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));objectFoundInLocation(THING, 'Kazakhstan')))).
  612. %
  613.  
  614. tell10:3  not_true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)):-true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)),not_true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))).true_t(beliefs,
  615.                                                                                                                                                                                                                                              'UnitedStatesOfAmerica',
  616.                                                                                                                                                                                                                                              (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING))) :-
  617.         w_infer_by(tell10:4),
  618.         knows('UnitedStatesOfAmerica',
  619.               objectFoundInLocation(THING, 'Kazakhstan')),
  620.         knows('UnitedStatesOfAmerica', assets('ChevronCorporation', THING)).
  621. %
  622.  
  623. tell10:4  true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))):-true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)),true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)).true_t(beliefs,
  624.                                                                                                                                                                                                                                               'UnitedStatesOfAmerica',
  625.                                                                                                                                                                                                                                               (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan'))) :-
  626.         w_infer_by(tell10:5),
  627.         knows('UnitedStatesOfAmerica',
  628.               objectFoundInLocation(THING, 'Kazakhstan')),
  629.         knows('UnitedStatesOfAmerica', assets('ChevronCorporation', THING)).
  630. %
  631.  
  632. tell10:5  true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))):-true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)),true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)).
  633. true ;
  634.  
  635.  
  636.  
  637. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  638. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  639. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  640. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  641. kif :-
  642.  
  643.         [ '(knows UnitedStatesOfAmerica (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))'
  644.         ].
  645. pkif :-
  646.  
  647.         [ '(knows UnitedStatesOfAmerica (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))'
  648.         ].
  649. cnf :-
  650.         '(knows UnitedStatesOfAmerica (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))'.
  651. %
  652.  
  653. tell11:0  (knows UnitedStatesOfAmerica (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))).
  654. tell11:0  (knows UnitedStatesOfAmerica (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))).pttp :-
  655.  
  656.         [ ('(knows UnitedStatesOfAmerica (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))':-true)
  657.         ].
  658. %
  659. '(knows UnitedStatesOfAmerica (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))' :-
  660.         w_infer_by(tell11:0),
  661.         [].
  662. %
  663.  
  664. tell11:0  (knows UnitedStatesOfAmerica (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))):-[].
  665. true ;
  666.  
  667.  
  668.  
  669. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  670. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  671. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  672. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  673. kif :-
  674.  
  675.         [ not,
  676.  
  677.           [ beliefs('UnitedStatesOfAmerica'),
  678.  
  679.             [ not,
  680.  
  681.               [ ex[THING],
  682.  
  683.                 [ assets('ChevronCorporation', THING),
  684.                   objectFoundInLocation(THING, 'Kazakhstan')
  685.                 ]
  686.               ]
  687.             ]
  688.           ]
  689.         ].
  690. pkif :-
  691.  
  692.         [ not,
  693.  
  694.           [ beliefs('UnitedStatesOfAmerica'),
  695.  
  696.             [ not,
  697.  
  698.               [ ex[THING],
  699.  
  700.                 [ assets('ChevronCorporation', THING),
  701.                   objectFoundInLocation(THING, 'Kazakhstan')
  702.                 ]
  703.               ]
  704.             ]
  705.           ]
  706.         ].
  707. cnf :-
  708.         beliefs('UnitedStatesOfAmerica',
  709.                 (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));assets('ChevronCorporation', THING))),
  710.         beliefs('UnitedStatesOfAmerica',
  711.                 (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));objectFoundInLocation(THING, 'Kazakhstan'))).
  712. %
  713.  
  714. tell12:0  true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))).
  715. tell12:1  true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))).pttp :-
  716.  
  717.         [ (true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING))):-true),
  718.           (true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan'))):-true)
  719.         ].
  720. %
  721. true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING))) :-
  722.         w_infer_by(tell12:0),
  723.         [].
  724. %
  725.  
  726. tell12:0  true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))):-[].true_t(beliefs,
  727.                                                                                                                                                                                     'UnitedStatesOfAmerica',
  728.                                                                                                                                                                                     (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan'))) :-
  729.         w_infer_by(tell12:1),
  730.         [].
  731. %
  732.  
  733. tell12:1  true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))):-[].
  734. true ;
  735.  
  736.  
  737.  
  738. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  739. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  740. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  741. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  742. kif :-
  743.  
  744.         [ '\n(not (beliefs UnitedStatesOfAmerica (not (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n'
  745.         ].
  746. pkif :-
  747.  
  748.         [ '\n(not (beliefs UnitedStatesOfAmerica (not (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n'
  749.         ].
  750. cnf :-
  751.         '\n(not (beliefs UnitedStatesOfAmerica (not (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n'.
  752. %
  753.  
  754. tell13:0
  755. (not (beliefs UnitedStatesOfAmerica (not (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))
  756. .
  757. tell13:0
  758. (not (beliefs UnitedStatesOfAmerica (not (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))
  759. .pttp :-
  760.  
  761.         [ ('\n(not (beliefs UnitedStatesOfAmerica (not (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n':-true)
  762.         ].
  763. %
  764. '\n(not (beliefs UnitedStatesOfAmerica (not (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n' :-
  765.         w_infer_by(tell13:0),
  766.         [].
  767. %
  768.  
  769. tell13:0
  770. (not (beliefs UnitedStatesOfAmerica (not (thereExists ?THING  (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))
  771. :-[].
  772. true ;
  773.  
  774.  
  775.  
  776. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  777. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  778. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  779. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  780. kif :-
  781.  
  782.         [ not,
  783.  
  784.           [ beliefs('UnitedStatesOfAmerica'),
  785.  
  786.             [ not,
  787.  
  788.               [ all[THING],
  789.  
  790.                 [ not,
  791.  
  792.                   [ assets('ChevronCorporation', THING),
  793.                     objectFoundInLocation(THING, 'Kazakhstan')
  794.                   ]
  795.                 ]
  796.               ]
  797.             ]
  798.           ]
  799.         ].
  800. pkif :-
  801.  
  802.         [ not,
  803.  
  804.           [ beliefs('UnitedStatesOfAmerica'),
  805.  
  806.             [ not,
  807.  
  808.               [ all[THING],
  809.  
  810.                 [ not,
  811.  
  812.                   [ assets('ChevronCorporation', THING),
  813.                     objectFoundInLocation(THING, 'Kazakhstan')
  814.                   ]
  815.                 ]
  816.               ]
  817.             ]
  818.           ]
  819.         ].
  820. cnf :-
  821.         knows('UnitedStatesOfAmerica',
  822.               skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn)),
  823.         beliefs('UnitedStatesOfAmerica',
  824.                 (not(assets('ChevronCorporation', THING));not(objectFoundInLocation(THING, 'Kazakhstan')))).
  825. %
  826.  
  827. tell14:0  true_t(knows,UnitedStatesOfAmerica,skolem(THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn)).
  828. tell14:1  true_t(beliefs,UnitedStatesOfAmerica, (not_true_t(assets,ChevronCorporation,THING);not_true_t(objectFoundInLocation,THING,Kazakhstan))).pttp :-
  829.  
  830.         [ (true_t(beliefs, 'UnitedStatesOfAmerica', (not_true_t(assets, 'ChevronCorporation', THING);not_true_t(objectFoundInLocation, THING, 'Kazakhstan'))):-true),
  831.           (true_t(knows, 'UnitedStatesOfAmerica', skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn)):-true)
  832.         ].
  833. %
  834. true_t(beliefs, 'UnitedStatesOfAmerica', (not_true_t(assets, 'ChevronCorporation', THING);not_true_t(objectFoundInLocation, THING, 'Kazakhstan'))) :-
  835.         w_infer_by(tell14:0),
  836.         [].
  837. %
  838.  
  839. tell14:0  true_t(beliefs,UnitedStatesOfAmerica, (not_true_t(assets,ChevronCorporation,THING);not_true_t(objectFoundInLocation,THING,Kazakhstan))):-[].true_t(knows,
  840.                                                                                                                                                              'UnitedStatesOfAmerica',
  841.                                                                                                                                                              skolem(THING,
  842.                                                                                                                                                                     skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn)) :-
  843.         w_infer_by(tell14:1),
  844.         [].
  845. %
  846.  
  847. tell14:1  true_t(knows,UnitedStatesOfAmerica,skolem(THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn)):-[].
  848. true ;
  849.  
  850.  
  851.  
  852. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  853. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  854. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  855. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  856. kif :-
  857.  
  858.         [ '\n(not (beliefs UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))))))\n'
  859.         ].
  860. pkif :-
  861.  
  862.         [ '\n(not (beliefs UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))))))\n'
  863.         ].
  864. cnf :-
  865.         '\n(not (beliefs UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))))))\n'.
  866. %
  867.  
  868. tell15:0
  869. (not (beliefs UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))))))
  870. .
  871. tell15:0
  872. (not (beliefs UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))))))
  873. .pttp :-
  874.  
  875.         [ ('\n(not (beliefs UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))))))\n':-true)
  876.         ].
  877. %
  878. '\n(not (beliefs UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))))))\n' :-
  879.         w_infer_by(tell15:0),
  880.         [].
  881. %
  882.  
  883. tell15:0
  884. (not (beliefs UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan)))))))
  885. :-[].
  886. true ;
  887.  
  888.  
  889.  
  890. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  891. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  892. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  893. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  894. kif :-
  895.  
  896.         [ knows('UnitedStatesOfAmerica',
  897.  
  898.                 [ not,
  899.  
  900.                   [ all[THING],
  901.  
  902.                     [ not,
  903.  
  904.                       [ assets('ChevronCorporation', THING),
  905.                         objectFoundInLocation(THING, 'Kazakhstan')
  906.                       ]
  907.                     ]
  908.                   ]
  909.                 ])
  910.         ].
  911. pkif :-
  912.  
  913.         [ implies,
  914.  
  915.           [ poss(KB,
  916.                  knows('UnitedStatesOfAmerica',
  917.                        objectFoundInLocation(THING, 'Kazakhstan')))
  918.           ],
  919.           (=>),
  920.  
  921.           [ implies,
  922.  
  923.             [ poss(KB,
  924.                    knows('UnitedStatesOfAmerica',
  925.                          assets('ChevronCorporation', THING)))
  926.             ],
  927.             (=>),
  928.  
  929.             [ knows('UnitedStatesOfAmerica',
  930.  
  931.                     [ not,
  932.  
  933.                       [ all[THING],
  934.  
  935.                         [ not,
  936.  
  937.                           [ assets('ChevronCorporation', THING),
  938.                             objectFoundInLocation(THING, 'Kazakhstan')
  939.                           ]
  940.                         ]
  941.                       ]
  942.                     ])
  943.             ]
  944.           ]
  945.         ].
  946. cnf :-
  947.         (   not(knows('UnitedStatesOfAmerica',
  948.                       objectFoundInLocation(THING, 'Kazakhstan')))
  949.         ;   not(knows('UnitedStatesOfAmerica',
  950.                       assets('ChevronCorporation', THING)))
  951.         ;   beliefs('UnitedStatesOfAmerica',
  952.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));assets('ChevronCorporation', THING)))
  953.         ),
  954.         (   not(knows('UnitedStatesOfAmerica',
  955.                       objectFoundInLocation(THING, 'Kazakhstan')))
  956.         ;   not(knows('UnitedStatesOfAmerica',
  957.                       assets('ChevronCorporation', THING)))
  958.         ;   beliefs('UnitedStatesOfAmerica',
  959.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));objectFoundInLocation(THING, 'Kazakhstan')))
  960.         ).
  961. %
  962.  
  963. tell16:0  not_true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan));not_true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING));true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))).
  964. tell16:1  not_true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan));not_true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING));true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))).pttp :-
  965.  
  966.         [ (not_true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)):-true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')), not_true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING)))),
  967.           (not_true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)):-true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')), not_true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan')))),
  968.           (not_true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')):-true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)), not_true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING)))),
  969.           (not_true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')):-true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)), not_true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan')))),
  970.           (true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING))):-true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')), true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING))),
  971.           (true_t(beliefs, 'UnitedStatesOfAmerica', (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan'))):-true_t(knows, 'UnitedStatesOfAmerica', objectFoundInLocation(THING, 'Kazakhstan')), true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)))
  972.         ].
  973. %
  974. not_true_t(knows, 'UnitedStatesOfAmerica', assets('ChevronCorporation', THING)) :-
  975.         w_infer_by(tell16:0),
  976.         knows('UnitedStatesOfAmerica',
  977.               objectFoundInLocation(THING, 'Kazakhstan')),
  978.         not(beliefs('UnitedStatesOfAmerica',
  979.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));assets('ChevronCorporation', THING)))).
  980. %
  981.  
  982. tell16:0  not_true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)):-true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)),not_true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))).not_true_t(knows,
  983.                                                                                                                                                                                                                                                   'UnitedStatesOfAmerica',
  984.                                                                                                                                                                                                                                                   assets('ChevronCorporation',
  985.                                                                                                                                                                                                                                                  THING)) :-
  986.         w_infer_by(tell16:1),
  987.         knows('UnitedStatesOfAmerica',
  988.               objectFoundInLocation(THING, 'Kazakhstan')),
  989.         not(beliefs('UnitedStatesOfAmerica',
  990.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));objectFoundInLocation(THING, 'Kazakhstan')))).
  991. %
  992.  
  993. tell16:1  not_true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)):-true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)),not_true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))).not_true_t(knows,
  994.                                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  995.                                                                                                                                                                                                                                                  objectFoundInLocation(THING,
  996.                                                                                                                                                                                                                                                'Kazakhstan')) :-
  997.         w_infer_by(tell16:2),
  998.         knows('UnitedStatesOfAmerica', assets('ChevronCorporation', THING)),
  999.         not(beliefs('UnitedStatesOfAmerica',
  1000.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));assets('ChevronCorporation', THING)))).
  1001. %
  1002.  
  1003. tell16:2  not_true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)):-true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)),not_true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))).not_true_t(knows,
  1004.                                                                                                                                                                                                                                                   'UnitedStatesOfAmerica',
  1005.                                                                                                                                                                                                                                                   objectFoundInLocation(THING,
  1006.                                                                                                                                                                                                                                                 'Kazakhstan')) :-
  1007.         w_infer_by(tell16:3),
  1008.         knows('UnitedStatesOfAmerica', assets('ChevronCorporation', THING)),
  1009.         not(beliefs('UnitedStatesOfAmerica',
  1010.                     (not(skolem(THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn));objectFoundInLocation(THING, 'Kazakhstan')))).
  1011. %
  1012.  
  1013. tell16:3  not_true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)):-true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)),not_true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))).true_t(beliefs,
  1014.                                                                                                                                                                                                                                              'UnitedStatesOfAmerica',
  1015.                                                                                                                                                                                                                                              (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets, 'ChevronCorporation', THING))) :-
  1016.         w_infer_by(tell16:4),
  1017.         knows('UnitedStatesOfAmerica',
  1018.               objectFoundInLocation(THING, 'Kazakhstan')),
  1019.         knows('UnitedStatesOfAmerica', assets('ChevronCorporation', THING)).
  1020. %
  1021.  
  1022. tell16:4  true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(assets,ChevronCorporation,THING))):-true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)),true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)).true_t(beliefs,
  1023.                                                                                                                                                                                                                                               'UnitedStatesOfAmerica',
  1024.                                                                                                                                                                                                                                               (not_call_builtin(skolem, THING, skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation, THING, 'Kazakhstan'))) :-
  1025.         w_infer_by(tell16:5),
  1026.         knows('UnitedStatesOfAmerica',
  1027.               objectFoundInLocation(THING, 'Kazakhstan')),
  1028.         knows('UnitedStatesOfAmerica', assets('ChevronCorporation', THING)).
  1029. %
  1030.  
  1031. tell16:5  true_t(beliefs,UnitedStatesOfAmerica, (not_call_builtin(skolem,THING,skUnkArg2ofAssetsArg1ofObjectfoundinlocationFn);true_t(objectFoundInLocation,THING,Kazakhstan))):-true_t(knows,UnitedStatesOfAmerica,objectFoundInLocation(THING,Kazakhstan)),true_t(knows,UnitedStatesOfAmerica,assets(ChevronCorporation,THING)).
  1032. true ;
  1033.  
  1034.  
  1035.  
  1036. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1037. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1038. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1039. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1040. kif :-
  1041.  
  1042.         [ '\n(knows UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n'
  1043.         ].
  1044. pkif :-
  1045.  
  1046.         [ '\n(knows UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n'
  1047.         ].
  1048. cnf :-
  1049.         '\n(knows UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n'.
  1050. %
  1051.  
  1052. tell17:0
  1053. (knows UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))
  1054. .
  1055. tell17:0
  1056. (knows UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))
  1057. .pttp :-
  1058.  
  1059.         [ ('\n(knows UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n':-true)
  1060.         ].
  1061. %
  1062. '\n(knows UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))\n' :-
  1063.         w_infer_by(tell17:0),
  1064.         [].
  1065. %
  1066.  
  1067. tell17:0
  1068. (knows UnitedStatesOfAmerica (not (forAll ?THING  (not (and  (assets ChevronCorporation ?THING)  (objectFoundInLocation ?THING Kazakhstan))))))
  1069. :-[].
  1070. true ;
  1071.  
  1072.  
  1073.  
  1074. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1075. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1076. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1077. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1078. kif :-
  1079.         [knows('UnitedStatesOfAmerica', ['KA', 'KB', 'KC', 'KD'])].
  1080. pkif :-
  1081.  
  1082.         [ implies,
  1083.           [poss(KB, knows('UnitedStatesOfAmerica', 'KD'))],
  1084.           (=>),
  1085.  
  1086.           [ implies,
  1087.             [poss(KB, knows('UnitedStatesOfAmerica', 'KC'))],
  1088.             (=>),
  1089.  
  1090.             [ implies,
  1091.               [poss(KB, knows('UnitedStatesOfAmerica', 'KB'))],
  1092.               (=>),
  1093.  
  1094.               [ implies,
  1095.                 [poss(KB, knows('UnitedStatesOfAmerica', 'KA'))],
  1096.                 (=>),
  1097.                 [knows('UnitedStatesOfAmerica', ['KA', 'KB', 'KC', 'KD'])]
  1098.               ]
  1099.             ]
  1100.           ]
  1101.         ].
  1102. cnf :-
  1103.         (   not(knows('UnitedStatesOfAmerica', 'KD'))
  1104.         ;   not(knows('UnitedStatesOfAmerica', 'KC'))
  1105.         ;   not(knows('UnitedStatesOfAmerica', 'KB'))
  1106.         ;   not(knows('UnitedStatesOfAmerica', 'KA'))
  1107.         ;   knows('UnitedStatesOfAmerica', 'KA')
  1108.         ),
  1109.         (   not(knows('UnitedStatesOfAmerica', 'KD'))
  1110.         ;   not(knows('UnitedStatesOfAmerica', 'KC'))
  1111.         ;   not(knows('UnitedStatesOfAmerica', 'KB'))
  1112.         ;   not(knows('UnitedStatesOfAmerica', 'KA'))
  1113.         ;   knows('UnitedStatesOfAmerica', 'KB')
  1114.         ),
  1115.         (   not(knows('UnitedStatesOfAmerica', 'KD'))
  1116.         ;   not(knows('UnitedStatesOfAmerica', 'KC'))
  1117.         ;   not(knows('UnitedStatesOfAmerica', 'KB'))
  1118.         ;   not(knows('UnitedStatesOfAmerica', 'KA'))
  1119.         ;   knows('UnitedStatesOfAmerica', 'KC')
  1120.         ),
  1121.         (   not(knows('UnitedStatesOfAmerica', 'KD'))
  1122.         ;   not(knows('UnitedStatesOfAmerica', 'KC'))
  1123.         ;   not(knows('UnitedStatesOfAmerica', 'KB'))
  1124.         ;   not(knows('UnitedStatesOfAmerica', 'KA'))
  1125.         ;   knows('UnitedStatesOfAmerica', 'KD')
  1126.         ).
  1127. %
  1128.  
  1129. tell18:0  not_true_t(knows,UnitedStatesOfAmerica,KD);not_true_t(knows,UnitedStatesOfAmerica,KC);not_true_t(knows,UnitedStatesOfAmerica,KB);not_true_t(knows,UnitedStatesOfAmerica,KA);true_t(knows,UnitedStatesOfAmerica,KA).
  1130. tell18:1  not_true_t(knows,UnitedStatesOfAmerica,KD);not_true_t(knows,UnitedStatesOfAmerica,KC);not_true_t(knows,UnitedStatesOfAmerica,KB);not_true_t(knows,UnitedStatesOfAmerica,KA);true_t(knows,UnitedStatesOfAmerica,KB).
  1131. tell18:2  not_true_t(knows,UnitedStatesOfAmerica,KD);not_true_t(knows,UnitedStatesOfAmerica,KC);not_true_t(knows,UnitedStatesOfAmerica,KB);not_true_t(knows,UnitedStatesOfAmerica,KA);true_t(knows,UnitedStatesOfAmerica,KC).
  1132. tell18:3  not_true_t(knows,UnitedStatesOfAmerica,KD);not_true_t(knows,UnitedStatesOfAmerica,KC);not_true_t(knows,UnitedStatesOfAmerica,KB);not_true_t(knows,UnitedStatesOfAmerica,KA);true_t(knows,UnitedStatesOfAmerica,KD).pttp :-
  1133.  
  1134.         [ (not_true_t(knows, 'UnitedStatesOfAmerica', 'KA'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), call(false)),
  1135.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KA'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KB')),
  1136.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KA'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KC')),
  1137.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KA'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KD')),
  1138.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KB'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KA'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KA')),
  1139.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KB'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KA'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KC')),
  1140.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KB'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KA'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KD')),
  1141.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KB'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KA')),
  1142.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KC'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), true_t(knows, 'UnitedStatesOfAmerica', 'KA'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KA')),
  1143.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KC'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), true_t(knows, 'UnitedStatesOfAmerica', 'KA'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KB')),
  1144.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KC'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), true_t(knows, 'UnitedStatesOfAmerica', 'KA'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KD')),
  1145.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KC'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KA')),
  1146.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KD'):-true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), true_t(knows, 'UnitedStatesOfAmerica', 'KA'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KA')),
  1147.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KD'):-true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), true_t(knows, 'UnitedStatesOfAmerica', 'KA'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KB')),
  1148.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KD'):-true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), true_t(knows, 'UnitedStatesOfAmerica', 'KA'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KC')),
  1149.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KD'):-true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KA')),
  1150.           (true_t(knows, 'UnitedStatesOfAmerica', 'KA'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), true_t(knows, 'UnitedStatesOfAmerica', 'KB'), call(false)),
  1151.           (true_t(knows, 'UnitedStatesOfAmerica', 'KB'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), true_t(knows, 'UnitedStatesOfAmerica', 'KC'), not_true_t(knows, 'UnitedStatesOfAmerica', 'KA')),
  1152.           (true_t(knows, 'UnitedStatesOfAmerica', 'KC'):-true_t(knows, 'UnitedStatesOfAmerica', 'KD'), (not(true_t(knows, 'UnitedStatesOfAmerica', 'KB'));not(true_t(knows, 'UnitedStatesOfAmerica', 'KA')))),
  1153.           (true_t(knows, 'UnitedStatesOfAmerica', 'KD'):-not(true_t(knows, 'UnitedStatesOfAmerica', 'KC'));not(true_t(knows, 'UnitedStatesOfAmerica', 'KB'));not(true_t(knows, 'UnitedStatesOfAmerica', 'KA')))
  1154.         ].
  1155. %
  1156. not_true_t(knows, 'UnitedStatesOfAmerica', 'KA') :-
  1157.         w_infer_by(tell18:0),
  1158.         knows('UnitedStatesOfAmerica', 'KD'),
  1159.         knows('UnitedStatesOfAmerica', 'KC'),
  1160.         knows('UnitedStatesOfAmerica', 'KB'),
  1161.         call(false).
  1162. %
  1163.  
  1164. tell18:0  not_true_t(knows,UnitedStatesOfAmerica,KA):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KB),call_builtin(call,false).not_true_t(knows,
  1165.                                                                                                                                                                                                                'UnitedStatesOfAmerica',
  1166.                                                                                                                                                                                                                'KA') :-
  1167.         w_infer_by(tell18:1),
  1168.         knows('UnitedStatesOfAmerica', 'KD'),
  1169.         knows('UnitedStatesOfAmerica', 'KC'),
  1170.         knows('UnitedStatesOfAmerica', 'KB'),
  1171.         not(knows('UnitedStatesOfAmerica', 'KB')).
  1172. %
  1173.  
  1174. tell18:1  not_true_t(knows,UnitedStatesOfAmerica,KA):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KB),not_true_t(knows,UnitedStatesOfAmerica,KB).not_true_t(knows,
  1175.                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  1176.                                                                                                                                                                                                                                  'KA') :-
  1177.         w_infer_by(tell18:2),
  1178.         knows('UnitedStatesOfAmerica', 'KD'),
  1179.         knows('UnitedStatesOfAmerica', 'KC'),
  1180.         knows('UnitedStatesOfAmerica', 'KB'),
  1181.         not(knows('UnitedStatesOfAmerica', 'KC')).
  1182. %
  1183.  
  1184. tell18:2  not_true_t(knows,UnitedStatesOfAmerica,KA):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KB),not_true_t(knows,UnitedStatesOfAmerica,KC).not_true_t(knows,
  1185.                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  1186.                                                                                                                                                                                                                                  'KA') :-
  1187.         w_infer_by(tell18:3),
  1188.         knows('UnitedStatesOfAmerica', 'KD'),
  1189.         knows('UnitedStatesOfAmerica', 'KC'),
  1190.         knows('UnitedStatesOfAmerica', 'KB'),
  1191.         not(knows('UnitedStatesOfAmerica', 'KD')).
  1192. %
  1193.  
  1194. tell18:3  not_true_t(knows,UnitedStatesOfAmerica,KA):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KB),not_true_t(knows,UnitedStatesOfAmerica,KD).not_true_t(knows,
  1195.                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  1196.                                                                                                                                                                                                                                  'KB') :-
  1197.         w_infer_by(tell18:4),
  1198.         knows('UnitedStatesOfAmerica', 'KD'),
  1199.         knows('UnitedStatesOfAmerica', 'KC'),
  1200.         knows('UnitedStatesOfAmerica', 'KA'),
  1201.         not(knows('UnitedStatesOfAmerica', 'KA')).
  1202. %
  1203.  
  1204. tell18:4  not_true_t(knows,UnitedStatesOfAmerica,KB):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KA),not_true_t(knows,UnitedStatesOfAmerica,KA).not_true_t(knows,
  1205.                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  1206.                                                                                                                                                                                                                                  'KB') :-
  1207.         w_infer_by(tell18:5),
  1208.         knows('UnitedStatesOfAmerica', 'KD'),
  1209.         knows('UnitedStatesOfAmerica', 'KC'),
  1210.         knows('UnitedStatesOfAmerica', 'KA'),
  1211.         not(knows('UnitedStatesOfAmerica', 'KC')).
  1212. %
  1213.  
  1214. tell18:5  not_true_t(knows,UnitedStatesOfAmerica,KB):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KA),not_true_t(knows,UnitedStatesOfAmerica,KC).not_true_t(knows,
  1215.                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  1216.                                                                                                                                                                                                                                  'KB') :-
  1217.         w_infer_by(tell18:6),
  1218.         knows('UnitedStatesOfAmerica', 'KD'),
  1219.         knows('UnitedStatesOfAmerica', 'KC'),
  1220.         knows('UnitedStatesOfAmerica', 'KA'),
  1221.         not(knows('UnitedStatesOfAmerica', 'KD')).
  1222. %
  1223.  
  1224. tell18:6  not_true_t(knows,UnitedStatesOfAmerica,KB):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KA),not_true_t(knows,UnitedStatesOfAmerica,KD).not_true_t(knows,
  1225.                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  1226.                                                                                                                                                                                                                                  'KB') :-
  1227.         w_infer_by(tell18:7),
  1228.         knows('UnitedStatesOfAmerica', 'KD'),
  1229.         knows('UnitedStatesOfAmerica', 'KC'),
  1230.         not(knows('UnitedStatesOfAmerica', 'KA')).
  1231. %
  1232.  
  1233. tell18:7  not_true_t(knows,UnitedStatesOfAmerica,KB):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),not_true_t(knows,UnitedStatesOfAmerica,KA).not_true_t(knows,
  1234.                                                                                                                                                                                           'UnitedStatesOfAmerica',
  1235.                                                                                                                                                                                           'KC') :-
  1236.         w_infer_by(tell18:8),
  1237.         knows('UnitedStatesOfAmerica', 'KD'),
  1238.         knows('UnitedStatesOfAmerica', 'KB'),
  1239.         knows('UnitedStatesOfAmerica', 'KA'),
  1240.         not(knows('UnitedStatesOfAmerica', 'KA')).
  1241. %
  1242.  
  1243. tell18:8  not_true_t(knows,UnitedStatesOfAmerica,KC):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KB),true_t(knows,UnitedStatesOfAmerica,KA),not_true_t(knows,UnitedStatesOfAmerica,KA).not_true_t(knows,
  1244.                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  1245.                                                                                                                                                                                                                                  'KC') :-
  1246.         w_infer_by(tell18:9),
  1247.         knows('UnitedStatesOfAmerica', 'KD'),
  1248.         knows('UnitedStatesOfAmerica', 'KB'),
  1249.         knows('UnitedStatesOfAmerica', 'KA'),
  1250.         not(knows('UnitedStatesOfAmerica', 'KB')).
  1251. %
  1252.  
  1253. tell18:9  not_true_t(knows,UnitedStatesOfAmerica,KC):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KB),true_t(knows,UnitedStatesOfAmerica,KA),not_true_t(knows,UnitedStatesOfAmerica,KB).not_true_t(knows,
  1254.                                                                                                                                                                                                                                  'UnitedStatesOfAmerica',
  1255.                                                                                                                                                                                                                                  'KC') :-
  1256.         w_infer_by(tell18:10),
  1257.         knows('UnitedStatesOfAmerica', 'KD'),
  1258.         knows('UnitedStatesOfAmerica', 'KB'),
  1259.         knows('UnitedStatesOfAmerica', 'KA'),
  1260.         not(knows('UnitedStatesOfAmerica', 'KD')).
  1261. %
  1262.  
  1263. tell18:10  not_true_t(knows,UnitedStatesOfAmerica,KC):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KB),true_t(knows,UnitedStatesOfAmerica,KA),not_true_t(knows,UnitedStatesOfAmerica,KD).not_true_t(knows,
  1264.                                                                                                                                                                                                                                   'UnitedStatesOfAmerica',
  1265.                                                                                                                                                                                                                                   'KC') :-
  1266.         w_infer_by(tell18:11),
  1267.         knows('UnitedStatesOfAmerica', 'KD'),
  1268.         knows('UnitedStatesOfAmerica', 'KB'),
  1269.         not(knows('UnitedStatesOfAmerica', 'KA')).
  1270. %
  1271.  
  1272. tell18:11  not_true_t(knows,UnitedStatesOfAmerica,KC):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KB),not_true_t(knows,UnitedStatesOfAmerica,KA).not_true_t(knows,
  1273.                                                                                                                                                                                            'UnitedStatesOfAmerica',
  1274.                                                                                                                                                                                            'KD') :-
  1275.         w_infer_by(tell18:12),
  1276.         knows('UnitedStatesOfAmerica', 'KC'),
  1277.         knows('UnitedStatesOfAmerica', 'KB'),
  1278.         knows('UnitedStatesOfAmerica', 'KA'),
  1279.         not(knows('UnitedStatesOfAmerica', 'KA')).
  1280. %
  1281.  
  1282. tell18:12  not_true_t(knows,UnitedStatesOfAmerica,KD):-true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KB),true_t(knows,UnitedStatesOfAmerica,KA),not_true_t(knows,UnitedStatesOfAmerica,KA).not_true_t(knows,
  1283.                                                                                                                                                                                                                                   'UnitedStatesOfAmerica',
  1284.                                                                                                                                                                                                                                   'KD') :-
  1285.         w_infer_by(tell18:13),
  1286.         knows('UnitedStatesOfAmerica', 'KC'),
  1287.         knows('UnitedStatesOfAmerica', 'KB'),
  1288.         knows('UnitedStatesOfAmerica', 'KA'),
  1289.         not(knows('UnitedStatesOfAmerica', 'KB')).
  1290. %
  1291.  
  1292. tell18:13  not_true_t(knows,UnitedStatesOfAmerica,KD):-true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KB),true_t(knows,UnitedStatesOfAmerica,KA),not_true_t(knows,UnitedStatesOfAmerica,KB).not_true_t(knows,
  1293.                                                                                                                                                                                                                                   'UnitedStatesOfAmerica',
  1294.                                                                                                                                                                                                                                   'KD') :-
  1295.         w_infer_by(tell18:14),
  1296.         knows('UnitedStatesOfAmerica', 'KC'),
  1297.         knows('UnitedStatesOfAmerica', 'KB'),
  1298.         knows('UnitedStatesOfAmerica', 'KA'),
  1299.         not(knows('UnitedStatesOfAmerica', 'KC')).
  1300. %
  1301.  
  1302. tell18:14  not_true_t(knows,UnitedStatesOfAmerica,KD):-true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KB),true_t(knows,UnitedStatesOfAmerica,KA),not_true_t(knows,UnitedStatesOfAmerica,KC).not_true_t(knows,
  1303.                                                                                                                                                                                                                                   'UnitedStatesOfAmerica',
  1304.                                                                                                                                                                                                                                   'KD') :-
  1305.         w_infer_by(tell18:15),
  1306.         knows('UnitedStatesOfAmerica', 'KC'),
  1307.         knows('UnitedStatesOfAmerica', 'KB'),
  1308.         not(knows('UnitedStatesOfAmerica', 'KA')).
  1309. %
  1310.  
  1311. tell18:15  not_true_t(knows,UnitedStatesOfAmerica,KD):-true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KB),not_true_t(knows,UnitedStatesOfAmerica,KA).true_t(knows,
  1312.                                                                                                                                                                                        'UnitedStatesOfAmerica',
  1313.                                                                                                                                                                                        'KA') :-
  1314.         w_infer_by(tell18:16),
  1315.         knows('UnitedStatesOfAmerica', 'KD'),
  1316.         knows('UnitedStatesOfAmerica', 'KC'),
  1317.         knows('UnitedStatesOfAmerica', 'KB'),
  1318.         call(false).
  1319. %
  1320.  
  1321. tell18:16  true_t(knows,UnitedStatesOfAmerica,KA):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),true_t(knows,UnitedStatesOfAmerica,KB),call_builtin(call,false).true_t(knows,
  1322.                                                                                                                                                                                                         'UnitedStatesOfAmerica',
  1323.                                                                                                                                                                                                         'KB') :-
  1324.         w_infer_by(tell18:17),
  1325.         knows('UnitedStatesOfAmerica', 'KD'),
  1326.         knows('UnitedStatesOfAmerica', 'KC'),
  1327.         not(knows('UnitedStatesOfAmerica', 'KA')).
  1328. %
  1329.  
  1330. tell18:17  true_t(knows,UnitedStatesOfAmerica,KB):-true_t(knows,UnitedStatesOfAmerica,KD),true_t(knows,UnitedStatesOfAmerica,KC),not_true_t(knows,UnitedStatesOfAmerica,KA).true_t(knows,
  1331.                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1332.                                                                                                                                                                                    'KC') :-
  1333.         w_infer_by(tell18:18),
  1334.         knows('UnitedStatesOfAmerica', 'KD'),
  1335.         (   not(knows('UnitedStatesOfAmerica', 'KB'))
  1336.         ;   not(knows('UnitedStatesOfAmerica', 'KA'))
  1337.         ).
  1338. %
  1339.  
  1340. tell18:18  true_t(knows,UnitedStatesOfAmerica,KC):-true_t(knows,UnitedStatesOfAmerica,KD), (not_true_t(knows,UnitedStatesOfAmerica,KB);not_true_t(knows,UnitedStatesOfAmerica,KA)).true_t(knows,
  1341.                                                                                                                                                                                           'UnitedStatesOfAmerica',
  1342.                                                                                                                                                                                           'KD') :-
  1343.         w_infer_by(tell18:19),
  1344.         (   not(knows('UnitedStatesOfAmerica', 'KC'))
  1345.         ;   not(knows('UnitedStatesOfAmerica', 'KB'))
  1346.         ;   not(knows('UnitedStatesOfAmerica', 'KA'))
  1347.         ).
  1348. %
  1349.  
  1350. tell18:19  true_t(knows,UnitedStatesOfAmerica,KD):-not_true_t(knows,UnitedStatesOfAmerica,KC);not_true_t(knows,UnitedStatesOfAmerica,KB);not_true_t(knows,UnitedStatesOfAmerica,KA).
  1351. true ;
  1352.  
  1353.  
  1354.  
  1355. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1356. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1357. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1358. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1359. kif :-
  1360.         ['\n(knows UnitedStatesOfAmerica (and  KA KB KC KD))\n'].
  1361. pkif :-
  1362.         ['\n(knows UnitedStatesOfAmerica (and  KA KB KC KD))\n'].
  1363. cnf :-
  1364.         '\n(knows UnitedStatesOfAmerica (and  KA KB KC KD))\n'.
  1365. %
  1366.  
  1367. tell19:0
  1368. (knows UnitedStatesOfAmerica (and  KA KB KC KD))
  1369. .
  1370. tell19:0
  1371. (knows UnitedStatesOfAmerica (and  KA KB KC KD))
  1372. .pttp :-
  1373.         [ ('\n(knows UnitedStatesOfAmerica (and  KA KB KC KD))\n':-true)].
  1374. %
  1375. '\n(knows UnitedStatesOfAmerica (and  KA KB KC KD))\n' :-
  1376.         w_infer_by(tell19:0),
  1377.         [].
  1378. %
  1379.  
  1380. tell19:0
  1381. (knows UnitedStatesOfAmerica (and  KA KB KC KD))
  1382. :-[].
  1383. true ;
  1384.  
  1385.  
  1386.  
  1387. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1388. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1389. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1390. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1391. kif :-
  1392.         [beliefs('UnitedStatesOfAmerica'), ['BA', 'BB', 'BC', 'BD']].
  1393. pkif :-
  1394.  
  1395.         [ implies,
  1396.           [poss(KB, [beliefs('UnitedStatesOfAmerica'), ['BD']])],
  1397.           (=>),
  1398.  
  1399.           [ implies,
  1400.             [poss(KB, [beliefs('UnitedStatesOfAmerica'), ['BC']])],
  1401.             (=>),
  1402.  
  1403.             [ implies,
  1404.               [poss(KB, [beliefs('UnitedStatesOfAmerica'), ['BB']])],
  1405.               (=>),
  1406.  
  1407.               [ implies,
  1408.                 [poss(KB, [beliefs('UnitedStatesOfAmerica'), ['BA']])],
  1409.                 (=>),
  1410.                 [beliefs('UnitedStatesOfAmerica'), ['BA', 'BB', 'BC', 'BD']]
  1411.               ]
  1412.             ]
  1413.           ]
  1414.         ].
  1415. cnf :-
  1416.         (   not(beliefs('UnitedStatesOfAmerica', 'BD'))
  1417.         ;   not(beliefs('UnitedStatesOfAmerica', 'BC'))
  1418.         ;   not(beliefs('UnitedStatesOfAmerica', 'BB'))
  1419.         ;   not(beliefs('UnitedStatesOfAmerica', 'BA'))
  1420.         ;   beliefs('UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD'))
  1421.         ).
  1422. %
  1423.  
  1424. tell20:0  not_true_t(beliefs,UnitedStatesOfAmerica,BD);not_true_t(beliefs,UnitedStatesOfAmerica,BC);not_true_t(beliefs,UnitedStatesOfAmerica,BB);not_true_t(beliefs,UnitedStatesOfAmerica,BA);true_t(beliefs,UnitedStatesOfAmerica, (BA,BB,BC,BD)).pttp :-
  1425.  
  1426.         [ (not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BA'):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BD'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BC'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BB'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD'))),
  1427.           (not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BB'):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BD'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BC'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BA'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD'))),
  1428.           (not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BC'):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BD'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BB'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BA'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD'))),
  1429.           (not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BD'):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BC'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BB'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BA'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD'))),
  1430.           (true_t(beliefs, 'UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD')):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BD'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BC'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BB'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BA'))
  1431.         ].
  1432. %
  1433. not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BA') :-
  1434.         w_infer_by(tell20:0),
  1435.         beliefs('UnitedStatesOfAmerica', 'BD'),
  1436.         beliefs('UnitedStatesOfAmerica', 'BC'),
  1437.         beliefs('UnitedStatesOfAmerica', 'BB'),
  1438.         not(beliefs('UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD'))).
  1439. %
  1440.  
  1441. tell20:0  not_true_t(beliefs,UnitedStatesOfAmerica,BA):-true_t(beliefs,UnitedStatesOfAmerica,BD),true_t(beliefs,UnitedStatesOfAmerica,BC),true_t(beliefs,UnitedStatesOfAmerica,BB),not_true_t(beliefs,UnitedStatesOfAmerica, (BA,BB,BC,BD)).not_true_t(beliefs,
  1442.                                                                                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1443.                                                                                                                                                                                                                                                    'BB') :-
  1444.         w_infer_by(tell20:1),
  1445.         beliefs('UnitedStatesOfAmerica', 'BD'),
  1446.         beliefs('UnitedStatesOfAmerica', 'BC'),
  1447.         beliefs('UnitedStatesOfAmerica', 'BA'),
  1448.         not(beliefs('UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD'))).
  1449. %
  1450.  
  1451. tell20:1  not_true_t(beliefs,UnitedStatesOfAmerica,BB):-true_t(beliefs,UnitedStatesOfAmerica,BD),true_t(beliefs,UnitedStatesOfAmerica,BC),true_t(beliefs,UnitedStatesOfAmerica,BA),not_true_t(beliefs,UnitedStatesOfAmerica, (BA,BB,BC,BD)).not_true_t(beliefs,
  1452.                                                                                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1453.                                                                                                                                                                                                                                                    'BC') :-
  1454.         w_infer_by(tell20:2),
  1455.         beliefs('UnitedStatesOfAmerica', 'BD'),
  1456.         beliefs('UnitedStatesOfAmerica', 'BB'),
  1457.         beliefs('UnitedStatesOfAmerica', 'BA'),
  1458.         not(beliefs('UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD'))).
  1459. %
  1460.  
  1461. tell20:2  not_true_t(beliefs,UnitedStatesOfAmerica,BC):-true_t(beliefs,UnitedStatesOfAmerica,BD),true_t(beliefs,UnitedStatesOfAmerica,BB),true_t(beliefs,UnitedStatesOfAmerica,BA),not_true_t(beliefs,UnitedStatesOfAmerica, (BA,BB,BC,BD)).not_true_t(beliefs,
  1462.                                                                                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1463.                                                                                                                                                                                                                                                    'BD') :-
  1464.         w_infer_by(tell20:3),
  1465.         beliefs('UnitedStatesOfAmerica', 'BC'),
  1466.         beliefs('UnitedStatesOfAmerica', 'BB'),
  1467.         beliefs('UnitedStatesOfAmerica', 'BA'),
  1468.         not(beliefs('UnitedStatesOfAmerica', ('BA', 'BB', 'BC', 'BD'))).
  1469. %
  1470.  
  1471. tell20:3  not_true_t(beliefs,UnitedStatesOfAmerica,BD):-true_t(beliefs,UnitedStatesOfAmerica,BC),true_t(beliefs,UnitedStatesOfAmerica,BB),true_t(beliefs,UnitedStatesOfAmerica,BA),not_true_t(beliefs,UnitedStatesOfAmerica, (BA,BB,BC,BD)).true_t(beliefs,
  1472.                                                                                                                                                                                                                                                'UnitedStatesOfAmerica',
  1473.                                                                                                                                                                                                                                                ('BA', 'BB', 'BC', 'BD')) :-
  1474.         w_infer_by(tell20:4),
  1475.         beliefs('UnitedStatesOfAmerica', 'BD'),
  1476.         beliefs('UnitedStatesOfAmerica', 'BC'),
  1477.         beliefs('UnitedStatesOfAmerica', 'BB'),
  1478.         beliefs('UnitedStatesOfAmerica', 'BA').
  1479. %
  1480.  
  1481. tell20:4  true_t(beliefs,UnitedStatesOfAmerica, (BA,BB,BC,BD)):-true_t(beliefs,UnitedStatesOfAmerica,BD),true_t(beliefs,UnitedStatesOfAmerica,BC),true_t(beliefs,UnitedStatesOfAmerica,BB),true_t(beliefs,UnitedStatesOfAmerica,BA).
  1482. true ;
  1483.  
  1484.  
  1485.  
  1486. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1487. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1488. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1489. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1490. kif :-
  1491.         ['\n(beliefs UnitedStatesOfAmerica (and  BA BB BC BD))\n'].
  1492. pkif :-
  1493.         ['\n(beliefs UnitedStatesOfAmerica (and  BA BB BC BD))\n'].
  1494. cnf :-
  1495.         '\n(beliefs UnitedStatesOfAmerica (and  BA BB BC BD))\n'.
  1496. %
  1497.  
  1498. tell21:0
  1499. (beliefs UnitedStatesOfAmerica (and  BA BB BC BD))
  1500. .
  1501. tell21:0
  1502. (beliefs UnitedStatesOfAmerica (and  BA BB BC BD))
  1503. .pttp :-
  1504.         [ ('\n(beliefs UnitedStatesOfAmerica (and  BA BB BC BD))\n':-true)].
  1505. %
  1506. '\n(beliefs UnitedStatesOfAmerica (and  BA BB BC BD))\n' :-
  1507.         w_infer_by(tell21:0),
  1508.         [].
  1509. %
  1510.  
  1511. tell21:0
  1512. (beliefs UnitedStatesOfAmerica (and  BA BB BC BD))
  1513. :-[].
  1514. true ;
  1515.  
  1516.  
  1517.  
  1518. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1519. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1520. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1521. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1522. kif :-
  1523.         [knows('UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))].
  1524. pkif :-
  1525.  
  1526.         [ implies,
  1527.           [poss(KB, knows('UnitedStatesOfAmerica', 'KOD'))],
  1528.           (=>),
  1529.  
  1530.           [ implies,
  1531.             [poss(KB, knows('UnitedStatesOfAmerica', 'KOC'))],
  1532.             (=>),
  1533.  
  1534.             [ implies,
  1535.               [poss(KB, knows('UnitedStatesOfAmerica', 'KOB'))],
  1536.               (=>),
  1537.  
  1538.               [ implies,
  1539.                 [poss(KB, knows('UnitedStatesOfAmerica', 'KOA'))],
  1540.                 (=>),
  1541.                 [knows('UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))]
  1542.               ]
  1543.             ]
  1544.           ]
  1545.         ].
  1546. cnf :-
  1547.         (   not(knows('UnitedStatesOfAmerica', 'KOD'))
  1548.         ;   not(knows('UnitedStatesOfAmerica', 'KOC'))
  1549.         ;   not(knows('UnitedStatesOfAmerica', 'KOB'))
  1550.         ;   not(knows('UnitedStatesOfAmerica', 'KOA'))
  1551.         ;   beliefs('UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))
  1552.         ).
  1553. %
  1554.  
  1555. tell22:0  not_true_t(knows,UnitedStatesOfAmerica,KOD);not_true_t(knows,UnitedStatesOfAmerica,KOC);not_true_t(knows,UnitedStatesOfAmerica,KOB);not_true_t(knows,UnitedStatesOfAmerica,KOA);true_t(beliefs,UnitedStatesOfAmerica, (KOA;KOB;KOC;KOD)).pttp :-
  1556.  
  1557.         [ (not_true_t(knows, 'UnitedStatesOfAmerica', 'KOA'):-true_t(knows, 'UnitedStatesOfAmerica', 'KOD'), true_t(knows, 'UnitedStatesOfAmerica', 'KOC'), true_t(knows, 'UnitedStatesOfAmerica', 'KOB'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))),
  1558.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KOB'):-true_t(knows, 'UnitedStatesOfAmerica', 'KOD'), true_t(knows, 'UnitedStatesOfAmerica', 'KOC'), true_t(knows, 'UnitedStatesOfAmerica', 'KOA'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))),
  1559.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KOC'):-true_t(knows, 'UnitedStatesOfAmerica', 'KOD'), true_t(knows, 'UnitedStatesOfAmerica', 'KOB'), true_t(knows, 'UnitedStatesOfAmerica', 'KOA'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))),
  1560.           (not_true_t(knows, 'UnitedStatesOfAmerica', 'KOD'):-true_t(knows, 'UnitedStatesOfAmerica', 'KOC'), true_t(knows, 'UnitedStatesOfAmerica', 'KOB'), true_t(knows, 'UnitedStatesOfAmerica', 'KOA'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))),
  1561.           (true_t(beliefs, 'UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD')):-true_t(knows, 'UnitedStatesOfAmerica', 'KOD'), true_t(knows, 'UnitedStatesOfAmerica', 'KOC'), true_t(knows, 'UnitedStatesOfAmerica', 'KOB'), true_t(knows, 'UnitedStatesOfAmerica', 'KOA'))
  1562.         ].
  1563. %
  1564. not_true_t(knows, 'UnitedStatesOfAmerica', 'KOA') :-
  1565.         w_infer_by(tell22:0),
  1566.         knows('UnitedStatesOfAmerica', 'KOD'),
  1567.         knows('UnitedStatesOfAmerica', 'KOC'),
  1568.         knows('UnitedStatesOfAmerica', 'KOB'),
  1569.         not(beliefs('UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))).
  1570. %
  1571.  
  1572. tell22:0  not_true_t(knows,UnitedStatesOfAmerica,KOA):-true_t(knows,UnitedStatesOfAmerica,KOD),true_t(knows,UnitedStatesOfAmerica,KOC),true_t(knows,UnitedStatesOfAmerica,KOB),not_true_t(beliefs,UnitedStatesOfAmerica, (KOA;KOB;KOC;KOD)).not_true_t(knows,
  1573.                                                                                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1574.                                                                                                                                                                                                                                                    'KOB') :-
  1575.         w_infer_by(tell22:1),
  1576.         knows('UnitedStatesOfAmerica', 'KOD'),
  1577.         knows('UnitedStatesOfAmerica', 'KOC'),
  1578.         knows('UnitedStatesOfAmerica', 'KOA'),
  1579.         not(beliefs('UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))).
  1580. %
  1581.  
  1582. tell22:1  not_true_t(knows,UnitedStatesOfAmerica,KOB):-true_t(knows,UnitedStatesOfAmerica,KOD),true_t(knows,UnitedStatesOfAmerica,KOC),true_t(knows,UnitedStatesOfAmerica,KOA),not_true_t(beliefs,UnitedStatesOfAmerica, (KOA;KOB;KOC;KOD)).not_true_t(knows,
  1583.                                                                                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1584.                                                                                                                                                                                                                                                    'KOC') :-
  1585.         w_infer_by(tell22:2),
  1586.         knows('UnitedStatesOfAmerica', 'KOD'),
  1587.         knows('UnitedStatesOfAmerica', 'KOB'),
  1588.         knows('UnitedStatesOfAmerica', 'KOA'),
  1589.         not(beliefs('UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))).
  1590. %
  1591.  
  1592. tell22:2  not_true_t(knows,UnitedStatesOfAmerica,KOC):-true_t(knows,UnitedStatesOfAmerica,KOD),true_t(knows,UnitedStatesOfAmerica,KOB),true_t(knows,UnitedStatesOfAmerica,KOA),not_true_t(beliefs,UnitedStatesOfAmerica, (KOA;KOB;KOC;KOD)).not_true_t(knows,
  1593.                                                                                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1594.                                                                                                                                                                                                                                                    'KOD') :-
  1595.         w_infer_by(tell22:3),
  1596.         knows('UnitedStatesOfAmerica', 'KOC'),
  1597.         knows('UnitedStatesOfAmerica', 'KOB'),
  1598.         knows('UnitedStatesOfAmerica', 'KOA'),
  1599.         not(beliefs('UnitedStatesOfAmerica', ('KOA';'KOB';'KOC';'KOD'))).
  1600. %
  1601.  
  1602. tell22:3  not_true_t(knows,UnitedStatesOfAmerica,KOD):-true_t(knows,UnitedStatesOfAmerica,KOC),true_t(knows,UnitedStatesOfAmerica,KOB),true_t(knows,UnitedStatesOfAmerica,KOA),not_true_t(beliefs,UnitedStatesOfAmerica, (KOA;KOB;KOC;KOD)).true_t(beliefs,
  1603.                                                                                                                                                                                                                                                'UnitedStatesOfAmerica',
  1604.                                                                                                                                                                                                                                                ('KOA';'KOB';'KOC';'KOD')) :-
  1605.         w_infer_by(tell22:4),
  1606.         knows('UnitedStatesOfAmerica', 'KOD'),
  1607.         knows('UnitedStatesOfAmerica', 'KOC'),
  1608.         knows('UnitedStatesOfAmerica', 'KOB'),
  1609.         knows('UnitedStatesOfAmerica', 'KOA').
  1610. %
  1611.  
  1612. tell22:4  true_t(beliefs,UnitedStatesOfAmerica, (KOA;KOB;KOC;KOD)):-true_t(knows,UnitedStatesOfAmerica,KOD),true_t(knows,UnitedStatesOfAmerica,KOC),true_t(knows,UnitedStatesOfAmerica,KOB),true_t(knows,UnitedStatesOfAmerica,KOA).
  1613. true ;
  1614.  
  1615.  
  1616.  
  1617. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1618. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1619. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1620. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1621. kif :-
  1622.         ['\n(knows UnitedStatesOfAmerica (or  KOA KOB KOC KOD))\n'].
  1623. pkif :-
  1624.         ['\n(knows UnitedStatesOfAmerica (or  KOA KOB KOC KOD))\n'].
  1625. cnf :-
  1626.         '\n(knows UnitedStatesOfAmerica (or  KOA KOB KOC KOD))\n'.
  1627. %
  1628.  
  1629. tell23:0
  1630. (knows UnitedStatesOfAmerica (or  KOA KOB KOC KOD))
  1631. .
  1632. tell23:0
  1633. (knows UnitedStatesOfAmerica (or  KOA KOB KOC KOD))
  1634. .pttp :-
  1635.         [ ('\n(knows UnitedStatesOfAmerica (or  KOA KOB KOC KOD))\n':-true)].
  1636. %
  1637. '\n(knows UnitedStatesOfAmerica (or  KOA KOB KOC KOD))\n' :-
  1638.         w_infer_by(tell23:0),
  1639.         [].
  1640. %
  1641.  
  1642. tell23:0
  1643. (knows UnitedStatesOfAmerica (or  KOA KOB KOC KOD))
  1644. :-[].
  1645. true ;
  1646.  
  1647.  
  1648.  
  1649. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1650. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1651. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1652. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1653. kif :-
  1654.  
  1655.         [ beliefs('UnitedStatesOfAmerica'),
  1656.           [or, [['BOA']], [[or, [['BOB']], [[or, [['BOC']], [['BOD']]]]]]]
  1657.         ].
  1658. pkif :-
  1659.  
  1660.         [ implies,
  1661.           [poss(KB, [beliefs('UnitedStatesOfAmerica'), ['BOD']])],
  1662.           (=>),
  1663.  
  1664.           [ implies,
  1665.             [poss(KB, [beliefs('UnitedStatesOfAmerica'), ['BOC']])],
  1666.             (=>),
  1667.  
  1668.             [ implies,
  1669.               [poss(KB, [beliefs('UnitedStatesOfAmerica'), ['BOB']])],
  1670.               (=>),
  1671.  
  1672.               [ implies,
  1673.                 [poss(KB, [beliefs('UnitedStatesOfAmerica'), ['BOA']])],
  1674.                 (=>),
  1675.  
  1676.                 [ beliefs('UnitedStatesOfAmerica'),
  1677.                   [or, [['BOA']], [[or, [['BOB']], [[or, [['BOC']], [['BOD']]]]]]]
  1678.                 ]
  1679.               ]
  1680.             ]
  1681.           ]
  1682.         ].
  1683. cnf :-
  1684.         (   not(beliefs('UnitedStatesOfAmerica', 'BOD'))
  1685.         ;   not(beliefs('UnitedStatesOfAmerica', 'BOC'))
  1686.         ;   not(beliefs('UnitedStatesOfAmerica', 'BOB'))
  1687.         ;   not(beliefs('UnitedStatesOfAmerica', 'BOA'))
  1688.         ;   beliefs('UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD'))
  1689.         ).
  1690. %
  1691.  
  1692. tell24:0  not_true_t(beliefs,UnitedStatesOfAmerica,BOD);not_true_t(beliefs,UnitedStatesOfAmerica,BOC);not_true_t(beliefs,UnitedStatesOfAmerica,BOB);not_true_t(beliefs,UnitedStatesOfAmerica,BOA);true_t(beliefs,UnitedStatesOfAmerica, (BOA;BOB;BOC;BOD)).pttp :-
  1693.  
  1694.         [ (not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BOA'):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BOD'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOC'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOB'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD'))),
  1695.           (not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BOB'):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BOD'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOC'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOA'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD'))),
  1696.           (not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BOC'):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BOD'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOB'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOA'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD'))),
  1697.           (not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BOD'):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BOC'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOB'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOA'), not_true_t(beliefs, 'UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD'))),
  1698.           (true_t(beliefs, 'UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD')):-true_t(beliefs, 'UnitedStatesOfAmerica', 'BOD'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOC'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOB'), true_t(beliefs, 'UnitedStatesOfAmerica', 'BOA'))
  1699.         ].
  1700. %
  1701. not_true_t(beliefs, 'UnitedStatesOfAmerica', 'BOA') :-
  1702.         w_infer_by(tell24:0),
  1703.         beliefs('UnitedStatesOfAmerica', 'BOD'),
  1704.         beliefs('UnitedStatesOfAmerica', 'BOC'),
  1705.         beliefs('UnitedStatesOfAmerica', 'BOB'),
  1706.         not(beliefs('UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD'))).
  1707. %
  1708.  
  1709. tell24:0  not_true_t(beliefs,UnitedStatesOfAmerica,BOA):-true_t(beliefs,UnitedStatesOfAmerica,BOD),true_t(beliefs,UnitedStatesOfAmerica,BOC),true_t(beliefs,UnitedStatesOfAmerica,BOB),not_true_t(beliefs,UnitedStatesOfAmerica, (BOA;BOB;BOC;BOD)).not_true_t(beliefs,
  1710.                                                                                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1711.                                                                                                                                                                                                                                                    'BOB') :-
  1712.         w_infer_by(tell24:1),
  1713.         beliefs('UnitedStatesOfAmerica', 'BOD'),
  1714.         beliefs('UnitedStatesOfAmerica', 'BOC'),
  1715.         beliefs('UnitedStatesOfAmerica', 'BOA'),
  1716.         not(beliefs('UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD'))).
  1717. %
  1718.  
  1719. tell24:1  not_true_t(beliefs,UnitedStatesOfAmerica,BOB):-true_t(beliefs,UnitedStatesOfAmerica,BOD),true_t(beliefs,UnitedStatesOfAmerica,BOC),true_t(beliefs,UnitedStatesOfAmerica,BOA),not_true_t(beliefs,UnitedStatesOfAmerica, (BOA;BOB;BOC;BOD)).not_true_t(beliefs,
  1720.                                                                                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1721.                                                                                                                                                                                                                                                    'BOC') :-
  1722.         w_infer_by(tell24:2),
  1723.         beliefs('UnitedStatesOfAmerica', 'BOD'),
  1724.         beliefs('UnitedStatesOfAmerica', 'BOB'),
  1725.         beliefs('UnitedStatesOfAmerica', 'BOA'),
  1726.         not(beliefs('UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD'))).
  1727. %
  1728.  
  1729. tell24:2  not_true_t(beliefs,UnitedStatesOfAmerica,BOC):-true_t(beliefs,UnitedStatesOfAmerica,BOD),true_t(beliefs,UnitedStatesOfAmerica,BOB),true_t(beliefs,UnitedStatesOfAmerica,BOA),not_true_t(beliefs,UnitedStatesOfAmerica, (BOA;BOB;BOC;BOD)).not_true_t(beliefs,
  1730.                                                                                                                                                                                                                                                    'UnitedStatesOfAmerica',
  1731.                                                                                                                                                                                                                                                    'BOD') :-
  1732.         w_infer_by(tell24:3),
  1733.         beliefs('UnitedStatesOfAmerica', 'BOC'),
  1734.         beliefs('UnitedStatesOfAmerica', 'BOB'),
  1735.         beliefs('UnitedStatesOfAmerica', 'BOA'),
  1736.         not(beliefs('UnitedStatesOfAmerica', ('BOA';'BOB';'BOC';'BOD'))).
  1737. %
  1738.  
  1739. tell24:3  not_true_t(beliefs,UnitedStatesOfAmerica,BOD):-true_t(beliefs,UnitedStatesOfAmerica,BOC),true_t(beliefs,UnitedStatesOfAmerica,BOB),true_t(beliefs,UnitedStatesOfAmerica,BOA),not_true_t(beliefs,UnitedStatesOfAmerica, (BOA;BOB;BOC;BOD)).true_t(beliefs,
  1740.                                                                                                                                                                                                                                                'UnitedStatesOfAmerica',
  1741.                                                                                                                                                                                                                                                ('BOA';'BOB';'BOC';'BOD')) :-
  1742.         w_infer_by(tell24:4),
  1743.         beliefs('UnitedStatesOfAmerica', 'BOD'),
  1744.         beliefs('UnitedStatesOfAmerica', 'BOC'),
  1745.         beliefs('UnitedStatesOfAmerica', 'BOB'),
  1746.         beliefs('UnitedStatesOfAmerica', 'BOA').
  1747. %
  1748.  
  1749. tell24:4  true_t(beliefs,UnitedStatesOfAmerica, (BOA;BOB;BOC;BOD)):-true_t(beliefs,UnitedStatesOfAmerica,BOD),true_t(beliefs,UnitedStatesOfAmerica,BOC),true_t(beliefs,UnitedStatesOfAmerica,BOB),true_t(beliefs,UnitedStatesOfAmerica,BOA).
  1750. true ;
  1751.  
  1752.  
  1753.  
  1754. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1755. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1756. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1757. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1758. kif :-
  1759.         ['\n(beliefs UnitedStatesOfAmerica (or  BOA BOB BOC BOD))\n'].
  1760. pkif :-
  1761.         ['\n(beliefs UnitedStatesOfAmerica (or  BOA BOB BOC BOD))\n'].
  1762. cnf :-
  1763.         '\n(beliefs UnitedStatesOfAmerica (or  BOA BOB BOC BOD))\n'.
  1764. %
  1765.  
  1766. tell25:0
  1767. (beliefs UnitedStatesOfAmerica (or  BOA BOB BOC BOD))
  1768. .
  1769. tell25:0
  1770. (beliefs UnitedStatesOfAmerica (or  BOA BOB BOC BOD))
  1771. .pttp :-
  1772.         [ ('\n(beliefs UnitedStatesOfAmerica (or  BOA BOB BOC BOD))\n':-true)].
  1773. %
  1774. '\n(beliefs UnitedStatesOfAmerica (or  BOA BOB BOC BOD))\n' :-
  1775.         w_infer_by(tell25:0),
  1776.         [].
  1777. %
  1778.  
  1779. tell25:0
  1780. (beliefs UnitedStatesOfAmerica (or  BOA BOB BOC BOD))
  1781. :-[].
  1782. true ;
  1783.  
  1784.  
  1785.  
  1786. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1787. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1788. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1789. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  1790. kif :-
  1791.  
  1792.         [ all[THEMAN],
  1793.  
  1794.           [ all[CRIME],
  1795.  
  1796.             [ all[WOMAN],
  1797.  
  1798.               [ all[RESPONSE],
  1799.  
  1800.                 [ all[RETALIATION],
  1801.  
  1802.                   [ implies,
  1803.  
  1804.                     [ different(THEMAN, WOMAN),
  1805.                       intendedMaleficiary(CRIME, THEMAN),
  1806.                       deliberateActors(CRIME, WOMAN),
  1807.                       behaviorCapable(THEMAN,
  1808.                                       'CollectionSubsetFn'('Punishing',
  1809.                                                            'TheSetOf'(RESPONSE,
  1810.                                                                       maleficiary(RESPONSE,
  1811.                                                                                   WOMAN))),
  1812.                                       deliberateActors)
  1813.                     ],
  1814.                     (=>),
  1815.  
  1816.                     [ 'optionAvailableToAgent-SitType'(THEMAN,
  1817.                                                        'CollectionSubsetFn'('AttemptingFn'('Punishing'),
  1818.                                                                             'TheSetOf'(RETALIATION,
  1819.  
  1820.                                                                                        [ intendedMaleficiary(RETALIATION,
  1821.                                                                                                              WOMAN),
  1822.                                                                                          purposeInEvent(THEMAN,
  1823.                                                                                                         RETALIATION,
  1824.  
  1825.                                                                                                         [ not,
  1826.  
  1827.                                                                                                           [ ex[ANOTRACT],
  1828.  
  1829.                                                                                                             [ isa(ANOTRACT,
  1830.                                                                                                                   'PurposefulAction'),
  1831.                                                                                                               startsAfterEndingOf(ANOTRACT,
  1832.                                                                                                                                   CRIME),
  1833.                                                                                                               maleficiary(ANOTRACT,
  1834.                                                                                                                           THEMAN),
  1835.                                                                                                               deliberateActors(ANOTRACT,
  1836.                                                                                                                                WOMAN)
  1837.                                                                                                             ]
  1838.                                                                                                           ]
  1839.                                                                                                         ])
  1840.                                                                                        ])),
  1841.                                                        deliberateActors)
  1842.                     ]
  1843.                   ]
  1844.                 ]
  1845.               ]
  1846.             ]
  1847.           ]
  1848.         ].
  1849. pkif :-
  1850.  
  1851.         [ implies,
  1852.  
  1853.           [ poss(KB,
  1854.                  'optionAvailableToAgent-SitType'(THEMAN,
  1855.                                                   RETALIATION,
  1856.                                                   deliberateActors))
  1857.           ],
  1858.           (=>),
  1859.  
  1860.           [ implies,
  1861.             [poss(KB, behaviorCapable(THEMAN, RESPONSE, deliberateActors))],
  1862.             (=>),
  1863.  
  1864.             [ implies,
  1865.               [poss(KB, deliberateActors(CRIME, WOMAN))],
  1866.               (=>),
  1867.  
  1868.               [ implies,
  1869.                 [poss(KB, intendedMaleficiary(CRIME, THEMAN))],
  1870.                 (=>),
  1871.  
  1872.                 [ implies,
  1873.                   [different(THEMAN, WOMAN)],
  1874.                   (=>),
  1875.  
  1876.                   [ implies,
  1877.  
  1878.                     [ poss(KB,
  1879.                            purposeInEvent(THEMAN,
  1880.                                           RETALIATION,
  1881.  
  1882.                                           [ not,
  1883.  
  1884.                                             [ ex[ANOTRACT],
  1885.  
  1886.                                               [ isa(ANOTRACT, 'PurposefulAction'),
  1887.                                                 startsAfterEndingOf(ANOTRACT,
  1888.                                                                     CRIME),
  1889.                                                 maleficiary(ANOTRACT, THEMAN),
  1890.                                                 deliberateActors(ANOTRACT,
  1891.                                                                  WOMAN)
  1892.                                               ]
  1893.                                             ]
  1894.                                           ]))
  1895.                     ],
  1896.                     (=>),
  1897.  
  1898.                     [ implies,
  1899.                       [poss(KB, intendedMaleficiary(RETALIATION, WOMAN))],
  1900.                       (=>),
  1901.  
  1902.                       [ implies,
  1903.                         [poss(KB, maleficiary(RESPONSE, WOMAN))],
  1904.                         (=>),
  1905.  
  1906.                         [ implies,
  1907.  
  1908.                           [ isa(RESPONSE, 'Punishing'),
  1909.                             maleficiary(RESPONSE, WOMAN)
  1910.                           ],
  1911.                           (=>),
  1912.  
  1913.                           [ implies,
  1914.  
  1915.                             [ isa(RETALIATION, 'AttemptingFn'('Punishing')),
  1916.                               intendedMaleficiary(RETALIATION, WOMAN),
  1917.                               purposeInEvent(THEMAN,
  1918.                                              RETALIATION,
  1919.  
  1920.                                              [ not,
  1921.  
  1922.                                                [ ex[ANOTRACT],
  1923.  
  1924.                                                  [ isa(ANOTRACT,
  1925.                                                        'PurposefulAction'),
  1926.                                                    startsAfterEndingOf(ANOTRACT,
  1927.                                                                        CRIME),
  1928.                                                    maleficiary(ANOTRACT,
  1929.                                                                THEMAN),
  1930.                                                    deliberateActors(ANOTRACT,
  1931.                                                                     WOMAN)
  1932.                                                  ]
  1933.                                                ]
  1934.                                              ])
  1935.                             ],
  1936.                             (=>),
  1937.  
  1938.                             [ all[THEMAN],
  1939.  
  1940.                               [ all[CRIME],
  1941.  
  1942.                                 [ all[WOMAN],
  1943.  
  1944.                                   [ all[RESPONSE],
  1945.  
  1946.                                     [ all[RETALIATION],
  1947.  
  1948.                                       [ implies,
  1949.  
  1950.                                         [ different(THEMAN, WOMAN),
  1951.                                           intendedMaleficiary(CRIME, THEMAN),
  1952.                                           deliberateActors(CRIME, WOMAN),
  1953.                                           behaviorCapable(THEMAN,
  1954.                                                           RESPONSE,
  1955.                                                           deliberateActors)
  1956.                                         ],
  1957.                                         (=>),
  1958.  
  1959.                                         [ 'optionAvailableToAgent-SitType'(THEMAN,
  1960.                                                                            RETALIATION,
  1961.                                                                            deliberateActors)
  1962.                                         ]
  1963.                                       ]
  1964.                                     ]
  1965.                                   ]
  1966.                                 ]
  1967.                               ]
  1968.                             ]
  1969.                           ]
  1970.                         ]
  1971.                       ]
  1972.                     ]
  1973.                   ]
  1974.                 ]
  1975.               ]
  1976.             ]
  1977.           ]
  1978.         ].
  1979. cnf :-
  1980.         (   not(possible_t('optionAvailableToAgent-SitType'(THEMAN,
  1981.                                                             RETALIATION,
  1982.                                                             deliberateActors)))
  1983.         ;   not(possible_t(behaviorCapable(THEMAN, RESPONSE, deliberateActors)))
  1984.         ;   not(possible_t(deliberateActors(CRIME, WOMAN)))
  1985.         ;   not(possible_t(intendedMaleficiary(CRIME, THEMAN)))
  1986.         ;   not(different(THEMAN, WOMAN))
  1987.         ;   not(purposeInEvent(THEMAN,
  1988.                                RETALIATION,
  1989.                                (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))))
  1990.         ;   not(possible_t(intendedMaleficiary(RETALIATION, WOMAN)))
  1991.         ;   not(possible_t(maleficiary(RESPONSE, WOMAN)))
  1992.         ;   not(isa(RESPONSE, 'Punishing'))
  1993.         ;   not(maleficiary(RESPONSE, WOMAN))
  1994.         ;   'optionAvailableToAgent-SitType'(THEMAN,
  1995.                                              RETALIATION,
  1996.                                              deliberateActors)
  1997.         ;   not(intendedMaleficiary(CRIME, THEMAN))
  1998.         ;   not(deliberateActors(CRIME, WOMAN))
  1999.         ;   not(behaviorCapable(THEMAN, RESPONSE, deliberateActors))
  2000.         ;   not(isa(RETALIATION, 'AttemptingFn'('Punishing')))
  2001.         ;   not(intendedMaleficiary(RETALIATION, WOMAN))
  2002.         ).
  2003. %
  2004. %             todo(warn(pttp_builtin(different, 2))).
  2005. %
  2006.  
  2007. tell26:0  not_possible_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors);not_possible_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors);not_possible_t(deliberateActors,CRIME,WOMAN);not_possible_t(intendedMaleficiary,CRIME,THEMAN);not_call_builtin(different,THEMAN,WOMAN);not_true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN)));not_possible_t(intendedMaleficiary,RETALIATION,WOMAN);not_possible_t(maleficiary,RESPONSE,WOMAN);not_isa(RESPONSE,Punishing);not_true_t(maleficiary,RESPONSE,WOMAN);true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors);not_true_t(intendedMaleficiary,CRIME,THEMAN);not_true_t(deliberateActors,CRIME,WOMAN);not_true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors);not_isa(RETALIATION,AttemptingFn(Punishing));not_true_t(intendedMaleficiary,RETALIATION,WOMAN).pttp :-
  2008.  
  2009.         [ (not_isa(RESPONSE, 'Punishing'):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2010.           (not_isa(RETALIATION, 'AttemptingFn'('Punishing')):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2011.           (not_call_builtin(different, THEMAN, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2012.           (not_possible_t(deliberateActors, CRIME, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2013.           (not_possible_t(intendedMaleficiary, CRIME, THEMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2014.           (not_possible_t(intendedMaleficiary, RETALIATION, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2015.           (not_possible_t(maleficiary, RESPONSE, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2016.           (not_true_t(deliberateActors, CRIME, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2017.           (not_true_t(intendedMaleficiary, CRIME, THEMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2018.           (not_true_t(intendedMaleficiary, RETALIATION, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing'))),
  2019.           (not_true_t(maleficiary, RESPONSE, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2020.           (not_possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2021.           (not_possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors):-possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2022.           (not_true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2023.           (not_true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  2024.           (true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN))
  2025.         ].
  2026. %
  2027. not_isa(RESPONSE, 'Punishing') :-
  2028.         w_infer_by(tell26:0),
  2029.         maleficiary(RESPONSE, WOMAN),
  2030.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2031.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2032.         different(THEMAN, WOMAN),
  2033.         not('optionAvailableToAgent-SitType'(THEMAN,
  2034.                                              RETALIATION,
  2035.                                              deliberateActors)),
  2036.         intendedMaleficiary(CRIME, THEMAN),
  2037.         deliberateActors(CRIME, WOMAN),
  2038.         intendedMaleficiary(RETALIATION, WOMAN),
  2039.         purposeInEvent(THEMAN,
  2040.                        RETALIATION,
  2041.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2042. %
  2043.  
  2044. tell26:0  not_isa(RESPONSE,Punishing):-true_t(maleficiary,RESPONSE,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),call_builtin(different,THEMAN,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not(isa(RETALIATION, ATTEMPTINGFNPUNISHING1)):not(mudEquals(ATTEMPTINGFNPUNISHING1, 'AttemptingFn'('Punishing')), (different(THEMAN, WOMAN), purposeInEvent(THEMAN, RETALIATION, (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))), isa(RESPONSE, 'Punishing'), maleficiary(RESPONSE, WOMAN), not('optionAvailableToAgent-SitType'(THEMAN, RETALIATION, deliberateActors)), intendedMaleficiary(CRIME, THEMAN), deliberateActors(CRIME, WOMAN), behaviorCapable(THEMAN, RESPONSE, deliberateActors), intendedMaleficiary(RETALIATION, WOMAN))) :-
  2045.         w_infer_by(tell26:1).
  2046. %
  2047.  
  2048. tell26:1  true_t(:,not_isa(RETALIATION,ATTEMPTINGFNPUNISHING1),mudEquals(ATTEMPTINGFNPUNISHING1,AttemptingFn(Punishing))- (call_builtin(different,THEMAN,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(intendedMaleficiary,RETALIATION,WOMAN))).
  2049. tell26:1  true_t(:,not_isa(RETALIATION,ATTEMPTINGFNPUNISHING1),mudEquals(ATTEMPTINGFNPUNISHING1,AttemptingFn(Punishing))- (call_builtin(different,THEMAN,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(intendedMaleficiary,RETALIATION,WOMAN))).not_call_builtin(different,
  2050.                                                                                                                                                                                                                                                  THEMAN,
  2051.                                                                                                                                                                                                                                                  WOMAN) :-
  2052.         w_infer_by(tell26:2),
  2053.         isa(RESPONSE, 'Punishing'),
  2054.         maleficiary(RESPONSE, WOMAN),
  2055.         not('optionAvailableToAgent-SitType'(THEMAN,
  2056.                                              RETALIATION,
  2057.                                              deliberateActors)),
  2058.         intendedMaleficiary(CRIME, THEMAN),
  2059.         deliberateActors(CRIME, WOMAN),
  2060.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2061.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2062.         intendedMaleficiary(RETALIATION, WOMAN),
  2063.         purposeInEvent(THEMAN,
  2064.                        RETALIATION,
  2065.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2066. %
  2067.  
  2068. tell26:2  not_call_builtin(different,THEMAN,WOMAN):-isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(deliberateActors,
  2069.                                                                                                                                                                                                                                                   CRIME,
  2070.                                                                                                                                                                                                                                                   WOMAN) :-
  2071.         w_infer_by(tell26:3),
  2072.         deliberateActors(CRIME, WOMAN),
  2073.         different(THEMAN, WOMAN),
  2074.         isa(RESPONSE, 'Punishing'),
  2075.         maleficiary(RESPONSE, WOMAN),
  2076.         intendedMaleficiary(CRIME, THEMAN),
  2077.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2078.         intendedMaleficiary(RETALIATION, WOMAN),
  2079.         not('optionAvailableToAgent-SitType'(THEMAN,
  2080.                                              RETALIATION,
  2081.                                              deliberateActors)),
  2082.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2083.         purposeInEvent(THEMAN,
  2084.                        RETALIATION,
  2085.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2086. %
  2087.  
  2088. tell26:3  not_possible_t(deliberateActors,CRIME,WOMAN):-true_t(deliberateActors,CRIME,WOMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),true_t(intendedMaleficiary,CRIME,THEMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(intendedMaleficiary,
  2089.                                                                                                                                                                                                                                                    CRIME,
  2090.                                                                                                                                                                                                                                                    THEMAN) :-
  2091.         w_infer_by(tell26:4),
  2092.         intendedMaleficiary(CRIME, THEMAN),
  2093.         different(THEMAN, WOMAN),
  2094.         isa(RESPONSE, 'Punishing'),
  2095.         not('optionAvailableToAgent-SitType'(THEMAN,
  2096.                                              RETALIATION,
  2097.                                              deliberateActors)),
  2098.         deliberateActors(CRIME, WOMAN),
  2099.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2100.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2101.         maleficiary(RESPONSE, WOMAN),
  2102.         intendedMaleficiary(RETALIATION, WOMAN),
  2103.         purposeInEvent(THEMAN,
  2104.                        RETALIATION,
  2105.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2106. %
  2107.  
  2108. tell26:4  not_possible_t(intendedMaleficiary,CRIME,THEMAN):-true_t(intendedMaleficiary,CRIME,THEMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(maleficiary,RESPONSE,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(intendedMaleficiary,
  2109.                                                                                                                                                                                                                                                RETALIATION,
  2110.                                                                                                                                                                                                                                                WOMAN) :-
  2111.         w_infer_by(tell26:5),
  2112.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2113.         intendedMaleficiary(RETALIATION, WOMAN),
  2114.         different(THEMAN, WOMAN),
  2115.         isa(RESPONSE, 'Punishing'),
  2116.         maleficiary(RESPONSE, WOMAN),
  2117.         not('optionAvailableToAgent-SitType'(THEMAN,
  2118.                                              RETALIATION,
  2119.                                              deliberateActors)),
  2120.         deliberateActors(CRIME, WOMAN),
  2121.         intendedMaleficiary(CRIME, THEMAN),
  2122.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2123.         purposeInEvent(THEMAN,
  2124.                        RETALIATION,
  2125.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2126. %
  2127.  
  2128. tell26:5  not_possible_t(intendedMaleficiary,RETALIATION,WOMAN):-isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(maleficiary,
  2129.                                                                                                                                                                                                                                             RESPONSE,
  2130.                                                                                                                                                                                                                                             WOMAN) :-
  2131.         w_infer_by(tell26:6),
  2132.         isa(RESPONSE, 'Punishing'),
  2133.         maleficiary(RESPONSE, WOMAN),
  2134.         different(THEMAN, WOMAN),
  2135.         deliberateActors(CRIME, WOMAN),
  2136.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2137.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2138.         intendedMaleficiary(RETALIATION, WOMAN),
  2139.         not('optionAvailableToAgent-SitType'(THEMAN,
  2140.                                              RETALIATION,
  2141.                                              deliberateActors)),
  2142.         intendedMaleficiary(CRIME, THEMAN),
  2143.         purposeInEvent(THEMAN,
  2144.                        RETALIATION,
  2145.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2146. %
  2147.  
  2148. tell26:6  not_possible_t(maleficiary,RESPONSE,WOMAN):-isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),call_builtin(different,THEMAN,WOMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(deliberateActors,
  2149.                                                                                                                                                                                                                                              CRIME,
  2150.                                                                                                                                                                                                                                              WOMAN) :-
  2151.         w_infer_by(tell26:7),
  2152.         poss(deliberateActors(CRIME, WOMAN)),
  2153.         different(THEMAN, WOMAN),
  2154.         isa(RESPONSE, 'Punishing'),
  2155.         maleficiary(RESPONSE, WOMAN),
  2156.         intendedMaleficiary(CRIME, THEMAN),
  2157.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2158.         intendedMaleficiary(RETALIATION, WOMAN),
  2159.         not('optionAvailableToAgent-SitType'(THEMAN,
  2160.                                              RETALIATION,
  2161.                                              deliberateActors)),
  2162.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2163.         purposeInEvent(THEMAN,
  2164.                        RETALIATION,
  2165.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2166. %
  2167.  
  2168. tell26:7  not_true_t(deliberateActors,CRIME,WOMAN):-possible_t(deliberateActors,CRIME,WOMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),true_t(intendedMaleficiary,CRIME,THEMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(intendedMaleficiary,
  2169.                                                                                                                                                                                                                                                CRIME,
  2170.                                                                                                                                                                                                                                                THEMAN) :-
  2171.         w_infer_by(tell26:8),
  2172.         poss(intendedMaleficiary(CRIME, THEMAN)),
  2173.         different(THEMAN, WOMAN),
  2174.         isa(RESPONSE, 'Punishing'),
  2175.         not('optionAvailableToAgent-SitType'(THEMAN,
  2176.                                              RETALIATION,
  2177.                                              deliberateActors)),
  2178.         deliberateActors(CRIME, WOMAN),
  2179.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2180.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2181.         maleficiary(RESPONSE, WOMAN),
  2182.         intendedMaleficiary(RETALIATION, WOMAN),
  2183.         purposeInEvent(THEMAN,
  2184.                        RETALIATION,
  2185.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2186. %
  2187.  
  2188. tell26:8  not_true_t(intendedMaleficiary,CRIME,THEMAN):-possible_t(intendedMaleficiary,CRIME,THEMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(maleficiary,RESPONSE,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(intendedMaleficiary,
  2189.                                                                                                                                                                                                                                                    RETALIATION,
  2190.                                                                                                                                                                                                                                                    WOMAN) :-
  2191.         w_infer_by(tell26:9),
  2192.         poss(intendedMaleficiary(RETALIATION, WOMAN)),
  2193.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2194.         different(THEMAN, WOMAN),
  2195.         isa(RESPONSE, 'Punishing'),
  2196.         maleficiary(RESPONSE, WOMAN),
  2197.         not('optionAvailableToAgent-SitType'(THEMAN,
  2198.                                              RETALIATION,
  2199.                                              deliberateActors)),
  2200.         deliberateActors(CRIME, WOMAN),
  2201.         intendedMaleficiary(CRIME, THEMAN),
  2202.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2203.         purposeInEvent(THEMAN,
  2204.                        RETALIATION,
  2205.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2206. %
  2207.  
  2208. tell26:9  not_true_t(intendedMaleficiary,RETALIATION,WOMAN):-possible_t(intendedMaleficiary,RETALIATION,WOMAN),isa(RETALIATION,AttemptingFn(Punishing)),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(maleficiary,
  2209.                                                                                                                                                                                                                                                 RESPONSE,
  2210.                                                                                                                                                                                                                                                 WOMAN) :-
  2211.         w_infer_by(tell26:10),
  2212.         poss(maleficiary(RESPONSE, WOMAN)),
  2213.         isa(RESPONSE, 'Punishing'),
  2214.         different(THEMAN, WOMAN),
  2215.         deliberateActors(CRIME, WOMAN),
  2216.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2217.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2218.         intendedMaleficiary(RETALIATION, WOMAN),
  2219.         not('optionAvailableToAgent-SitType'(THEMAN,
  2220.                                              RETALIATION,
  2221.                                              deliberateActors)),
  2222.         intendedMaleficiary(CRIME, THEMAN),
  2223.         purposeInEvent(THEMAN,
  2224.                        RETALIATION,
  2225.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2226. %
  2227.  
  2228. tell26:10  not_true_t(maleficiary,RESPONSE,WOMAN):-possible_t(maleficiary,RESPONSE,WOMAN),isa(RESPONSE,Punishing),call_builtin(different,THEMAN,WOMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(behaviorCapable,
  2229.                                                                                                                                                                                                                                                   THEMAN,
  2230.                                                                                                                                                                                                                                                   RESPONSE,
  2231.                                                                                                                                                                                                                                                   deliberateActors) :-
  2232.         w_infer_by(tell26:11),
  2233.         isa(RESPONSE, 'Punishing'),
  2234.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2235.         different(THEMAN, WOMAN),
  2236.         maleficiary(RESPONSE, WOMAN),
  2237.         not('optionAvailableToAgent-SitType'(THEMAN,
  2238.                                              RETALIATION,
  2239.                                              deliberateActors)),
  2240.         intendedMaleficiary(CRIME, THEMAN),
  2241.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2242.         deliberateActors(CRIME, WOMAN),
  2243.         intendedMaleficiary(RETALIATION, WOMAN),
  2244.         purposeInEvent(THEMAN,
  2245.                        RETALIATION,
  2246.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2247. %
  2248.  
  2249. tell26:11  not_possible_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors):-isa(RESPONSE,Punishing),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),call_builtin(different,THEMAN,WOMAN),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t('optionAvailableToAgent-SitType',
  2250.                                                                                                                                                                                                                                                 THEMAN,
  2251.                                                                                                                                                                                                                                                 RETALIATION,
  2252.                                                                                                                                                                                                                                                 deliberateActors) :-
  2253.         w_infer_by(tell26:12),
  2254.         not('optionAvailableToAgent-SitType'(THEMAN,
  2255.                                              RETALIATION,
  2256.                                              deliberateActors)),
  2257.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2258.         different(THEMAN, WOMAN),
  2259.         isa(RESPONSE, 'Punishing'),
  2260.         intendedMaleficiary(CRIME, THEMAN),
  2261.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2262.         intendedMaleficiary(RETALIATION, WOMAN),
  2263.         maleficiary(RESPONSE, WOMAN),
  2264.         deliberateActors(CRIME, WOMAN),
  2265.         purposeInEvent(THEMAN,
  2266.                        RETALIATION,
  2267.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2268. %
  2269.  
  2270. tell26:12  not_possible_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors):-not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(maleficiary,RESPONSE,WOMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(behaviorCapable,
  2271.                                                                                                                                                                                                                                               THEMAN,
  2272.                                                                                                                                                                                                                                               RESPONSE,
  2273.                                                                                                                                                                                                                                               deliberateActors) :-
  2274.         w_infer_by(tell26:13),
  2275.         poss(behaviorCapable(THEMAN, RESPONSE, deliberateActors)),
  2276.         isa(RESPONSE, 'Punishing'),
  2277.         different(THEMAN, WOMAN),
  2278.         maleficiary(RESPONSE, WOMAN),
  2279.         not('optionAvailableToAgent-SitType'(THEMAN,
  2280.                                              RETALIATION,
  2281.                                              deliberateActors)),
  2282.         intendedMaleficiary(CRIME, THEMAN),
  2283.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2284.         deliberateActors(CRIME, WOMAN),
  2285.         intendedMaleficiary(RETALIATION, WOMAN),
  2286.         purposeInEvent(THEMAN,
  2287.                        RETALIATION,
  2288.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2289. %
  2290.  
  2291. tell26:13  not_true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors):-possible_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RESPONSE,Punishing),call_builtin(different,THEMAN,WOMAN),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(purposeInEvent,
  2292.                                                                                                                                                                                                                                             THEMAN,
  2293.                                                                                                                                                                                                                                             RETALIATION,
  2294.                                                                                                                                                                                                                                             (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))) :-
  2295.         w_infer_by(tell26:14),
  2296.         different(THEMAN, WOMAN),
  2297.         not('optionAvailableToAgent-SitType'(THEMAN,
  2298.                                              RETALIATION,
  2299.                                              deliberateActors)),
  2300.         intendedMaleficiary(CRIME, THEMAN),
  2301.         deliberateActors(CRIME, WOMAN),
  2302.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2303.         intendedMaleficiary(RETALIATION, WOMAN),
  2304.         isa(RESPONSE, 'Punishing'),
  2305.         maleficiary(RESPONSE, WOMAN),
  2306.         behaviorCapable(THEMAN, RESPONSE, deliberateActors).
  2307. %
  2308.  
  2309. tell26:14  not_true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))):-call_builtin(different,THEMAN,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors).true_t('optionAvailableToAgent-SitType',
  2310.                                                                                                                                                                                                                                                    THEMAN,
  2311.                                                                                                                                                                                                                                                    RETALIATION,
  2312.                                                                                                                                                                                                                                                    deliberateActors) :-
  2313.         w_infer_by(tell26:15),
  2314.         poss('optionAvailableToAgent-SitType'(THEMAN,
  2315.                                               RETALIATION,
  2316.                                               deliberateActors)),
  2317.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  2318.         different(THEMAN, WOMAN),
  2319.         isa(RESPONSE, 'Punishing'),
  2320.         intendedMaleficiary(CRIME, THEMAN),
  2321.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  2322.         intendedMaleficiary(RETALIATION, WOMAN),
  2323.         maleficiary(RESPONSE, WOMAN),
  2324.         deliberateActors(CRIME, WOMAN),
  2325.         purposeInEvent(THEMAN,
  2326.                        RETALIATION,
  2327.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  2328. %
  2329.  
  2330. tell26:15  true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors):-possible_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(maleficiary,RESPONSE,WOMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).
  2331. true ;
  2332.  
  2333.  
  2334.  
  2335. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2336. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2337. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2338. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2339. kif :-
  2340.  
  2341.         [ '\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))'
  2342.         ].
  2343. pkif :-
  2344.  
  2345.         [ '\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))'
  2346.         ].
  2347. cnf :-
  2348.         '\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))'.
  2349. %
  2350.  
  2351. tell27:0
  2352. (implies
  2353.        (and
  2354.            (different ?THEMAN ?WOMAN)
  2355.            (intendedMaleficiary ?CRIME ?THEMAN)
  2356.            (deliberateActors ?CRIME ?WOMAN)
  2357.            (behaviorCapable ?THEMAN
  2358.                (CollectionSubsetFn Punishing
  2359.                    (TheSetOf ?RESPONSE
  2360.                        (maleficiary ?RESPONSE ?WOMAN))) deliberateActors))
  2361.  
  2362.        (optionAvailableToAgent-SitType ?THEMAN
  2363.            (CollectionSubsetFn
  2364.                (AttemptingFn Punishing)
  2365.                (TheSetOf ?RETALIATION
  2366.                    (and
  2367.                        (intendedMaleficiary ?RETALIATION ?WOMAN)
  2368.                        (purposeInEvent ?THEMAN ?RETALIATION
  2369.                            (not
  2370.                                (thereExists ?ANOTRACT
  2371.                                    (and
  2372.                                        (isa ?ANOTRACT PurposefulAction)
  2373.                                        (startsAfterEndingOf ?ANOTRACT ?CRIME)
  2374.                                        (maleficiary ?ANOTRACT ?THEMAN)
  2375.                                        (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors)).
  2376. tell27:0
  2377. (implies
  2378.        (and
  2379.            (different ?THEMAN ?WOMAN)
  2380.            (intendedMaleficiary ?CRIME ?THEMAN)
  2381.            (deliberateActors ?CRIME ?WOMAN)
  2382.            (behaviorCapable ?THEMAN
  2383.                (CollectionSubsetFn Punishing
  2384.                    (TheSetOf ?RESPONSE
  2385.                        (maleficiary ?RESPONSE ?WOMAN))) deliberateActors))
  2386.  
  2387.        (optionAvailableToAgent-SitType ?THEMAN
  2388.            (CollectionSubsetFn
  2389.                (AttemptingFn Punishing)
  2390.                (TheSetOf ?RETALIATION
  2391.                    (and
  2392.                        (intendedMaleficiary ?RETALIATION ?WOMAN)
  2393.                        (purposeInEvent ?THEMAN ?RETALIATION
  2394.                            (not
  2395.                                (thereExists ?ANOTRACT
  2396.                                    (and
  2397.                                        (isa ?ANOTRACT PurposefulAction)
  2398.                                        (startsAfterEndingOf ?ANOTRACT ?CRIME)
  2399.                                        (maleficiary ?ANOTRACT ?THEMAN)
  2400.                                        (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors)).pttp :-
  2401.  
  2402.         [ ('\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))':-true)
  2403.         ].
  2404. %
  2405. '\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))' :-
  2406.         w_infer_by(tell27:0),
  2407.         [].
  2408. %
  2409.  
  2410. tell27:0
  2411. (implies
  2412.        (and
  2413.            (different ?THEMAN ?WOMAN)
  2414.            (intendedMaleficiary ?CRIME ?THEMAN)
  2415.            (deliberateActors ?CRIME ?WOMAN)
  2416.            (behaviorCapable ?THEMAN
  2417.                (CollectionSubsetFn Punishing
  2418.                    (TheSetOf ?RESPONSE
  2419.                        (maleficiary ?RESPONSE ?WOMAN))) deliberateActors))
  2420.  
  2421.        (optionAvailableToAgent-SitType ?THEMAN
  2422.            (CollectionSubsetFn
  2423.                (AttemptingFn Punishing)
  2424.                (TheSetOf ?RETALIATION
  2425.                    (and
  2426.                        (intendedMaleficiary ?RETALIATION ?WOMAN)
  2427.                        (purposeInEvent ?THEMAN ?RETALIATION
  2428.                            (not
  2429.                                (thereExists ?ANOTRACT
  2430.                                    (and
  2431.                                        (isa ?ANOTRACT PurposefulAction)
  2432.                                        (startsAfterEndingOf ?ANOTRACT ?CRIME)
  2433.                                        (maleficiary ?ANOTRACT ?THEMAN)
  2434.                                        (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors)):-[].
  2435. true ;
  2436.  
  2437.  
  2438.  
  2439. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2440. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2441. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2442. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2443. kif :-
  2444.  
  2445.         [ all[AGREEMENT],
  2446.  
  2447.           [ all[OBLIGATION],
  2448.  
  2449.             [ all[WOMAN],
  2450.  
  2451.               [ implies,
  2452.  
  2453.                 [ isa(AGREEMENT, 'Agreement'),
  2454.                   intangibleParts(AGREEMENT, OBLIGATION),
  2455.                   isa(OBLIGATION, 'Obligation'),
  2456.                   agreeingAgents(AGREEMENT, WOMAN),
  2457.                   agentViolatesObligation(WOMAN, OBLIGATION)
  2458.                 ],
  2459.                 (=>),
  2460.                 [agentViolatesAgreement(WOMAN, AGREEMENT)]
  2461.               ]
  2462.             ]
  2463.           ]
  2464.         ].
  2465. pkif :-
  2466.  
  2467.         [ implies,
  2468.           [poss(KB, agentViolatesAgreement(WOMAN, AGREEMENT))],
  2469.           (=>),
  2470.  
  2471.           [ implies,
  2472.             [poss(KB, agentViolatesObligation(WOMAN, OBLIGATION))],
  2473.             (=>),
  2474.  
  2475.             [ implies,
  2476.               [poss(KB, agreeingAgents(AGREEMENT, WOMAN))],
  2477.               (=>),
  2478.  
  2479.               [ implies,
  2480.                 [poss(KB, intangibleParts(AGREEMENT, OBLIGATION))],
  2481.                 (=>),
  2482.  
  2483.                 [ all[AGREEMENT],
  2484.  
  2485.                   [ all[OBLIGATION],
  2486.  
  2487.                     [ all[WOMAN],
  2488.  
  2489.                       [ implies,
  2490.  
  2491.                         [ isa(AGREEMENT, 'Agreement'),
  2492.                           intangibleParts(AGREEMENT, OBLIGATION),
  2493.                           isa(OBLIGATION, 'Obligation'),
  2494.                           agreeingAgents(AGREEMENT, WOMAN),
  2495.                           agentViolatesObligation(WOMAN, OBLIGATION)
  2496.                         ],
  2497.                         (=>),
  2498.                         [agentViolatesAgreement(WOMAN, AGREEMENT)]
  2499.                       ]
  2500.                     ]
  2501.                   ]
  2502.                 ]
  2503.               ]
  2504.             ]
  2505.           ]
  2506.         ].
  2507. cnf :-
  2508.         (   not(possible_t(agentViolatesAgreement(WOMAN, AGREEMENT)))
  2509.         ;   not(possible_t(agentViolatesObligation(WOMAN, OBLIGATION)))
  2510.         ;   not(possible_t(agreeingAgents(AGREEMENT, WOMAN)))
  2511.         ;   not(possible_t(intangibleParts(AGREEMENT, OBLIGATION)))
  2512.         ;   agentViolatesAgreement(WOMAN, AGREEMENT)
  2513.         ;   not(isa(AGREEMENT, 'Agreement'))
  2514.         ;   not(intangibleParts(AGREEMENT, OBLIGATION))
  2515.         ;   not(isa(OBLIGATION, 'Obligation'))
  2516.         ;   not(agreeingAgents(AGREEMENT, WOMAN))
  2517.         ;   not(agentViolatesObligation(WOMAN, OBLIGATION))
  2518.         ).
  2519. %
  2520.  
  2521. tell28:0  not_possible_t(agentViolatesAgreement,WOMAN,AGREEMENT);not_possible_t(agentViolatesObligation,WOMAN,OBLIGATION);not_possible_t(agreeingAgents,AGREEMENT,WOMAN);not_possible_t(intangibleParts,AGREEMENT,OBLIGATION);true_t(agentViolatesAgreement,WOMAN,AGREEMENT);not_isa(AGREEMENT,Agreement);not_true_t(intangibleParts,AGREEMENT,OBLIGATION);not_isa(OBLIGATION,Obligation);not_true_t(agreeingAgents,AGREEMENT,WOMAN);not_true_t(agentViolatesObligation,WOMAN,OBLIGATION).pttp :-
  2522.  
  2523.         [ (not_isa(AGREEMENT, 'Agreement'):-possible_t(agentViolatesAgreement, WOMAN, AGREEMENT), possible_t(agentViolatesObligation, WOMAN, OBLIGATION), possible_t(agreeingAgents, AGREEMENT, WOMAN), possible_t(intangibleParts, AGREEMENT, OBLIGATION), not_true_t(agentViolatesAgreement, WOMAN, AGREEMENT), true_t(intangibleParts, AGREEMENT, OBLIGATION), isa(OBLIGATION, 'Obligation'), true_t(agreeingAgents, AGREEMENT, WOMAN), true_t(agentViolatesObligation, WOMAN, OBLIGATION)),
  2524.           (not_isa(OBLIGATION, 'Obligation'):-possible_t(agentViolatesAgreement, WOMAN, AGREEMENT), possible_t(agentViolatesObligation, WOMAN, OBLIGATION), possible_t(agreeingAgents, AGREEMENT, WOMAN), possible_t(intangibleParts, AGREEMENT, OBLIGATION), not_true_t(agentViolatesAgreement, WOMAN, AGREEMENT), isa(AGREEMENT, 'Agreement'), true_t(intangibleParts, AGREEMENT, OBLIGATION), true_t(agreeingAgents, AGREEMENT, WOMAN), true_t(agentViolatesObligation, WOMAN, OBLIGATION)),
  2525.           (not_possible_t(agentViolatesAgreement, WOMAN, AGREEMENT):-possible_t(agentViolatesObligation, WOMAN, OBLIGATION), possible_t(agreeingAgents, AGREEMENT, WOMAN), possible_t(intangibleParts, AGREEMENT, OBLIGATION), not_true_t(agentViolatesAgreement, WOMAN, AGREEMENT), isa(AGREEMENT, 'Agreement'), true_t(intangibleParts, AGREEMENT, OBLIGATION), isa(OBLIGATION, 'Obligation'), true_t(agreeingAgents, AGREEMENT, WOMAN), true_t(agentViolatesObligation, WOMAN, OBLIGATION)),
  2526.           (not_possible_t(agentViolatesObligation, WOMAN, OBLIGATION):-possible_t(agentViolatesAgreement, WOMAN, AGREEMENT), possible_t(agreeingAgents, AGREEMENT, WOMAN), possible_t(intangibleParts, AGREEMENT, OBLIGATION), not_true_t(agentViolatesAgreement, WOMAN, AGREEMENT), isa(AGREEMENT, 'Agreement'), true_t(intangibleParts, AGREEMENT, OBLIGATION), isa(OBLIGATION, 'Obligation'), true_t(agreeingAgents, AGREEMENT, WOMAN), true_t(agentViolatesObligation, WOMAN, OBLIGATION)),
  2527.           (not_possible_t(agreeingAgents, AGREEMENT, WOMAN):-possible_t(agentViolatesAgreement, WOMAN, AGREEMENT), possible_t(agentViolatesObligation, WOMAN, OBLIGATION), possible_t(intangibleParts, AGREEMENT, OBLIGATION), not_true_t(agentViolatesAgreement, WOMAN, AGREEMENT), isa(AGREEMENT, 'Agreement'), true_t(intangibleParts, AGREEMENT, OBLIGATION), isa(OBLIGATION, 'Obligation'), true_t(agreeingAgents, AGREEMENT, WOMAN), true_t(agentViolatesObligation, WOMAN, OBLIGATION)),
  2528.           (not_possible_t(intangibleParts, AGREEMENT, OBLIGATION):-possible_t(agentViolatesAgreement, WOMAN, AGREEMENT), possible_t(agentViolatesObligation, WOMAN, OBLIGATION), possible_t(agreeingAgents, AGREEMENT, WOMAN), not_true_t(agentViolatesAgreement, WOMAN, AGREEMENT), isa(AGREEMENT, 'Agreement'), true_t(intangibleParts, AGREEMENT, OBLIGATION), isa(OBLIGATION, 'Obligation'), true_t(agreeingAgents, AGREEMENT, WOMAN), true_t(agentViolatesObligation, WOMAN, OBLIGATION)),
  2529.           (not_true_t(agentViolatesObligation, WOMAN, OBLIGATION):-possible_t(agentViolatesAgreement, WOMAN, AGREEMENT), possible_t(agentViolatesObligation, WOMAN, OBLIGATION), possible_t(agreeingAgents, AGREEMENT, WOMAN), possible_t(intangibleParts, AGREEMENT, OBLIGATION), not_true_t(agentViolatesAgreement, WOMAN, AGREEMENT), isa(AGREEMENT, 'Agreement'), true_t(intangibleParts, AGREEMENT, OBLIGATION), isa(OBLIGATION, 'Obligation'), true_t(agreeingAgents, AGREEMENT, WOMAN)),
  2530.           (not_true_t(agreeingAgents, AGREEMENT, WOMAN):-possible_t(agentViolatesAgreement, WOMAN, AGREEMENT), possible_t(agentViolatesObligation, WOMAN, OBLIGATION), possible_t(agreeingAgents, AGREEMENT, WOMAN), possible_t(intangibleParts, AGREEMENT, OBLIGATION), not_true_t(agentViolatesAgreement, WOMAN, AGREEMENT), isa(AGREEMENT, 'Agreement'), true_t(intangibleParts, AGREEMENT, OBLIGATION), isa(OBLIGATION, 'Obligation'), true_t(agentViolatesObligation, WOMAN, OBLIGATION)),
  2531.           (not_true_t(intangibleParts, AGREEMENT, OBLIGATION):-possible_t(agentViolatesAgreement, WOMAN, AGREEMENT), possible_t(agentViolatesObligation, WOMAN, OBLIGATION), possible_t(agreeingAgents, AGREEMENT, WOMAN), possible_t(intangibleParts, AGREEMENT, OBLIGATION), not_true_t(agentViolatesAgreement, WOMAN, AGREEMENT), isa(AGREEMENT, 'Agreement'), isa(OBLIGATION, 'Obligation'), true_t(agreeingAgents, AGREEMENT, WOMAN), true_t(agentViolatesObligation, WOMAN, OBLIGATION)),
  2532.           (true_t(agentViolatesAgreement, WOMAN, AGREEMENT):-possible_t(agentViolatesAgreement, WOMAN, AGREEMENT), possible_t(agentViolatesObligation, WOMAN, OBLIGATION), possible_t(agreeingAgents, AGREEMENT, WOMAN), possible_t(intangibleParts, AGREEMENT, OBLIGATION), isa(AGREEMENT, 'Agreement'), true_t(intangibleParts, AGREEMENT, OBLIGATION), isa(OBLIGATION, 'Obligation'), true_t(agreeingAgents, AGREEMENT, WOMAN), true_t(agentViolatesObligation, WOMAN, OBLIGATION))
  2533.         ].
  2534. %
  2535. not_isa(AGREEMENT, 'Agreement') :-
  2536.         w_infer_by(tell28:0),
  2537.         not(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2538.         intangibleParts(AGREEMENT, OBLIGATION),
  2539.         isa(OBLIGATION, 'Obligation'),
  2540.         agreeingAgents(AGREEMENT, WOMAN),
  2541.         agentViolatesObligation(WOMAN, OBLIGATION).
  2542. %
  2543.  
  2544. tell28:0  not_isa(AGREEMENT,Agreement):-not_true_t(agentViolatesAgreement,WOMAN,AGREEMENT),true_t(intangibleParts,AGREEMENT,OBLIGATION),isa(OBLIGATION,Obligation),true_t(agreeingAgents,AGREEMENT,WOMAN),true_t(agentViolatesObligation,WOMAN,OBLIGATION).not_isa(OBLIGATION,
  2545.                                                                                                                                                                                                                                                'Obligation') :-
  2546.         w_infer_by(tell28:1),
  2547.         isa(AGREEMENT, 'Agreement'),
  2548.         intangibleParts(AGREEMENT, OBLIGATION),
  2549.         agentViolatesObligation(WOMAN, OBLIGATION),
  2550.         not(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2551.         agreeingAgents(AGREEMENT, WOMAN).
  2552. %
  2553.  
  2554. tell28:1  not_isa(OBLIGATION,Obligation):-isa(AGREEMENT,Agreement),true_t(intangibleParts,AGREEMENT,OBLIGATION),true_t(agentViolatesObligation,WOMAN,OBLIGATION),not_true_t(agentViolatesAgreement,WOMAN,AGREEMENT),true_t(agreeingAgents,AGREEMENT,WOMAN).not_possible_t(agentViolatesAgreement,
  2555.                                                                                                                                                                                                                                               WOMAN,
  2556.                                                                                                                                                                                                                                               AGREEMENT) :-
  2557.         w_infer_by(tell28:2),
  2558.         not(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2559.         isa(AGREEMENT, 'Agreement'),
  2560.         agreeingAgents(AGREEMENT, WOMAN),
  2561.         intangibleParts(AGREEMENT, OBLIGATION),
  2562.         isa(OBLIGATION, 'Obligation'),
  2563.         agentViolatesObligation(WOMAN, OBLIGATION).
  2564. %
  2565.  
  2566. tell28:2  not_possible_t(agentViolatesAgreement,WOMAN,AGREEMENT):-not_true_t(agentViolatesAgreement,WOMAN,AGREEMENT),isa(AGREEMENT,Agreement),true_t(agreeingAgents,AGREEMENT,WOMAN),true_t(intangibleParts,AGREEMENT,OBLIGATION),isa(OBLIGATION,Obligation),true_t(agentViolatesObligation,WOMAN,OBLIGATION).not_possible_t(agentViolatesObligation,
  2567.                                                                                                                                                                                                                                                  WOMAN,
  2568.                                                                                                                                                                                                                                                  OBLIGATION) :-
  2569.         w_infer_by(tell28:3),
  2570.         isa(OBLIGATION, 'Obligation'),
  2571.         agentViolatesObligation(WOMAN, OBLIGATION),
  2572.         not(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2573.         isa(AGREEMENT, 'Agreement'),
  2574.         intangibleParts(AGREEMENT, OBLIGATION),
  2575.         agreeingAgents(AGREEMENT, WOMAN).
  2576. %
  2577.  
  2578. tell28:3  not_possible_t(agentViolatesObligation,WOMAN,OBLIGATION):-isa(OBLIGATION,Obligation),true_t(agentViolatesObligation,WOMAN,OBLIGATION),not_true_t(agentViolatesAgreement,WOMAN,AGREEMENT),isa(AGREEMENT,Agreement),true_t(intangibleParts,AGREEMENT,OBLIGATION),true_t(agreeingAgents,AGREEMENT,WOMAN).not_possible_t(agreeingAgents,
  2579.                                                                                                                                                                                                                                                    AGREEMENT,
  2580.                                                                                                                                                                                                                                                    WOMAN) :-
  2581.         w_infer_by(tell28:4),
  2582.         not(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2583.         isa(AGREEMENT, 'Agreement'),
  2584.         agreeingAgents(AGREEMENT, WOMAN),
  2585.         intangibleParts(AGREEMENT, OBLIGATION),
  2586.         isa(OBLIGATION, 'Obligation'),
  2587.         agentViolatesObligation(WOMAN, OBLIGATION).
  2588. %
  2589.  
  2590. tell28:4  not_possible_t(agreeingAgents,AGREEMENT,WOMAN):-not_true_t(agentViolatesAgreement,WOMAN,AGREEMENT),isa(AGREEMENT,Agreement),true_t(agreeingAgents,AGREEMENT,WOMAN),true_t(intangibleParts,AGREEMENT,OBLIGATION),isa(OBLIGATION,Obligation),true_t(agentViolatesObligation,WOMAN,OBLIGATION).not_possible_t(intangibleParts,
  2591.                                                                                                                                                                                                                                                  AGREEMENT,
  2592.                                                                                                                                                                                                                                                  OBLIGATION) :-
  2593.         w_infer_by(tell28:5),
  2594.         isa(AGREEMENT, 'Agreement'),
  2595.         intangibleParts(AGREEMENT, OBLIGATION),
  2596.         isa(OBLIGATION, 'Obligation'),
  2597.         not(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2598.         agreeingAgents(AGREEMENT, WOMAN),
  2599.         agentViolatesObligation(WOMAN, OBLIGATION).
  2600. %
  2601.  
  2602. tell28:5  not_possible_t(intangibleParts,AGREEMENT,OBLIGATION):-isa(AGREEMENT,Agreement),true_t(intangibleParts,AGREEMENT,OBLIGATION),isa(OBLIGATION,Obligation),not_true_t(agentViolatesAgreement,WOMAN,AGREEMENT),true_t(agreeingAgents,AGREEMENT,WOMAN),true_t(agentViolatesObligation,WOMAN,OBLIGATION).not_true_t(agentViolatesObligation,
  2603.                                                                                                                                                                                                                                                    WOMAN,
  2604.                                                                                                                                                                                                                                                    OBLIGATION) :-
  2605.         w_infer_by(tell28:6),
  2606.         poss(agentViolatesObligation(WOMAN, OBLIGATION)),
  2607.         isa(OBLIGATION, 'Obligation'),
  2608.         not(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2609.         isa(AGREEMENT, 'Agreement'),
  2610.         intangibleParts(AGREEMENT, OBLIGATION),
  2611.         agreeingAgents(AGREEMENT, WOMAN).
  2612. %
  2613.  
  2614. tell28:6  not_true_t(agentViolatesObligation,WOMAN,OBLIGATION):-possible_t(agentViolatesObligation,WOMAN,OBLIGATION),isa(OBLIGATION,Obligation),not_true_t(agentViolatesAgreement,WOMAN,AGREEMENT),isa(AGREEMENT,Agreement),true_t(intangibleParts,AGREEMENT,OBLIGATION),true_t(agreeingAgents,AGREEMENT,WOMAN).not_true_t(agreeingAgents,
  2615.                                                                                                                                                                                                                                                AGREEMENT,
  2616.                                                                                                                                                                                                                                                WOMAN) :-
  2617.         w_infer_by(tell28:7),
  2618.         poss(agreeingAgents(AGREEMENT, WOMAN)),
  2619.         not(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2620.         isa(AGREEMENT, 'Agreement'),
  2621.         intangibleParts(AGREEMENT, OBLIGATION),
  2622.         isa(OBLIGATION, 'Obligation'),
  2623.         agentViolatesObligation(WOMAN, OBLIGATION).
  2624. %
  2625.  
  2626. tell28:7  not_true_t(agreeingAgents,AGREEMENT,WOMAN):-possible_t(agreeingAgents,AGREEMENT,WOMAN),not_true_t(agentViolatesAgreement,WOMAN,AGREEMENT),isa(AGREEMENT,Agreement),true_t(intangibleParts,AGREEMENT,OBLIGATION),isa(OBLIGATION,Obligation),true_t(agentViolatesObligation,WOMAN,OBLIGATION).not_true_t(intangibleParts,
  2627.                                                                                                                                                                                                                                              AGREEMENT,
  2628.                                                                                                                                                                                                                                              OBLIGATION) :-
  2629.         w_infer_by(tell28:8),
  2630.         poss(intangibleParts(AGREEMENT, OBLIGATION)),
  2631.         isa(AGREEMENT, 'Agreement'),
  2632.         isa(OBLIGATION, 'Obligation'),
  2633.         not(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2634.         agreeingAgents(AGREEMENT, WOMAN),
  2635.         agentViolatesObligation(WOMAN, OBLIGATION).
  2636. %
  2637.  
  2638. tell28:8  not_true_t(intangibleParts,AGREEMENT,OBLIGATION):-possible_t(intangibleParts,AGREEMENT,OBLIGATION),isa(AGREEMENT,Agreement),isa(OBLIGATION,Obligation),not_true_t(agentViolatesAgreement,WOMAN,AGREEMENT),true_t(agreeingAgents,AGREEMENT,WOMAN),true_t(agentViolatesObligation,WOMAN,OBLIGATION).true_t(agentViolatesAgreement,
  2639.                                                                                                                                                                                                                                                WOMAN,
  2640.                                                                                                                                                                                                                                                AGREEMENT) :-
  2641.         w_infer_by(tell28:9),
  2642.         poss(agentViolatesAgreement(WOMAN, AGREEMENT)),
  2643.         isa(AGREEMENT, 'Agreement'),
  2644.         agreeingAgents(AGREEMENT, WOMAN),
  2645.         intangibleParts(AGREEMENT, OBLIGATION),
  2646.         isa(OBLIGATION, 'Obligation'),
  2647.         agentViolatesObligation(WOMAN, OBLIGATION).
  2648. %
  2649.  
  2650. tell28:9  true_t(agentViolatesAgreement,WOMAN,AGREEMENT):-possible_t(agentViolatesAgreement,WOMAN,AGREEMENT),isa(AGREEMENT,Agreement),true_t(agreeingAgents,AGREEMENT,WOMAN),true_t(intangibleParts,AGREEMENT,OBLIGATION),isa(OBLIGATION,Obligation),true_t(agentViolatesObligation,WOMAN,OBLIGATION).
  2651. true ;
  2652.  
  2653.  
  2654.  
  2655. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2656. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2657. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2658. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2659. kif :-
  2660.  
  2661.         [ '\n(implies\n       (and \n           (isa ?AGREEMENT Agreement) \n           (intangibleParts ?AGREEMENT ?OBLIGATION) \n           (isa ?OBLIGATION Obligation) \n           (agreeingAgents ?AGREEMENT ?WOMAN) \n           (agentViolatesObligation ?WOMAN ?OBLIGATION)) \n       (agentViolatesAgreement ?WOMAN ?AGREEMENT))'
  2662.         ].
  2663. pkif :-
  2664.  
  2665.         [ '\n(implies\n       (and \n           (isa ?AGREEMENT Agreement) \n           (intangibleParts ?AGREEMENT ?OBLIGATION) \n           (isa ?OBLIGATION Obligation) \n           (agreeingAgents ?AGREEMENT ?WOMAN) \n           (agentViolatesObligation ?WOMAN ?OBLIGATION)) \n       (agentViolatesAgreement ?WOMAN ?AGREEMENT))'
  2666.         ].
  2667. cnf :-
  2668.         '\n(implies\n       (and \n           (isa ?AGREEMENT Agreement) \n           (intangibleParts ?AGREEMENT ?OBLIGATION) \n           (isa ?OBLIGATION Obligation) \n           (agreeingAgents ?AGREEMENT ?WOMAN) \n           (agentViolatesObligation ?WOMAN ?OBLIGATION)) \n       (agentViolatesAgreement ?WOMAN ?AGREEMENT))'.
  2669. %
  2670.  
  2671. tell29:0
  2672. (implies
  2673.        (and
  2674.            (isa ?AGREEMENT Agreement)
  2675.            (intangibleParts ?AGREEMENT ?OBLIGATION)
  2676.            (isa ?OBLIGATION Obligation)
  2677.            (agreeingAgents ?AGREEMENT ?WOMAN)
  2678.            (agentViolatesObligation ?WOMAN ?OBLIGATION))
  2679.        (agentViolatesAgreement ?WOMAN ?AGREEMENT)).
  2680. tell29:0
  2681. (implies
  2682.        (and
  2683.            (isa ?AGREEMENT Agreement)
  2684.            (intangibleParts ?AGREEMENT ?OBLIGATION)
  2685.            (isa ?OBLIGATION Obligation)
  2686.            (agreeingAgents ?AGREEMENT ?WOMAN)
  2687.            (agentViolatesObligation ?WOMAN ?OBLIGATION))
  2688.        (agentViolatesAgreement ?WOMAN ?AGREEMENT)).pttp :-
  2689.  
  2690.         [ ('\n(implies\n       (and \n           (isa ?AGREEMENT Agreement) \n           (intangibleParts ?AGREEMENT ?OBLIGATION) \n           (isa ?OBLIGATION Obligation) \n           (agreeingAgents ?AGREEMENT ?WOMAN) \n           (agentViolatesObligation ?WOMAN ?OBLIGATION)) \n       (agentViolatesAgreement ?WOMAN ?AGREEMENT))':-true)
  2691.         ].
  2692. %
  2693. '\n(implies\n       (and \n           (isa ?AGREEMENT Agreement) \n           (intangibleParts ?AGREEMENT ?OBLIGATION) \n           (isa ?OBLIGATION Obligation) \n           (agreeingAgents ?AGREEMENT ?WOMAN) \n           (agentViolatesObligation ?WOMAN ?OBLIGATION)) \n       (agentViolatesAgreement ?WOMAN ?AGREEMENT))' :-
  2694.         w_infer_by(tell29:0),
  2695.         [].
  2696. %
  2697.  
  2698. tell29:0
  2699. (implies
  2700.        (and
  2701.            (isa ?AGREEMENT Agreement)
  2702.            (intangibleParts ?AGREEMENT ?OBLIGATION)
  2703.            (isa ?OBLIGATION Obligation)
  2704.            (agreeingAgents ?AGREEMENT ?WOMAN)
  2705.            (agentViolatesObligation ?WOMAN ?OBLIGATION))
  2706.        (agentViolatesAgreement ?WOMAN ?AGREEMENT)):-[].
  2707. true ;
  2708.  
  2709.  
  2710.  
  2711. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2712. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2713. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2714. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2715. kif :-
  2716.  
  2717.         [ all[SEEING],
  2718.  
  2719.           [ all[WOMAN],
  2720.  
  2721.             [ all[PART_TYPE],
  2722.  
  2723.               [ all[THEMAN],
  2724.  
  2725.                 [ ex[SIT],
  2726.  
  2727.                   [ implies,
  2728.  
  2729.                     [ isa(SEEING, 'VisualEvent'),
  2730.                       objectActedOn(SEEING, WOMAN),
  2731.                       isa(WOMAN, 'ExhibitionistOffender'),
  2732.                       actorPartsInvolved(SEEING, PART_TYPE),
  2733.                       physicalPartTypes('Eyes', PART_TYPE),
  2734.                       performedBy(SEEING, THEMAN)
  2735.                     ],
  2736.                     (=>),
  2737.  
  2738.                     [ 'increases-Generic'(SIT,
  2739.                                           relationExistsInstance(bodilyDoer,
  2740.                                                                  'Shaming',
  2741.                                                                  THEMAN),
  2742.                                           'probability-Generic')
  2743.                     ]
  2744.                   ]
  2745.                 ]
  2746.               ]
  2747.             ]
  2748.           ]
  2749.         ].
  2750. pkif :-
  2751.  
  2752.         [ implies,
  2753.  
  2754.           [ poss(KB,
  2755.                  'increases-Generic'(SIT,
  2756.                                      relationExistsInstance(bodilyDoer,
  2757.                                                             'Shaming',
  2758.                                                             THEMAN),
  2759.                                      'probability-Generic'))
  2760.           ],
  2761.           (=>),
  2762.  
  2763.           [ implies,
  2764.             [poss(KB, performedBy(SEEING, THEMAN))],
  2765.             (=>),
  2766.  
  2767.             [ implies,
  2768.               [poss(KB, physicalPartTypes('Eyes', PART_TYPE))],
  2769.               (=>),
  2770.  
  2771.               [ implies,
  2772.                 [poss(KB, actorPartsInvolved(SEEING, PART_TYPE))],
  2773.                 (=>),
  2774.  
  2775.                 [ implies,
  2776.                   [poss(KB, objectActedOn(SEEING, WOMAN))],
  2777.                   (=>),
  2778.  
  2779.                   [ all[SEEING],
  2780.  
  2781.                     [ all[WOMAN],
  2782.  
  2783.                       [ all[PART_TYPE],
  2784.  
  2785.                         [ all[THEMAN],
  2786.  
  2787.                           [ ex[SIT],
  2788.  
  2789.                             [ implies,
  2790.  
  2791.                               [ isa(SEEING, 'VisualEvent'),
  2792.                                 objectActedOn(SEEING, WOMAN),
  2793.                                 isa(WOMAN, 'ExhibitionistOffender'),
  2794.                                 actorPartsInvolved(SEEING, PART_TYPE),
  2795.                                 physicalPartTypes('Eyes', PART_TYPE),
  2796.                                 performedBy(SEEING, THEMAN)
  2797.                               ],
  2798.                               (=>),
  2799.  
  2800.                               [ 'increases-Generic'(SIT,
  2801.                                                     relationExistsInstance(bodilyDoer,
  2802.                                                                            'Shaming',
  2803.                                                                            THEMAN),
  2804.                                                     'probability-Generic')
  2805.                               ]
  2806.                             ]
  2807.                           ]
  2808.                         ]
  2809.                       ]
  2810.                     ]
  2811.                   ]
  2812.                 ]
  2813.               ]
  2814.             ]
  2815.           ]
  2816.         ].
  2817. cnf :-
  2818.         (   not(possible_t('increases-Generic'(SIT,
  2819.                                                relationExistsInstance(bodilyDoer,
  2820.                                                                       'Shaming',
  2821.                                                                       THEMAN),
  2822.                                                'probability-Generic')))
  2823.         ;   not(possible_t(performedBy(SEEING, THEMAN)))
  2824.         ;   not(possible_t(physicalPartTypes('Eyes', PART_TYPE)))
  2825.         ;   not(possible_t(actorPartsInvolved(SEEING, PART_TYPE)))
  2826.         ;   not(possible_t(objectActedOn(SEEING, WOMAN)))
  2827.         ;   not(skolem(SIT,
  2828.                        skArg1ofIncreasesgenericFn(THEMAN,
  2829.                                                   PART_TYPE,
  2830.                                                   WOMAN,
  2831.                                                   SEEING)))
  2832.         ;   'increases-Generic'(SIT,
  2833.                                 relationExistsInstance(bodilyDoer,
  2834.                                                        'Shaming',
  2835.                                                        THEMAN),
  2836.                                 'probability-Generic')
  2837.         ;   not(isa(SEEING, 'VisualEvent'))
  2838.         ;   not(objectActedOn(SEEING, WOMAN))
  2839.         ;   not(isa(WOMAN, 'ExhibitionistOffender'))
  2840.         ;   not(actorPartsInvolved(SEEING, PART_TYPE))
  2841.         ;   not(physicalPartTypes('Eyes', PART_TYPE))
  2842.         ;   not(performedBy(SEEING, THEMAN))
  2843.         ).
  2844. %
  2845.  
  2846. tell30:0  not_possible_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic);not_possible_t(performedBy,SEEING,THEMAN);not_possible_t(physicalPartTypes,Eyes,PART_TYPE);not_possible_t(actorPartsInvolved,SEEING,PART_TYPE);not_possible_t(objectActedOn,SEEING,WOMAN);not_call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING));true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic);not_isa(SEEING,VisualEvent);not_true_t(objectActedOn,SEEING,WOMAN);not_isa(WOMAN,ExhibitionistOffender);not_true_t(actorPartsInvolved,SEEING,PART_TYPE);not_true_t(physicalPartTypes,Eyes,PART_TYPE);not_true_t(performedBy,SEEING,THEMAN).pttp :-
  2847.  
  2848.         [ (not_isa(SEEING, 'VisualEvent'):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2849.           (not_isa(WOMAN, 'ExhibitionistOffender'):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2850.           (not_call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2851.           (not_possible_t(actorPartsInvolved, SEEING, PART_TYPE):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2852.           (not_possible_t(objectActedOn, SEEING, WOMAN):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2853.           (not_possible_t(performedBy, SEEING, THEMAN):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2854.           (not_possible_t(physicalPartTypes, 'Eyes', PART_TYPE):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2855.           (not_true_t(actorPartsInvolved, SEEING, PART_TYPE):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2856.           (not_true_t(objectActedOn, SEEING, WOMAN):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2857.           (not_true_t(performedBy, SEEING, THEMAN):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE)),
  2858.           (not_true_t(physicalPartTypes, 'Eyes', PART_TYPE):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2859.           (not_possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'):-possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), not_true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN)),
  2860.           (true_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'):-possible_t('increases-Generic', SIT, relationExistsInstance(bodilyDoer, 'Shaming', THEMAN), 'probability-Generic'), possible_t(performedBy, SEEING, THEMAN), possible_t(physicalPartTypes, 'Eyes', PART_TYPE), possible_t(actorPartsInvolved, SEEING, PART_TYPE), possible_t(objectActedOn, SEEING, WOMAN), call_builtin(skolem, SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)), isa(SEEING, 'VisualEvent'), true_t(objectActedOn, SEEING, WOMAN), isa(WOMAN, 'ExhibitionistOffender'), true_t(actorPartsInvolved, SEEING, PART_TYPE), true_t(physicalPartTypes, 'Eyes', PART_TYPE), true_t(performedBy, SEEING, THEMAN))
  2861.         ].
  2862. %
  2863. not_isa(SEEING, 'VisualEvent') :-
  2864.         w_infer_by(tell30:0),
  2865.         objectActedOn(SEEING, WOMAN),
  2866.         isa(WOMAN, 'ExhibitionistOffender'),
  2867.         actorPartsInvolved(SEEING, PART_TYPE),
  2868.         physicalPartTypes('Eyes', PART_TYPE),
  2869.         performedBy(SEEING, THEMAN),
  2870.         not('increases-Generic'(SIT,
  2871.                                 relationExistsInstance(bodilyDoer,
  2872.                                                        'Shaming',
  2873.                                                        THEMAN),
  2874.                                 'probability-Generic')),
  2875.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  2876. %
  2877.  
  2878. tell30:0  not_isa(SEEING,VisualEvent):-true_t(objectActedOn,SEEING,WOMAN),isa(WOMAN,ExhibitionistOffender),true_t(actorPartsInvolved,SEEING,PART_TYPE),true_t(physicalPartTypes,Eyes,PART_TYPE),true_t(performedBy,SEEING,THEMAN),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_isa(WOMAN,
  2879.                                                                                                                                                                                                                                                  'ExhibitionistOffender') :-
  2880.         w_infer_by(tell30:1),
  2881.         isa(SEEING, 'VisualEvent'),
  2882.         objectActedOn(SEEING, WOMAN),
  2883.         physicalPartTypes('Eyes', PART_TYPE),
  2884.         not('increases-Generic'(SIT,
  2885.                                 relationExistsInstance(bodilyDoer,
  2886.                                                        'Shaming',
  2887.                                                        THEMAN),
  2888.                                 'probability-Generic')),
  2889.         actorPartsInvolved(SEEING, PART_TYPE),
  2890.         performedBy(SEEING, THEMAN),
  2891.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  2892. %
  2893.  
  2894. tell30:1  not_isa(WOMAN,ExhibitionistOffender):-isa(SEEING,VisualEvent),true_t(objectActedOn,SEEING,WOMAN),true_t(physicalPartTypes,Eyes,PART_TYPE),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),true_t(actorPartsInvolved,SEEING,PART_TYPE),true_t(performedBy,SEEING,THEMAN),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_call_builtin(skolem,
  2895.                                                                                                                                                                                                                                                   SIT,
  2896.                                                                                                                                                                                                                                                   skArg1ofIncreasesgenericFn(THEMAN,
  2897.                                                                                                                                                                                                                                              PART_TYPE,
  2898.                                                                                                                                                                                                                                              WOMAN,
  2899.                                                                                                                                                                                                                                              SEEING)) :-
  2900.         w_infer_by(tell30:2),
  2901.         not('increases-Generic'(SIT,
  2902.                                 relationExistsInstance(bodilyDoer,
  2903.                                                        'Shaming',
  2904.                                                        THEMAN),
  2905.                                 'probability-Generic')),
  2906.         isa(SEEING, 'VisualEvent'),
  2907.         objectActedOn(SEEING, WOMAN),
  2908.         isa(WOMAN, 'ExhibitionistOffender'),
  2909.         actorPartsInvolved(SEEING, PART_TYPE),
  2910.         physicalPartTypes('Eyes', PART_TYPE),
  2911.         performedBy(SEEING, THEMAN).
  2912. %
  2913.  
  2914. tell30:2  not_call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)):-not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),isa(SEEING,VisualEvent),true_t(objectActedOn,SEEING,WOMAN),isa(WOMAN,ExhibitionistOffender),true_t(actorPartsInvolved,SEEING,PART_TYPE),true_t(physicalPartTypes,Eyes,PART_TYPE),true_t(performedBy,SEEING,THEMAN).not_possible_t(actorPartsInvolved,
  2915.                                                                                                                                                                                                                                                 SEEING,
  2916.                                                                                                                                                                                                                                                 PART_TYPE) :-
  2917.         w_infer_by(tell30:3),
  2918.         isa(SEEING, 'VisualEvent'),
  2919.         actorPartsInvolved(SEEING, PART_TYPE),
  2920.         physicalPartTypes('Eyes', PART_TYPE),
  2921.         objectActedOn(SEEING, WOMAN),
  2922.         isa(WOMAN, 'ExhibitionistOffender'),
  2923.         performedBy(SEEING, THEMAN),
  2924.         not('increases-Generic'(SIT,
  2925.                                 relationExistsInstance(bodilyDoer,
  2926.                                                        'Shaming',
  2927.                                                        THEMAN),
  2928.                                 'probability-Generic')),
  2929.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  2930. %
  2931.  
  2932. tell30:3  not_possible_t(actorPartsInvolved,SEEING,PART_TYPE):-isa(SEEING,VisualEvent),true_t(actorPartsInvolved,SEEING,PART_TYPE),true_t(physicalPartTypes,Eyes,PART_TYPE),true_t(objectActedOn,SEEING,WOMAN),isa(WOMAN,ExhibitionistOffender),true_t(performedBy,SEEING,THEMAN),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_possible_t(objectActedOn,
  2933.                                                                                                                                                                                                                                                 SEEING,
  2934.                                                                                                                                                                                                                                                 WOMAN) :-
  2935.         w_infer_by(tell30:4),
  2936.         isa(SEEING, 'VisualEvent'),
  2937.         objectActedOn(SEEING, WOMAN),
  2938.         isa(WOMAN, 'ExhibitionistOffender'),
  2939.         actorPartsInvolved(SEEING, PART_TYPE),
  2940.         physicalPartTypes('Eyes', PART_TYPE),
  2941.         performedBy(SEEING, THEMAN),
  2942.         not('increases-Generic'(SIT,
  2943.                                 relationExistsInstance(bodilyDoer,
  2944.                                                        'Shaming',
  2945.                                                        THEMAN),
  2946.                                 'probability-Generic')),
  2947.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  2948. %
  2949.  
  2950. tell30:4  not_possible_t(objectActedOn,SEEING,WOMAN):-isa(SEEING,VisualEvent),true_t(objectActedOn,SEEING,WOMAN),isa(WOMAN,ExhibitionistOffender),true_t(actorPartsInvolved,SEEING,PART_TYPE),true_t(physicalPartTypes,Eyes,PART_TYPE),true_t(performedBy,SEEING,THEMAN),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_possible_t(performedBy,
  2951.                                                                                                                                                                                                                                                SEEING,
  2952.                                                                                                                                                                                                                                                THEMAN) :-
  2953.         w_infer_by(tell30:5),
  2954.         isa(SEEING, 'VisualEvent'),
  2955.         performedBy(SEEING, THEMAN),
  2956.         not('increases-Generic'(SIT,
  2957.                                 relationExistsInstance(bodilyDoer,
  2958.                                                        'Shaming',
  2959.                                                        THEMAN),
  2960.                                 'probability-Generic')),
  2961.         objectActedOn(SEEING, WOMAN),
  2962.         isa(WOMAN, 'ExhibitionistOffender'),
  2963.         actorPartsInvolved(SEEING, PART_TYPE),
  2964.         physicalPartTypes('Eyes', PART_TYPE),
  2965.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  2966. %
  2967.  
  2968. tell30:5  not_possible_t(performedBy,SEEING,THEMAN):-isa(SEEING,VisualEvent),true_t(performedBy,SEEING,THEMAN),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),true_t(objectActedOn,SEEING,WOMAN),isa(WOMAN,ExhibitionistOffender),true_t(actorPartsInvolved,SEEING,PART_TYPE),true_t(physicalPartTypes,Eyes,PART_TYPE),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_possible_t(physicalPartTypes,
  2969.                                                                                                                                                                                                                                               'Eyes',
  2970.                                                                                                                                                                                                                                               PART_TYPE) :-
  2971.         w_infer_by(tell30:6),
  2972.         physicalPartTypes('Eyes', PART_TYPE),
  2973.         isa(SEEING, 'VisualEvent'),
  2974.         isa(WOMAN, 'ExhibitionistOffender'),
  2975.         actorPartsInvolved(SEEING, PART_TYPE),
  2976.         not('increases-Generic'(SIT,
  2977.                                 relationExistsInstance(bodilyDoer,
  2978.                                                        'Shaming',
  2979.                                                        THEMAN),
  2980.                                 'probability-Generic')),
  2981.         objectActedOn(SEEING, WOMAN),
  2982.         performedBy(SEEING, THEMAN),
  2983.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  2984. %
  2985.  
  2986. tell30:6  not_possible_t(physicalPartTypes,Eyes,PART_TYPE):-true_t(physicalPartTypes,Eyes,PART_TYPE),isa(SEEING,VisualEvent),isa(WOMAN,ExhibitionistOffender),true_t(actorPartsInvolved,SEEING,PART_TYPE),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),true_t(objectActedOn,SEEING,WOMAN),true_t(performedBy,SEEING,THEMAN),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_true_t(actorPartsInvolved,
  2987.                                                                                                                                                                                                                                                  SEEING,
  2988.                                                                                                                                                                                                                                                  PART_TYPE) :-
  2989.         w_infer_by(tell30:7),
  2990.         poss(actorPartsInvolved(SEEING, PART_TYPE)),
  2991.         isa(SEEING, 'VisualEvent'),
  2992.         physicalPartTypes('Eyes', PART_TYPE),
  2993.         objectActedOn(SEEING, WOMAN),
  2994.         isa(WOMAN, 'ExhibitionistOffender'),
  2995.         performedBy(SEEING, THEMAN),
  2996.         not('increases-Generic'(SIT,
  2997.                                 relationExistsInstance(bodilyDoer,
  2998.                                                        'Shaming',
  2999.                                                        THEMAN),
  3000.                                 'probability-Generic')),
  3001.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  3002. %
  3003.  
  3004. tell30:7  not_true_t(actorPartsInvolved,SEEING,PART_TYPE):-possible_t(actorPartsInvolved,SEEING,PART_TYPE),isa(SEEING,VisualEvent),true_t(physicalPartTypes,Eyes,PART_TYPE),true_t(objectActedOn,SEEING,WOMAN),isa(WOMAN,ExhibitionistOffender),true_t(performedBy,SEEING,THEMAN),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_true_t(objectActedOn,
  3005.                                                                                                                                                                                                                                             SEEING,
  3006.                                                                                                                                                                                                                                             WOMAN) :-
  3007.         w_infer_by(tell30:8),
  3008.         poss(objectActedOn(SEEING, WOMAN)),
  3009.         isa(SEEING, 'VisualEvent'),
  3010.         isa(WOMAN, 'ExhibitionistOffender'),
  3011.         actorPartsInvolved(SEEING, PART_TYPE),
  3012.         physicalPartTypes('Eyes', PART_TYPE),
  3013.         performedBy(SEEING, THEMAN),
  3014.         not('increases-Generic'(SIT,
  3015.                                 relationExistsInstance(bodilyDoer,
  3016.                                                        'Shaming',
  3017.                                                        THEMAN),
  3018.                                 'probability-Generic')),
  3019.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  3020. %
  3021.  
  3022. tell30:8  not_true_t(objectActedOn,SEEING,WOMAN):-possible_t(objectActedOn,SEEING,WOMAN),isa(SEEING,VisualEvent),isa(WOMAN,ExhibitionistOffender),true_t(actorPartsInvolved,SEEING,PART_TYPE),true_t(physicalPartTypes,Eyes,PART_TYPE),true_t(performedBy,SEEING,THEMAN),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_true_t(performedBy,
  3023.                                                                                                                                                                                                                                                    SEEING,
  3024.                                                                                                                                                                                                                                                    THEMAN) :-
  3025.         w_infer_by(tell30:9),
  3026.         poss(performedBy(SEEING, THEMAN)),
  3027.         isa(SEEING, 'VisualEvent'),
  3028.         not('increases-Generic'(SIT,
  3029.                                 relationExistsInstance(bodilyDoer,
  3030.                                                        'Shaming',
  3031.                                                        THEMAN),
  3032.                                 'probability-Generic')),
  3033.         objectActedOn(SEEING, WOMAN),
  3034.         isa(WOMAN, 'ExhibitionistOffender'),
  3035.         actorPartsInvolved(SEEING, PART_TYPE),
  3036.         physicalPartTypes('Eyes', PART_TYPE),
  3037.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  3038. %
  3039.  
  3040. tell30:9  not_true_t(performedBy,SEEING,THEMAN):-possible_t(performedBy,SEEING,THEMAN),isa(SEEING,VisualEvent),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),true_t(objectActedOn,SEEING,WOMAN),isa(WOMAN,ExhibitionistOffender),true_t(actorPartsInvolved,SEEING,PART_TYPE),true_t(physicalPartTypes,Eyes,PART_TYPE),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_true_t(physicalPartTypes,
  3041.                                                                                                                                                                                                                                                   'Eyes',
  3042.                                                                                                                                                                                                                                                   PART_TYPE) :-
  3043.         w_infer_by(tell30:10),
  3044.         poss(physicalPartTypes('Eyes', PART_TYPE)),
  3045.         isa(SEEING, 'VisualEvent'),
  3046.         isa(WOMAN, 'ExhibitionistOffender'),
  3047.         actorPartsInvolved(SEEING, PART_TYPE),
  3048.         not('increases-Generic'(SIT,
  3049.                                 relationExistsInstance(bodilyDoer,
  3050.                                                        'Shaming',
  3051.                                                        THEMAN),
  3052.                                 'probability-Generic')),
  3053.         objectActedOn(SEEING, WOMAN),
  3054.         performedBy(SEEING, THEMAN),
  3055.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  3056. %
  3057.  
  3058. tell30:10  not_true_t(physicalPartTypes,Eyes,PART_TYPE):-possible_t(physicalPartTypes,Eyes,PART_TYPE),isa(SEEING,VisualEvent),isa(WOMAN,ExhibitionistOffender),true_t(actorPartsInvolved,SEEING,PART_TYPE),not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),true_t(objectActedOn,SEEING,WOMAN),true_t(performedBy,SEEING,THEMAN),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).not_possible_t('increases-Generic',
  3059.                                                                                                                                                                                                                                               SIT,
  3060.                                                                                                                                                                                                                                               relationExistsInstance(bodilyDoer,
  3061.                                                                                                                                                                                                                                              'Shaming',
  3062.                                                                                                                                                                                                                                              THEMAN),
  3063.                                                                                                                                                                                                                                               'probability-Generic') :-
  3064.         w_infer_by(tell30:11),
  3065.         not('increases-Generic'(SIT,
  3066.                                 relationExistsInstance(bodilyDoer,
  3067.                                                        'Shaming',
  3068.                                                        THEMAN),
  3069.                                 'probability-Generic')),
  3070.         isa(SEEING, 'VisualEvent'),
  3071.         isa(WOMAN, 'ExhibitionistOffender'),
  3072.         physicalPartTypes('Eyes', PART_TYPE),
  3073.         performedBy(SEEING, THEMAN),
  3074.         objectActedOn(SEEING, WOMAN),
  3075.         actorPartsInvolved(SEEING, PART_TYPE),
  3076.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  3077. %
  3078.  
  3079. tell30:11  not_possible_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic):-not_true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),isa(SEEING,VisualEvent),isa(WOMAN,ExhibitionistOffender),true_t(physicalPartTypes,Eyes,PART_TYPE),true_t(performedBy,SEEING,THEMAN),true_t(objectActedOn,SEEING,WOMAN),true_t(actorPartsInvolved,SEEING,PART_TYPE),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).true_t('increases-Generic',
  3080.                                                                                                                                                                                                                                                  SIT,
  3081.                                                                                                                                                                                                                                                  relationExistsInstance(bodilyDoer,
  3082.                                                                                                                                                                                                                                                 'Shaming',
  3083.                                                                                                                                                                                                                                                 THEMAN),
  3084.                                                                                                                                                                                                                                                  'probability-Generic') :-
  3085.         w_infer_by(tell30:12),
  3086.         poss('increases-Generic'(SIT,
  3087.                                  relationExistsInstance(bodilyDoer,
  3088.                                                         'Shaming',
  3089.                                                         THEMAN),
  3090.                                  'probability-Generic')),
  3091.         isa(SEEING, 'VisualEvent'),
  3092.         isa(WOMAN, 'ExhibitionistOffender'),
  3093.         physicalPartTypes('Eyes', PART_TYPE),
  3094.         performedBy(SEEING, THEMAN),
  3095.         objectActedOn(SEEING, WOMAN),
  3096.         actorPartsInvolved(SEEING, PART_TYPE),
  3097.         skolem(SIT, skArg1ofIncreasesgenericFn(THEMAN, PART_TYPE, WOMAN, SEEING)).
  3098. %
  3099.  
  3100. tell30:12  true_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic):-possible_t(increases-Generic,SIT,relationExistsInstance(bodilyDoer,Shaming,THEMAN),probability-Generic),isa(SEEING,VisualEvent),isa(WOMAN,ExhibitionistOffender),true_t(physicalPartTypes,Eyes,PART_TYPE),true_t(performedBy,SEEING,THEMAN),true_t(objectActedOn,SEEING,WOMAN),true_t(actorPartsInvolved,SEEING,PART_TYPE),call_builtin(skolem,SIT,skArg1ofIncreasesgenericFn(THEMAN,PART_TYPE,WOMAN,SEEING)).
  3101. true ;
  3102.  
  3103.  
  3104.  
  3105. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3106. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3107. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3108. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3109. kif :-
  3110.  
  3111.         [ '\n(implies \n       (and \n           (isa ?SEEING VisualEvent) \n           (objectActedOn ?SEEING ?WOMAN) \n           (isa ?WOMAN ExhibitionistOffender) \n           (actorPartsInvolved ?SEEING ?PART-TYPE) \n           (physicalPartTypes Eyes ?PART-TYPE) \n           (performedBy ?SEEING ?THEMAN)) \n       (increases-Generic ?SIT \n           (relationExistsInstance bodilyDoer \n               Shaming ?THEMAN) probability-Generic))'
  3112.         ].
  3113. pkif :-
  3114.  
  3115.         [ '\n(implies \n       (and \n           (isa ?SEEING VisualEvent) \n           (objectActedOn ?SEEING ?WOMAN) \n           (isa ?WOMAN ExhibitionistOffender) \n           (actorPartsInvolved ?SEEING ?PART-TYPE) \n           (physicalPartTypes Eyes ?PART-TYPE) \n           (performedBy ?SEEING ?THEMAN)) \n       (increases-Generic ?SIT \n           (relationExistsInstance bodilyDoer \n               Shaming ?THEMAN) probability-Generic))'
  3116.         ].
  3117. cnf :-
  3118.         '\n(implies \n       (and \n           (isa ?SEEING VisualEvent) \n           (objectActedOn ?SEEING ?WOMAN) \n           (isa ?WOMAN ExhibitionistOffender) \n           (actorPartsInvolved ?SEEING ?PART-TYPE) \n           (physicalPartTypes Eyes ?PART-TYPE) \n           (performedBy ?SEEING ?THEMAN)) \n       (increases-Generic ?SIT \n           (relationExistsInstance bodilyDoer \n               Shaming ?THEMAN) probability-Generic))'.
  3119. %
  3120.  
  3121. tell31:0
  3122. (implies
  3123.        (and
  3124.            (isa ?SEEING VisualEvent)
  3125.            (objectActedOn ?SEEING ?WOMAN)
  3126.            (isa ?WOMAN ExhibitionistOffender)
  3127.            (actorPartsInvolved ?SEEING ?PART-TYPE)
  3128.            (physicalPartTypes Eyes ?PART-TYPE)
  3129.            (performedBy ?SEEING ?THEMAN))
  3130.        (increases-Generic ?SIT
  3131.            (relationExistsInstance bodilyDoer
  3132.                Shaming ?THEMAN) probability-Generic)).
  3133. tell31:0
  3134. (implies
  3135.        (and
  3136.            (isa ?SEEING VisualEvent)
  3137.            (objectActedOn ?SEEING ?WOMAN)
  3138.            (isa ?WOMAN ExhibitionistOffender)
  3139.            (actorPartsInvolved ?SEEING ?PART-TYPE)
  3140.            (physicalPartTypes Eyes ?PART-TYPE)
  3141.            (performedBy ?SEEING ?THEMAN))
  3142.        (increases-Generic ?SIT
  3143.            (relationExistsInstance bodilyDoer
  3144.                Shaming ?THEMAN) probability-Generic)).pttp :-
  3145.  
  3146.         [ ('\n(implies \n       (and \n           (isa ?SEEING VisualEvent) \n           (objectActedOn ?SEEING ?WOMAN) \n           (isa ?WOMAN ExhibitionistOffender) \n           (actorPartsInvolved ?SEEING ?PART-TYPE) \n           (physicalPartTypes Eyes ?PART-TYPE) \n           (performedBy ?SEEING ?THEMAN)) \n       (increases-Generic ?SIT \n           (relationExistsInstance bodilyDoer \n               Shaming ?THEMAN) probability-Generic))':-true)
  3147.         ].
  3148. %
  3149. '\n(implies \n       (and \n           (isa ?SEEING VisualEvent) \n           (objectActedOn ?SEEING ?WOMAN) \n           (isa ?WOMAN ExhibitionistOffender) \n           (actorPartsInvolved ?SEEING ?PART-TYPE) \n           (physicalPartTypes Eyes ?PART-TYPE) \n           (performedBy ?SEEING ?THEMAN)) \n       (increases-Generic ?SIT \n           (relationExistsInstance bodilyDoer \n               Shaming ?THEMAN) probability-Generic))' :-
  3150.         w_infer_by(tell31:0),
  3151.         [].
  3152. %
  3153.  
  3154. tell31:0
  3155. (implies
  3156.        (and
  3157.            (isa ?SEEING VisualEvent)
  3158.            (objectActedOn ?SEEING ?WOMAN)
  3159.            (isa ?WOMAN ExhibitionistOffender)
  3160.            (actorPartsInvolved ?SEEING ?PART-TYPE)
  3161.            (physicalPartTypes Eyes ?PART-TYPE)
  3162.            (performedBy ?SEEING ?THEMAN))
  3163.        (increases-Generic ?SIT
  3164.            (relationExistsInstance bodilyDoer
  3165.                Shaming ?THEMAN) probability-Generic)):-[].
  3166. true ;
  3167.  
  3168.  
  3169.  
  3170. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3171. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3172. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3173. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3174. kif :-
  3175.  
  3176.         [ all[ACT],
  3177.  
  3178.           [ all[PERP],
  3179.  
  3180.             [ implies,
  3181.  
  3182.               [ isa(ACT, 'CriminalAct'),
  3183.                 isa(ACT, 'Exhibitionism'),
  3184.                 perpetrator(ACT, PERP)
  3185.               ],
  3186.               (=>),
  3187.               [isa(PERP, 'ExhibitionistOffender')]
  3188.             ]
  3189.           ]
  3190.         ].
  3191. pkif :-
  3192.  
  3193.         [ implies,
  3194.           [poss(KB, perpetrator(ACT, PERP))],
  3195.           (=>),
  3196.  
  3197.           [ all[ACT],
  3198.  
  3199.             [ all[PERP],
  3200.  
  3201.               [ implies,
  3202.  
  3203.                 [ isa(ACT, 'CriminalAct'),
  3204.                   isa(ACT, 'Exhibitionism'),
  3205.                   perpetrator(ACT, PERP)
  3206.                 ],
  3207.                 (=>),
  3208.                 [isa(PERP, 'ExhibitionistOffender')]
  3209.               ]
  3210.             ]
  3211.           ]
  3212.         ].
  3213. cnf :-
  3214.         (   not(possible_t(perpetrator(ACT, PERP)))
  3215.         ;   isa(PERP, 'ExhibitionistOffender')
  3216.         ;   not(isa(ACT, 'CriminalAct'))
  3217.         ;   not(isa(ACT, 'Exhibitionism'))
  3218.         ;   not(perpetrator(ACT, PERP))
  3219.         ).
  3220. %
  3221.  
  3222. tell32:0  not_possible_t(perpetrator,ACT,PERP);isa(PERP,ExhibitionistOffender);not_isa(ACT,CriminalAct);not_isa(ACT,Exhibitionism);not_true_t(perpetrator,ACT,PERP).pttp :-
  3223.  
  3224.         [ (isa(PERP, 'ExhibitionistOffender'):-possible_t(perpetrator, ACT, PERP), isa(ACT, 'CriminalAct'), isa(ACT, 'Exhibitionism'), true_t(perpetrator, ACT, PERP)),
  3225.           (not_isa(ACT, 'CriminalAct'):-possible_t(perpetrator, ACT, PERP), not_isa(PERP, 'ExhibitionistOffender'), isa(ACT, 'Exhibitionism'), true_t(perpetrator, ACT, PERP)),
  3226.           (not_isa(ACT, 'Exhibitionism'):-possible_t(perpetrator, ACT, PERP), not_isa(PERP, 'ExhibitionistOffender'), isa(ACT, 'CriminalAct'), true_t(perpetrator, ACT, PERP)),
  3227.           (not_possible_t(perpetrator, ACT, PERP):-not_isa(PERP, 'ExhibitionistOffender'), isa(ACT, 'CriminalAct'), isa(ACT, 'Exhibitionism'), true_t(perpetrator, ACT, PERP)),
  3228.           (not_true_t(perpetrator, ACT, PERP):-possible_t(perpetrator, ACT, PERP), not_isa(PERP, 'ExhibitionistOffender'), isa(ACT, 'CriminalAct'), isa(ACT, 'Exhibitionism'))
  3229.         ].
  3230. %
  3231. isa(PERP, 'ExhibitionistOffender') :-
  3232.         w_infer_by(tell32:0),
  3233.         isa(ACT, 'CriminalAct'),
  3234.         isa(ACT, 'Exhibitionism'),
  3235.         perpetrator(ACT, PERP).
  3236. %
  3237.  
  3238. tell32:0  isa(PERP,ExhibitionistOffender):-isa(ACT,CriminalAct),isa(ACT,Exhibitionism),true_t(perpetrator,ACT,PERP).not_isa(ACT,
  3239.                                                                                                                             'CriminalAct') :-
  3240.         w_infer_by(tell32:1),
  3241.         isa(ACT, 'Exhibitionism'),
  3242.         not(isa(PERP, 'ExhibitionistOffender')),
  3243.         perpetrator(ACT, PERP).
  3244. %
  3245.  
  3246. tell32:1  not_isa(ACT,CriminalAct):-isa(ACT,Exhibitionism),not_isa(PERP,ExhibitionistOffender),true_t(perpetrator,ACT,PERP).not_isa(ACT,
  3247.                                                                                                                                     'Exhibitionism') :-
  3248.         w_infer_by(tell32:2),
  3249.         isa(ACT, 'CriminalAct'),
  3250.         not(isa(PERP, 'ExhibitionistOffender')),
  3251.         perpetrator(ACT, PERP).
  3252. %
  3253.  
  3254. tell32:2  not_isa(ACT,Exhibitionism):-isa(ACT,CriminalAct),not_isa(PERP,ExhibitionistOffender),true_t(perpetrator,ACT,PERP).not_possible_t(perpetrator,
  3255.                                                                                                                                            ACT,
  3256.                                                                                                                                            PERP) :-
  3257.         w_infer_by(tell32:3),
  3258.         not(isa(PERP, 'ExhibitionistOffender')),
  3259.         isa(ACT, 'CriminalAct'),
  3260.         isa(ACT, 'Exhibitionism'),
  3261.         perpetrator(ACT, PERP).
  3262. %
  3263.  
  3264. tell32:3  not_possible_t(perpetrator,ACT,PERP):-not_isa(PERP,ExhibitionistOffender),isa(ACT,CriminalAct),isa(ACT,Exhibitionism),true_t(perpetrator,ACT,PERP).not_true_t(perpetrator,
  3265.                                                                                                                                                                         ACT,
  3266.                                                                                                                                                                         PERP) :-
  3267.         w_infer_by(tell32:4),
  3268.         poss(perpetrator(ACT, PERP)),
  3269.         not(isa(PERP, 'ExhibitionistOffender')),
  3270.         isa(ACT, 'CriminalAct'),
  3271.         isa(ACT, 'Exhibitionism').
  3272. %
  3273.  
  3274. tell32:4  not_true_t(perpetrator,ACT,PERP):-possible_t(perpetrator,ACT,PERP),not_isa(PERP,ExhibitionistOffender),isa(ACT,CriminalAct),isa(ACT,Exhibitionism).
  3275. true ;
  3276.  
  3277.  
  3278.  
  3279. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3280. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3281. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3282. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3283. kif :-
  3284.  
  3285.         [ '\n(implies \n       (and \n           (isa ?ACT CriminalAct) \n           (isa ?ACT Exhibitionism) \n           (perpetrator ?ACT ?PERP)) \n       (isa ?PERP ExhibitionistOffender))'
  3286.         ].
  3287. pkif :-
  3288.  
  3289.         [ '\n(implies \n       (and \n           (isa ?ACT CriminalAct) \n           (isa ?ACT Exhibitionism) \n           (perpetrator ?ACT ?PERP)) \n       (isa ?PERP ExhibitionistOffender))'
  3290.         ].
  3291. cnf :-
  3292.         '\n(implies \n       (and \n           (isa ?ACT CriminalAct) \n           (isa ?ACT Exhibitionism) \n           (perpetrator ?ACT ?PERP)) \n       (isa ?PERP ExhibitionistOffender))'.
  3293. %
  3294.  
  3295. tell33:0
  3296. (implies
  3297.        (and
  3298.            (isa ?ACT CriminalAct)
  3299.            (isa ?ACT Exhibitionism)
  3300.            (perpetrator ?ACT ?PERP))
  3301.        (isa ?PERP ExhibitionistOffender)).
  3302. tell33:0
  3303. (implies
  3304.        (and
  3305.            (isa ?ACT CriminalAct)
  3306.            (isa ?ACT Exhibitionism)
  3307.            (perpetrator ?ACT ?PERP))
  3308.        (isa ?PERP ExhibitionistOffender)).pttp :-
  3309.  
  3310.         [ ('\n(implies \n       (and \n           (isa ?ACT CriminalAct) \n           (isa ?ACT Exhibitionism) \n           (perpetrator ?ACT ?PERP)) \n       (isa ?PERP ExhibitionistOffender))':-true)
  3311.         ].
  3312. %
  3313. '\n(implies \n       (and \n           (isa ?ACT CriminalAct) \n           (isa ?ACT Exhibitionism) \n           (perpetrator ?ACT ?PERP)) \n       (isa ?PERP ExhibitionistOffender))' :-
  3314.         w_infer_by(tell33:0),
  3315.         [].
  3316. %
  3317.  
  3318. tell33:0
  3319. (implies
  3320.        (and
  3321.            (isa ?ACT CriminalAct)
  3322.            (isa ?ACT Exhibitionism)
  3323.            (perpetrator ?ACT ?PERP))
  3324.        (isa ?PERP ExhibitionistOffender)):-[].
  3325. true ;
  3326.  
  3327.  
  3328.  
  3329. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3330. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3331. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3332. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3333. kif :-
  3334.  
  3335.         [ all[PUNISH],
  3336.  
  3337.           [ all[THEMAN],
  3338.  
  3339.             [ all[WOMAN],
  3340.  
  3341.               [ implies,
  3342.  
  3343.                 [ isa(PUNISH, 'Punishing'),
  3344.                   performedBy(PUNISH, THEMAN),
  3345.                   maleficiary(PUNISH, WOMAN)
  3346.                 ],
  3347.                 (=>),
  3348.  
  3349.                 [ beliefs(THEMAN),
  3350.                   [ex[OBLIGATION], [agentViolatesObligation(WOMAN, OBLIGATION)]]
  3351.                 ]
  3352.               ]
  3353.             ]
  3354.           ]
  3355.         ].
  3356. pkif :-
  3357.  
  3358.         [ implies,
  3359.  
  3360.           [ poss(KB,
  3361.                  [beliefs(THEMAN), [agentViolatesObligation(WOMAN, OBLIGATION)]])
  3362.           ],
  3363.           (=>),
  3364.  
  3365.           [ implies,
  3366.             [poss(KB, maleficiary(PUNISH, WOMAN))],
  3367.             (=>),
  3368.  
  3369.             [ implies,
  3370.               [poss(KB, performedBy(PUNISH, THEMAN))],
  3371.               (=>),
  3372.  
  3373.               [ all[PUNISH],
  3374.  
  3375.                 [ all[THEMAN],
  3376.  
  3377.                   [ all[WOMAN],
  3378.  
  3379.                     [ implies,
  3380.  
  3381.                       [ isa(PUNISH, 'Punishing'),
  3382.                         performedBy(PUNISH, THEMAN),
  3383.                         maleficiary(PUNISH, WOMAN)
  3384.                       ],
  3385.                       (=>),
  3386.  
  3387.                       [ beliefs(THEMAN),
  3388.  
  3389.                         [ ex[OBLIGATION],
  3390.                           [agentViolatesObligation(WOMAN, OBLIGATION)]
  3391.                         ]
  3392.                       ]
  3393.                     ]
  3394.                   ]
  3395.                 ]
  3396.               ]
  3397.             ]
  3398.           ]
  3399.         ].
  3400. cnf :-
  3401.         (   not(beliefs(THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)))
  3402.         ;   not(possible_t(maleficiary(PUNISH, WOMAN)))
  3403.         ;   not(possible_t(performedBy(PUNISH, THEMAN)))
  3404.         ;   not(isa(PUNISH, 'Punishing'))
  3405.         ;   not(performedBy(PUNISH, THEMAN))
  3406.         ;   not(maleficiary(PUNISH, WOMAN))
  3407.         ;   beliefs(THEMAN,
  3408.                     (not(skolem(OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH)));agentViolatesObligation(WOMAN, OBLIGATION)))
  3409.         ).
  3410. %
  3411.  
  3412. tell34:0  not_true_t(beliefs,THEMAN,agentViolatesObligation(WOMAN,OBLIGATION));not_possible_t(maleficiary,PUNISH,WOMAN);not_possible_t(performedBy,PUNISH,THEMAN);not_isa(PUNISH,Punishing);not_true_t(performedBy,PUNISH,THEMAN);not_true_t(maleficiary,PUNISH,WOMAN);true_t(beliefs,THEMAN, (not_call_builtin(skolem,OBLIGATION,skUnkArg2ofAgentviolatesobligationFn(WOMAN,THEMAN,PUNISH));true_t(agentViolatesObligation,WOMAN,OBLIGATION))).pttp :-
  3413.  
  3414.         [ (not_isa(PUNISH, 'Punishing'):-true_t(beliefs, THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)), possible_t(maleficiary, PUNISH, WOMAN), possible_t(performedBy, PUNISH, THEMAN), true_t(performedBy, PUNISH, THEMAN), true_t(maleficiary, PUNISH, WOMAN), not_true_t(beliefs, THEMAN, (not_call_builtin(skolem, OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH));true_t(agentViolatesObligation, WOMAN, OBLIGATION)))),
  3415.           (not_possible_t(maleficiary, PUNISH, WOMAN):-true_t(beliefs, THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)), possible_t(performedBy, PUNISH, THEMAN), isa(PUNISH, 'Punishing'), true_t(performedBy, PUNISH, THEMAN), true_t(maleficiary, PUNISH, WOMAN), not_true_t(beliefs, THEMAN, (not_call_builtin(skolem, OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH));true_t(agentViolatesObligation, WOMAN, OBLIGATION)))),
  3416.           (not_possible_t(performedBy, PUNISH, THEMAN):-true_t(beliefs, THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)), possible_t(maleficiary, PUNISH, WOMAN), isa(PUNISH, 'Punishing'), true_t(performedBy, PUNISH, THEMAN), true_t(maleficiary, PUNISH, WOMAN), not_true_t(beliefs, THEMAN, (not_call_builtin(skolem, OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH));true_t(agentViolatesObligation, WOMAN, OBLIGATION)))),
  3417.           (not_true_t(beliefs, THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)):-possible_t(maleficiary, PUNISH, WOMAN), possible_t(performedBy, PUNISH, THEMAN), isa(PUNISH, 'Punishing'), true_t(performedBy, PUNISH, THEMAN), true_t(maleficiary, PUNISH, WOMAN), not_true_t(beliefs, THEMAN, (not_call_builtin(skolem, OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH));true_t(agentViolatesObligation, WOMAN, OBLIGATION)))),
  3418.           (not_true_t(maleficiary, PUNISH, WOMAN):-true_t(beliefs, THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)), possible_t(maleficiary, PUNISH, WOMAN), possible_t(performedBy, PUNISH, THEMAN), isa(PUNISH, 'Punishing'), true_t(performedBy, PUNISH, THEMAN), not_true_t(beliefs, THEMAN, (not_call_builtin(skolem, OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH));true_t(agentViolatesObligation, WOMAN, OBLIGATION)))),
  3419.           (not_true_t(performedBy, PUNISH, THEMAN):-true_t(beliefs, THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)), possible_t(maleficiary, PUNISH, WOMAN), possible_t(performedBy, PUNISH, THEMAN), isa(PUNISH, 'Punishing'), true_t(maleficiary, PUNISH, WOMAN), not_true_t(beliefs, THEMAN, (not_call_builtin(skolem, OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH));true_t(agentViolatesObligation, WOMAN, OBLIGATION)))),
  3420.           (true_t(beliefs, THEMAN, (not_call_builtin(skolem, OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH));true_t(agentViolatesObligation, WOMAN, OBLIGATION))):-true_t(beliefs, THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)), possible_t(maleficiary, PUNISH, WOMAN), possible_t(performedBy, PUNISH, THEMAN), isa(PUNISH, 'Punishing'), true_t(performedBy, PUNISH, THEMAN), true_t(maleficiary, PUNISH, WOMAN))
  3421.         ].
  3422. %
  3423. not_isa(PUNISH, 'Punishing') :-
  3424.         w_infer_by(tell34:0),
  3425.         performedBy(PUNISH, THEMAN),
  3426.         maleficiary(PUNISH, WOMAN),
  3427.         beliefs(THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)),
  3428.         not(beliefs(THEMAN,
  3429.                     (not(skolem(OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH)));agentViolatesObligation(WOMAN, OBLIGATION)))).
  3430. %
  3431.  
  3432. tell34:0  not_isa(PUNISH,Punishing):-true_t(performedBy,PUNISH,THEMAN),true_t(maleficiary,PUNISH,WOMAN),true_t(beliefs,THEMAN,agentViolatesObligation(WOMAN,OBLIGATION)),not_true_t(beliefs,THEMAN, (not_call_builtin(skolem,OBLIGATION,skUnkArg2ofAgentviolatesobligationFn(WOMAN,THEMAN,PUNISH));true_t(agentViolatesObligation,WOMAN,OBLIGATION))).not_possible_t(maleficiary,
  3433.                                                                                                                                                                                                                                                  PUNISH,
  3434.                                                                                                                                                                                                                                                  WOMAN) :-
  3435.         w_infer_by(tell34:1),
  3436.         isa(PUNISH, 'Punishing'),
  3437.         maleficiary(PUNISH, WOMAN),
  3438.         performedBy(PUNISH, THEMAN),
  3439.         beliefs(THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)),
  3440.         not(beliefs(THEMAN,
  3441.                     (not(skolem(OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH)));agentViolatesObligation(WOMAN, OBLIGATION)))).
  3442. %
  3443.  
  3444. tell34:1  not_possible_t(maleficiary,PUNISH,WOMAN):-isa(PUNISH,Punishing),true_t(maleficiary,PUNISH,WOMAN),true_t(performedBy,PUNISH,THEMAN),true_t(beliefs,THEMAN,agentViolatesObligation(WOMAN,OBLIGATION)),not_true_t(beliefs,THEMAN, (not_call_builtin(skolem,OBLIGATION,skUnkArg2ofAgentviolatesobligationFn(WOMAN,THEMAN,PUNISH));true_t(agentViolatesObligation,WOMAN,OBLIGATION))).not_possible_t(performedBy,
  3445.                                                                                                                                                                                                                                               PUNISH,
  3446.                                                                                                                                                                                                                                               THEMAN) :-
  3447.         w_infer_by(tell34:2),
  3448.         isa(PUNISH, 'Punishing'),
  3449.         performedBy(PUNISH, THEMAN),
  3450.         maleficiary(PUNISH, WOMAN),
  3451.         beliefs(THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)),
  3452.         not(beliefs(THEMAN,
  3453.                     (not(skolem(OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH)));agentViolatesObligation(WOMAN, OBLIGATION)))).
  3454. %
  3455.  
  3456. tell34:2  not_possible_t(performedBy,PUNISH,THEMAN):-isa(PUNISH,Punishing),true_t(performedBy,PUNISH,THEMAN),true_t(maleficiary,PUNISH,WOMAN),true_t(beliefs,THEMAN,agentViolatesObligation(WOMAN,OBLIGATION)),not_true_t(beliefs,THEMAN, (not_call_builtin(skolem,OBLIGATION,skUnkArg2ofAgentviolatesobligationFn(WOMAN,THEMAN,PUNISH));true_t(agentViolatesObligation,WOMAN,OBLIGATION))).not_true_t(beliefs,
  3457.                                                                                                                                                                                                                                                    THEMAN,
  3458.                                                                                                                                                                                                                                                    agentViolatesObligation(WOMAN,
  3459.                                                                                                                                                                                                                                                    OBLIGATION)) :-
  3460.         w_infer_by(tell34:3),
  3461.         isa(PUNISH, 'Punishing'),
  3462.         performedBy(PUNISH, THEMAN),
  3463.         maleficiary(PUNISH, WOMAN),
  3464.         not(beliefs(THEMAN,
  3465.                     (not(skolem(OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH)));agentViolatesObligation(WOMAN, OBLIGATION)))).
  3466. %
  3467.  
  3468. tell34:3  not_true_t(beliefs,THEMAN,agentViolatesObligation(WOMAN,OBLIGATION)):-isa(PUNISH,Punishing),true_t(performedBy,PUNISH,THEMAN),true_t(maleficiary,PUNISH,WOMAN),not_true_t(beliefs,THEMAN, (not_call_builtin(skolem,OBLIGATION,skUnkArg2ofAgentviolatesobligationFn(WOMAN,THEMAN,PUNISH));true_t(agentViolatesObligation,WOMAN,OBLIGATION))).not_true_t(maleficiary,
  3469.                                                                                                                                                                                                                                              PUNISH,
  3470.                                                                                                                                                                                                                                              WOMAN) :-
  3471.         w_infer_by(tell34:4),
  3472.         poss(maleficiary(PUNISH, WOMAN)),
  3473.         isa(PUNISH, 'Punishing'),
  3474.         performedBy(PUNISH, THEMAN),
  3475.         beliefs(THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)),
  3476.         not(beliefs(THEMAN,
  3477.                     (not(skolem(OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH)));agentViolatesObligation(WOMAN, OBLIGATION)))).
  3478. %
  3479.  
  3480. tell34:4  not_true_t(maleficiary,PUNISH,WOMAN):-possible_t(maleficiary,PUNISH,WOMAN),isa(PUNISH,Punishing),true_t(performedBy,PUNISH,THEMAN),true_t(beliefs,THEMAN,agentViolatesObligation(WOMAN,OBLIGATION)),not_true_t(beliefs,THEMAN, (not_call_builtin(skolem,OBLIGATION,skUnkArg2ofAgentviolatesobligationFn(WOMAN,THEMAN,PUNISH));true_t(agentViolatesObligation,WOMAN,OBLIGATION))).not_true_t(performedBy,
  3481.                                                                                                                                                                                                                                                   PUNISH,
  3482.                                                                                                                                                                                                                                                   THEMAN) :-
  3483.         w_infer_by(tell34:5),
  3484.         poss(performedBy(PUNISH, THEMAN)),
  3485.         isa(PUNISH, 'Punishing'),
  3486.         maleficiary(PUNISH, WOMAN),
  3487.         beliefs(THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)),
  3488.         not(beliefs(THEMAN,
  3489.                     (not(skolem(OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH)));agentViolatesObligation(WOMAN, OBLIGATION)))).
  3490. %
  3491.  
  3492. tell34:5  not_true_t(performedBy,PUNISH,THEMAN):-possible_t(performedBy,PUNISH,THEMAN),isa(PUNISH,Punishing),true_t(maleficiary,PUNISH,WOMAN),true_t(beliefs,THEMAN,agentViolatesObligation(WOMAN,OBLIGATION)),not_true_t(beliefs,THEMAN, (not_call_builtin(skolem,OBLIGATION,skUnkArg2ofAgentviolatesobligationFn(WOMAN,THEMAN,PUNISH));true_t(agentViolatesObligation,WOMAN,OBLIGATION))).true_t(beliefs,
  3493.                                                                                                                                                                                                                                                THEMAN,
  3494.                                                                                                                                                                                                                                                (not_call_builtin(skolem, OBLIGATION, skUnkArg2ofAgentviolatesobligationFn(WOMAN, THEMAN, PUNISH));true_t(agentViolatesObligation, WOMAN, OBLIGATION))) :-
  3495.         w_infer_by(tell34:6),
  3496.         beliefs(THEMAN, agentViolatesObligation(WOMAN, OBLIGATION)),
  3497.         isa(PUNISH, 'Punishing'),
  3498.         performedBy(PUNISH, THEMAN),
  3499.         maleficiary(PUNISH, WOMAN).
  3500. %
  3501.  
  3502. tell34:6  true_t(beliefs,THEMAN, (not_call_builtin(skolem,OBLIGATION,skUnkArg2ofAgentviolatesobligationFn(WOMAN,THEMAN,PUNISH));true_t(agentViolatesObligation,WOMAN,OBLIGATION))):-true_t(beliefs,THEMAN,agentViolatesObligation(WOMAN,OBLIGATION)),isa(PUNISH,Punishing),true_t(performedBy,PUNISH,THEMAN),true_t(maleficiary,PUNISH,WOMAN).
  3503. true ;
  3504.  
  3505.  
  3506.  
  3507. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3508. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3509. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3510. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3511. kif :-
  3512.  
  3513.         [ '\n(implies \n       (and \n           (isa ?PUNISH Punishing) \n           (performedBy ?PUNISH ?THEMAN) \n           (maleficiary ?PUNISH ?WOMAN)) \n       (beliefs ?THEMAN \n           (thereExists ?OBLIGATION \n               (agentViolatesObligation ?WOMAN ?OBLIGATION))))'
  3514.         ].
  3515. pkif :-
  3516.  
  3517.         [ '\n(implies \n       (and \n           (isa ?PUNISH Punishing) \n           (performedBy ?PUNISH ?THEMAN) \n           (maleficiary ?PUNISH ?WOMAN)) \n       (beliefs ?THEMAN \n           (thereExists ?OBLIGATION \n               (agentViolatesObligation ?WOMAN ?OBLIGATION))))'
  3518.         ].
  3519. cnf :-
  3520.         '\n(implies \n       (and \n           (isa ?PUNISH Punishing) \n           (performedBy ?PUNISH ?THEMAN) \n           (maleficiary ?PUNISH ?WOMAN)) \n       (beliefs ?THEMAN \n           (thereExists ?OBLIGATION \n               (agentViolatesObligation ?WOMAN ?OBLIGATION))))'.
  3521. %
  3522.  
  3523. tell35:0
  3524. (implies
  3525.        (and
  3526.            (isa ?PUNISH Punishing)
  3527.            (performedBy ?PUNISH ?THEMAN)
  3528.            (maleficiary ?PUNISH ?WOMAN))
  3529.        (beliefs ?THEMAN
  3530.            (thereExists ?OBLIGATION
  3531.                (agentViolatesObligation ?WOMAN ?OBLIGATION)))).
  3532. tell35:0
  3533. (implies
  3534.        (and
  3535.            (isa ?PUNISH Punishing)
  3536.            (performedBy ?PUNISH ?THEMAN)
  3537.            (maleficiary ?PUNISH ?WOMAN))
  3538.        (beliefs ?THEMAN
  3539.            (thereExists ?OBLIGATION
  3540.                (agentViolatesObligation ?WOMAN ?OBLIGATION)))).pttp :-
  3541.  
  3542.         [ ('\n(implies \n       (and \n           (isa ?PUNISH Punishing) \n           (performedBy ?PUNISH ?THEMAN) \n           (maleficiary ?PUNISH ?WOMAN)) \n       (beliefs ?THEMAN \n           (thereExists ?OBLIGATION \n               (agentViolatesObligation ?WOMAN ?OBLIGATION))))':-true)
  3543.         ].
  3544. %
  3545. '\n(implies \n       (and \n           (isa ?PUNISH Punishing) \n           (performedBy ?PUNISH ?THEMAN) \n           (maleficiary ?PUNISH ?WOMAN)) \n       (beliefs ?THEMAN \n           (thereExists ?OBLIGATION \n               (agentViolatesObligation ?WOMAN ?OBLIGATION))))' :-
  3546.         w_infer_by(tell35:0),
  3547.         [].
  3548. %
  3549.  
  3550. tell35:0
  3551. (implies
  3552.        (and
  3553.            (isa ?PUNISH Punishing)
  3554.            (performedBy ?PUNISH ?THEMAN)
  3555.            (maleficiary ?PUNISH ?WOMAN))
  3556.        (beliefs ?THEMAN
  3557.            (thereExists ?OBLIGATION
  3558.                (agentViolatesObligation ?WOMAN ?OBLIGATION)))):-[].
  3559. true ;
  3560.  
  3561.  
  3562.  
  3563. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3564. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3565. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3566. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3567. kif :-
  3568.  
  3569.         [ all[MORAL_SHAMING],
  3570.  
  3571.           [ all[THEMAN],
  3572.  
  3573.             [ implies,
  3574.  
  3575.               [ isa(MORAL_SHAMING, 'Shaming'),
  3576.                 performedBy(MORAL_SHAMING, THEMAN),
  3577.                 obligatedAgents('TheGoldenRule', THEMAN)
  3578.               ],
  3579.               (=>),
  3580.               [agentViolatesObligation(THEMAN, 'TheGoldenRule')]
  3581.             ]
  3582.           ]
  3583.         ].
  3584. pkif :-
  3585.  
  3586.         [ implies,
  3587.           [poss(KB, agentViolatesObligation(THEMAN, 'TheGoldenRule'))],
  3588.           (=>),
  3589.  
  3590.           [ implies,
  3591.             [poss(KB, obligatedAgents('TheGoldenRule', THEMAN))],
  3592.             (=>),
  3593.  
  3594.             [ implies,
  3595.               [poss(KB, performedBy(MORAL_SHAMING, THEMAN))],
  3596.               (=>),
  3597.  
  3598.               [ all[MORAL_SHAMING],
  3599.  
  3600.                 [ all[THEMAN],
  3601.  
  3602.                   [ implies,
  3603.  
  3604.                     [ isa(MORAL_SHAMING, 'Shaming'),
  3605.                       performedBy(MORAL_SHAMING, THEMAN),
  3606.                       obligatedAgents('TheGoldenRule', THEMAN)
  3607.                     ],
  3608.                     (=>),
  3609.                     [agentViolatesObligation(THEMAN, 'TheGoldenRule')]
  3610.                   ]
  3611.                 ]
  3612.               ]
  3613.             ]
  3614.           ]
  3615.         ].
  3616. cnf :-
  3617.         (   not(possible_t(agentViolatesObligation(THEMAN, 'TheGoldenRule')))
  3618.         ;   not(possible_t(obligatedAgents('TheGoldenRule', THEMAN)))
  3619.         ;   not(possible_t(performedBy(MORAL_SHAMING, THEMAN)))
  3620.         ;   agentViolatesObligation(THEMAN, 'TheGoldenRule')
  3621.         ;   not(isa(MORAL_SHAMING, 'Shaming'))
  3622.         ;   not(performedBy(MORAL_SHAMING, THEMAN))
  3623.         ;   not(obligatedAgents('TheGoldenRule', THEMAN))
  3624.         ).
  3625. %
  3626.  
  3627. tell36:0  not_possible_t(agentViolatesObligation,THEMAN,TheGoldenRule);not_possible_t(obligatedAgents,TheGoldenRule,THEMAN);not_possible_t(performedBy,MORAL_SHAMING,THEMAN);true_t(agentViolatesObligation,THEMAN,TheGoldenRule);not_isa(MORAL_SHAMING,Shaming);not_true_t(performedBy,MORAL_SHAMING,THEMAN);not_true_t(obligatedAgents,TheGoldenRule,THEMAN).pttp :-
  3628.  
  3629.         [ (not_isa(MORAL_SHAMING, 'Shaming'):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3630.           (not_possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'):-possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3631.           (not_possible_t(obligatedAgents, 'TheGoldenRule', THEMAN):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(performedBy, MORAL_SHAMING, THEMAN), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3632.           (not_possible_t(performedBy, MORAL_SHAMING, THEMAN):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3633.           (not_true_t(obligatedAgents, 'TheGoldenRule', THEMAN):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN)),
  3634.           (not_true_t(performedBy, MORAL_SHAMING, THEMAN):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3635.           (true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN))
  3636.         ].
  3637. %
  3638. not_isa(MORAL_SHAMING, 'Shaming') :-
  3639.         w_infer_by(tell36:0),
  3640.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3641.         performedBy(MORAL_SHAMING, THEMAN),
  3642.         obligatedAgents('TheGoldenRule', THEMAN).
  3643. %
  3644.  
  3645. tell36:0  not_isa(MORAL_SHAMING,Shaming):-not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),true_t(performedBy,MORAL_SHAMING,THEMAN),true_t(obligatedAgents,TheGoldenRule,THEMAN).not_possible_t(agentViolatesObligation,
  3646.                                                                                                                                                                                                         THEMAN,
  3647.                                                                                                                                                                                                         'TheGoldenRule') :-
  3648.         w_infer_by(tell36:1),
  3649.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3650.         obligatedAgents('TheGoldenRule', THEMAN),
  3651.         isa(MORAL_SHAMING, 'Shaming'),
  3652.         performedBy(MORAL_SHAMING, THEMAN).
  3653. %
  3654.  
  3655. tell36:1  not_possible_t(agentViolatesObligation,THEMAN,TheGoldenRule):-not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),true_t(obligatedAgents,TheGoldenRule,THEMAN),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN).not_possible_t(obligatedAgents,
  3656.                                                                                                                                                                                                                                              'TheGoldenRule',
  3657.                                                                                                                                                                                                                                              THEMAN) :-
  3658.         w_infer_by(tell36:2),
  3659.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3660.         obligatedAgents('TheGoldenRule', THEMAN),
  3661.         isa(MORAL_SHAMING, 'Shaming'),
  3662.         performedBy(MORAL_SHAMING, THEMAN).
  3663. %
  3664.  
  3665. tell36:2  not_possible_t(obligatedAgents,TheGoldenRule,THEMAN):-not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),true_t(obligatedAgents,TheGoldenRule,THEMAN),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN).not_possible_t(performedBy,
  3666.                                                                                                                                                                                                                                              MORAL_SHAMING,
  3667.                                                                                                                                                                                                                                              THEMAN) :-
  3668.         w_infer_by(tell36:3),
  3669.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3670.         isa(MORAL_SHAMING, 'Shaming'),
  3671.         performedBy(MORAL_SHAMING, THEMAN),
  3672.         obligatedAgents('TheGoldenRule', THEMAN).
  3673. %
  3674.  
  3675. tell36:3  not_possible_t(performedBy,MORAL_SHAMING,THEMAN):-not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN),true_t(obligatedAgents,TheGoldenRule,THEMAN).not_true_t(obligatedAgents,
  3676.                                                                                                                                                                                                                                              'TheGoldenRule',
  3677.                                                                                                                                                                                                                                              THEMAN) :-
  3678.         w_infer_by(tell36:4),
  3679.         poss(obligatedAgents('TheGoldenRule', THEMAN)),
  3680.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3681.         isa(MORAL_SHAMING, 'Shaming'),
  3682.         performedBy(MORAL_SHAMING, THEMAN).
  3683. %
  3684.  
  3685. tell36:4  not_true_t(obligatedAgents,TheGoldenRule,THEMAN):-possible_t(obligatedAgents,TheGoldenRule,THEMAN),not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN).not_true_t(performedBy,
  3686.                                                                                                                                                                                                                                                  MORAL_SHAMING,
  3687.                                                                                                                                                                                                                                                  THEMAN) :-
  3688.         w_infer_by(tell36:5),
  3689.         poss(performedBy(MORAL_SHAMING, THEMAN)),
  3690.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3691.         isa(MORAL_SHAMING, 'Shaming'),
  3692.         obligatedAgents('TheGoldenRule', THEMAN).
  3693. %
  3694.  
  3695. tell36:5  not_true_t(performedBy,MORAL_SHAMING,THEMAN):-possible_t(performedBy,MORAL_SHAMING,THEMAN),not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),isa(MORAL_SHAMING,Shaming),true_t(obligatedAgents,TheGoldenRule,THEMAN).true_t(agentViolatesObligation,
  3696.                                                                                                                                                                                                                                              THEMAN,
  3697.                                                                                                                                                                                                                                              'TheGoldenRule') :-
  3698.         w_infer_by(tell36:6),
  3699.         poss(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3700.         obligatedAgents('TheGoldenRule', THEMAN),
  3701.         isa(MORAL_SHAMING, 'Shaming'),
  3702.         performedBy(MORAL_SHAMING, THEMAN).
  3703. %
  3704.  
  3705. tell36:6  true_t(agentViolatesObligation,THEMAN,TheGoldenRule):-possible_t(agentViolatesObligation,THEMAN,TheGoldenRule),true_t(obligatedAgents,TheGoldenRule,THEMAN),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN).
  3706. true ;
  3707.  
  3708.  
  3709.  
  3710. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3711. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3712. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3713. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3714. kif :-
  3715.  
  3716.         [ '\n(implies (and (isa ?MORAL-SHAMING Shaming)  (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)) (agentViolatesObligation ?THEMAN TheGoldenRule))\n'
  3717.         ].
  3718. pkif :-
  3719.  
  3720.         [ '\n(implies (and (isa ?MORAL-SHAMING Shaming)  (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)) (agentViolatesObligation ?THEMAN TheGoldenRule))\n'
  3721.         ].
  3722. cnf :-
  3723.         '\n(implies (and (isa ?MORAL-SHAMING Shaming)  (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)) (agentViolatesObligation ?THEMAN TheGoldenRule))\n'.
  3724. %
  3725.  
  3726. tell37:0
  3727. (implies (and (isa ?MORAL-SHAMING Shaming)  (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)) (agentViolatesObligation ?THEMAN TheGoldenRule))
  3728. .
  3729. tell37:0
  3730. (implies (and (isa ?MORAL-SHAMING Shaming)  (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)) (agentViolatesObligation ?THEMAN TheGoldenRule))
  3731. .pttp :-
  3732.  
  3733.         [ ('\n(implies (and (isa ?MORAL-SHAMING Shaming)  (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)) (agentViolatesObligation ?THEMAN TheGoldenRule))\n':-true)
  3734.         ].
  3735. %
  3736. '\n(implies (and (isa ?MORAL-SHAMING Shaming)  (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)) (agentViolatesObligation ?THEMAN TheGoldenRule))\n' :-
  3737.         w_infer_by(tell37:0),
  3738.         [].
  3739. %
  3740.  
  3741. tell37:0
  3742. (implies (and (isa ?MORAL-SHAMING Shaming)  (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)) (agentViolatesObligation ?THEMAN TheGoldenRule))
  3743. :-[].
  3744. true ;
  3745.  
  3746.  
  3747.  
  3748. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3749. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3750. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3751. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3752. kif :-
  3753.  
  3754.         [ ex[THEMAN],
  3755.  
  3756.           [ implies,
  3757.  
  3758.             [ ex[MORAL_SHAMING],
  3759.  
  3760.               [ isa(MORAL_SHAMING, 'Shaming'),
  3761.                 performedBy(MORAL_SHAMING, THEMAN),
  3762.                 obligatedAgents('TheGoldenRule', THEMAN)
  3763.               ]
  3764.             ],
  3765.             (=>),
  3766.             [agentViolatesObligation(THEMAN, 'TheGoldenRule')]
  3767.           ]
  3768.         ].
  3769. pkif :-
  3770.  
  3771.         [ implies,
  3772.           [poss(KB, agentViolatesObligation(THEMAN, 'TheGoldenRule'))],
  3773.           (=>),
  3774.  
  3775.           [ implies,
  3776.             [poss(KB, obligatedAgents('TheGoldenRule', THEMAN))],
  3777.             (=>),
  3778.  
  3779.             [ implies,
  3780.               [poss(KB, performedBy(MORAL_SHAMING, THEMAN))],
  3781.               (=>),
  3782.  
  3783.               [ ex[THEMAN],
  3784.  
  3785.                 [ implies,
  3786.  
  3787.                   [ ex[MORAL_SHAMING],
  3788.  
  3789.                     [ isa(MORAL_SHAMING, 'Shaming'),
  3790.                       performedBy(MORAL_SHAMING, THEMAN),
  3791.                       obligatedAgents('TheGoldenRule', THEMAN)
  3792.                     ]
  3793.                   ],
  3794.                   (=>),
  3795.                   [agentViolatesObligation(THEMAN, 'TheGoldenRule')]
  3796.                 ]
  3797.               ]
  3798.             ]
  3799.           ]
  3800.         ].
  3801. cnf :-
  3802.         (   not(possible_t(agentViolatesObligation(THEMAN, 'TheGoldenRule')))
  3803.         ;   not(possible_t(obligatedAgents('TheGoldenRule', THEMAN)))
  3804.         ;   not(possible_t(performedBy(MORAL_SHAMING, THEMAN)))
  3805.         ;   not(skolem(THEMAN,
  3806.                        skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn))
  3807.         ;   agentViolatesObligation(THEMAN, 'TheGoldenRule')
  3808.         ;   not(isa(MORAL_SHAMING, 'Shaming'))
  3809.         ;   not(performedBy(MORAL_SHAMING, THEMAN))
  3810.         ;   not(obligatedAgents('TheGoldenRule', THEMAN))
  3811.         ).
  3812. %
  3813.  
  3814. tell38:0  not_possible_t(agentViolatesObligation,THEMAN,TheGoldenRule);not_possible_t(obligatedAgents,TheGoldenRule,THEMAN);not_possible_t(performedBy,MORAL_SHAMING,THEMAN);not_call_builtin(skolem,THEMAN,skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn);true_t(agentViolatesObligation,THEMAN,TheGoldenRule);not_isa(MORAL_SHAMING,Shaming);not_true_t(performedBy,MORAL_SHAMING,THEMAN);not_true_t(obligatedAgents,TheGoldenRule,THEMAN).pttp :-
  3815.  
  3816.         [ (not_isa(MORAL_SHAMING, 'Shaming'):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), call_builtin(skolem, THEMAN, skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3817.           (not_call_builtin(skolem, THEMAN, skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3818.           (not_possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'):-possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), call_builtin(skolem, THEMAN, skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3819.           (not_possible_t(obligatedAgents, 'TheGoldenRule', THEMAN):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(performedBy, MORAL_SHAMING, THEMAN), call_builtin(skolem, THEMAN, skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3820.           (not_possible_t(performedBy, MORAL_SHAMING, THEMAN):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), call_builtin(skolem, THEMAN, skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3821.           (not_true_t(obligatedAgents, 'TheGoldenRule', THEMAN):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), call_builtin(skolem, THEMAN, skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN)),
  3822.           (not_true_t(performedBy, MORAL_SHAMING, THEMAN):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), call_builtin(skolem, THEMAN, skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn), not_true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), isa(MORAL_SHAMING, 'Shaming'), true_t(obligatedAgents, 'TheGoldenRule', THEMAN)),
  3823.           (true_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'):-possible_t(agentViolatesObligation, THEMAN, 'TheGoldenRule'), possible_t(obligatedAgents, 'TheGoldenRule', THEMAN), possible_t(performedBy, MORAL_SHAMING, THEMAN), call_builtin(skolem, THEMAN, skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn), isa(MORAL_SHAMING, 'Shaming'), true_t(performedBy, MORAL_SHAMING, THEMAN), true_t(obligatedAgents, 'TheGoldenRule', THEMAN))
  3824.         ].
  3825. %
  3826. not_isa(MORAL_SHAMING, 'Shaming') :-
  3827.         w_infer_by(tell38:0),
  3828.         skolem(THEMAN,
  3829.                skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),
  3830.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3831.         performedBy(MORAL_SHAMING, THEMAN),
  3832.         obligatedAgents('TheGoldenRule', THEMAN).
  3833. %
  3834.  
  3835. tell38:0  not_isa(MORAL_SHAMING,Shaming):-call_builtin(skolem,THEMAN,skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),true_t(performedBy,MORAL_SHAMING,THEMAN),true_t(obligatedAgents,TheGoldenRule,THEMAN).not_call_builtin(skolem,
  3836.                                                                                                                                                                                                                                                THEMAN,
  3837.                                                                                                                                                                                                                                                skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn) :-
  3838.         w_infer_by(tell38:1),
  3839.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3840.         obligatedAgents('TheGoldenRule', THEMAN),
  3841.         isa(MORAL_SHAMING, 'Shaming'),
  3842.         performedBy(MORAL_SHAMING, THEMAN).
  3843. %
  3844.  
  3845. tell38:1  not_call_builtin(skolem,THEMAN,skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn):-not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),true_t(obligatedAgents,TheGoldenRule,THEMAN),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN).not_possible_t(agentViolatesObligation,
  3846.                                                                                                                                                                                                                                              THEMAN,
  3847.                                                                                                                                                                                                                                              'TheGoldenRule') :-
  3848.         w_infer_by(tell38:2),
  3849.         skolem(THEMAN,
  3850.                skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),
  3851.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3852.         obligatedAgents('TheGoldenRule', THEMAN),
  3853.         isa(MORAL_SHAMING, 'Shaming'),
  3854.         performedBy(MORAL_SHAMING, THEMAN).
  3855. %
  3856.  
  3857. tell38:2  not_possible_t(agentViolatesObligation,THEMAN,TheGoldenRule):-call_builtin(skolem,THEMAN,skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),true_t(obligatedAgents,TheGoldenRule,THEMAN),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN).not_possible_t(obligatedAgents,
  3858.                                                                                                                                                                                                                                               'TheGoldenRule',
  3859.                                                                                                                                                                                                                                               THEMAN) :-
  3860.         w_infer_by(tell38:3),
  3861.         skolem(THEMAN,
  3862.                skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),
  3863.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3864.         obligatedAgents('TheGoldenRule', THEMAN),
  3865.         isa(MORAL_SHAMING, 'Shaming'),
  3866.         performedBy(MORAL_SHAMING, THEMAN).
  3867. %
  3868.  
  3869. tell38:3  not_possible_t(obligatedAgents,TheGoldenRule,THEMAN):-call_builtin(skolem,THEMAN,skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),true_t(obligatedAgents,TheGoldenRule,THEMAN),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN).not_possible_t(performedBy,
  3870.                                                                                                                                                                                                                                               MORAL_SHAMING,
  3871.                                                                                                                                                                                                                                               THEMAN) :-
  3872.         w_infer_by(tell38:4),
  3873.         skolem(THEMAN,
  3874.                skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),
  3875.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3876.         isa(MORAL_SHAMING, 'Shaming'),
  3877.         performedBy(MORAL_SHAMING, THEMAN),
  3878.         obligatedAgents('TheGoldenRule', THEMAN).
  3879. %
  3880.  
  3881. tell38:4  not_possible_t(performedBy,MORAL_SHAMING,THEMAN):-call_builtin(skolem,THEMAN,skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN),true_t(obligatedAgents,TheGoldenRule,THEMAN).not_true_t(obligatedAgents,
  3882.                                                                                                                                                                                                                                               'TheGoldenRule',
  3883.                                                                                                                                                                                                                                               THEMAN) :-
  3884.         w_infer_by(tell38:5),
  3885.         poss(obligatedAgents('TheGoldenRule', THEMAN)),
  3886.         skolem(THEMAN,
  3887.                skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),
  3888.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3889.         isa(MORAL_SHAMING, 'Shaming'),
  3890.         performedBy(MORAL_SHAMING, THEMAN).
  3891. %
  3892.  
  3893. tell38:5  not_true_t(obligatedAgents,TheGoldenRule,THEMAN):-possible_t(obligatedAgents,TheGoldenRule,THEMAN),call_builtin(skolem,THEMAN,skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN).not_true_t(performedBy,
  3894.                                                                                                                                                                                                                                                   MORAL_SHAMING,
  3895.                                                                                                                                                                                                                                                   THEMAN) :-
  3896.         w_infer_by(tell38:6),
  3897.         poss(performedBy(MORAL_SHAMING, THEMAN)),
  3898.         skolem(THEMAN,
  3899.                skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),
  3900.         not(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3901.         isa(MORAL_SHAMING, 'Shaming'),
  3902.         obligatedAgents('TheGoldenRule', THEMAN).
  3903. %
  3904.  
  3905. tell38:6  not_true_t(performedBy,MORAL_SHAMING,THEMAN):-possible_t(performedBy,MORAL_SHAMING,THEMAN),call_builtin(skolem,THEMAN,skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),not_true_t(agentViolatesObligation,THEMAN,TheGoldenRule),isa(MORAL_SHAMING,Shaming),true_t(obligatedAgents,TheGoldenRule,THEMAN).true_t(agentViolatesObligation,
  3906.                                                                                                                                                                                                                                                   THEMAN,
  3907.                                                                                                                                                                                                                                                   'TheGoldenRule') :-
  3908.         w_infer_by(tell38:7),
  3909.         poss(agentViolatesObligation(THEMAN, 'TheGoldenRule')),
  3910.         skolem(THEMAN,
  3911.                skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),
  3912.         obligatedAgents('TheGoldenRule', THEMAN),
  3913.         isa(MORAL_SHAMING, 'Shaming'),
  3914.         performedBy(MORAL_SHAMING, THEMAN).
  3915. %
  3916.  
  3917. tell38:7  true_t(agentViolatesObligation,THEMAN,TheGoldenRule):-possible_t(agentViolatesObligation,THEMAN,TheGoldenRule),call_builtin(skolem,THEMAN,skArg1ofAgentviolatesobligationUnkArg2ofPerformedbyObligatedagentsFn),true_t(obligatedAgents,TheGoldenRule,THEMAN),isa(MORAL_SHAMING,Shaming),true_t(performedBy,MORAL_SHAMING,THEMAN).
  3918. true
  3919. %    msg(error, must_failed_F__A__I__L_(user:param_default_value(search, _))).
  3920. %
  3921. %    not(tlbugger:ifCanTrace(user:param_default_value(search, _))).
  3922. %
  3923. skipDmsg(nf(noParent(52,46,[max_depth(5000),numbervars(safe),show([has_alternatives,level,context_module,goal,clause])])))
  3924. (0)[system]  system:'$c_call_prolog'.  no(clause) *(1)[thread_httpd]  thread_httpd:http_worker([queue('httpd@3020'),tcp_socket('$socket'(1)),workers(16)]).   %  thread_httpd.pl:516: (2)[system]  system:catch(thread_httpd:http_process(user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0),[pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),timeout(60),peer(ip(73,164,203,95)),protocol(http)]),_,thread_httpd:true).   %  init.pl:274: (3)[thread_httpd]  thread_httpd:http_process(user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0),[pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),timeout(60),peer(ip(73,164,203,95)),protocol(http)]).   %  thread_httpd.pl:711: (4)[httpd_wrapper]  httpd_wrapper:http_wrapper(user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0),_,[request([protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),timeout(60),peer(ip(73,164,203,95)),protocol(http)]).   %  http_wrapper.pl:93: (5)[httpd_wrapper]  httpd_wrapper:handler_with_output_to(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],<stream>(0x7fec3c162f80),_).   %  http_wrapper.pl:287: *(6)[httpd_wrapper]  httpd_wrapper:handler_with_output_to(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],current_output,_).   %  http_wrapper.pl:279: (7)[system]  system:catch(httpd_wrapper:call_handler(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),_,httpd_wrapper:true).   %  init.pl:274: (8)[httpd_wrapper]  httpd_wrapper:call_handler(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  http_wrapper.pl:295: (9)[http_dispatch]  http_dispatch:http_dispatch([session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  http_dispatch.pl:318: (10)[http_dispatch]  http_dispatch:action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:596: (11)[http_dispatch]  http_dispatch:spawn_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:607: (12)[http_dispatch]  http_dispatch:time_limit_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:616: (13)[time]  time:call_with_time_limit(300,http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])).   %  time.pl:128: (14)[system]  system:setup_call_cleanup(time:alarm(300,time_limit_exceeded(300),'$alarm'(35163140388208),[install(false)]),time:run_alarm_goal('$alarm'(35163140388208),http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])),time:remove_alarm_notrace('$alarm'(35163140388208))).   %  init.pl:314: (15)[system]  system:setup_call_catcher_cleanup(time:alarm(300,time_limit_exceeded(300),'$alarm'(35163140388208),[install(false)]),time:run_alarm_goal('$alarm'(35163140388208),http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])),_,time:remove_alarm_notrace('$alarm'(35163140388208))).   %  init.pl:310: (16)[time]  time:run_alarm_goal('$alarm'(35163140388208),http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])).   %  time.pl:137: (17)[http_dispatch]  http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:635: *(18)[http_dispatch]  http_dispatch:call_action(user:handler_logicmoo_cyclone,[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  http_dispatch.pl:641: (19)[user]  handler_logicmoo_cyclone([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  logicmoo_i_www.pl:142: (20)[user]  system:notrace(call(handler_logicmoo_cyclone_1,[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])).  no(clause) (21)[system]  system:'$c_call_prolog'.  no(clause) (22)[system]  system:call(user:handler_logicmoo_cyclone_1,[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  init.pl:215: (23)[user]  handler_logicmoo_cyclone_1([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  logicmoo_i_www.pl:191: (25)[user]  must_det_lm(user, (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(U30/V30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(U30/V30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(U30/V30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(U30/V30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)).   %  logicmoo_util_bugger.pl:535: (26)[user]  must(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(S30/T30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(S30/T30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(S30/T30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(S30/T30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)).   %  logicmoo_util_bugger.pl:594: *(27)[user]  system:'<meta-call>'((catchvv(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output),R30, (dumpST,dmsg(error,must_xI__xI__xI__xI__xI_(R30,user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))),set_prolog_flag(debug_on_error,true),ignore_each((rtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),stop_rtrace,trace,dtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),badfood(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))))))*->true;dumpST,ignore_each((trace,dtrace(must_failed_F__A__I__L_(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),badfood(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P30/Q30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)))))).  no(clause) (29)[system]  system:catch(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output),O30,logicmoo_util_bugger_catch: (bubbled_ex_check(O30),user: (dumpST,dmsg(error,must_xI__xI__xI__xI__xI_(O30,user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))),set_prolog_flag(debug_on_error,true),ignore_each((rtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),stop_rtrace,trace,dtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),badfood(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M30/N30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))))))).   %  init.pl:274: (30)[user]  system:'<meta-call>'(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(K30/L30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(K30/L30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(K30/L30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(K30/L30,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)).  no(clause) (31)[user]  system:notrace(logOnError(edit_term)).  no(clause) (32)[system]  system:'$c_call_prolog'.  no(clause) (35)[user]  prolog_ecall_fa(0,user:logOnError0,edit_term,0,user:edit_term).   %  logicmoo_util_bugger.pl:1654: (38)[system]  system:catch(user:edit_term,J30,logicmoo_util_bugger_catch: (bubbled_ex_check(J30),user:dmsg(logOnError(J30,user:edit_term)))).   %  init.pl:274: *(39)[user]  edit_term.   %  logicmoo_i_www.pl:293: (40)[user]  get_nv(search,_).   %  logicmoo_i_www.pl:165: (41)[user]  must(user:param_default_value(search,'VAR_______________________x0BADF00D'(0))).   %  logicmoo_util_bugger.pl:594: *(44)[system]  system:ignore('<garbage_collected>').   %  init.pl:257: (45)[user]  system:'<meta-call>'('<garbage_collected>').  no(clause) (46)[user]  dtrace(must_failed_F__A__I__L_(user:param_default_value(search,'VAR_______________________x0BADF00D'(0))),user:param_default_value(search,'VAR_______________________x0BADF00D'(0))).   %  logicmoo_util_bugger.pl:2172: (47)[user]  dtrace(user:param_default_value(search,'VAR_______________________x0BADF00D'(0))).   %  logicmoo_util_bugger.pl:2175: (48)[user]  badfood(user:param_default_value(search,'VAR_______________________x0BADF00D'(0))).   %  logicmoo_util_bugger.pl:575: (49)[user]  dumpST.   %  logicmoo_util_bugger.pl:1840: *(50)[system]  system:ignore(user:catch(with_assertions(tlbugger:skipDmsg,dumpST9),I30,writeq(I30))).   %  init.pl:257: (51)[system]  system:catch(user:with_assertions(tlbugger:skipDmsg,dumpST9),H30,user:writeq(H30)).   %  init.pl:274: (52)[user]  with_assertions(tlbugger:skipDmsg,user:dumpST9).   %  logicmoo_util_with_assertions.pl:39: (53)[system]  system:setup_call_cleanup(user:hotrace(asserta(tlbugger:skipDmsg,<clause>(0x7fec3c1700e0))),user:dumpST9,user:erase_safe(tlbugger:skipDmsg,<clause>(0x7fec3c1700e0))).   %  init.pl:314: (54)[system]  system:setup_call_catcher_cleanup(user:hotrace(asserta(tlbugger:skipDmsg,<clause>(0x7fec3c1700e0))),user:dumpST9,_,user:erase_safe(tlbugger:skipDmsg,<clause>(0x7fec3c1700e0))).   %  init.pl:310: (55)[user]  dumpST9.   %  logicmoo_util_bugger.pl:1852: (56)[user]  hotrace(user: (prolog_current_frame(1392),dumpST2(1392,5000))).   %  logicmoo_util_bugger.pl:242: (57)[system]  system:call_cleanup(user: (prolog_current_frame(1392),dumpST2(1392,5000)),user: ('$visible'(_,271),trace)).   %  init.pl:317: (58)[system]  system:setup_call_catcher_cleanup(system:true,user: (prolog_current_frame(1392),dumpST2(1392,5000)),_,user: ('$visible'(_,271),trace)).   %  init.pl:310: (59)[user]  system:'<meta-call>'(user: (prolog_current_frame(1392),dumpST2(1392,5000))).  no(clause)
  3925. skipDmsg(nf(noParent(54,46,[max_depth(5000),numbervars(safe),show([has_alternatives,level,context_module,goal,clause])])))
  3926. (0)[system]  system:'$c_call_prolog'.  no(clause) *(1)[thread_httpd]  thread_httpd:http_worker([queue('httpd@3020'),tcp_socket('$socket'(1)),workers(16)]).   %  thread_httpd.pl:516: (2)[system]  system:catch(thread_httpd:http_process(user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0),[pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),timeout(60),peer(ip(73,164,203,95)),protocol(http)]),_,thread_httpd:true).   %  init.pl:274: (3)[thread_httpd]  thread_httpd:http_process(user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0),[pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),timeout(60),peer(ip(73,164,203,95)),protocol(http)]).   %  thread_httpd.pl:711: (4)[httpd_wrapper]  httpd_wrapper:http_wrapper(user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0),_,[request([protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),timeout(60),peer(ip(73,164,203,95)),protocol(http)]).   %  http_wrapper.pl:93: (5)[httpd_wrapper]  httpd_wrapper:handler_with_output_to(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],<stream>(0x7fec3c162f80),_).   %  http_wrapper.pl:287: *(6)[httpd_wrapper]  httpd_wrapper:handler_with_output_to(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],current_output,_).   %  http_wrapper.pl:279: (7)[system]  system:catch(httpd_wrapper:call_handler(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),_,httpd_wrapper:true).   %  init.pl:274: (8)[httpd_wrapper]  httpd_wrapper:call_handler(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  http_wrapper.pl:295: (9)[http_dispatch]  http_dispatch:http_dispatch([session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  http_dispatch.pl:318: (10)[http_dispatch]  http_dispatch:action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:596: (11)[http_dispatch]  http_dispatch:spawn_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:607: (12)[http_dispatch]  http_dispatch:time_limit_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:616: (13)[time]  time:call_with_time_limit(300,http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])).   %  time.pl:128: (14)[system]  system:setup_call_cleanup(time:alarm(300,time_limit_exceeded(300),'$alarm'(35163140388208),[install(false)]),time:run_alarm_goal('$alarm'(35163140388208),http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])),time:remove_alarm_notrace('$alarm'(35163140388208))).   %  init.pl:314: (15)[system]  system:setup_call_catcher_cleanup(time:alarm(300,time_limit_exceeded(300),'$alarm'(35163140388208),[install(false)]),time:run_alarm_goal('$alarm'(35163140388208),http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])),_,time:remove_alarm_notrace('$alarm'(35163140388208))).   %  init.pl:310: (16)[time]  time:run_alarm_goal('$alarm'(35163140388208),http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])).   %  time.pl:137: (17)[http_dispatch]  http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:635: *(18)[http_dispatch]  http_dispatch:call_action(user:handler_logicmoo_cyclone,[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  http_dispatch.pl:641: (19)[user]  handler_logicmoo_cyclone([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  logicmoo_i_www.pl:142: (20)[user]  system:notrace(call(handler_logicmoo_cyclone_1,[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])).  no(clause) (21)[system]  system:'$c_call_prolog'.  no(clause) (22)[system]  system:call(user:handler_logicmoo_cyclone_1,[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  init.pl:215: (23)[user]  handler_logicmoo_cyclone_1([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  logicmoo_i_www.pl:191: (25)[user]  must_det_lm(user, (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(R19/S19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(R19/S19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(R19/S19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(R19/S19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)).   %  logicmoo_util_bugger.pl:535: (26)[user]  must(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P19/Q19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P19/Q19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P19/Q19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(P19/Q19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)).   %  logicmoo_util_bugger.pl:594: *(27)[user]  system:'<meta-call>'((catchvv(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output),O19, (dumpST,dmsg(error,must_xI__xI__xI__xI__xI_(O19,user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))),set_prolog_flag(debug_on_error,true),ignore_each((rtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),stop_rtrace,trace,dtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),badfood(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))))))*->true;dumpST,ignore_each((trace,dtrace(must_failed_F__A__I__L_(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),badfood(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M19/N19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)))))).  no(clause) (29)[system]  system:catch(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output),L19,logicmoo_util_bugger_catch: (bubbled_ex_check(L19),user: (dumpST,dmsg(error,must_xI__xI__xI__xI__xI_(L19,user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))),set_prolog_flag(debug_on_error,true),ignore_each((rtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),stop_rtrace,trace,dtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),badfood(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J19/K19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))))))).   %  init.pl:274: (30)[user]  system:'<meta-call>'(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(H19/I19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(H19/I19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(H19/I19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(H19/I19,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)).  no(clause) (31)[user]  system:notrace(logOnError(edit_term)).  no(clause) (32)[system]  system:'$c_call_prolog'.  no(clause) (35)[user]  prolog_ecall_fa(0,user:logOnError0,edit_term,0,user:edit_term).   %  logicmoo_util_bugger.pl:1654: (38)[system]  system:catch(user:edit_term,G19,logicmoo_util_bugger_catch: (bubbled_ex_check(G19),user:dmsg(logOnError(G19,user:edit_term)))).   %  init.pl:274: *(39)[user]  edit_term.   %  logicmoo_i_www.pl:293: (40)[user]  get_nv(search,_).   %  logicmoo_i_www.pl:165: (41)[user]  must(user:param_default_value(search,'VAR_______________________x0BADF00D'(0))).   %  logicmoo_util_bugger.pl:594: *(44)[system]  system:ignore('<garbage_collected>').   %  init.pl:257: (45)[user]  system:'<meta-call>'('<garbage_collected>').  no(clause) (46)[user]  dtrace(must_failed_F__A__I__L_(user:param_default_value(search,'VAR_______________________x0BADF00D'(0))),user:param_default_value(search,'VAR_______________________x0BADF00D'(0))).   %  logicmoo_util_bugger.pl:2172: (47)[user]  dtrace(user:param_default_value(search,'VAR_______________________x0BADF00D'(0))).   %  logicmoo_util_bugger.pl:2175: (48)[user]  hotrace(user:dumpST).   %  logicmoo_util_bugger.pl:242: (49)[system]  system:call_cleanup(user:dumpST,user: ('$visible'(_,271),trace)).   %  init.pl:317: (50)[system]  system:setup_call_catcher_cleanup(system:true,user:dumpST,_,user: ('$visible'(_,271),trace)).   %  init.pl:310: (51)[user]  dumpST.   %  logicmoo_util_bugger.pl:1840: *(52)[system]  system:ignore(user:catch(with_assertions(tlbugger:skipDmsg,dumpST9),F19,writeq(F19))).   %  init.pl:257: (53)[system]  system:catch(user:with_assertions(tlbugger:skipDmsg,dumpST9),E19,user:writeq(E19)).   %  init.pl:274: (54)[user]  with_assertions(tlbugger:skipDmsg,user:dumpST9).   %  logicmoo_util_with_assertions.pl:39: (55)[system]  system:setup_call_cleanup(user:hotrace(asserta(tlbugger:skipDmsg,<clause>(0x7fec3c187110))),user:dumpST9,user:erase_safe(tlbugger:skipDmsg,<clause>(0x7fec3c187110))).   %  init.pl:314: (56)[system]  system:setup_call_catcher_cleanup(user:hotrace(asserta(tlbugger:skipDmsg,<clause>(0x7fec3c187110))),user:dumpST9,_,user:erase_safe(tlbugger:skipDmsg,<clause>(0x7fec3c187110))).   %  init.pl:310: (57)[user]  dumpST9.   %  logicmoo_util_bugger.pl:1852: (58)[user]  hotrace(user: (prolog_current_frame(1442),dumpST2(1442,5000))).   %  logicmoo_util_bugger.pl:242: (59)[system]  system:call_cleanup(user: (prolog_current_frame(1442),dumpST2(1442,5000)),user: ('$visible'(_,256),trace)).   %  init.pl:317: (60)[system]  system:setup_call_catcher_cleanup(system:true,user: (prolog_current_frame(1442),dumpST2(1442,5000)),_,user: ('$visible'(_,256),trace)).   %  init.pl:310: (61)[user]  system:'<meta-call>'(user: (prolog_current_frame(1442),dumpST2(1442,5000))).  no(clause)
  3927. skipDmsg(nf(noParent(50,46,[max_depth(5000),numbervars(safe),show([has_alternatives,level,context_module,goal,clause])])))
  3928. (0)[system]  system:'$c_call_prolog'.  no(clause) *(1)[thread_httpd]  thread_httpd:http_worker([queue('httpd@3020'),tcp_socket('$socket'(1)),workers(16)]).   %  thread_httpd.pl:516: (2)[system]  system:catch(thread_httpd:http_process(user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0),[pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),timeout(60),peer(ip(73,164,203,95)),protocol(http)]),_,thread_httpd:true).   %  init.pl:274: (3)[thread_httpd]  thread_httpd:http_process(user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0),[pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),timeout(60),peer(ip(73,164,203,95)),protocol(http)]).   %  thread_httpd.pl:711: (4)[httpd_wrapper]  httpd_wrapper:http_wrapper(user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0),_,[request([protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),timeout(60),peer(ip(73,164,203,95)),protocol(http)]).   %  http_wrapper.pl:93: (5)[httpd_wrapper]  httpd_wrapper:handler_with_output_to(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],<stream>(0x7fec3c162f80),_).   %  http_wrapper.pl:287: *(6)[httpd_wrapper]  httpd_wrapper:handler_with_output_to(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],current_output,_).   %  http_wrapper.pl:279: (7)[system]  system:catch(httpd_wrapper:call_handler(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),_,httpd_wrapper:true).   %  init.pl:274: (8)[httpd_wrapper]  httpd_wrapper:call_handler(user:http_dispatch,37,[protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  http_wrapper.pl:295: (9)[http_dispatch]  http_dispatch:http_dispatch([session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  http_dispatch.pl:318: (10)[http_dispatch]  http_dispatch:action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:596: (11)[http_dispatch]  http_dispatch:spawn_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:607: (12)[http_dispatch]  http_dispatch:time_limit_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:616: (13)[time]  time:call_with_time_limit(300,http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])).   %  time.pl:128: (14)[system]  system:setup_call_cleanup(time:alarm(300,time_limit_exceeded(300),'$alarm'(35163140388208),[install(false)]),time:run_alarm_goal('$alarm'(35163140388208),http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])),time:remove_alarm_notrace('$alarm'(35163140388208))).   %  init.pl:314: (15)[system]  system:setup_call_catcher_cleanup(time:alarm(300,time_limit_exceeded(300),'$alarm'(35163140388208),[install(false)]),time:run_alarm_goal('$alarm'(35163140388208),http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])),_,time:remove_alarm_notrace('$alarm'(35163140388208))).   %  init.pl:310: (16)[time]  time:run_alarm_goal('$alarm'(35163140388208),http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked])).   %  time.pl:137: (17)[http_dispatch]  http_dispatch:call_action(user:handler_logicmoo_cyclone,[session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])],[path_info(edit_term),prefix(true),chunked]).   %  http_dispatch.pl:635: *(18)[http_dispatch]  http_dispatch:call_action(user:handler_logicmoo_cyclone,[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  http_dispatch.pl:641: (19)[user]  handler_logicmoo_cyclone([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  logicmoo_i_www.pl:142: (20)[user]  system:notrace(call(handler_logicmoo_cyclone_1,[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])).  no(clause) (21)[system]  system:'$c_call_prolog'.  no(clause) (22)[system]  system:call(user:handler_logicmoo_cyclone_1,[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  init.pl:215: (23)[user]  handler_logicmoo_cyclone_1([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(_/_,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]).   %  logicmoo_i_www.pl:191: (25)[user]  must_det_lm(user, (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(O8/P8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(O8/P8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(O8/P8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(O8/P8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)).   %  logicmoo_util_bugger.pl:535: (26)[user]  must(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M8/N8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M8/N8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M8/N8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(M8/N8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)).   %  logicmoo_util_bugger.pl:594: *(27)[user]  system:'<meta-call>'((catchvv(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output),L8, (dumpST,dmsg(error,must_xI__xI__xI__xI__xI_(L8,user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))),set_prolog_flag(debug_on_error,true),ignore_each((rtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),stop_rtrace,trace,dtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),badfood(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))))))*->true;dumpST,ignore_each((trace,dtrace(must_failed_F__A__I__L_(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),badfood(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(J8/K8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)))))).  no(clause) (29)[system]  system:catch(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output),I8,logicmoo_util_bugger_catch: (bubbled_ex_check(I8),user: (dumpST,dmsg(error,must_xI__xI__xI__xI__xI_(I8,user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))),set_prolog_flag(debug_on_error,true),ignore_each((rtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),stop_rtrace,trace,dtrace(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)),badfood(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(G8/H8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output))))))).   %  init.pl:274: (30)[user]  system:'<meta-call>'(user: (save_request_in_session([path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(E8/F8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),format('Content-type: text/html~n~n',[])->format('<html><head>',[])-> (member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(E8/F8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])])->format('<meta http-equiv="refresh" content="300;~w">',['/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']);true),member(request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(E8/F8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),member(path('/logicmoo/edit_term'),[path_info(edit_term),session('5bcd-d9b7-c5ac-0d8b.ubuntu'),protocol(http),peer(ip(73,164,203,95)),pool(client('httpd@3020',user:http_dispatch,<stream>(0x7fec3c067970),<stream>(0x7fec3c0273a0))),input(<stream>(0x7fec3c067970)),method(get),request_uri('/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),path('/logicmoo/edit_term'),search([action_below=query,'Apply'='Now',search=tUnaryPredicate]),http_version(1-1),host('prologmoo.com'),port(3020),connection('keep-alive'),cache_control('max-age=0'),accept([media(text/html,[],1.0,[]),media(application/'xhtml+xml',[],1.0,[]),media(image/webp,[],1.0,[]),media(application/xml,[],0.9,[]),media(E8/F8,[],0.8,[])]),upgrade_insecure_requests('1'),user_agent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36'),referer('http://prologmoo.com:3020/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate'),accept_encoding('gzip, deflate, sdch'),accept_language('en-US,en;q=0.8'),cookie([swipl_session='5bcd-d9b7-c5ac-0d8b.ubuntu'])]),directory_file_path('/logicmoo',edit_term,'/logicmoo/edit_term'), (current_predicate(edit_term/0)->get_nv(call,edit_term,edit_term);get_nv(call,edit_term,edit_term)),format('<title>~q for ~q</title></head>',[edit_term,'/logicmoo/edit_term?action_below=query&Apply=Now&search=tUnaryPredicate']),format('<body class="yui-skin-sam">',[]),flush_output,notrace(logOnError(edit_term)),!,flush_output,format('</body></html>~n~n',[]),flush_output)).  no(clause) (31)[user]  system:notrace(logOnError(edit_term)).  no(clause) (32)[system]  system:'$c_call_prolog'.  no(clause) (35)[user]  prolog_ecall_fa(0,user:logOnError0,edit_term,0,user:edit_term).   %  logicmoo_util_bugger.pl:1654: (38)[system]  system:catch(user:edit_term,D8,logicmoo_util_bugger_catch: (bubbled_ex_check(D8),user:dmsg(logOnError(D8,user:edit_term)))).   %  init.pl:274: *(39)[user]  edit_term.   %  logicmoo_i_www.pl:293: (40)[user]  get_nv(search,_).   %  logicmoo_i_www.pl:165: (41)[user]  must(user:param_default_value(search,'VAR_______________________x0BADF00D'(0))).   %  logicmoo_util_bugger.pl:594: *(44)[system]  system:ignore('<garbage_collected>').   %  init.pl:257: (45)[user]  system:'<meta-call>'('<garbage_collected>').  no(clause) (46)[user]  badfood(user:param_default_value(search,'VAR_______________________x0BADF00D'(0))).   %  logicmoo_util_bugger.pl:575: (47)[user]  dumpST.   %  logicmoo_util_bugger.pl:1840: *(48)[system]  system:ignore(user:catch(with_assertions(tlbugger:skipDmsg,dumpST9),C8,writeq(C8))).   %  init.pl:257: (49)[system]  system:catch(user:with_assertions(tlbugger:skipDmsg,dumpST9),B8,user:writeq(B8)).   %  init.pl:274: (50)[user]  with_assertions(tlbugger:skipDmsg,user:dumpST9).   %  logicmoo_util_with_assertions.pl:39: (51)[system]  system:setup_call_cleanup(user:hotrace(asserta(tlbugger:skipDmsg,<clause>(0x7fec3c17bec0))),user:dumpST9,user:erase_safe(tlbugger:skipDmsg,<clause>(0x7fec3c17bec0))).   %  init.pl:314: (52)[system]  system:setup_call_catcher_cleanup(user:hotrace(asserta(tlbugger:skipDmsg,<clause>(0x7fec3c17bec0))),user:dumpST9,_,user:erase_safe(tlbugger:skipDmsg,<clause>(0x7fec3c17bec0))).   %  init.pl:310: (53)[user]  dumpST9.   %  logicmoo_util_bugger.pl:1852: (54)[user]  hotrace(user: (prolog_current_frame(1373),dumpST2(1373,5000))).   %  logicmoo_util_bugger.pl:242: (55)[system]  system:call_cleanup(user: (prolog_current_frame(1373),dumpST2(1373,5000)),user: ('$visible'(_,271),trace)).   %  init.pl:317: (56)[system]  system:setup_call_catcher_cleanup(system:true,user: (prolog_current_frame(1373),dumpST2(1373,5000)),_,user: ('$visible'(_,271),trace)).   %  init.pl:310: (57)[user]  system:'<meta-call>'(user: (prolog_current_frame(1373),dumpST2(1373,5000))).  no(clause)
  3929. %                     search=tUnaryPredicate.
  3930. %
  3931. %        warn(error(skip_prolog_load_file_nlc((wrong_thread('httpd@3020_6'):-thread(user:library(make), [if(not_loaded)]))))).
  3932. %
  3933. ;
  3934.  
  3935.  
  3936.  
  3937. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3938. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3939. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3940. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3941. kif :-
  3942.  
  3943.         [ '\n(thereExists ?THEMAN (implies \n   (thereExists ?MORAL-SHAMING (and (isa ?MORAL-SHAMING Shaming) (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)))\n   (agentViolatesObligation ?THEMAN TheGoldenRule)))'
  3944.         ].
  3945. pkif :-
  3946.  
  3947.         [ '\n(thereExists ?THEMAN (implies \n   (thereExists ?MORAL-SHAMING (and (isa ?MORAL-SHAMING Shaming) (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)))\n   (agentViolatesObligation ?THEMAN TheGoldenRule)))'
  3948.         ].
  3949. cnf :-
  3950.         '\n(thereExists ?THEMAN (implies \n   (thereExists ?MORAL-SHAMING (and (isa ?MORAL-SHAMING Shaming) (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)))\n   (agentViolatesObligation ?THEMAN TheGoldenRule)))'.
  3951. %
  3952.  
  3953. tell39:0
  3954. (thereExists ?THEMAN (implies
  3955.    (thereExists ?MORAL-SHAMING (and (isa ?MORAL-SHAMING Shaming) (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)))
  3956.    (agentViolatesObligation ?THEMAN TheGoldenRule))).
  3957. tell39:0
  3958. (thereExists ?THEMAN (implies
  3959.    (thereExists ?MORAL-SHAMING (and (isa ?MORAL-SHAMING Shaming) (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)))
  3960.    (agentViolatesObligation ?THEMAN TheGoldenRule))).pttp :-
  3961.  
  3962.         [ ('\n(thereExists ?THEMAN (implies \n   (thereExists ?MORAL-SHAMING (and (isa ?MORAL-SHAMING Shaming) (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)))\n   (agentViolatesObligation ?THEMAN TheGoldenRule)))':-true)
  3963.         ].
  3964. %
  3965. '\n(thereExists ?THEMAN (implies \n   (thereExists ?MORAL-SHAMING (and (isa ?MORAL-SHAMING Shaming) (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)))\n   (agentViolatesObligation ?THEMAN TheGoldenRule)))' :-
  3966.         w_infer_by(tell39:0),
  3967.         [].
  3968. %
  3969.  
  3970. tell39:0
  3971. (thereExists ?THEMAN (implies
  3972.    (thereExists ?MORAL-SHAMING (and (isa ?MORAL-SHAMING Shaming) (performedBy ?MORAL-SHAMING ?THEMAN)  (obligatedAgents TheGoldenRule ?THEMAN)))
  3973.    (agentViolatesObligation ?THEMAN TheGoldenRule))):-[].
  3974. true ;
  3975.  
  3976.  
  3977.  
  3978. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3979. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3980. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3981. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3982. kif :-
  3983.  
  3984.         [ all[INST1],
  3985.  
  3986.           [ all[INST2],
  3987.  
  3988.             [ implies,
  3989.  
  3990.               [ isa(INST1, 'Exhibitionism'),
  3991.                 cycHolds(['PresentTenseVersionFn', doneBy], INST1, INST2)
  3992.               ],
  3993.               (=>),
  3994.               [isa(INST2, 'ExhibitionistOffender')]
  3995.             ]
  3996.           ]
  3997.         ].
  3998. pkif :-
  3999.  
  4000.         [ implies,
  4001.           [poss(KB, cycHolds(['PresentTenseVersionFn', doneBy], INST1, INST2))],
  4002.           (=>),
  4003.  
  4004.           [ all[INST1],
  4005.  
  4006.             [ all[INST2],
  4007.  
  4008.               [ implies,
  4009.  
  4010.                 [ isa(INST1, 'Exhibitionism'),
  4011.                   cycHolds(['PresentTenseVersionFn', doneBy], INST1, INST2)
  4012.                 ],
  4013.                 (=>),
  4014.                 [isa(INST2, 'ExhibitionistOffender')]
  4015.               ]
  4016.             ]
  4017.           ]
  4018.         ].
  4019. cnf :-
  4020.         (   not(cycHolds(('PresentTenseVersionFn', doneBy), INST1, INST2))
  4021.         ;   isa(INST2, 'ExhibitionistOffender')
  4022.         ;   not(isa(INST1, 'Exhibitionism'))
  4023.         ).
  4024. %
  4025. %                       todo(warn(builtin_why(cycHolds, 3, built_in))).
  4026. %
  4027. %                      todo(warn(pttp_builtin(cycHolds, 3))).
  4028. %
  4029.  
  4030. tell40:0  not_call_builtin(cycHolds, (PresentTenseVersionFn,doneBy),INST1,INST2);isa(INST2,ExhibitionistOffender);not_isa(INST1,Exhibitionism).pttp :-
  4031.  
  4032.         [ (isa(INST2, 'ExhibitionistOffender'):-call_builtin(cycHolds, ('PresentTenseVersionFn', doneBy), INST1, INST2), isa(INST1, 'Exhibitionism')),
  4033.           (not_isa(INST1, 'Exhibitionism'):-call_builtin(cycHolds, ('PresentTenseVersionFn', doneBy), INST1, INST2), not_isa(INST2, 'ExhibitionistOffender')),
  4034.           (not_call_builtin(cycHolds, ('PresentTenseVersionFn', doneBy), INST1, INST2):-not_isa(INST2, 'ExhibitionistOffender'), isa(INST1, 'Exhibitionism'))
  4035.         ].
  4036. %
  4037. isa(INST2, 'ExhibitionistOffender') :-
  4038.         w_infer_by(tell40:0),
  4039.         cycHolds(('PresentTenseVersionFn', doneBy), INST1, INST2),
  4040.         isa(INST1, 'Exhibitionism').
  4041. %
  4042. %        todo(warn(pttp_builtin(call_builtin, 4))).
  4043. %
  4044.  
  4045. tell40:0  isa(INST2,ExhibitionistOffender):-call_builtin(cycHolds, (PresentTenseVersionFn,doneBy),INST1,INST2),isa(INST1,Exhibitionism).not_isa(INST1,
  4046.                                                                                                                                                 'Exhibitionism') :-
  4047.         w_infer_by(tell40:1),
  4048.         cycHolds(('PresentTenseVersionFn', doneBy), INST1, INST2),
  4049.         not(isa(INST2, 'ExhibitionistOffender')).
  4050. %
  4051.  
  4052. tell40:1  not_isa(INST1,Exhibitionism):-call_builtin(cycHolds, (PresentTenseVersionFn,doneBy),INST1,INST2),not_isa(INST2,ExhibitionistOffender).not_call_builtin(cycHolds,
  4053.                                                                                                                                                                  ('PresentTenseVersionFn', doneBy),
  4054.                                                                                                                                                                  INST1,
  4055.                                                                                                                                                                  INST2) :-
  4056.         w_infer_by(tell40:2),
  4057.         not(isa(INST2, 'ExhibitionistOffender')),
  4058.         isa(INST1, 'Exhibitionism').
  4059. %
  4060.  
  4061. tell40:2  not_call_builtin(cycHolds, (PresentTenseVersionFn,doneBy),INST1,INST2):-not_isa(INST2,ExhibitionistOffender),isa(INST1,Exhibitionism).
  4062. true ;
  4063.  
  4064.  
  4065.  
  4066. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4067. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4068. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4069. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4070. kif :-
  4071.  
  4072.         [ '\n(implies \n       (and \n           (isa ?INST1 Exhibitionism) \n           ((PresentTenseVersionFn doneBy) ?INST1 ?INST2)) \n       (isa ?INST2 ExhibitionistOffender))'
  4073.         ].
  4074. pkif :-
  4075.  
  4076.         [ '\n(implies \n       (and \n           (isa ?INST1 Exhibitionism) \n           ((PresentTenseVersionFn doneBy) ?INST1 ?INST2)) \n       (isa ?INST2 ExhibitionistOffender))'
  4077.         ].
  4078. cnf :-
  4079.         '\n(implies \n       (and \n           (isa ?INST1 Exhibitionism) \n           ((PresentTenseVersionFn doneBy) ?INST1 ?INST2)) \n       (isa ?INST2 ExhibitionistOffender))'.
  4080. %
  4081.  
  4082. tell41:0
  4083. (implies
  4084.        (and
  4085.            (isa ?INST1 Exhibitionism)
  4086.            ((PresentTenseVersionFn doneBy) ?INST1 ?INST2))
  4087.        (isa ?INST2 ExhibitionistOffender)).
  4088. tell41:0
  4089. (implies
  4090.        (and
  4091.            (isa ?INST1 Exhibitionism)
  4092.            ((PresentTenseVersionFn doneBy) ?INST1 ?INST2))
  4093.        (isa ?INST2 ExhibitionistOffender)).pttp :-
  4094.  
  4095.         [ ('\n(implies \n       (and \n           (isa ?INST1 Exhibitionism) \n           ((PresentTenseVersionFn doneBy) ?INST1 ?INST2)) \n       (isa ?INST2 ExhibitionistOffender))':-true)
  4096.         ].
  4097. %
  4098. '\n(implies \n       (and \n           (isa ?INST1 Exhibitionism) \n           ((PresentTenseVersionFn doneBy) ?INST1 ?INST2)) \n       (isa ?INST2 ExhibitionistOffender))' :-
  4099.         w_infer_by(tell41:0),
  4100.         [].
  4101. %
  4102.  
  4103. tell41:0
  4104. (implies
  4105.        (and
  4106.            (isa ?INST1 Exhibitionism)
  4107.            ((PresentTenseVersionFn doneBy) ?INST1 ?INST2))
  4108.        (isa ?INST2 ExhibitionistOffender)):-[].
  4109. true ;
  4110.  
  4111.  
  4112.  
  4113. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4114. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4115. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4116. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4117. kif :-
  4118.  
  4119.         [ all[MS],
  4120.  
  4121.           [ all[MP],
  4122.  
  4123.             [ implies,
  4124.               [isa(MS, 'VisualEvent'), actorPartsInvolved(MS, MP), isa(MP, 'Eyes')],
  4125.               (=>),
  4126.               [holdsIn(MS, portalState(MP, 'OpenPortal'))]
  4127.             ]
  4128.           ]
  4129.         ].
  4130. pkif :-
  4131.  
  4132.         [ implies,
  4133.           [poss(KB, holdsIn(MS, portalState(MP, 'OpenPortal')))],
  4134.           (=>),
  4135.  
  4136.           [ implies,
  4137.             [poss(KB, actorPartsInvolved(MS, MP))],
  4138.             (=>),
  4139.  
  4140.             [ all[MS],
  4141.  
  4142.               [ all[MP],
  4143.  
  4144.                 [ implies,
  4145.                   [isa(MS, 'VisualEvent'), actorPartsInvolved(MS, MP), isa(MP, 'Eyes')],
  4146.                   (=>),
  4147.                   [holdsIn(MS, portalState(MP, 'OpenPortal'))]
  4148.                 ]
  4149.               ]
  4150.             ]
  4151.           ]
  4152.         ].
  4153. cnf :-
  4154.         (   not(possible_t(holdsIn(MS, portalState(MP, 'OpenPortal'))))
  4155.         ;   not(possible_t(actorPartsInvolved(MS, MP)))
  4156.         ;   holdsIn(MS, portalState(MP, 'OpenPortal'))
  4157.         ;   not(isa(MS, 'VisualEvent'))
  4158.         ;   not(actorPartsInvolved(MS, MP))
  4159.         ;   not(isa(MP, 'Eyes'))
  4160.         ).
  4161. %
  4162.  
  4163. tell42:0  not_possible_t(holdsIn,MS,portalState(MP,OpenPortal));not_possible_t(actorPartsInvolved,MS,MP);true_t(holdsIn,MS,portalState(MP,OpenPortal));not_isa(MS,VisualEvent);not_true_t(actorPartsInvolved,MS,MP);not_isa(MP,Eyes).pttp :-
  4164.  
  4165.         [ (not_isa(MP, 'Eyes'):-possible_t(holdsIn, MS, portalState(MP, 'OpenPortal')), possible_t(actorPartsInvolved, MS, MP), not_true_t(holdsIn, MS, portalState(MP, 'OpenPortal')), isa(MS, 'VisualEvent'), true_t(actorPartsInvolved, MS, MP)),
  4166.           (not_isa(MS, 'VisualEvent'):-possible_t(holdsIn, MS, portalState(MP, 'OpenPortal')), possible_t(actorPartsInvolved, MS, MP), not_true_t(holdsIn, MS, portalState(MP, 'OpenPortal')), true_t(actorPartsInvolved, MS, MP), isa(MP, 'Eyes')),
  4167.           (not_possible_t(actorPartsInvolved, MS, MP):-possible_t(holdsIn, MS, portalState(MP, 'OpenPortal')), not_true_t(holdsIn, MS, portalState(MP, 'OpenPortal')), isa(MS, 'VisualEvent'), true_t(actorPartsInvolved, MS, MP), isa(MP, 'Eyes')),
  4168.           (not_possible_t(holdsIn, MS, portalState(MP, 'OpenPortal')):-possible_t(actorPartsInvolved, MS, MP), not_true_t(holdsIn, MS, portalState(MP, 'OpenPortal')), isa(MS, 'VisualEvent'), true_t(actorPartsInvolved, MS, MP), isa(MP, 'Eyes')),
  4169.           (not_true_t(actorPartsInvolved, MS, MP):-possible_t(holdsIn, MS, portalState(MP, 'OpenPortal')), possible_t(actorPartsInvolved, MS, MP), not_true_t(holdsIn, MS, portalState(MP, 'OpenPortal')), isa(MS, 'VisualEvent'), isa(MP, 'Eyes')),
  4170.           (true_t(holdsIn, MS, portalState(MP, 'OpenPortal')):-possible_t(holdsIn, MS, portalState(MP, 'OpenPortal')), possible_t(actorPartsInvolved, MS, MP), isa(MS, 'VisualEvent'), true_t(actorPartsInvolved, MS, MP), isa(MP, 'Eyes'))
  4171.         ].
  4172. %
  4173. not_isa(MP, 'Eyes') :-
  4174.         w_infer_by(tell42:0),
  4175.         not(holdsIn(MS, portalState(MP, 'OpenPortal'))),
  4176.         isa(MS, 'VisualEvent'),
  4177.         actorPartsInvolved(MS, MP).
  4178. %
  4179.  
  4180. tell42:0  not_isa(MP,Eyes):-not_true_t(holdsIn,MS,portalState(MP,OpenPortal)),isa(MS,VisualEvent),true_t(actorPartsInvolved,MS,MP).not_isa(MS,
  4181.                                                                                                                                            'VisualEvent') :-
  4182.         w_infer_by(tell42:1),
  4183.         not(holdsIn(MS, portalState(MP, 'OpenPortal'))),
  4184.         actorPartsInvolved(MS, MP),
  4185.         isa(MP, 'Eyes').
  4186. %
  4187.  
  4188. tell42:1  not_isa(MS,VisualEvent):-not_true_t(holdsIn,MS,portalState(MP,OpenPortal)),true_t(actorPartsInvolved,MS,MP),isa(MP,Eyes).not_possible_t(actorPartsInvolved,
  4189.                                                                                                                                                   MS,
  4190.                                                                                                                                                   MP) :-
  4191.         w_infer_by(tell42:2),
  4192.         not(holdsIn(MS, portalState(MP, 'OpenPortal'))),
  4193.         isa(MS, 'VisualEvent'),
  4194.         actorPartsInvolved(MS, MP),
  4195.         isa(MP, 'Eyes').
  4196. %
  4197.  
  4198. tell42:2  not_possible_t(actorPartsInvolved,MS,MP):-not_true_t(holdsIn,MS,portalState(MP,OpenPortal)),isa(MS,VisualEvent),true_t(actorPartsInvolved,MS,MP),isa(MP,Eyes).not_possible_t(holdsIn,
  4199.                                                                                                                                                                                        MS,
  4200.                                                                                                                                                                                        portalState(MP,
  4201.                                                                                                                                                                                                    'OpenPortal')) :-
  4202.         w_infer_by(tell42:3),
  4203.         not(holdsIn(MS, portalState(MP, 'OpenPortal'))),
  4204.         isa(MS, 'VisualEvent'),
  4205.         actorPartsInvolved(MS, MP),
  4206.         isa(MP, 'Eyes').
  4207. %
  4208.  
  4209. tell42:3  not_possible_t(holdsIn,MS,portalState(MP,OpenPortal)):-not_true_t(holdsIn,MS,portalState(MP,OpenPortal)),isa(MS,VisualEvent),true_t(actorPartsInvolved,MS,MP),isa(MP,Eyes).not_true_t(actorPartsInvolved,
  4210.                                                                                                                                                                                                 MS,
  4211.                                                                                                                                                                                                 MP) :-
  4212.         w_infer_by(tell42:4),
  4213.         poss(actorPartsInvolved(MS, MP)),
  4214.         not(holdsIn(MS, portalState(MP, 'OpenPortal'))),
  4215.         isa(MS, 'VisualEvent'),
  4216.         isa(MP, 'Eyes').
  4217. %
  4218.  
  4219. tell42:4  not_true_t(actorPartsInvolved,MS,MP):-possible_t(actorPartsInvolved,MS,MP),not_true_t(holdsIn,MS,portalState(MP,OpenPortal)),isa(MS,VisualEvent),isa(MP,Eyes).true_t(holdsIn,
  4220.                                                                                                                                                                                MS,
  4221.                                                                                                                                                                                portalState(MP,
  4222.                                                                                                                                                                                            'OpenPortal')) :-
  4223.         w_infer_by(tell42:5),
  4224.         poss(holdsIn(MS, portalState(MP, 'OpenPortal'))),
  4225.         isa(MS, 'VisualEvent'),
  4226.         actorPartsInvolved(MS, MP),
  4227.         isa(MP, 'Eyes').
  4228. %
  4229.  
  4230. tell42:5  true_t(holdsIn,MS,portalState(MP,OpenPortal)):-possible_t(holdsIn,MS,portalState(MP,OpenPortal)),isa(MS,VisualEvent),true_t(actorPartsInvolved,MS,MP),isa(MP,Eyes).
  4231. true ;
  4232.  
  4233.  
  4234.  
  4235. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4236. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4237. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4238. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4239. kif :-
  4240.  
  4241.         [ '\n(implies \n       (and \n           (isa ?MS VisualEvent) \n           (actorPartsInvolved ?MS ?MP) \n           (isa ?MP Eyes)) \n       (holdsIn ?MS \n           (portalState ?MP OpenPortal)))'
  4242.         ].
  4243. pkif :-
  4244.  
  4245.         [ '\n(implies \n       (and \n           (isa ?MS VisualEvent) \n           (actorPartsInvolved ?MS ?MP) \n           (isa ?MP Eyes)) \n       (holdsIn ?MS \n           (portalState ?MP OpenPortal)))'
  4246.         ].
  4247. cnf :-
  4248.         '\n(implies \n       (and \n           (isa ?MS VisualEvent) \n           (actorPartsInvolved ?MS ?MP) \n           (isa ?MP Eyes)) \n       (holdsIn ?MS \n           (portalState ?MP OpenPortal)))'.
  4249. %
  4250.  
  4251. tell43:0
  4252. (implies
  4253.        (and
  4254.            (isa ?MS VisualEvent)
  4255.            (actorPartsInvolved ?MS ?MP)
  4256.            (isa ?MP Eyes))
  4257.        (holdsIn ?MS
  4258.            (portalState ?MP OpenPortal))).
  4259. tell43:0
  4260. (implies
  4261.        (and
  4262.            (isa ?MS VisualEvent)
  4263.            (actorPartsInvolved ?MS ?MP)
  4264.            (isa ?MP Eyes))
  4265.        (holdsIn ?MS
  4266.            (portalState ?MP OpenPortal))).pttp :-
  4267.  
  4268.         [ ('\n(implies \n       (and \n           (isa ?MS VisualEvent) \n           (actorPartsInvolved ?MS ?MP) \n           (isa ?MP Eyes)) \n       (holdsIn ?MS \n           (portalState ?MP OpenPortal)))':-true)
  4269.         ].
  4270. %
  4271. '\n(implies \n       (and \n           (isa ?MS VisualEvent) \n           (actorPartsInvolved ?MS ?MP) \n           (isa ?MP Eyes)) \n       (holdsIn ?MS \n           (portalState ?MP OpenPortal)))' :-
  4272.         w_infer_by(tell43:0),
  4273.         [].
  4274. %
  4275.  
  4276. tell43:0
  4277. (implies
  4278.        (and
  4279.            (isa ?MS VisualEvent)
  4280.            (actorPartsInvolved ?MS ?MP)
  4281.            (isa ?MP Eyes))
  4282.        (holdsIn ?MS
  4283.            (portalState ?MP OpenPortal))):-[].
  4284. true ;
  4285.  
  4286.  
  4287.  
  4288. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4289. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4290. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4291. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4292. kif :-
  4293.  
  4294.         [ all[ACT],
  4295.  
  4296.           [ all[WOMAN],
  4297.  
  4298.             [ all[LAW],
  4299.  
  4300.               [ implies,
  4301.  
  4302.                 [ performedBy(ACT, WOMAN),
  4303.                   isa(ACT, 'DisplayingFn'('SexOrgan')),
  4304.                   lawProscribesActType(LAW, 'Exhibitionism'),
  4305.                   subjectToCOC(WOMAN, LAW)
  4306.                 ],
  4307.                 (=>),
  4308.                 [isa(ACT, 'Exhibitionism'), agentViolatesObligation(WOMAN, LAW)]
  4309.               ]
  4310.             ]
  4311.           ]
  4312.         ].
  4313. pkif :-
  4314.  
  4315.         [ implies,
  4316.           [poss(KB, agentViolatesObligation(WOMAN, LAW))],
  4317.           (=>),
  4318.  
  4319.           [ implies,
  4320.             [poss(KB, subjectToCOC(WOMAN, LAW))],
  4321.             (=>),
  4322.  
  4323.             [ implies,
  4324.               [poss(KB, lawProscribesActType(LAW, 'Exhibitionism'))],
  4325.               (=>),
  4326.  
  4327.               [ implies,
  4328.                 [poss(KB, performedBy(ACT, WOMAN))],
  4329.                 (=>),
  4330.  
  4331.                 [ all[ACT],
  4332.  
  4333.                   [ all[WOMAN],
  4334.  
  4335.                     [ all[LAW],
  4336.  
  4337.                       [ implies,
  4338.  
  4339.                         [ performedBy(ACT, WOMAN),
  4340.                           isa(ACT, 'DisplayingFn'('SexOrgan')),
  4341.                           lawProscribesActType(LAW, 'Exhibitionism'),
  4342.                           subjectToCOC(WOMAN, LAW)
  4343.                         ],
  4344.                         (=>),
  4345.  
  4346.                         [ isa(ACT, 'Exhibitionism'),
  4347.                           agentViolatesObligation(WOMAN, LAW)
  4348.                         ]
  4349.                       ]
  4350.                     ]
  4351.                   ]
  4352.                 ]
  4353.               ]
  4354.             ]
  4355.           ]
  4356.         ].
  4357. cnf :-
  4358.         (   not(possible_t(agentViolatesObligation(WOMAN, LAW)))
  4359.         ;   not(possible_t(subjectToCOC(WOMAN, LAW)))
  4360.         ;   not(possible_t(lawProscribesActType(LAW, 'Exhibitionism')))
  4361.         ;   not(possible_t(performedBy(ACT, WOMAN)))
  4362.         ;   isa(ACT, 'Exhibitionism')
  4363.         ;   not(performedBy(ACT, WOMAN))
  4364.         ;   not(isa(ACT, 'DisplayingFn'('SexOrgan')))
  4365.         ;   not(lawProscribesActType(LAW, 'Exhibitionism'))
  4366.         ;   not(subjectToCOC(WOMAN, LAW))
  4367.         ),
  4368.         (   not(possible_t(agentViolatesObligation(WOMAN, LAW)))
  4369.         ;   not(possible_t(subjectToCOC(WOMAN, LAW)))
  4370.         ;   not(possible_t(lawProscribesActType(LAW, 'Exhibitionism')))
  4371.         ;   not(possible_t(performedBy(ACT, WOMAN)))
  4372.         ;   agentViolatesObligation(WOMAN, LAW)
  4373.         ;   not(performedBy(ACT, WOMAN))
  4374.         ;   not(isa(ACT, 'DisplayingFn'('SexOrgan')))
  4375.         ;   not(lawProscribesActType(LAW, 'Exhibitionism'))
  4376.         ;   not(subjectToCOC(WOMAN, LAW))
  4377.         ).
  4378. %
  4379.  
  4380. tell44:0  not_possible_t(agentViolatesObligation,WOMAN,LAW);not_possible_t(subjectToCOC,WOMAN,LAW);not_possible_t(lawProscribesActType,LAW,Exhibitionism);not_possible_t(performedBy,ACT,WOMAN);isa(ACT,Exhibitionism);not_true_t(performedBy,ACT,WOMAN);not_isa(ACT,DisplayingFn(SexOrgan));not_true_t(lawProscribesActType,LAW,Exhibitionism);not_true_t(subjectToCOC,WOMAN,LAW).
  4381. tell44:1  not_possible_t(agentViolatesObligation,WOMAN,LAW);not_possible_t(subjectToCOC,WOMAN,LAW);not_possible_t(lawProscribesActType,LAW,Exhibitionism);not_possible_t(performedBy,ACT,WOMAN);true_t(agentViolatesObligation,WOMAN,LAW);not_true_t(performedBy,ACT,WOMAN);not_isa(ACT,DisplayingFn(SexOrgan));not_true_t(lawProscribesActType,LAW,Exhibitionism);not_true_t(subjectToCOC,WOMAN,LAW).pttp :-
  4382.  
  4383.         [ (isa(ACT, 'Exhibitionism'):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4384.           (not_isa(ACT, 'DisplayingFn'('SexOrgan')):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_isa(ACT, 'Exhibitionism'), true_t(performedBy, ACT, WOMAN), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4385.           (not_isa(ACT, 'DisplayingFn'('SexOrgan')):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_true_t(agentViolatesObligation, WOMAN, LAW), true_t(performedBy, ACT, WOMAN), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4386.           (not_possible_t(agentViolatesObligation, WOMAN, LAW):-possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_isa(ACT, 'Exhibitionism'), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4387.           (not_possible_t(agentViolatesObligation, WOMAN, LAW):-possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_true_t(agentViolatesObligation, WOMAN, LAW), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4388.           (not_possible_t(lawProscribesActType, LAW, 'Exhibitionism'):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(performedBy, ACT, WOMAN), not_isa(ACT, 'Exhibitionism'), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4389.           (not_possible_t(lawProscribesActType, LAW, 'Exhibitionism'):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(performedBy, ACT, WOMAN), not_true_t(agentViolatesObligation, WOMAN, LAW), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4390.           (not_possible_t(performedBy, ACT, WOMAN):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), not_isa(ACT, 'Exhibitionism'), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4391.           (not_possible_t(performedBy, ACT, WOMAN):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), not_true_t(agentViolatesObligation, WOMAN, LAW), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4392.           (not_possible_t(subjectToCOC, WOMAN, LAW):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_isa(ACT, 'Exhibitionism'), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4393.           (not_possible_t(subjectToCOC, WOMAN, LAW):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_true_t(agentViolatesObligation, WOMAN, LAW), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4394.           (not_true_t(lawProscribesActType, LAW, 'Exhibitionism'):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_isa(ACT, 'Exhibitionism'), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(subjectToCOC, WOMAN, LAW)),
  4395.           (not_true_t(lawProscribesActType, LAW, 'Exhibitionism'):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_true_t(agentViolatesObligation, WOMAN, LAW), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(subjectToCOC, WOMAN, LAW)),
  4396.           (not_true_t(performedBy, ACT, WOMAN):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_isa(ACT, 'Exhibitionism'), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4397.           (not_true_t(performedBy, ACT, WOMAN):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_true_t(agentViolatesObligation, WOMAN, LAW), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW)),
  4398.           (not_true_t(subjectToCOC, WOMAN, LAW):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_isa(ACT, 'Exhibitionism'), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism')),
  4399.           (not_true_t(subjectToCOC, WOMAN, LAW):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), not_true_t(agentViolatesObligation, WOMAN, LAW), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism')),
  4400.           (true_t(agentViolatesObligation, WOMAN, LAW):-possible_t(agentViolatesObligation, WOMAN, LAW), possible_t(subjectToCOC, WOMAN, LAW), possible_t(lawProscribesActType, LAW, 'Exhibitionism'), possible_t(performedBy, ACT, WOMAN), true_t(performedBy, ACT, WOMAN), isa(ACT, 'DisplayingFn'('SexOrgan')), true_t(lawProscribesActType, LAW, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, LAW))
  4401.         ].
  4402. %
  4403. isa(ACT, 'Exhibitionism') :-
  4404.         w_infer_by(tell44:0),
  4405.         isa(ACT, 'DisplayingFn'('SexOrgan')),
  4406.         performedBy(ACT, WOMAN),
  4407.         lawProscribesActType(LAW, 'Exhibitionism'),
  4408.         poss(agentViolatesObligation(WOMAN, LAW)),
  4409.         subjectToCOC(WOMAN, LAW).
  4410. %
  4411.  
  4412. tell44:0  isa(ACT,Exhibitionism):-isa(ACT,DisplayingFn(SexOrgan)),true_t(performedBy,ACT,WOMAN),true_t(lawProscribesActType,LAW,Exhibitionism),possible_t(agentViolatesObligation,WOMAN,LAW),true_t(subjectToCOC,WOMAN,LAW).not(isa(ACT, DISPLAYINGFNSEXORGAN15)):not(mudEquals(DISPLAYINGFNSEXORGAN15, 'DisplayingFn'('SexOrgan')), (poss(agentViolatesObligation(WOMAN, LAW)), not(isa(ACT, 'Exhibitionism')), performedBy(ACT, WOMAN), lawProscribesActType(LAW, 'Exhibitionism'), subjectToCOC(WOMAN, LAW))) :-
  4413.         w_infer_by(tell44:1).
  4414. %
  4415. ;
  4416. tell44:1  true_t(:,not_isa(ACT,DISPLAYINGFNSEXORGAN15),mudEquals(DISPLAYINGFNSEXORGAN15,DisplayingFn(SexOrgan))- (possible_t(agentViolatesObligation,WOMAN,LAW),not_isa(ACT,Exhibitionism),true_t(performedBy,ACT,WOMAN),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW))).
  4417. tell44:1  true_t(:,not_isa(ACT,DISPLAYINGFNSEXORGAN15),mudEquals(DISPLAYINGFNSEXORGAN15,DisplayingFn(SexOrgan))- (possible_t(agentViolatesObligation,WOMAN,LAW),not_isa(ACT,Exhibitionism),true_t(performedBy,ACT,WOMAN),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW))).not(isa(ACT, DISPLAYINGFNSEXORGAN16)):not(mudEquals(DISPLAYINGFNSEXORGAN16, 'DisplayingFn'('SexOrgan')), (not(agentViolatesObligation(WOMAN, LAW)), performedBy(ACT, WOMAN), lawProscribesActType(LAW, 'Exhibitionism'), subjectToCOC(WOMAN, LAW))) :-
  4418.         w_infer_by(tell44:2).
  4419. %
  4420.  
  4421. tell44:2  true_t(:,not_isa(ACT,DISPLAYINGFNSEXORGAN16),mudEquals(DISPLAYINGFNSEXORGAN16,DisplayingFn(SexOrgan))- (not_true_t(agentViolatesObligation,WOMAN,LAW),true_t(performedBy,ACT,WOMAN),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW))).
  4422. tell44:2  true_t(:,not_isa(ACT,DISPLAYINGFNSEXORGAN16),mudEquals(DISPLAYINGFNSEXORGAN16,DisplayingFn(SexOrgan))- (not_true_t(agentViolatesObligation,WOMAN,LAW),true_t(performedBy,ACT,WOMAN),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW))).not_possible_t(agentViolatesObligation,
  4423.                                                                                                                                                                                                                                                  WOMAN,
  4424.                                                                                                                                                                                                                                                  LAW) :-
  4425.         w_infer_by(tell44:3),
  4426.         lawProscribesActType(LAW, 'Exhibitionism'),
  4427.         subjectToCOC(WOMAN, LAW),
  4428.         not(isa(ACT, 'Exhibitionism')),
  4429.         performedBy(ACT, WOMAN),
  4430.         isa(ACT, 'DisplayingFn'('SexOrgan')).
  4431. %
  4432.  
  4433. tell44:3  not_possible_t(agentViolatesObligation,WOMAN,LAW):-true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW),not_isa(ACT,Exhibitionism),true_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)).not_possible_t(agentViolatesObligation,
  4434.                                                                                                                                                                                                                                                WOMAN,
  4435.                                                                                                                                                                                                                                                LAW) :-
  4436.         w_infer_by(tell44:4),
  4437.         not(agentViolatesObligation(WOMAN, LAW)),
  4438.         lawProscribesActType(LAW, 'Exhibitionism'),
  4439.         subjectToCOC(WOMAN, LAW),
  4440.         performedBy(ACT, WOMAN),
  4441.         isa(ACT, 'DisplayingFn'('SexOrgan')).
  4442. %
  4443.  
  4444. tell44:4  not_possible_t(agentViolatesObligation,WOMAN,LAW):-not_true_t(agentViolatesObligation,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW),true_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)).not_possible_t(lawProscribesActType,
  4445.                                                                                                                                                                                                                                                   LAW,
  4446.                                                                                                                                                                                                                                                   'Exhibitionism') :-
  4447.         w_infer_by(tell44:5),
  4448.         lawProscribesActType(LAW, 'Exhibitionism'),
  4449.         poss(agentViolatesObligation(WOMAN, LAW)),
  4450.         not(isa(ACT, 'Exhibitionism')),
  4451.         isa(ACT, 'DisplayingFn'('SexOrgan')),
  4452.         subjectToCOC(WOMAN, LAW),
  4453.         performedBy(ACT, WOMAN).
  4454. %
  4455.  
  4456. tell44:5  not_possible_t(lawProscribesActType,LAW,Exhibitionism):-true_t(lawProscribesActType,LAW,Exhibitionism),possible_t(agentViolatesObligation,WOMAN,LAW),not_isa(ACT,Exhibitionism),isa(ACT,DisplayingFn(SexOrgan)),true_t(subjectToCOC,WOMAN,LAW),true_t(performedBy,ACT,WOMAN).not_possible_t(lawProscribesActType,
  4457.                                                                                                                                                                                                                                                   LAW,
  4458.                                                                                                                                                                                                                                                   'Exhibitionism') :-
  4459.         w_infer_by(tell44:6),
  4460.         lawProscribesActType(LAW, 'Exhibitionism'),
  4461.         not(agentViolatesObligation(WOMAN, LAW)),
  4462.         isa(ACT, 'DisplayingFn'('SexOrgan')),
  4463.         subjectToCOC(WOMAN, LAW),
  4464.         performedBy(ACT, WOMAN).
  4465. %
  4466.  
  4467. tell44:6  not_possible_t(lawProscribesActType,LAW,Exhibitionism):-true_t(lawProscribesActType,LAW,Exhibitionism),not_true_t(agentViolatesObligation,WOMAN,LAW),isa(ACT,DisplayingFn(SexOrgan)),true_t(subjectToCOC,WOMAN,LAW),true_t(performedBy,ACT,WOMAN).not_possible_t(performedBy,
  4468.                                                                                                                                                                                                                                                ACT,
  4469.                                                                                                                                                                                                                                                WOMAN) :-
  4470.         w_infer_by(tell44:7),
  4471.         not(isa(ACT, 'Exhibitionism')),
  4472.         performedBy(ACT, WOMAN),
  4473.         isa(ACT, 'DisplayingFn'('SexOrgan')),
  4474.         poss(agentViolatesObligation(WOMAN, LAW)),
  4475.         lawProscribesActType(LAW, 'Exhibitionism'),
  4476.         subjectToCOC(WOMAN, LAW).
  4477. %
  4478.  
  4479. tell44:7  not_possible_t(performedBy,ACT,WOMAN):-not_isa(ACT,Exhibitionism),true_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)),possible_t(agentViolatesObligation,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW).not_possible_t(performedBy,
  4480.                                                                                                                                                                                                                                                  ACT,
  4481.                                                                                                                                                                                                                                                  WOMAN) :-
  4482.         w_infer_by(tell44:8),
  4483.         performedBy(ACT, WOMAN),
  4484.         isa(ACT, 'DisplayingFn'('SexOrgan')),
  4485.         not(agentViolatesObligation(WOMAN, LAW)),
  4486.         lawProscribesActType(LAW, 'Exhibitionism'),
  4487.         subjectToCOC(WOMAN, LAW).
  4488. %
  4489.  
  4490. tell44:8  not_possible_t(performedBy,ACT,WOMAN):-true_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)),not_true_t(agentViolatesObligation,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW).not_possible_t(subjectToCOC,
  4491.                                                                                                                                                                                                                                               WOMAN,
  4492.                                                                                                                                                                                                                                               LAW) :-
  4493.         w_infer_by(tell44:9),
  4494.         poss(agentViolatesObligation(WOMAN, LAW)),
  4495.         lawProscribesActType(LAW, 'Exhibitionism'),
  4496.         subjectToCOC(WOMAN, LAW),
  4497.         not(isa(ACT, 'Exhibitionism')),
  4498.         performedBy(ACT, WOMAN),
  4499.         isa(ACT, 'DisplayingFn'('SexOrgan')).
  4500. %
  4501.  
  4502. tell44:9  not_possible_t(subjectToCOC,WOMAN,LAW):-possible_t(agentViolatesObligation,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW),not_isa(ACT,Exhibitionism),true_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)).not_possible_t(subjectToCOC,
  4503.                                                                                                                                                                                                                                                   WOMAN,
  4504.                                                                                                                                                                                                                                                   LAW) :-
  4505.         w_infer_by(tell44:10),
  4506.         not(agentViolatesObligation(WOMAN, LAW)),
  4507.         lawProscribesActType(LAW, 'Exhibitionism'),
  4508.         subjectToCOC(WOMAN, LAW),
  4509.         performedBy(ACT, WOMAN),
  4510.         isa(ACT, 'DisplayingFn'('SexOrgan')).
  4511. %
  4512.  
  4513. tell44:10  not_possible_t(subjectToCOC,WOMAN,LAW):-not_true_t(agentViolatesObligation,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW),true_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)).not_true_t(lawProscribesActType,
  4514.                                                                                                                                                                                                                                             LAW,
  4515.                                                                                                                                                                                                                                             'Exhibitionism') :-
  4516.         w_infer_by(tell44:11),
  4517.         poss(lawProscribesActType(LAW, 'Exhibitionism')),
  4518.         poss(agentViolatesObligation(WOMAN, LAW)),
  4519.         not(isa(ACT, 'Exhibitionism')),
  4520.         isa(ACT, 'DisplayingFn'('SexOrgan')),
  4521.         subjectToCOC(WOMAN, LAW),
  4522.         performedBy(ACT, WOMAN).
  4523. %
  4524.  
  4525. tell44:11  not_true_t(lawProscribesActType,LAW,Exhibitionism):-possible_t(lawProscribesActType,LAW,Exhibitionism),possible_t(agentViolatesObligation,WOMAN,LAW),not_isa(ACT,Exhibitionism),isa(ACT,DisplayingFn(SexOrgan)),true_t(subjectToCOC,WOMAN,LAW),true_t(performedBy,ACT,WOMAN).not_true_t(lawProscribesActType,
  4526.                                                                                                                                                                                                                                                LAW,
  4527.                                                                                                                                                                                                                                                'Exhibitionism') :-
  4528.         w_infer_by(tell44:12),
  4529.         poss(lawProscribesActType(LAW, 'Exhibitionism')),
  4530.         not(agentViolatesObligation(WOMAN, LAW)),
  4531.         isa(ACT, 'DisplayingFn'('SexOrgan')),
  4532.         subjectToCOC(WOMAN, LAW),
  4533.         performedBy(ACT, WOMAN).
  4534. %
  4535.  
  4536. tell44:12  not_true_t(lawProscribesActType,LAW,Exhibitionism):-possible_t(lawProscribesActType,LAW,Exhibitionism),not_true_t(agentViolatesObligation,WOMAN,LAW),isa(ACT,DisplayingFn(SexOrgan)),true_t(subjectToCOC,WOMAN,LAW),true_t(performedBy,ACT,WOMAN).not_true_t(performedBy,
  4537.                                                                                                                                                                                                                                             ACT,
  4538.                                                                                                                                                                                                                                             WOMAN) :-
  4539.         w_infer_by(tell44:13),
  4540.         poss(performedBy(ACT, WOMAN)),
  4541.         not(isa(ACT, 'Exhibitionism')),
  4542.         isa(ACT, 'DisplayingFn'('SexOrgan')),
  4543.         poss(agentViolatesObligation(WOMAN, LAW)),
  4544.         lawProscribesActType(LAW, 'Exhibitionism'),
  4545.         subjectToCOC(WOMAN, LAW).
  4546. %
  4547.  
  4548. tell44:13  not_true_t(performedBy,ACT,WOMAN):-possible_t(performedBy,ACT,WOMAN),not_isa(ACT,Exhibitionism),isa(ACT,DisplayingFn(SexOrgan)),possible_t(agentViolatesObligation,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW).not_true_t(performedBy,
  4549.                                                                                                                                                                                                                                               ACT,
  4550.                                                                                                                                                                                                                                               WOMAN) :-
  4551.         w_infer_by(tell44:14),
  4552.         poss(performedBy(ACT, WOMAN)),
  4553.         isa(ACT, 'DisplayingFn'('SexOrgan')),
  4554.         not(agentViolatesObligation(WOMAN, LAW)),
  4555.         lawProscribesActType(LAW, 'Exhibitionism'),
  4556.         subjectToCOC(WOMAN, LAW).
  4557. %
  4558.  
  4559. tell44:14  not_true_t(performedBy,ACT,WOMAN):-possible_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)),not_true_t(agentViolatesObligation,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW).not_true_t(subjectToCOC,
  4560.                                                                                                                                                                                                                                                    WOMAN,
  4561.                                                                                                                                                                                                                                                    LAW) :-
  4562.         w_infer_by(tell44:15),
  4563.         poss(agentViolatesObligation(WOMAN, LAW)),
  4564.         poss(subjectToCOC(WOMAN, LAW)),
  4565.         lawProscribesActType(LAW, 'Exhibitionism'),
  4566.         not(isa(ACT, 'Exhibitionism')),
  4567.         performedBy(ACT, WOMAN),
  4568.         isa(ACT, 'DisplayingFn'('SexOrgan')).
  4569. %
  4570.  
  4571. tell44:15  not_true_t(subjectToCOC,WOMAN,LAW):-possible_t(agentViolatesObligation,WOMAN,LAW),possible_t(subjectToCOC,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),not_isa(ACT,Exhibitionism),true_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)).not_true_t(subjectToCOC,
  4572.                                                                                                                                                                                                                                                WOMAN,
  4573.                                                                                                                                                                                                                                                LAW) :-
  4574.         w_infer_by(tell44:16),
  4575.         poss(subjectToCOC(WOMAN, LAW)),
  4576.         not(agentViolatesObligation(WOMAN, LAW)),
  4577.         lawProscribesActType(LAW, 'Exhibitionism'),
  4578.         performedBy(ACT, WOMAN),
  4579.         isa(ACT, 'DisplayingFn'('SexOrgan')).
  4580. %
  4581.  
  4582. tell44:16  not_true_t(subjectToCOC,WOMAN,LAW):-possible_t(subjectToCOC,WOMAN,LAW),not_true_t(agentViolatesObligation,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)).true_t(agentViolatesObligation,
  4583.                                                                                                                                                                                                                                                 WOMAN,
  4584.                                                                                                                                                                                                                                                 LAW) :-
  4585.         w_infer_by(tell44:17),
  4586.         poss(agentViolatesObligation(WOMAN, LAW)),
  4587.         lawProscribesActType(LAW, 'Exhibitionism'),
  4588.         subjectToCOC(WOMAN, LAW),
  4589.         performedBy(ACT, WOMAN),
  4590.         isa(ACT, 'DisplayingFn'('SexOrgan')).
  4591. %
  4592.  
  4593. tell44:17  true_t(agentViolatesObligation,WOMAN,LAW):-possible_t(agentViolatesObligation,WOMAN,LAW),true_t(lawProscribesActType,LAW,Exhibitionism),true_t(subjectToCOC,WOMAN,LAW),true_t(performedBy,ACT,WOMAN),isa(ACT,DisplayingFn(SexOrgan)).
  4594. true ;
  4595.  
  4596.  
  4597.  
  4598. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4599. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4600. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4601. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4602. kif :-
  4603.  
  4604.         [ '\n(implies \n       (and \n           (performedBy ?ACT ?WOMAN)\n           (isa ?ACT (DisplayingFn SexOrgan))           \n           (lawProscribesActType ?LAW Exhibitionism) \n           (subjectToCOC ?WOMAN ?LAW)) \n       (and \n           (isa ?ACT Exhibitionism) \n           (agentViolatesObligation ?WOMAN ?LAW)))'
  4605.         ].
  4606. pkif :-
  4607.  
  4608.         [ '\n(implies \n       (and \n           (performedBy ?ACT ?WOMAN)\n           (isa ?ACT (DisplayingFn SexOrgan))           \n           (lawProscribesActType ?LAW Exhibitionism) \n           (subjectToCOC ?WOMAN ?LAW)) \n       (and \n           (isa ?ACT Exhibitionism) \n           (agentViolatesObligation ?WOMAN ?LAW)))'
  4609.         ].
  4610. cnf :-
  4611.         '\n(implies \n       (and \n           (performedBy ?ACT ?WOMAN)\n           (isa ?ACT (DisplayingFn SexOrgan))           \n           (lawProscribesActType ?LAW Exhibitionism) \n           (subjectToCOC ?WOMAN ?LAW)) \n       (and \n           (isa ?ACT Exhibitionism) \n           (agentViolatesObligation ?WOMAN ?LAW)))'.
  4612. %
  4613.  
  4614. tell45:0
  4615. (implies
  4616.        (and
  4617.            (performedBy ?ACT ?WOMAN)
  4618.            (isa ?ACT (DisplayingFn SexOrgan))
  4619.            (lawProscribesActType ?LAW Exhibitionism)
  4620.            (subjectToCOC ?WOMAN ?LAW))
  4621.        (and
  4622.            (isa ?ACT Exhibitionism)
  4623.            (agentViolatesObligation ?WOMAN ?LAW))).
  4624. tell45:0
  4625. (implies
  4626.        (and
  4627.            (performedBy ?ACT ?WOMAN)
  4628.            (isa ?ACT (DisplayingFn SexOrgan))
  4629.            (lawProscribesActType ?LAW Exhibitionism)
  4630.            (subjectToCOC ?WOMAN ?LAW))
  4631.        (and
  4632.            (isa ?ACT Exhibitionism)
  4633.            (agentViolatesObligation ?WOMAN ?LAW))).pttp :-
  4634.  
  4635.         [ ('\n(implies \n       (and \n           (performedBy ?ACT ?WOMAN)\n           (isa ?ACT (DisplayingFn SexOrgan))           \n           (lawProscribesActType ?LAW Exhibitionism) \n           (subjectToCOC ?WOMAN ?LAW)) \n       (and \n           (isa ?ACT Exhibitionism) \n           (agentViolatesObligation ?WOMAN ?LAW)))':-true)
  4636.         ].
  4637. %
  4638. '\n(implies \n       (and \n           (performedBy ?ACT ?WOMAN)\n           (isa ?ACT (DisplayingFn SexOrgan))           \n           (lawProscribesActType ?LAW Exhibitionism) \n           (subjectToCOC ?WOMAN ?LAW)) \n       (and \n           (isa ?ACT Exhibitionism) \n           (agentViolatesObligation ?WOMAN ?LAW)))' :-
  4639.         w_infer_by(tell45:0),
  4640.         [].
  4641. %
  4642.  
  4643. tell45:0
  4644. (implies
  4645.        (and
  4646.            (performedBy ?ACT ?WOMAN)
  4647.            (isa ?ACT (DisplayingFn SexOrgan))
  4648.            (lawProscribesActType ?LAW Exhibitionism)
  4649.            (subjectToCOC ?WOMAN ?LAW))
  4650.        (and
  4651.            (isa ?ACT Exhibitionism)
  4652.            (agentViolatesObligation ?WOMAN ?LAW))):-[].
  4653. true ;
  4654.  
  4655.  
  4656.  
  4657. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4658. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4659. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4660. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4661. kif :-
  4662.  
  4663.         [ all[SUNBATHER],
  4664.  
  4665.           [ all[BEACH],
  4666.  
  4667.             [ not,
  4668.  
  4669.               [ subjectToCOC(SUNBATHER, 'KeepAreolaCoveredInPublic'),
  4670.                 objectFoundInLocation(SUNBATHER, BEACH),
  4671.                 isa(BEACH, 'ToplessBeach')
  4672.               ]
  4673.             ]
  4674.           ]
  4675.         ].
  4676. pkif :-
  4677.  
  4678.         [ all[SUNBATHER],
  4679.  
  4680.           [ all[BEACH],
  4681.  
  4682.             [ not,
  4683.  
  4684.               [ subjectToCOC(SUNBATHER, 'KeepAreolaCoveredInPublic'),
  4685.                 objectFoundInLocation(SUNBATHER, BEACH),
  4686.                 isa(BEACH, 'ToplessBeach')
  4687.               ]
  4688.             ]
  4689.           ]
  4690.         ].
  4691. cnf :-
  4692.         (   not(subjectToCOC(SUNBATHER, 'KeepAreolaCoveredInPublic'))
  4693.         ;   not(objectFoundInLocation(SUNBATHER, BEACH))
  4694.         ;   not(isa(BEACH, 'ToplessBeach'))
  4695.         ).
  4696. %
  4697.  
  4698. tell46:0  not_true_t(subjectToCOC,SUNBATHER,KeepAreolaCoveredInPublic);not_true_t(objectFoundInLocation,SUNBATHER,BEACH);not_isa(BEACH,ToplessBeach).pttp :-
  4699.  
  4700.         [ (not_isa(BEACH, 'ToplessBeach'):-true_t(subjectToCOC, SUNBATHER, 'KeepAreolaCoveredInPublic'), true_t(objectFoundInLocation, SUNBATHER, BEACH)),
  4701.           (not_true_t(objectFoundInLocation, SUNBATHER, BEACH):-true_t(subjectToCOC, SUNBATHER, 'KeepAreolaCoveredInPublic'), isa(BEACH, 'ToplessBeach')),
  4702.           (not_true_t(subjectToCOC, SUNBATHER, 'KeepAreolaCoveredInPublic'):-true_t(objectFoundInLocation, SUNBATHER, BEACH), isa(BEACH, 'ToplessBeach'))
  4703.         ].
  4704. %
  4705. not_isa(BEACH, 'ToplessBeach') :-
  4706.         w_infer_by(tell46:0),
  4707.         subjectToCOC(SUNBATHER, 'KeepAreolaCoveredInPublic'),
  4708.         objectFoundInLocation(SUNBATHER, BEACH).
  4709. %
  4710.  
  4711. tell46:0  not_isa(BEACH,ToplessBeach):-true_t(subjectToCOC,SUNBATHER,KeepAreolaCoveredInPublic),true_t(objectFoundInLocation,SUNBATHER,BEACH).not_true_t(objectFoundInLocation,
  4712.                                                                                                                                                          SUNBATHER,
  4713.                                                                                                                                                          BEACH) :-
  4714.         w_infer_by(tell46:1),
  4715.         subjectToCOC(SUNBATHER, 'KeepAreolaCoveredInPublic'),
  4716.         isa(BEACH, 'ToplessBeach').
  4717. %
  4718.  
  4719. tell46:1  not_true_t(objectFoundInLocation,SUNBATHER,BEACH):-true_t(subjectToCOC,SUNBATHER,KeepAreolaCoveredInPublic),isa(BEACH,ToplessBeach).not_true_t(subjectToCOC,
  4720.                                                                                                                                                          SUNBATHER,
  4721.                                                                                                                                                          'KeepAreolaCoveredInPublic') :-
  4722.         w_infer_by(tell46:2),
  4723.         objectFoundInLocation(SUNBATHER, BEACH),
  4724.         isa(BEACH, 'ToplessBeach').
  4725. %
  4726.  
  4727. tell46:2  not_true_t(subjectToCOC,SUNBATHER,KeepAreolaCoveredInPublic):-true_t(objectFoundInLocation,SUNBATHER,BEACH),isa(BEACH,ToplessBeach).
  4728. true ;
  4729.  
  4730.  
  4731.  
  4732. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4733. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4734. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4735. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4736. kif :-
  4737.  
  4738.         [ '\n(not \n       (and \n           (subjectToCOC ?SUNBATHER KeepAreolaCoveredInPublic) \n           (objectFoundInLocation ?SUNBATHER ?BEACH) \n           (isa ?BEACH ToplessBeach)))'
  4739.         ].
  4740. pkif :-
  4741.  
  4742.         [ '\n(not \n       (and \n           (subjectToCOC ?SUNBATHER KeepAreolaCoveredInPublic) \n           (objectFoundInLocation ?SUNBATHER ?BEACH) \n           (isa ?BEACH ToplessBeach)))'
  4743.         ].
  4744. cnf :-
  4745.         '\n(not \n       (and \n           (subjectToCOC ?SUNBATHER KeepAreolaCoveredInPublic) \n           (objectFoundInLocation ?SUNBATHER ?BEACH) \n           (isa ?BEACH ToplessBeach)))'.
  4746. %
  4747.  
  4748. tell47:0
  4749. (not
  4750.        (and
  4751.            (subjectToCOC ?SUNBATHER KeepAreolaCoveredInPublic)
  4752.            (objectFoundInLocation ?SUNBATHER ?BEACH)
  4753.            (isa ?BEACH ToplessBeach))).
  4754. tell47:0
  4755. (not
  4756.        (and
  4757.            (subjectToCOC ?SUNBATHER KeepAreolaCoveredInPublic)
  4758.            (objectFoundInLocation ?SUNBATHER ?BEACH)
  4759.            (isa ?BEACH ToplessBeach))).pttp :-
  4760.  
  4761.         [ ('\n(not \n       (and \n           (subjectToCOC ?SUNBATHER KeepAreolaCoveredInPublic) \n           (objectFoundInLocation ?SUNBATHER ?BEACH) \n           (isa ?BEACH ToplessBeach)))':-true)
  4762.         ].
  4763. %
  4764. '\n(not \n       (and \n           (subjectToCOC ?SUNBATHER KeepAreolaCoveredInPublic) \n           (objectFoundInLocation ?SUNBATHER ?BEACH) \n           (isa ?BEACH ToplessBeach)))' :-
  4765.         w_infer_by(tell47:0),
  4766.         [].
  4767. %
  4768.  
  4769. tell47:0
  4770. (not
  4771.        (and
  4772.            (subjectToCOC ?SUNBATHER KeepAreolaCoveredInPublic)
  4773.            (objectFoundInLocation ?SUNBATHER ?BEACH)
  4774.            (isa ?BEACH ToplessBeach))):-[].
  4775. true ;
  4776.  
  4777.  
  4778.  
  4779. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4780. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4781. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4782. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4783. kif :-
  4784.  
  4785.         [ all[COC],
  4786.  
  4787.           [ all[WOMAN],
  4788.  
  4789.             [ all[ACT],
  4790.  
  4791.               [ implies,
  4792.  
  4793.                 [ isa(COC, 'LegalCode-ModernWestern'),
  4794.                   isa(ACT, 'Exhibitionism'),
  4795.                   subjectToCOC(WOMAN, COC),
  4796.                   agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4797.                   performedBy(ACT, WOMAN)
  4798.                 ],
  4799.                 (=>),
  4800.                 [ist(COC, isa(ACT, 'CriminalAct'))]
  4801.               ]
  4802.             ]
  4803.           ]
  4804.         ].
  4805. pkif :-
  4806.  
  4807.         [ implies,
  4808.           [poss(KB, ist(COC, isa(ACT, 'CriminalAct')))],
  4809.           (=>),
  4810.  
  4811.           [ implies,
  4812.             [poss(KB, performedBy(ACT, WOMAN))],
  4813.             (=>),
  4814.  
  4815.             [ implies,
  4816.  
  4817.               [ poss(KB,
  4818.                      agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'))
  4819.               ],
  4820.               (=>),
  4821.  
  4822.               [ implies,
  4823.                 [poss(KB, subjectToCOC(WOMAN, COC))],
  4824.                 (=>),
  4825.  
  4826.                 [ all[COC],
  4827.  
  4828.                   [ all[WOMAN],
  4829.  
  4830.                     [ all[ACT],
  4831.  
  4832.                       [ implies,
  4833.  
  4834.                         [ isa(COC, 'LegalCode-ModernWestern'),
  4835.                           isa(ACT, 'Exhibitionism'),
  4836.                           subjectToCOC(WOMAN, COC),
  4837.                           agentViolatesObligation(WOMAN,
  4838.                                                   'KeepAreolaCoveredInPublic'),
  4839.                           performedBy(ACT, WOMAN)
  4840.                         ],
  4841.                         (=>),
  4842.                         [ist(COC, isa(ACT, 'CriminalAct'))]
  4843.                       ]
  4844.                     ]
  4845.                   ]
  4846.                 ]
  4847.               ]
  4848.             ]
  4849.           ]
  4850.         ].
  4851. cnf :-
  4852.         (   not(possible_t(ist(COC, isa(ACT, 'CriminalAct'))))
  4853.         ;   not(possible_t(performedBy(ACT, WOMAN)))
  4854.         ;   not(possible_t(agentViolatesObligation(WOMAN,
  4855.                                                    'KeepAreolaCoveredInPublic')))
  4856.         ;   not(possible_t(subjectToCOC(WOMAN, COC)))
  4857.         ;   ist(COC, isa(ACT, 'CriminalAct'))
  4858.         ;   not(isa(COC, 'LegalCode-ModernWestern'))
  4859.         ;   not(isa(ACT, 'Exhibitionism'))
  4860.         ;   not(subjectToCOC(WOMAN, COC))
  4861.         ;   not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'))
  4862.         ;   not(performedBy(ACT, WOMAN))
  4863.         ).
  4864. %
  4865.  
  4866. tell48:0  not_possible_t(ist,COC,isa(ACT,CriminalAct));not_possible_t(performedBy,ACT,WOMAN);not_possible_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic);not_possible_t(subjectToCOC,WOMAN,COC);true_t(ist,COC,isa(ACT,CriminalAct));not_isa(COC,LegalCode-ModernWestern);not_isa(ACT,Exhibitionism);not_true_t(subjectToCOC,WOMAN,COC);not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic);not_true_t(performedBy,ACT,WOMAN).pttp :-
  4867.  
  4868.         [ (not_isa(ACT, 'Exhibitionism'):-possible_t(ist, COC, isa(ACT, 'CriminalAct')), possible_t(performedBy, ACT, WOMAN), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, COC), not_true_t(ist, COC, isa(ACT, 'CriminalAct')), isa(COC, 'LegalCode-ModernWestern'), true_t(subjectToCOC, WOMAN, COC), true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(performedBy, ACT, WOMAN)),
  4869.           (not_isa(COC, 'LegalCode-ModernWestern'):-possible_t(ist, COC, isa(ACT, 'CriminalAct')), possible_t(performedBy, ACT, WOMAN), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, COC), not_true_t(ist, COC, isa(ACT, 'CriminalAct')), isa(ACT, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, COC), true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(performedBy, ACT, WOMAN)),
  4870.           (not_possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(ist, COC, isa(ACT, 'CriminalAct')), possible_t(performedBy, ACT, WOMAN), possible_t(subjectToCOC, WOMAN, COC), not_true_t(ist, COC, isa(ACT, 'CriminalAct')), isa(COC, 'LegalCode-ModernWestern'), isa(ACT, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, COC), true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(performedBy, ACT, WOMAN)),
  4871.           (not_possible_t(ist, COC, isa(ACT, 'CriminalAct')):-possible_t(performedBy, ACT, WOMAN), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, COC), not_true_t(ist, COC, isa(ACT, 'CriminalAct')), isa(COC, 'LegalCode-ModernWestern'), isa(ACT, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, COC), true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(performedBy, ACT, WOMAN)),
  4872.           (not_possible_t(performedBy, ACT, WOMAN):-possible_t(ist, COC, isa(ACT, 'CriminalAct')), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, COC), not_true_t(ist, COC, isa(ACT, 'CriminalAct')), isa(COC, 'LegalCode-ModernWestern'), isa(ACT, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, COC), true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(performedBy, ACT, WOMAN)),
  4873.           (not_possible_t(subjectToCOC, WOMAN, COC):-possible_t(ist, COC, isa(ACT, 'CriminalAct')), possible_t(performedBy, ACT, WOMAN), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t(ist, COC, isa(ACT, 'CriminalAct')), isa(COC, 'LegalCode-ModernWestern'), isa(ACT, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, COC), true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(performedBy, ACT, WOMAN)),
  4874.           (not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(ist, COC, isa(ACT, 'CriminalAct')), possible_t(performedBy, ACT, WOMAN), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, COC), not_true_t(ist, COC, isa(ACT, 'CriminalAct')), isa(COC, 'LegalCode-ModernWestern'), isa(ACT, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, COC), true_t(performedBy, ACT, WOMAN)),
  4875.           (not_true_t(performedBy, ACT, WOMAN):-possible_t(ist, COC, isa(ACT, 'CriminalAct')), possible_t(performedBy, ACT, WOMAN), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, COC), not_true_t(ist, COC, isa(ACT, 'CriminalAct')), isa(COC, 'LegalCode-ModernWestern'), isa(ACT, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, COC), true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic')),
  4876.           (not_true_t(subjectToCOC, WOMAN, COC):-possible_t(ist, COC, isa(ACT, 'CriminalAct')), possible_t(performedBy, ACT, WOMAN), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, COC), not_true_t(ist, COC, isa(ACT, 'CriminalAct')), isa(COC, 'LegalCode-ModernWestern'), isa(ACT, 'Exhibitionism'), true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(performedBy, ACT, WOMAN)),
  4877.           (true_t(ist, COC, isa(ACT, 'CriminalAct')):-possible_t(ist, COC, isa(ACT, 'CriminalAct')), possible_t(performedBy, ACT, WOMAN), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, COC), isa(COC, 'LegalCode-ModernWestern'), isa(ACT, 'Exhibitionism'), true_t(subjectToCOC, WOMAN, COC), true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(performedBy, ACT, WOMAN))
  4878.         ].
  4879. %
  4880. not_isa(ACT, 'Exhibitionism') :-
  4881.         w_infer_by(tell48:0),
  4882.         not(ist(COC, isa(ACT, 'CriminalAct'))),
  4883.         isa(COC, 'LegalCode-ModernWestern'),
  4884.         agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4885.         performedBy(ACT, WOMAN),
  4886.         subjectToCOC(WOMAN, COC).
  4887. %
  4888.  
  4889. ;tell48:0  not_isa(ACT,Exhibitionism):-not_true_t(ist,COC,isa(ACT,CriminalAct)),isa(COC,LegalCode-ModernWestern),true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),true_t(performedBy,ACT,WOMAN),true_t(subjectToCOC,WOMAN,COC).not_isa(COC,
  4890.                                                                                                                                                                                                                                                  'LegalCode-ModernWestern') :-
  4891.         w_infer_by(tell48:1),
  4892.         not(ist(COC, isa(ACT, 'CriminalAct'))),
  4893.         isa(ACT, 'Exhibitionism'),
  4894.         subjectToCOC(WOMAN, COC),
  4895.         agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4896.         performedBy(ACT, WOMAN).
  4897. %
  4898.  
  4899. tell48:1  not_isa(COC,LegalCode-ModernWestern):-not_true_t(ist,COC,isa(ACT,CriminalAct)),isa(ACT,Exhibitionism),true_t(subjectToCOC,WOMAN,COC),true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),true_t(performedBy,ACT,WOMAN).not_possible_t(agentViolatesObligation,
  4900.                                                                                                                                                                                                                                                 WOMAN,
  4901.                                                                                                                                                                                                                                                 'KeepAreolaCoveredInPublic') :-
  4902.         w_infer_by(tell48:2),
  4903.         agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4904.         isa(COC, 'LegalCode-ModernWestern'),
  4905.         isa(ACT, 'Exhibitionism'),
  4906.         subjectToCOC(WOMAN, COC),
  4907.         performedBy(ACT, WOMAN),
  4908.         not(ist(COC, isa(ACT, 'CriminalAct'))).
  4909. %
  4910.  
  4911. ;tell48:2  not_possible_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic):-true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),isa(COC,LegalCode-ModernWestern),isa(ACT,Exhibitionism),true_t(subjectToCOC,WOMAN,COC),true_t(performedBy,ACT,WOMAN),not_true_t(ist,COC,isa(ACT,CriminalAct)).not_possible_t(ist,
  4912.                                                                                                                                                                                                                                             COC,
  4913.                                                                                                                                                                                                                                             isa(ACT,
  4914.                                                                                                                                                                                                                                                 'CriminalAct')) :-
  4915.         w_infer_by(tell48:3),
  4916.         not(ist(COC, isa(ACT, 'CriminalAct'))),
  4917.         isa(COC, 'LegalCode-ModernWestern'),
  4918.         isa(ACT, 'Exhibitionism'),
  4919.         subjectToCOC(WOMAN, COC),
  4920.         agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4921.         performedBy(ACT, WOMAN).
  4922. %
  4923.  
  4924. tell48:3  not_possible_t(ist,COC,isa(ACT,CriminalAct)):-not_true_t(ist,COC,isa(ACT,CriminalAct)),isa(COC,LegalCode-ModernWestern),isa(ACT,Exhibitionism),true_t(subjectToCOC,WOMAN,COC),true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),true_t(performedBy,ACT,WOMAN).not_possible_t(performedBy,
  4925.                                                                                                                                                                                                                                                  ACT,
  4926.                                                                                                                                                                                                                                                  WOMAN) :-
  4927.         w_infer_by(tell48:4),
  4928.         isa(ACT, 'Exhibitionism'),
  4929.         agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4930.         performedBy(ACT, WOMAN),
  4931.         not(ist(COC, isa(ACT, 'CriminalAct'))),
  4932.         isa(COC, 'LegalCode-ModernWestern'),
  4933.         subjectToCOC(WOMAN, COC).
  4934. %
  4935.  
  4936. tell48:4  not_possible_t(performedBy,ACT,WOMAN):-isa(ACT,Exhibitionism),true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),true_t(performedBy,ACT,WOMAN),not_true_t(ist,COC,isa(ACT,CriminalAct)),isa(COC,LegalCode-ModernWestern),true_t(subjectToCOC,WOMAN,COC).not_possible_t(subjectToCOC,
  4937.                                                                                                                                                                                                                                                   WOMAN,
  4938.                                                                                                                                                                                                                                                   COC) :-
  4939.         w_infer_by(tell48:5),
  4940.         isa(COC, 'LegalCode-ModernWestern'),
  4941.         subjectToCOC(WOMAN, COC),
  4942.         agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4943.         not(ist(COC, isa(ACT, 'CriminalAct'))),
  4944.         isa(ACT, 'Exhibitionism'),
  4945.         performedBy(ACT, WOMAN).
  4946. %
  4947.  
  4948. tell48:5  not_possible_t(subjectToCOC,WOMAN,COC):-isa(COC,LegalCode-ModernWestern),true_t(subjectToCOC,WOMAN,COC),true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_true_t(ist,COC,isa(ACT,CriminalAct)),isa(ACT,Exhibitionism),true_t(performedBy,ACT,WOMAN).not_true_t(agentViolatesObligation,
  4949.                                                                                                                                                                                                                                                WOMAN,
  4950.                                                                                                                                                                                                                                                'KeepAreolaCoveredInPublic') :-
  4951.         w_infer_by(tell48:6),
  4952.         poss(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  4953.         isa(COC, 'LegalCode-ModernWestern'),
  4954.         isa(ACT, 'Exhibitionism'),
  4955.         subjectToCOC(WOMAN, COC),
  4956.         performedBy(ACT, WOMAN),
  4957.         not(ist(COC, isa(ACT, 'CriminalAct'))).
  4958. %
  4959.  
  4960. tell48:6  not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic):-possible_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),isa(COC,LegalCode-ModernWestern),isa(ACT,Exhibitionism),true_t(subjectToCOC,WOMAN,COC),true_t(performedBy,ACT,WOMAN),not_true_t(ist,COC,isa(ACT,CriminalAct)).not_true_t(performedBy,
  4961.                                                                                                                                                                                                                                                 ACT,
  4962.                                                                                                                                                                                                                                                 WOMAN) :-
  4963.         w_infer_by(tell48:7),
  4964.         poss(performedBy(ACT, WOMAN)),
  4965.         isa(ACT, 'Exhibitionism'),
  4966.         agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4967.         not(ist(COC, isa(ACT, 'CriminalAct'))),
  4968.         isa(COC, 'LegalCode-ModernWestern'),
  4969.         subjectToCOC(WOMAN, COC).
  4970. %
  4971.  
  4972. tell48:7  not_true_t(performedBy,ACT,WOMAN):-possible_t(performedBy,ACT,WOMAN),isa(ACT,Exhibitionism),true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_true_t(ist,COC,isa(ACT,CriminalAct)),isa(COC,LegalCode-ModernWestern),true_t(subjectToCOC,WOMAN,COC).not_true_t(subjectToCOC,
  4973.                                                                                                                                                                                                                                               WOMAN,
  4974.                                                                                                                                                                                                                                               COC) :-
  4975.         w_infer_by(tell48:8),
  4976.         poss(subjectToCOC(WOMAN, COC)),
  4977.         isa(COC, 'LegalCode-ModernWestern'),
  4978.         agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4979.         not(ist(COC, isa(ACT, 'CriminalAct'))),
  4980.         isa(ACT, 'Exhibitionism'),
  4981.         performedBy(ACT, WOMAN).
  4982. %
  4983.  
  4984. tell48:8  not_true_t(subjectToCOC,WOMAN,COC):-possible_t(subjectToCOC,WOMAN,COC),isa(COC,LegalCode-ModernWestern),true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_true_t(ist,COC,isa(ACT,CriminalAct)),isa(ACT,Exhibitionism),true_t(performedBy,ACT,WOMAN).true_t(ist,
  4985.                                                                                                                                                                                                                                                    COC,
  4986.                                                                                                                                                                                                                                                    isa(ACT,
  4987.                                                                                                                                                                                                                                                'CriminalAct')) :-
  4988.         w_infer_by(tell48:9),
  4989.         poss(ist(COC, isa(ACT, 'CriminalAct'))),
  4990.         isa(COC, 'LegalCode-ModernWestern'),
  4991.         isa(ACT, 'Exhibitionism'),
  4992.         subjectToCOC(WOMAN, COC),
  4993.         agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  4994.         performedBy(ACT, WOMAN).
  4995. %
  4996.  
  4997. tell48:9  true_t(ist,COC,isa(ACT,CriminalAct)):-possible_t(ist,COC,isa(ACT,CriminalAct)),isa(COC,LegalCode-ModernWestern),isa(ACT,Exhibitionism),true_t(subjectToCOC,WOMAN,COC),true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),true_t(performedBy,ACT,WOMAN).
  4998. true ;
  4999.  
  5000.  
  5001.  
  5002. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5003. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5004. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5005. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5006. kif :-
  5007.  
  5008.         [ '\n(implies \n       (and \n           (isa ?COC LegalCode-ModernWestern) \n           (isa ?ACT Exhibitionism) \n           (subjectToCOC ?WOMAN ?COC)\n           (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n           (performedBy ?ACT ?WOMAN)) \n       (ist ?COC \n           (isa ?ACT CriminalAct)))'
  5009.         ].
  5010. pkif :-
  5011.  
  5012.         [ '\n(implies \n       (and \n           (isa ?COC LegalCode-ModernWestern) \n           (isa ?ACT Exhibitionism) \n           (subjectToCOC ?WOMAN ?COC)\n           (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n           (performedBy ?ACT ?WOMAN)) \n       (ist ?COC \n           (isa ?ACT CriminalAct)))'
  5013.         ].
  5014. cnf :-
  5015.         '\n(implies \n       (and \n           (isa ?COC LegalCode-ModernWestern) \n           (isa ?ACT Exhibitionism) \n           (subjectToCOC ?WOMAN ?COC)\n           (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n           (performedBy ?ACT ?WOMAN)) \n       (ist ?COC \n           (isa ?ACT CriminalAct)))'.
  5016. %
  5017.  
  5018. tell49:0
  5019. (implies
  5020.        (and
  5021.            (isa ?COC LegalCode-ModernWestern)
  5022.            (isa ?ACT Exhibitionism)
  5023.            (subjectToCOC ?WOMAN ?COC)
  5024.            (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic)
  5025.            (performedBy ?ACT ?WOMAN))
  5026.        (ist ?COC
  5027.            (isa ?ACT CriminalAct))).
  5028. tell49:0
  5029. (implies
  5030.        (and
  5031.            (isa ?COC LegalCode-ModernWestern)
  5032.            (isa ?ACT Exhibitionism)
  5033.            (subjectToCOC ?WOMAN ?COC)
  5034.            (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic)
  5035.            (performedBy ?ACT ?WOMAN))
  5036.        (ist ?COC
  5037.            (isa ?ACT CriminalAct))).pttp :-
  5038.  
  5039.         [ ('\n(implies \n       (and \n           (isa ?COC LegalCode-ModernWestern) \n           (isa ?ACT Exhibitionism) \n           (subjectToCOC ?WOMAN ?COC)\n           (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n           (performedBy ?ACT ?WOMAN)) \n       (ist ?COC \n           (isa ?ACT CriminalAct)))':-true)
  5040.         ].
  5041. %
  5042. '\n(implies \n       (and \n           (isa ?COC LegalCode-ModernWestern) \n           (isa ?ACT Exhibitionism) \n           (subjectToCOC ?WOMAN ?COC)\n           (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n           (performedBy ?ACT ?WOMAN)) \n       (ist ?COC \n           (isa ?ACT CriminalAct)))' :-
  5043.         w_infer_by(tell49:0),
  5044.         [].
  5045. %
  5046.  
  5047. tell49:0
  5048. (implies
  5049.        (and
  5050.            (isa ?COC LegalCode-ModernWestern)
  5051.            (isa ?ACT Exhibitionism)
  5052.            (subjectToCOC ?WOMAN ?COC)
  5053.            (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic)
  5054.            (performedBy ?ACT ?WOMAN))
  5055.        (ist ?COC
  5056.            (isa ?ACT CriminalAct))):-[].
  5057. true ;
  5058.  
  5059.  
  5060.  
  5061. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5062. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5063. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5064. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5065. kif :-
  5066.  
  5067.         [ all[WOMAN],
  5068.  
  5069.           [ all[AREOLA],
  5070.  
  5071.             [ implies,
  5072.  
  5073.               [ isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5074.                 subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5075.                 locationState(WOMAN, 'InPublic')
  5076.               ],
  5077.               (=>),
  5078.  
  5079.               [ ex[CLOTH],
  5080.  
  5081.                 [ or,
  5082.                   agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'),
  5083.                   'covers-Generic'(CLOTH, AREOLA),
  5084.                   wearsClothing(WOMAN, CLOTH)
  5085.                 ]
  5086.               ]
  5087.             ]
  5088.           ]
  5089.         ].
  5090. pkif :-
  5091.  
  5092.         [ implies,
  5093.           [poss(KB, wearsClothing(WOMAN, CLOTH))],
  5094.           (=>),
  5095.  
  5096.           [ implies,
  5097.             [poss(KB, 'covers-Generic'(CLOTH, AREOLA))],
  5098.             (=>),
  5099.  
  5100.             [ implies,
  5101.  
  5102.               [ poss(KB,
  5103.                      agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic'))
  5104.               ],
  5105.               (=>),
  5106.  
  5107.               [ implies,
  5108.                 [poss(KB, locationState(WOMAN, 'InPublic'))],
  5109.                 (=>),
  5110.  
  5111.                 [ implies,
  5112.                   [poss(KB, subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'))],
  5113.                   (=>),
  5114.  
  5115.                   [ all[WOMAN],
  5116.  
  5117.                     [ all[AREOLA],
  5118.  
  5119.                       [ implies,
  5120.  
  5121.                         [ isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5122.                           subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5123.                           locationState(WOMAN, 'InPublic')
  5124.                         ],
  5125.                         (=>),
  5126.  
  5127.                         [ ex[CLOTH],
  5128.  
  5129.                           [ or,
  5130.                             agentViolatesObligation(WOMAN,
  5131.                                                     'KeepAreolaCoveredInPublic'),
  5132.                             'covers-Generic'(CLOTH, AREOLA),
  5133.                             wearsClothing(WOMAN, CLOTH)
  5134.                           ]
  5135.                         ]
  5136.                       ]
  5137.                     ]
  5138.                   ]
  5139.                 ]
  5140.               ]
  5141.             ]
  5142.           ]
  5143.         ].
  5144. cnf :-
  5145.         (   not(possible_t(wearsClothing(WOMAN, CLOTH)))
  5146.         ;   not(possible_t('covers-Generic'(CLOTH, AREOLA)))
  5147.         ;   not(possible_t(agentViolatesObligation(WOMAN,
  5148.                                                    'KeepAreolaCoveredInPublic')))
  5149.         ;   not(possible_t(locationState(WOMAN, 'InPublic')))
  5150.         ;   not(possible_t(subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic')))
  5151.         ;   not(isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')))
  5152.         ;   not(subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'))
  5153.         ;   not(locationState(WOMAN, 'InPublic'))
  5154.         ;   not(skolem(CLOTH,
  5155.                        skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,
  5156.                                                                      WOMAN)))
  5157.         ;   agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')
  5158.         ;   'covers-Generic'(CLOTH, AREOLA)
  5159.         ),
  5160.         (   not(possible_t(wearsClothing(WOMAN, CLOTH)))
  5161.         ;   not(possible_t('covers-Generic'(CLOTH, AREOLA)))
  5162.         ;   not(possible_t(agentViolatesObligation(WOMAN,
  5163.                                                    'KeepAreolaCoveredInPublic')))
  5164.         ;   not(possible_t(locationState(WOMAN, 'InPublic')))
  5165.         ;   not(possible_t(subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic')))
  5166.         ;   not(isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')))
  5167.         ;   not(subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'))
  5168.         ;   not(locationState(WOMAN, 'InPublic'))
  5169.         ;   not(skolem(CLOTH,
  5170.                        skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,
  5171.                                                                      WOMAN)))
  5172.         ;   agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')
  5173.         ;   wearsClothing(WOMAN, CLOTH)
  5174.         ).
  5175. %
  5176.  
  5177. tell50:0  not_possible_t(wearsClothing,WOMAN,CLOTH);not_possible_t(covers-Generic,CLOTH,AREOLA);not_possible_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic);not_possible_t(locationState,WOMAN,InPublic);not_possible_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic);not_isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola));not_true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic);not_true_t(locationState,WOMAN,InPublic);not_call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN));true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic);true_t(covers-Generic,CLOTH,AREOLA).
  5178. %         todo(warn(builtin_why(wearsClothing,
  5179. %                        2,
  5180. %                        source_file('/opt/PrologMUD/pack/prologmud/prolog/prologmud/server/mud_builtin.pl')))).
  5181. %
  5182. %        todo(warn(pttp_builtin(wearsClothing, 2))).
  5183. %
  5184.  
  5185. tell50:1  not_possible_t(wearsClothing,WOMAN,CLOTH);not_possible_t(covers-Generic,CLOTH,AREOLA);not_possible_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic);not_possible_t(locationState,WOMAN,InPublic);not_possible_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic);not_isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola));not_true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic);not_true_t(locationState,WOMAN,InPublic);not_call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN));true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic);call_builtin(wearsClothing,WOMAN,CLOTH).pttp :-
  5186.  
  5187.         [ (not_isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5188.           (not_isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5189.           (call_builtin(wearsClothing, WOMAN, CLOTH):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic')),
  5190.           (not_call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5191.           (not_call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5192.           (not_possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5193.           (not_possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5194.           (not_possible_t('covers-Generic', CLOTH, AREOLA):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5195.           (not_possible_t('covers-Generic', CLOTH, AREOLA):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5196.           (not_possible_t(locationState, WOMAN, 'InPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5197.           (not_possible_t(locationState, WOMAN, 'InPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5198.           (not_possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5199.           (not_possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5200.           (not_possible_t(wearsClothing, WOMAN, CLOTH):-possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5201.           (not_possible_t(wearsClothing, WOMAN, CLOTH):-possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5202.           (not_true_t(locationState, WOMAN, 'InPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5203.           (not_true_t(locationState, WOMAN, 'InPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5204.           (not_true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5205.           (not_true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5206.           (true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_call_builtin(wearsClothing, WOMAN, CLOTH)),
  5207.           (true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t('covers-Generic', CLOTH, AREOLA)),
  5208.           (true_t('covers-Generic', CLOTH, AREOLA):-possible_t(wearsClothing, WOMAN, CLOTH), possible_t('covers-Generic', CLOTH, AREOLA), possible_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'), possible_t(locationState, WOMAN, 'InPublic'), possible_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')), true_t(subjectToCOC, WOMAN, 'KeepAreolaCoveredInPublic'), true_t(locationState, WOMAN, 'InPublic'), call_builtin(skolem, CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not_true_t(agentViolatesObligation, WOMAN, 'KeepAreolaCoveredInPublic'))
  5209.         ].
  5210. %
  5211. not(isa(AREOLA, BODYPARTCOLLECTIONFNAREOLA1)):not(mudEquals(BODYPARTCOLLECTIONFNAREOLA1, 'BodyPartCollectionFn'(WOMAN, 'Areola')), (poss(wearsClothing(WOMAN, CLOTH)), poss('covers-Generic'(CLOTH, AREOLA)), subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'), locationState(WOMAN, 'InPublic'), skolem(CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')), not(wearsClothing(WOMAN, CLOTH)))) :-
  5212.         w_infer_by(tell50:0).
  5213. %
  5214.  
  5215. tell50:0  true_t(:,not_isa(AREOLA,BODYPARTCOLLECTIONFNAREOLA1),mudEquals(BODYPARTCOLLECTIONFNAREOLA1,BodyPartCollectionFn(WOMAN,Areola))- (possible_t(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_call_builtin(wearsClothing,WOMAN,CLOTH))).
  5216. tell50:0  true_t(:,not_isa(AREOLA,BODYPARTCOLLECTIONFNAREOLA1),mudEquals(BODYPARTCOLLECTIONFNAREOLA1,BodyPartCollectionFn(WOMAN,Areola))- (possible_t(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_call_builtin(wearsClothing,WOMAN,CLOTH))).not(isa(AREOLA, BODYPARTCOLLECTIONFNAREOLA2)):not(mudEquals(BODYPARTCOLLECTIONFNAREOLA2, 'BodyPartCollectionFn'(WOMAN, 'Areola')), (poss(wearsClothing(WOMAN, CLOTH)), subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'), locationState(WOMAN, 'InPublic'), skolem(CLOTH, skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)), not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')), not('covers-Generic'(CLOTH, AREOLA)))) :-
  5217.         w_infer_by(tell50:1).
  5218. %
  5219.  
  5220. tell50:1  true_t(:,not_isa(AREOLA,BODYPARTCOLLECTIONFNAREOLA2),mudEquals(BODYPARTCOLLECTIONFNAREOLA2,BodyPartCollectionFn(WOMAN,Areola))- (possible_t(wearsClothing,WOMAN,CLOTH),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_true_t(covers-Generic,CLOTH,AREOLA))).
  5221. tell50:1  true_t(:,not_isa(AREOLA,BODYPARTCOLLECTIONFNAREOLA2),mudEquals(BODYPARTCOLLECTIONFNAREOLA2,BodyPartCollectionFn(WOMAN,Areola))- (possible_t(wearsClothing,WOMAN,CLOTH),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_true_t(covers-Generic,CLOTH,AREOLA))).call_builtin(wearsClothing,
  5222.                                                                                                                                                                                                                                                  WOMAN,
  5223.                                                                                                                                                                                                                                                  CLOTH) :-
  5224.         w_infer_by(tell50:2),
  5225.         poss(wearsClothing(WOMAN, CLOTH)),
  5226.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5227.         locationState(WOMAN, 'InPublic'),
  5228.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5229.         poss('covers-Generic'(CLOTH, AREOLA)),
  5230.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5231.         skolem(CLOTH,
  5232.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)).
  5233. %
  5234.  
  5235. tell50:2  call_builtin(wearsClothing,WOMAN,CLOTH):-possible_t(wearsClothing,WOMAN,CLOTH),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(covers-Generic,CLOTH,AREOLA),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)).not_call_builtin(skolem,
  5236.                                                                                                                                                                                                                                                   CLOTH,
  5237.                                                                                                                                                                                                                                                   skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,
  5238.                                                                                                                                                                                                                                                 WOMAN)) :-
  5239.         w_infer_by(tell50:3),
  5240.         poss(wearsClothing(WOMAN, CLOTH)),
  5241.         poss('covers-Generic'(CLOTH, AREOLA)),
  5242.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5243.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5244.         locationState(WOMAN, 'InPublic'),
  5245.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5246.         not(wearsClothing(WOMAN, CLOTH)).
  5247. %
  5248.  
  5249. tell50:3  not_call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)):-possible_t(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_call_builtin(wearsClothing,WOMAN,CLOTH).not_call_builtin(skolem,
  5250.                                                                                                                                                                                                                                                   CLOTH,
  5251.                                                                                                                                                                                                                                                   skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,
  5252.                                                                                                                                                                                                                                                 WOMAN)) :-
  5253.         w_infer_by(tell50:4),
  5254.         poss(wearsClothing(WOMAN, CLOTH)),
  5255.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5256.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5257.         locationState(WOMAN, 'InPublic'),
  5258.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5259.         not('covers-Generic'(CLOTH, AREOLA)).
  5260. %
  5261.  
  5262. tell50:4  not_call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)):-possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_true_t(covers-Generic,CLOTH,AREOLA).not_possible_t(agentViolatesObligation,
  5263.                                                                                                                                                                                                                                             WOMAN,
  5264.                                                                                                                                                                                                                                             'KeepAreolaCoveredInPublic') :-
  5265.         w_infer_by(tell50:5),
  5266.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5267.         locationState(WOMAN, 'InPublic'),
  5268.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5269.         poss(wearsClothing(WOMAN, CLOTH)),
  5270.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5271.         not(wearsClothing(WOMAN, CLOTH)),
  5272.         poss('covers-Generic'(CLOTH, AREOLA)),
  5273.         skolem(CLOTH,
  5274.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)).
  5275. %
  5276.  
  5277. tell50:5  not_possible_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic):-true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),not_call_builtin(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)).not_possible_t(agentViolatesObligation,
  5278.                                                                                                                                                                                                                                             WOMAN,
  5279.                                                                                                                                                                                                                                             'KeepAreolaCoveredInPublic') :-
  5280.         w_infer_by(tell50:6),
  5281.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5282.         locationState(WOMAN, 'InPublic'),
  5283.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5284.         poss(wearsClothing(WOMAN, CLOTH)),
  5285.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5286.         skolem(CLOTH,
  5287.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5288.         not('covers-Generic'(CLOTH, AREOLA)).
  5289. %
  5290.  
  5291. tell50:6  not_possible_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic):-true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(covers-Generic,CLOTH,AREOLA).not_possible_t('covers-Generic',
  5292.                                                                                                                                                                                                                                                 CLOTH,
  5293.                                                                                                                                                                                                                                                 AREOLA) :-
  5294.         w_infer_by(tell50:7),
  5295.         poss(wearsClothing(WOMAN, CLOTH)),
  5296.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5297.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5298.         locationState(WOMAN, 'InPublic'),
  5299.         skolem(CLOTH,
  5300.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5301.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5302.         not(wearsClothing(WOMAN, CLOTH)).
  5303. %
  5304.  
  5305. tell50:7  not_possible_t(covers-Generic,CLOTH,AREOLA):-possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_call_builtin(wearsClothing,WOMAN,CLOTH).not_possible_t('covers-Generic',
  5306.                                                                                                                                                                                                                                                 CLOTH,
  5307.                                                                                                                                                                                                                                                 AREOLA) :-
  5308.         w_infer_by(tell50:8),
  5309.         not('covers-Generic'(CLOTH, AREOLA)),
  5310.         poss(wearsClothing(WOMAN, CLOTH)),
  5311.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5312.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5313.         locationState(WOMAN, 'InPublic'),
  5314.         skolem(CLOTH,
  5315.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5316.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')).
  5317. %
  5318.  
  5319. tell50:8  not_possible_t(covers-Generic,CLOTH,AREOLA):-not_true_t(covers-Generic,CLOTH,AREOLA),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic).not_possible_t(locationState,
  5320.                                                                                                                                                                                                                                             WOMAN,
  5321.                                                                                                                                                                                                                                             'InPublic') :-
  5322.         w_infer_by(tell50:9),
  5323.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5324.         locationState(WOMAN, 'InPublic'),
  5325.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5326.         poss(wearsClothing(WOMAN, CLOTH)),
  5327.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5328.         not(wearsClothing(WOMAN, CLOTH)),
  5329.         poss('covers-Generic'(CLOTH, AREOLA)),
  5330.         skolem(CLOTH,
  5331.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)).
  5332. %
  5333.  
  5334. tell50:9  not_possible_t(locationState,WOMAN,InPublic):-true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),not_call_builtin(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)).not_possible_t(locationState,
  5335.                                                                                                                                                                                                                                                  WOMAN,
  5336.                                                                                                                                                                                                                                                  'InPublic') :-
  5337.         w_infer_by(tell50:10),
  5338.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5339.         locationState(WOMAN, 'InPublic'),
  5340.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5341.         poss(wearsClothing(WOMAN, CLOTH)),
  5342.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5343.         skolem(CLOTH,
  5344.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5345.         not('covers-Generic'(CLOTH, AREOLA)).
  5346. %
  5347.  
  5348. tell50:10  not_possible_t(locationState,WOMAN,InPublic):-true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(covers-Generic,CLOTH,AREOLA).not_possible_t(subjectToCOC,
  5349.                                                                                                                                                                                                                                               WOMAN,
  5350.                                                                                                                                                                                                                                               'KeepAreolaCoveredInPublic') :-
  5351.         w_infer_by(tell50:11),
  5352.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5353.         locationState(WOMAN, 'InPublic'),
  5354.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5355.         poss(wearsClothing(WOMAN, CLOTH)),
  5356.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5357.         not(wearsClothing(WOMAN, CLOTH)),
  5358.         poss('covers-Generic'(CLOTH, AREOLA)),
  5359.         skolem(CLOTH,
  5360.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)).
  5361. %
  5362.  
  5363. tell50:11  not_possible_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic):-true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),not_call_builtin(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)).not_possible_t(subjectToCOC,
  5364.                                                                                                                                                                                                                                                   WOMAN,
  5365.                                                                                                                                                                                                                                                   'KeepAreolaCoveredInPublic') :-
  5366.         w_infer_by(tell50:12),
  5367.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5368.         locationState(WOMAN, 'InPublic'),
  5369.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5370.         poss(wearsClothing(WOMAN, CLOTH)),
  5371.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5372.         skolem(CLOTH,
  5373.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5374.         not('covers-Generic'(CLOTH, AREOLA)).
  5375. %
  5376.  
  5377. tell50:12  not_possible_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic):-true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(covers-Generic,CLOTH,AREOLA).not_possible_t(wearsClothing,
  5378.                                                                                                                                                                                                                                               WOMAN,
  5379.                                                                                                                                                                                                                                               CLOTH) :-
  5380.         w_infer_by(tell50:13),
  5381.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5382.         locationState(WOMAN, 'InPublic'),
  5383.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5384.         not(wearsClothing(WOMAN, CLOTH)),
  5385.         poss('covers-Generic'(CLOTH, AREOLA)),
  5386.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5387.         skolem(CLOTH,
  5388.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)).
  5389. %
  5390.  
  5391. tell50:13  not_possible_t(wearsClothing,WOMAN,CLOTH):-true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),not_call_builtin(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)).not_possible_t(wearsClothing,
  5392.                                                                                                                                                                                                                                                  WOMAN,
  5393.                                                                                                                                                                                                                                                  CLOTH) :-
  5394.         w_infer_by(tell50:14),
  5395.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5396.         locationState(WOMAN, 'InPublic'),
  5397.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5398.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5399.         skolem(CLOTH,
  5400.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5401.         not('covers-Generic'(CLOTH, AREOLA)).
  5402. %
  5403.  
  5404. tell50:14  not_possible_t(wearsClothing,WOMAN,CLOTH):-true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(covers-Generic,CLOTH,AREOLA).not_true_t(locationState,
  5405.                                                                                                                                                                                                                                                  WOMAN,
  5406.                                                                                                                                                                                                                                                  'InPublic') :-
  5407.         w_infer_by(tell50:15),
  5408.         poss(locationState(WOMAN, 'InPublic')),
  5409.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5410.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5411.         poss(wearsClothing(WOMAN, CLOTH)),
  5412.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5413.         not(wearsClothing(WOMAN, CLOTH)),
  5414.         poss('covers-Generic'(CLOTH, AREOLA)),
  5415.         skolem(CLOTH,
  5416.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)).
  5417. %
  5418.  
  5419. tell50:15  not_true_t(locationState,WOMAN,InPublic):-possible_t(locationState,WOMAN,InPublic),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),not_call_builtin(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)).not_true_t(locationState,
  5420.                                                                                                                                                                                                                                               WOMAN,
  5421.                                                                                                                                                                                                                                               'InPublic') :-
  5422.         w_infer_by(tell50:16),
  5423.         poss(locationState(WOMAN, 'InPublic')),
  5424.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5425.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5426.         poss(wearsClothing(WOMAN, CLOTH)),
  5427.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5428.         skolem(CLOTH,
  5429.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5430.         not('covers-Generic'(CLOTH, AREOLA)).
  5431. %
  5432.  
  5433. tell50:16  not_true_t(locationState,WOMAN,InPublic):-possible_t(locationState,WOMAN,InPublic),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(covers-Generic,CLOTH,AREOLA).not_true_t(subjectToCOC,
  5434.                                                                                                                                                                                                                                                   WOMAN,
  5435.                                                                                                                                                                                                                                                   'KeepAreolaCoveredInPublic') :-
  5436.         w_infer_by(tell50:17),
  5437.         poss(subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic')),
  5438.         locationState(WOMAN, 'InPublic'),
  5439.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5440.         poss(wearsClothing(WOMAN, CLOTH)),
  5441.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5442.         not(wearsClothing(WOMAN, CLOTH)),
  5443.         poss('covers-Generic'(CLOTH, AREOLA)),
  5444.         skolem(CLOTH,
  5445.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)).
  5446. %
  5447.  
  5448. tell50:17  not_true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic):-possible_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),not_call_builtin(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)).not_true_t(subjectToCOC,
  5449.                                                                                                                                                                                                                                               WOMAN,
  5450.                                                                                                                                                                                                                                               'KeepAreolaCoveredInPublic') :-
  5451.         w_infer_by(tell50:18),
  5452.         poss(subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic')),
  5453.         locationState(WOMAN, 'InPublic'),
  5454.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5455.         poss(wearsClothing(WOMAN, CLOTH)),
  5456.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5457.         skolem(CLOTH,
  5458.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5459.         not('covers-Generic'(CLOTH, AREOLA)).
  5460. %
  5461.  
  5462. tell50:18  not_true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic):-possible_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(covers-Generic,CLOTH,AREOLA).true_t(agentViolatesObligation,
  5463.                                                                                                                                                                                                                                               WOMAN,
  5464.                                                                                                                                                                                                                                               'KeepAreolaCoveredInPublic') :-
  5465.         w_infer_by(tell50:19),
  5466.         poss(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5467.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5468.         locationState(WOMAN, 'InPublic'),
  5469.         poss(wearsClothing(WOMAN, CLOTH)),
  5470.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5471.         not(wearsClothing(WOMAN, CLOTH)),
  5472.         poss('covers-Generic'(CLOTH, AREOLA)),
  5473.         skolem(CLOTH,
  5474.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)).
  5475. %
  5476.  
  5477. tell50:19  true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic):-possible_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),not_call_builtin(wearsClothing,WOMAN,CLOTH),possible_t(covers-Generic,CLOTH,AREOLA),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)).true_t(agentViolatesObligation,
  5478.                                                                                                                                                                                                                                              WOMAN,
  5479.                                                                                                                                                                                                                                              'KeepAreolaCoveredInPublic') :-
  5480.         w_infer_by(tell50:20),
  5481.         poss(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')),
  5482.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5483.         locationState(WOMAN, 'InPublic'),
  5484.         poss(wearsClothing(WOMAN, CLOTH)),
  5485.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5486.         skolem(CLOTH,
  5487.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5488.         not('covers-Generic'(CLOTH, AREOLA)).
  5489. %
  5490.  
  5491. tell50:20  true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic):-possible_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(covers-Generic,CLOTH,AREOLA).true_t('covers-Generic',
  5492.                                                                                                                                                                                                                                                  CLOTH,
  5493.                                                                                                                                                                                                                                                  AREOLA) :-
  5494.         w_infer_by(tell50:21),
  5495.         poss('covers-Generic'(CLOTH, AREOLA)),
  5496.         poss(wearsClothing(WOMAN, CLOTH)),
  5497.         isa(AREOLA, 'BodyPartCollectionFn'(WOMAN, 'Areola')),
  5498.         subjectToCOC(WOMAN, 'KeepAreolaCoveredInPublic'),
  5499.         locationState(WOMAN, 'InPublic'),
  5500.         skolem(CLOTH,
  5501.                skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA, WOMAN)),
  5502.         not(agentViolatesObligation(WOMAN, 'KeepAreolaCoveredInPublic')).
  5503. %
  5504.  
  5505. tell50:21  true_t(covers-Generic,CLOTH,AREOLA):-possible_t(covers-Generic,CLOTH,AREOLA),possible_t(wearsClothing,WOMAN,CLOTH),isa(AREOLA,BodyPartCollectionFn(WOMAN,Areola)),true_t(subjectToCOC,WOMAN,KeepAreolaCoveredInPublic),true_t(locationState,WOMAN,InPublic),call_builtin(skolem,CLOTH,skArg1ofCoversgenericUnkArg2ofWearsclothingFn(AREOLA,WOMAN)),not_true_t(agentViolatesObligation,WOMAN,KeepAreolaCoveredInPublic).
  5506. true ;
  5507.  
  5508.  
  5509.  
  5510. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5511. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5512. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5513. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5514. kif :-
  5515.  
  5516.         [ '\n(implies \n       (and \n           (isa ?AREOLA \n               (BodyPartCollectionFn ?WOMAN Areola)) \n           (subjectToCOC ?WOMAN KeepAreolaCoveredInPublic) \n           (locationState ?WOMAN InPublic)) \n       (thereExists ?CLOTH \n           (and \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (covers-Generic ?CLOTH ?AREOLA)) \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (wearsClothing ?WOMAN ?CLOTH)))))'
  5517.         ].
  5518. pkif :-
  5519.  
  5520.         [ '\n(implies \n       (and \n           (isa ?AREOLA \n               (BodyPartCollectionFn ?WOMAN Areola)) \n           (subjectToCOC ?WOMAN KeepAreolaCoveredInPublic) \n           (locationState ?WOMAN InPublic)) \n       (thereExists ?CLOTH \n           (and \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (covers-Generic ?CLOTH ?AREOLA)) \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (wearsClothing ?WOMAN ?CLOTH)))))'
  5521.         ].
  5522. cnf :-
  5523.         '\n(implies \n       (and \n           (isa ?AREOLA \n               (BodyPartCollectionFn ?WOMAN Areola)) \n           (subjectToCOC ?WOMAN KeepAreolaCoveredInPublic) \n           (locationState ?WOMAN InPublic)) \n       (thereExists ?CLOTH \n           (and \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (covers-Generic ?CLOTH ?AREOLA)) \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (wearsClothing ?WOMAN ?CLOTH)))))'.
  5524. %
  5525.  
  5526. tell51:0
  5527. (implies
  5528.        (and
  5529.            (isa ?AREOLA
  5530.                (BodyPartCollectionFn ?WOMAN Areola))
  5531.            (subjectToCOC ?WOMAN KeepAreolaCoveredInPublic)
  5532.            (locationState ?WOMAN InPublic))
  5533.        (thereExists ?CLOTH
  5534.            (and
  5535.                (or
  5536.                    (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic)
  5537.                    (covers-Generic ?CLOTH ?AREOLA))
  5538.                (or
  5539.                    (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic)
  5540.                    (wearsClothing ?WOMAN ?CLOTH))))).
  5541. tell51:0
  5542. (implies
  5543.        (and
  5544.            (isa ?AREOLA
  5545.                (BodyPartCollectionFn ?WOMAN Areola))
  5546.            (subjectToCOC ?WOMAN KeepAreolaCoveredInPublic)
  5547.            (locationState ?WOMAN InPublic))
  5548.        (thereExists ?CLOTH
  5549.            (and
  5550.                (or
  5551.                    (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic)
  5552.                    (covers-Generic ?CLOTH ?AREOLA))
  5553.                (or
  5554.                    (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic)
  5555.                    (wearsClothing ?WOMAN ?CLOTH))))).pttp :-
  5556.  
  5557.         [ ('\n(implies \n       (and \n           (isa ?AREOLA \n               (BodyPartCollectionFn ?WOMAN Areola)) \n           (subjectToCOC ?WOMAN KeepAreolaCoveredInPublic) \n           (locationState ?WOMAN InPublic)) \n       (thereExists ?CLOTH \n           (and \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (covers-Generic ?CLOTH ?AREOLA)) \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (wearsClothing ?WOMAN ?CLOTH)))))':-true)
  5558.         ].
  5559. %
  5560. '\n(implies \n       (and \n           (isa ?AREOLA \n               (BodyPartCollectionFn ?WOMAN Areola)) \n           (subjectToCOC ?WOMAN KeepAreolaCoveredInPublic) \n           (locationState ?WOMAN InPublic)) \n       (thereExists ?CLOTH \n           (and \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (covers-Generic ?CLOTH ?AREOLA)) \n               (or \n                   (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic) \n                   (wearsClothing ?WOMAN ?CLOTH)))))' :-
  5561.         w_infer_by(tell51:0),
  5562.         [].
  5563. %
  5564.  
  5565. tell51:0
  5566. (implies
  5567.        (and
  5568.            (isa ?AREOLA
  5569.                (BodyPartCollectionFn ?WOMAN Areola))
  5570.            (subjectToCOC ?WOMAN KeepAreolaCoveredInPublic)
  5571.            (locationState ?WOMAN InPublic))
  5572.        (thereExists ?CLOTH
  5573.            (and
  5574.                (or
  5575.                    (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic)
  5576.                    (covers-Generic ?CLOTH ?AREOLA))
  5577.                (or
  5578.                    (agentViolatesObligation ?WOMAN KeepAreolaCoveredInPublic)
  5579.                    (wearsClothing ?WOMAN ?CLOTH))))):-[].
  5580. true ;
  5581.  
  5582.  
  5583.  
  5584. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5585. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5586. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5587. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  5588. kif :-
  5589.  
  5590.         [ all[THEMAN],
  5591.  
  5592.           [ all[CRIME],
  5593.  
  5594.             [ all[WOMAN],
  5595.  
  5596.               [ all[RESPONSE],
  5597.  
  5598.                 [ all[RETALIATION],
  5599.  
  5600.                   [ implies,
  5601.  
  5602.                     [ different(THEMAN, WOMAN),
  5603.                       intendedMaleficiary(CRIME, THEMAN),
  5604.                       deliberateActors(CRIME, WOMAN),
  5605.                       behaviorCapable(THEMAN,
  5606.                                       'CollectionSubsetFn'('Punishing',
  5607.                                                            'TheSetOf'(RESPONSE,
  5608.                                                                       maleficiary(RESPONSE,
  5609.                                                                                   WOMAN))),
  5610.                                       deliberateActors)
  5611.                     ],
  5612.                     (=>),
  5613.  
  5614.                     [ 'optionAvailableToAgent-SitType'(THEMAN,
  5615.                                                        'CollectionSubsetFn'('AttemptingFn'('Punishing'),
  5616.                                                                             'TheSetOf'(RETALIATION,
  5617.  
  5618.                                                                                        [ intendedMaleficiary(RETALIATION,
  5619.                                                                                                              WOMAN),
  5620.                                                                                          purposeInEvent(THEMAN,
  5621.                                                                                                         RETALIATION,
  5622.  
  5623.                                                                                                         [ not,
  5624.  
  5625.                                                                                                           [ ex[ANOTRACT],
  5626.  
  5627.                                                                                                             [ isa(ANOTRACT,
  5628.                                                                                                                   'PurposefulAction'),
  5629.                                                                                                               startsAfterEndingOf(ANOTRACT,
  5630.                                                                                                                                   CRIME),
  5631.                                                                                                               maleficiary(ANOTRACT,
  5632.                                                                                                                           THEMAN),
  5633.                                                                                                               deliberateActors(ANOTRACT,
  5634.                                                                                                                                WOMAN)
  5635.                                                                                                             ]
  5636.                                                                                                           ]
  5637.                                                                                                         ])
  5638.                                                                                        ])),
  5639.                                                        deliberateActors)
  5640.                     ]
  5641.                   ]
  5642.                 ]
  5643.               ]
  5644.             ]
  5645.           ]
  5646.         ].
  5647. pkif :-
  5648.  
  5649.         [ implies,
  5650.  
  5651.           [ poss(KB,
  5652.                  'optionAvailableToAgent-SitType'(THEMAN,
  5653.                                                   RETALIATION,
  5654.                                                   deliberateActors))
  5655.           ],
  5656.           (=>),
  5657.  
  5658.           [ implies,
  5659.             [poss(KB, behaviorCapable(THEMAN, RESPONSE, deliberateActors))],
  5660.             (=>),
  5661.  
  5662.             [ implies,
  5663.               [poss(KB, deliberateActors(CRIME, WOMAN))],
  5664.               (=>),
  5665.  
  5666.               [ implies,
  5667.                 [poss(KB, intendedMaleficiary(CRIME, THEMAN))],
  5668.                 (=>),
  5669.  
  5670.                 [ implies,
  5671.                   [different(THEMAN, WOMAN)],
  5672.                   (=>),
  5673.  
  5674.                   [ implies,
  5675.  
  5676.                     [ poss(KB,
  5677.                            purposeInEvent(THEMAN,
  5678.                                           RETALIATION,
  5679.  
  5680.                                           [ not,
  5681.  
  5682.                                             [ ex[ANOTRACT],
  5683.  
  5684.                                               [ isa(ANOTRACT, 'PurposefulAction'),
  5685.                                                 startsAfterEndingOf(ANOTRACT,
  5686.                                                                     CRIME),
  5687.                                                 maleficiary(ANOTRACT, THEMAN),
  5688.                                                 deliberateActors(ANOTRACT,
  5689.                                                                  WOMAN)
  5690.                                               ]
  5691.                                             ]
  5692.                                           ]))
  5693.                     ],
  5694.                     (=>),
  5695.  
  5696.                     [ implies,
  5697.                       [poss(KB, intendedMaleficiary(RETALIATION, WOMAN))],
  5698.                       (=>),
  5699.  
  5700.                       [ implies,
  5701.                         [poss(KB, maleficiary(RESPONSE, WOMAN))],
  5702.                         (=>),
  5703.  
  5704.                         [ implies,
  5705.  
  5706.                           [ isa(RESPONSE, 'Punishing'),
  5707.                             maleficiary(RESPONSE, WOMAN)
  5708.                           ],
  5709.                           (=>),
  5710.  
  5711.                           [ implies,
  5712.  
  5713.                             [ isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5714.                               intendedMaleficiary(RETALIATION, WOMAN),
  5715.                               purposeInEvent(THEMAN,
  5716.                                              RETALIATION,
  5717.  
  5718.                                              [ not,
  5719.  
  5720.                                                [ ex[ANOTRACT],
  5721.  
  5722.                                                  [ isa(ANOTRACT,
  5723.                                                        'PurposefulAction'),
  5724.                                                    startsAfterEndingOf(ANOTRACT,
  5725.                                                                        CRIME),
  5726.                                                    maleficiary(ANOTRACT,
  5727.                                                                THEMAN),
  5728.                                                    deliberateActors(ANOTRACT,
  5729.                                                                     WOMAN)
  5730.                                                  ]
  5731.                                                ]
  5732.                                              ])
  5733.                             ],
  5734.                             (=>),
  5735.  
  5736.                             [ all[THEMAN],
  5737.  
  5738.                               [ all[CRIME],
  5739.  
  5740.                                 [ all[WOMAN],
  5741.  
  5742.                                   [ all[RESPONSE],
  5743.  
  5744.                                     [ all[RETALIATION],
  5745.  
  5746.                                       [ implies,
  5747.  
  5748.                                         [ different(THEMAN, WOMAN),
  5749.                                           intendedMaleficiary(CRIME, THEMAN),
  5750.                                           deliberateActors(CRIME, WOMAN),
  5751.                                           behaviorCapable(THEMAN,
  5752.                                                           RESPONSE,
  5753.                                                           deliberateActors)
  5754.                                         ],
  5755.                                         (=>),
  5756.  
  5757.                                         [ 'optionAvailableToAgent-SitType'(THEMAN,
  5758.                                                                            RETALIATION,
  5759.                                                                            deliberateActors)
  5760.                                         ]
  5761.                                       ]
  5762.                                     ]
  5763.                                   ]
  5764.                                 ]
  5765.                               ]
  5766.                             ]
  5767.                           ]
  5768.                         ]
  5769.                       ]
  5770.                     ]
  5771.                   ]
  5772.                 ]
  5773.               ]
  5774.             ]
  5775.           ]
  5776.         ].
  5777. cnf :-
  5778.         (   not(possible_t('optionAvailableToAgent-SitType'(THEMAN,
  5779.                                                             RETALIATION,
  5780.                                                             deliberateActors)))
  5781.         ;   not(possible_t(behaviorCapable(THEMAN, RESPONSE, deliberateActors)))
  5782.         ;   not(possible_t(deliberateActors(CRIME, WOMAN)))
  5783.         ;   not(possible_t(intendedMaleficiary(CRIME, THEMAN)))
  5784.         ;   not(different(THEMAN, WOMAN))
  5785.         ;   not(purposeInEvent(THEMAN,
  5786.                                RETALIATION,
  5787.                                (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))))
  5788.         ;   not(possible_t(intendedMaleficiary(RETALIATION, WOMAN)))
  5789.         ;   not(possible_t(maleficiary(RESPONSE, WOMAN)))
  5790.         ;   not(isa(RESPONSE, 'Punishing'))
  5791.         ;   not(maleficiary(RESPONSE, WOMAN))
  5792.         ;   'optionAvailableToAgent-SitType'(THEMAN,
  5793.                                              RETALIATION,
  5794.                                              deliberateActors)
  5795.         ;   not(intendedMaleficiary(CRIME, THEMAN))
  5796.         ;   not(deliberateActors(CRIME, WOMAN))
  5797.         ;   not(behaviorCapable(THEMAN, RESPONSE, deliberateActors))
  5798.         ;   not(isa(RETALIATION, 'AttemptingFn'('Punishing')))
  5799.         ;   not(intendedMaleficiary(RETALIATION, WOMAN))
  5800.         ).
  5801. %
  5802.  
  5803. tell26:0  not_possible_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors);not_possible_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors);not_possible_t(deliberateActors,CRIME,WOMAN);not_possible_t(intendedMaleficiary,CRIME,THEMAN);not_call_builtin(different,THEMAN,WOMAN);not_true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN)));not_possible_t(intendedMaleficiary,RETALIATION,WOMAN);not_possible_t(maleficiary,RESPONSE,WOMAN);not_isa(RESPONSE,Punishing);not_true_t(maleficiary,RESPONSE,WOMAN);true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors);not_true_t(intendedMaleficiary,CRIME,THEMAN);not_true_t(deliberateActors,CRIME,WOMAN);not_true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors);not_isa(RETALIATION,AttemptingFn(Punishing));not_true_t(intendedMaleficiary,RETALIATION,WOMAN).pttp :-
  5804.  
  5805.         [ (not_isa(RESPONSE, 'Punishing'):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5806.           (not_isa(RETALIATION, 'AttemptingFn'('Punishing')):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5807.           (not_call_builtin(different, THEMAN, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5808.           (not_possible_t(deliberateActors, CRIME, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5809.           (not_possible_t(intendedMaleficiary, CRIME, THEMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5810.           (not_possible_t(intendedMaleficiary, RETALIATION, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5811.           (not_possible_t(maleficiary, RESPONSE, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5812.           (not_true_t(deliberateActors, CRIME, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5813.           (not_true_t(intendedMaleficiary, CRIME, THEMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5814.           (not_true_t(intendedMaleficiary, RETALIATION, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing'))),
  5815.           (not_true_t(maleficiary, RESPONSE, WOMAN):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5816.           (not_possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5817.           (not_possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors):-possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5818.           (not_true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5819.           (not_true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), not_true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN)),
  5820.           (true_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors):-possible_t('optionAvailableToAgent-SitType', THEMAN, RETALIATION, deliberateActors), possible_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), possible_t(deliberateActors, CRIME, WOMAN), possible_t(intendedMaleficiary, CRIME, THEMAN), call_builtin(different, THEMAN, WOMAN), true_t(purposeInEvent, THEMAN, RETALIATION, (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))), possible_t(intendedMaleficiary, RETALIATION, WOMAN), possible_t(maleficiary, RESPONSE, WOMAN), isa(RESPONSE, 'Punishing'), true_t(maleficiary, RESPONSE, WOMAN), true_t(intendedMaleficiary, CRIME, THEMAN), true_t(deliberateActors, CRIME, WOMAN), true_t(behaviorCapable, THEMAN, RESPONSE, deliberateActors), isa(RETALIATION, 'AttemptingFn'('Punishing')), true_t(intendedMaleficiary, RETALIATION, WOMAN))
  5821.         ].
  5822. %
  5823. ;not_isa(RESPONSE, 'Punishing') :-
  5824.         w_infer_by(tell26:0),
  5825.         maleficiary(RESPONSE, WOMAN),
  5826.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  5827.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5828.         different(THEMAN, WOMAN),
  5829.         not('optionAvailableToAgent-SitType'(THEMAN,
  5830.                                              RETALIATION,
  5831.                                              deliberateActors)),
  5832.         intendedMaleficiary(CRIME, THEMAN),
  5833.         deliberateActors(CRIME, WOMAN),
  5834.         intendedMaleficiary(RETALIATION, WOMAN),
  5835.         purposeInEvent(THEMAN,
  5836.                        RETALIATION,
  5837.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  5838. %
  5839.  
  5840. tell26:0  not_isa(RESPONSE,Punishing):-true_t(maleficiary,RESPONSE,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),call_builtin(different,THEMAN,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not(isa(RETALIATION, ATTEMPTINGFNPUNISHING2)):not(mudEquals(ATTEMPTINGFNPUNISHING2, 'AttemptingFn'('Punishing')), (different(THEMAN, WOMAN), purposeInEvent(THEMAN, RETALIATION, (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))), isa(RESPONSE, 'Punishing'), maleficiary(RESPONSE, WOMAN), not('optionAvailableToAgent-SitType'(THEMAN, RETALIATION, deliberateActors)), intendedMaleficiary(CRIME, THEMAN), deliberateActors(CRIME, WOMAN), behaviorCapable(THEMAN, RESPONSE, deliberateActors), intendedMaleficiary(RETALIATION, WOMAN))) :-
  5841.         w_infer_by(tell26:1).
  5842. %
  5843.  
  5844. tell26:1  true_t(:,not_isa(RETALIATION,ATTEMPTINGFNPUNISHING2),mudEquals(ATTEMPTINGFNPUNISHING2,AttemptingFn(Punishing))- (call_builtin(different,THEMAN,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(intendedMaleficiary,RETALIATION,WOMAN))).
  5845. tell26:1  true_t(:,not_isa(RETALIATION,ATTEMPTINGFNPUNISHING2),mudEquals(ATTEMPTINGFNPUNISHING2,AttemptingFn(Punishing))- (call_builtin(different,THEMAN,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(intendedMaleficiary,RETALIATION,WOMAN))).not_call_builtin(different,
  5846.                                                                                                                                                                                                                                                  THEMAN,
  5847.                                                                                                                                                                                                                                                  WOMAN) :-
  5848.         w_infer_by(tell26:2),
  5849.         isa(RESPONSE, 'Punishing'),
  5850.         maleficiary(RESPONSE, WOMAN),
  5851.         not('optionAvailableToAgent-SitType'(THEMAN,
  5852.                                              RETALIATION,
  5853.                                              deliberateActors)),
  5854.         intendedMaleficiary(CRIME, THEMAN),
  5855.         deliberateActors(CRIME, WOMAN),
  5856.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  5857.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5858.         intendedMaleficiary(RETALIATION, WOMAN),
  5859.         purposeInEvent(THEMAN,
  5860.                        RETALIATION,
  5861.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  5862. %
  5863.  
  5864. tell26:2  not_call_builtin(different,THEMAN,WOMAN):-isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(deliberateActors,
  5865.                                                                                                                                                                                                                                                   CRIME,
  5866.                                                                                                                                                                                                                                                   WOMAN) :-
  5867.         w_infer_by(tell26:3),
  5868.         deliberateActors(CRIME, WOMAN),
  5869.         different(THEMAN, WOMAN),
  5870.         isa(RESPONSE, 'Punishing'),
  5871.         maleficiary(RESPONSE, WOMAN),
  5872.         intendedMaleficiary(CRIME, THEMAN),
  5873.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5874.         intendedMaleficiary(RETALIATION, WOMAN),
  5875.         not('optionAvailableToAgent-SitType'(THEMAN,
  5876.                                              RETALIATION,
  5877.                                              deliberateActors)),
  5878.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  5879.         purposeInEvent(THEMAN,
  5880.                        RETALIATION,
  5881.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  5882. %
  5883.  
  5884. tell26:3  not_possible_t(deliberateActors,CRIME,WOMAN):-true_t(deliberateActors,CRIME,WOMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),true_t(intendedMaleficiary,CRIME,THEMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(intendedMaleficiary,
  5885.                                                                                                                                                                                                                                                    CRIME,
  5886.                                                                                                                                                                                                                                                    THEMAN) :-
  5887.         w_infer_by(tell26:4),
  5888.         intendedMaleficiary(CRIME, THEMAN),
  5889.         different(THEMAN, WOMAN),
  5890.         isa(RESPONSE, 'Punishing'),
  5891.         not('optionAvailableToAgent-SitType'(THEMAN,
  5892.                                              RETALIATION,
  5893.                                              deliberateActors)),
  5894.         deliberateActors(CRIME, WOMAN),
  5895.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  5896.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5897.         maleficiary(RESPONSE, WOMAN),
  5898.         intendedMaleficiary(RETALIATION, WOMAN),
  5899.         purposeInEvent(THEMAN,
  5900.                        RETALIATION,
  5901.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  5902. %
  5903.  
  5904. tell26:4  not_possible_t(intendedMaleficiary,CRIME,THEMAN):-true_t(intendedMaleficiary,CRIME,THEMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(maleficiary,RESPONSE,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(intendedMaleficiary,
  5905.                                                                                                                                                                                                                                                RETALIATION,
  5906.                                                                                                                                                                                                                                                WOMAN) :-
  5907.         w_infer_by(tell26:5),
  5908.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5909.         intendedMaleficiary(RETALIATION, WOMAN),
  5910.         different(THEMAN, WOMAN),
  5911.         isa(RESPONSE, 'Punishing'),
  5912.         maleficiary(RESPONSE, WOMAN),
  5913.         not('optionAvailableToAgent-SitType'(THEMAN,
  5914.                                              RETALIATION,
  5915.                                              deliberateActors)),
  5916.         deliberateActors(CRIME, WOMAN),
  5917.         intendedMaleficiary(CRIME, THEMAN),
  5918.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  5919.         purposeInEvent(THEMAN,
  5920.                        RETALIATION,
  5921.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  5922. %
  5923.  
  5924. tell26:5  not_possible_t(intendedMaleficiary,RETALIATION,WOMAN):-isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(maleficiary,
  5925.                                                                                                                                                                                                                                             RESPONSE,
  5926.                                                                                                                                                                                                                                             WOMAN) :-
  5927.         w_infer_by(tell26:6),
  5928.         isa(RESPONSE, 'Punishing'),
  5929.         maleficiary(RESPONSE, WOMAN),
  5930.         different(THEMAN, WOMAN),
  5931.         deliberateActors(CRIME, WOMAN),
  5932.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  5933.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5934.         intendedMaleficiary(RETALIATION, WOMAN),
  5935.         not('optionAvailableToAgent-SitType'(THEMAN,
  5936.                                              RETALIATION,
  5937.                                              deliberateActors)),
  5938.         intendedMaleficiary(CRIME, THEMAN),
  5939.         purposeInEvent(THEMAN,
  5940.                        RETALIATION,
  5941.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  5942. %
  5943.  
  5944. tell26:6  not_possible_t(maleficiary,RESPONSE,WOMAN):-isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),call_builtin(different,THEMAN,WOMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(deliberateActors,
  5945.                                                                                                                                                                                                                                              CRIME,
  5946.                                                                                                                                                                                                                                              WOMAN) :-
  5947.         w_infer_by(tell26:7),
  5948.         poss(deliberateActors(CRIME, WOMAN)),
  5949.         different(THEMAN, WOMAN),
  5950.         isa(RESPONSE, 'Punishing'),
  5951.         maleficiary(RESPONSE, WOMAN),
  5952.         intendedMaleficiary(CRIME, THEMAN),
  5953.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5954.         intendedMaleficiary(RETALIATION, WOMAN),
  5955.         not('optionAvailableToAgent-SitType'(THEMAN,
  5956.                                              RETALIATION,
  5957.                                              deliberateActors)),
  5958.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  5959.         purposeInEvent(THEMAN,
  5960.                        RETALIATION,
  5961.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  5962. %
  5963.  
  5964. tell26:7  not_true_t(deliberateActors,CRIME,WOMAN):-possible_t(deliberateActors,CRIME,WOMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),true_t(intendedMaleficiary,CRIME,THEMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(intendedMaleficiary,
  5965.                                                                                                                                                                                                                                                CRIME,
  5966.                                                                                                                                                                                                                                                THEMAN) :-
  5967.         w_infer_by(tell26:8),
  5968.         poss(intendedMaleficiary(CRIME, THEMAN)),
  5969.         different(THEMAN, WOMAN),
  5970.         isa(RESPONSE, 'Punishing'),
  5971.         not('optionAvailableToAgent-SitType'(THEMAN,
  5972.                                              RETALIATION,
  5973.                                              deliberateActors)),
  5974.         deliberateActors(CRIME, WOMAN),
  5975.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  5976.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5977.         maleficiary(RESPONSE, WOMAN),
  5978.         intendedMaleficiary(RETALIATION, WOMAN),
  5979.         purposeInEvent(THEMAN,
  5980.                        RETALIATION,
  5981.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  5982. %
  5983.  
  5984. tell26:8  not_true_t(intendedMaleficiary,CRIME,THEMAN):-possible_t(intendedMaleficiary,CRIME,THEMAN),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(maleficiary,RESPONSE,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(intendedMaleficiary,
  5985.                                                                                                                                                                                                                                                    RETALIATION,
  5986.                                                                                                                                                                                                                                                    WOMAN) :-
  5987.         w_infer_by(tell26:9),
  5988.         poss(intendedMaleficiary(RETALIATION, WOMAN)),
  5989.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  5990.         different(THEMAN, WOMAN),
  5991.         isa(RESPONSE, 'Punishing'),
  5992.         maleficiary(RESPONSE, WOMAN),
  5993.         not('optionAvailableToAgent-SitType'(THEMAN,
  5994.                                              RETALIATION,
  5995.                                              deliberateActors)),
  5996.         deliberateActors(CRIME, WOMAN),
  5997.         intendedMaleficiary(CRIME, THEMAN),
  5998.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  5999.         purposeInEvent(THEMAN,
  6000.                        RETALIATION,
  6001.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  6002. %
  6003.  
  6004. tell26:9  not_true_t(intendedMaleficiary,RETALIATION,WOMAN):-possible_t(intendedMaleficiary,RETALIATION,WOMAN),isa(RETALIATION,AttemptingFn(Punishing)),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(maleficiary,
  6005.                                                                                                                                                                                                                                                 RESPONSE,
  6006.                                                                                                                                                                                                                                                 WOMAN) :-
  6007.         w_infer_by(tell26:10),
  6008.         poss(maleficiary(RESPONSE, WOMAN)),
  6009.         isa(RESPONSE, 'Punishing'),
  6010.         different(THEMAN, WOMAN),
  6011.         deliberateActors(CRIME, WOMAN),
  6012.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  6013.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  6014.         intendedMaleficiary(RETALIATION, WOMAN),
  6015.         not('optionAvailableToAgent-SitType'(THEMAN,
  6016.                                              RETALIATION,
  6017.                                              deliberateActors)),
  6018.         intendedMaleficiary(CRIME, THEMAN),
  6019.         purposeInEvent(THEMAN,
  6020.                        RETALIATION,
  6021.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  6022. %
  6023.  
  6024. tell26:10  not_true_t(maleficiary,RESPONSE,WOMAN):-possible_t(maleficiary,RESPONSE,WOMAN),isa(RESPONSE,Punishing),call_builtin(different,THEMAN,WOMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t(behaviorCapable,
  6025.                                                                                                                                                                                                                                                   THEMAN,
  6026.                                                                                                                                                                                                                                                   RESPONSE,
  6027.                                                                                                                                                                                                                                                   deliberateActors) :-
  6028.         w_infer_by(tell26:11),
  6029.         isa(RESPONSE, 'Punishing'),
  6030.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  6031.         different(THEMAN, WOMAN),
  6032.         maleficiary(RESPONSE, WOMAN),
  6033.         not('optionAvailableToAgent-SitType'(THEMAN,
  6034.                                              RETALIATION,
  6035.                                              deliberateActors)),
  6036.         intendedMaleficiary(CRIME, THEMAN),
  6037.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  6038.         deliberateActors(CRIME, WOMAN),
  6039.         intendedMaleficiary(RETALIATION, WOMAN),
  6040.         purposeInEvent(THEMAN,
  6041.                        RETALIATION,
  6042.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  6043. %
  6044.  
  6045. tell26:11  not_possible_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors):-isa(RESPONSE,Punishing),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),call_builtin(different,THEMAN,WOMAN),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_possible_t('optionAvailableToAgent-SitType',
  6046.                                                                                                                                                                                                                                                 THEMAN,
  6047.                                                                                                                                                                                                                                                 RETALIATION,
  6048.                                                                                                                                                                                                                                                 deliberateActors) :-
  6049.         w_infer_by(tell26:12),
  6050.         not('optionAvailableToAgent-SitType'(THEMAN,
  6051.                                              RETALIATION,
  6052.                                              deliberateActors)),
  6053.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  6054.         different(THEMAN, WOMAN),
  6055.         isa(RESPONSE, 'Punishing'),
  6056.         intendedMaleficiary(CRIME, THEMAN),
  6057.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  6058.         intendedMaleficiary(RETALIATION, WOMAN),
  6059.         maleficiary(RESPONSE, WOMAN),
  6060.         deliberateActors(CRIME, WOMAN),
  6061.         purposeInEvent(THEMAN,
  6062.                        RETALIATION,
  6063.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  6064. %
  6065.  
  6066. tell26:12  not_possible_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors):-not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(maleficiary,RESPONSE,WOMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(behaviorCapable,
  6067.                                                                                                                                                                                                                                               THEMAN,
  6068.                                                                                                                                                                                                                                               RESPONSE,
  6069.                                                                                                                                                                                                                                               deliberateActors) :-
  6070.         w_infer_by(tell26:13),
  6071.         poss(behaviorCapable(THEMAN, RESPONSE, deliberateActors)),
  6072.         isa(RESPONSE, 'Punishing'),
  6073.         different(THEMAN, WOMAN),
  6074.         maleficiary(RESPONSE, WOMAN),
  6075.         not('optionAvailableToAgent-SitType'(THEMAN,
  6076.                                              RETALIATION,
  6077.                                              deliberateActors)),
  6078.         intendedMaleficiary(CRIME, THEMAN),
  6079.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  6080.         deliberateActors(CRIME, WOMAN),
  6081.         intendedMaleficiary(RETALIATION, WOMAN),
  6082.         purposeInEvent(THEMAN,
  6083.                        RETALIATION,
  6084.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  6085. %
  6086.  
  6087. tell26:13  not_true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors):-possible_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),isa(RESPONSE,Punishing),call_builtin(different,THEMAN,WOMAN),true_t(maleficiary,RESPONSE,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(deliberateActors,CRIME,WOMAN),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).not_true_t(purposeInEvent,
  6088.                                                                                                                                                                                                                                             THEMAN,
  6089.                                                                                                                                                                                                                                             RETALIATION,
  6090.                                                                                                                                                                                                                                             (not_isa(ANOTRACT, 'PurposefulAction');not_true_t(startsAfterEndingOf, ANOTRACT, CRIME);not_true_t(maleficiary, ANOTRACT, THEMAN);not_true_t(deliberateActors, ANOTRACT, WOMAN))) :-
  6091.         w_infer_by(tell26:14),
  6092.         different(THEMAN, WOMAN),
  6093.         not('optionAvailableToAgent-SitType'(THEMAN,
  6094.                                              RETALIATION,
  6095.                                              deliberateActors)),
  6096.         intendedMaleficiary(CRIME, THEMAN),
  6097.         deliberateActors(CRIME, WOMAN),
  6098.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  6099.         intendedMaleficiary(RETALIATION, WOMAN),
  6100.         isa(RESPONSE, 'Punishing'),
  6101.         maleficiary(RESPONSE, WOMAN),
  6102.         behaviorCapable(THEMAN, RESPONSE, deliberateActors).
  6103. %
  6104.  
  6105. tell26:14  not_true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))):-call_builtin(different,THEMAN,WOMAN),not_true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(deliberateActors,CRIME,WOMAN),isa(RETALIATION,AttemptingFn(Punishing)),true_t(intendedMaleficiary,RETALIATION,WOMAN),isa(RESPONSE,Punishing),true_t(maleficiary,RESPONSE,WOMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors).true_t('optionAvailableToAgent-SitType',
  6106.                                                                                                                                                                                                                                                    THEMAN,
  6107.                                                                                                                                                                                                                                                    RETALIATION,
  6108.                                                                                                                                                                                                                                                    deliberateActors) :-
  6109.         w_infer_by(tell26:15),
  6110.         poss('optionAvailableToAgent-SitType'(THEMAN,
  6111.                                               RETALIATION,
  6112.                                               deliberateActors)),
  6113.         isa(RETALIATION, 'AttemptingFn'('Punishing')),
  6114.         different(THEMAN, WOMAN),
  6115.         isa(RESPONSE, 'Punishing'),
  6116.         intendedMaleficiary(CRIME, THEMAN),
  6117.         behaviorCapable(THEMAN, RESPONSE, deliberateActors),
  6118.         intendedMaleficiary(RETALIATION, WOMAN),
  6119.         maleficiary(RESPONSE, WOMAN),
  6120.         deliberateActors(CRIME, WOMAN),
  6121.         purposeInEvent(THEMAN,
  6122.                        RETALIATION,
  6123.                        (not(isa(ANOTRACT, 'PurposefulAction'));not(startsAfterEndingOf(ANOTRACT, CRIME));not(maleficiary(ANOTRACT, THEMAN));not(deliberateActors(ANOTRACT, WOMAN)))).
  6124. %
  6125.  
  6126. tell26:15  true_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors):-possible_t(optionAvailableToAgent-SitType,THEMAN,RETALIATION,deliberateActors),isa(RETALIATION,AttemptingFn(Punishing)),call_builtin(different,THEMAN,WOMAN),isa(RESPONSE,Punishing),true_t(intendedMaleficiary,CRIME,THEMAN),true_t(behaviorCapable,THEMAN,RESPONSE,deliberateActors),true_t(intendedMaleficiary,RETALIATION,WOMAN),true_t(maleficiary,RESPONSE,WOMAN),true_t(deliberateActors,CRIME,WOMAN),true_t(purposeInEvent,THEMAN,RETALIATION, (not_isa(ANOTRACT,PurposefulAction);not_true_t(startsAfterEndingOf,ANOTRACT,CRIME);not_true_t(maleficiary,ANOTRACT,THEMAN);not_true_t(deliberateActors,ANOTRACT,WOMAN))).
  6127. true ;
  6128.  
  6129.  
  6130.  
  6131. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6132. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6133. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6134. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6135. kif :-
  6136.  
  6137.         [ '\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))'
  6138.         ].
  6139. pkif :-
  6140.  
  6141.         [ '\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))'
  6142.         ].
  6143. cnf :-
  6144.         '\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))'.
  6145. %
  6146.  
  6147. tell27:0
  6148. (implies
  6149.        (and
  6150.            (different ?THEMAN ?WOMAN)
  6151.            (intendedMaleficiary ?CRIME ?THEMAN)
  6152.            (deliberateActors ?CRIME ?WOMAN)
  6153.            (behaviorCapable ?THEMAN
  6154.                (CollectionSubsetFn Punishing
  6155.                    (TheSetOf ?RESPONSE
  6156.                        (maleficiary ?RESPONSE ?WOMAN))) deliberateActors))
  6157.  
  6158.        (optionAvailableToAgent-SitType ?THEMAN
  6159.            (CollectionSubsetFn
  6160.                (AttemptingFn Punishing)
  6161.                (TheSetOf ?RETALIATION
  6162.                    (and
  6163.                        (intendedMaleficiary ?RETALIATION ?WOMAN)
  6164.                        (purposeInEvent ?THEMAN ?RETALIATION
  6165.                            (not
  6166.                                (thereExists ?ANOTRACT
  6167.                                    (and
  6168.                                        (isa ?ANOTRACT PurposefulAction)
  6169.                                        (startsAfterEndingOf ?ANOTRACT ?CRIME)
  6170.                                        (maleficiary ?ANOTRACT ?THEMAN)
  6171.                                        (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors)).
  6172. tell27:0
  6173. (implies
  6174.        (and
  6175.            (different ?THEMAN ?WOMAN)
  6176.            (intendedMaleficiary ?CRIME ?THEMAN)
  6177.            (deliberateActors ?CRIME ?WOMAN)
  6178.            (behaviorCapable ?THEMAN
  6179.                (CollectionSubsetFn Punishing
  6180.                    (TheSetOf ?RESPONSE
  6181.                        (maleficiary ?RESPONSE ?WOMAN))) deliberateActors))
  6182.  
  6183.        (optionAvailableToAgent-SitType ?THEMAN
  6184.            (CollectionSubsetFn
  6185.                (AttemptingFn Punishing)
  6186.                (TheSetOf ?RETALIATION
  6187.                    (and
  6188.                        (intendedMaleficiary ?RETALIATION ?WOMAN)
  6189.                        (purposeInEvent ?THEMAN ?RETALIATION
  6190.                            (not
  6191.                                (thereExists ?ANOTRACT
  6192.                                    (and
  6193.                                        (isa ?ANOTRACT PurposefulAction)
  6194.                                        (startsAfterEndingOf ?ANOTRACT ?CRIME)
  6195.                                        (maleficiary ?ANOTRACT ?THEMAN)
  6196.                                        (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors)).pttp :-
  6197.  
  6198.         [ ('\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))':-true)
  6199.         ].
  6200. %
  6201. '\n(implies \n       (and \n           (different ?THEMAN ?WOMAN) \n           (intendedMaleficiary ?CRIME ?THEMAN) \n           (deliberateActors ?CRIME ?WOMAN) \n           (behaviorCapable ?THEMAN \n               (CollectionSubsetFn Punishing \n                   (TheSetOf ?RESPONSE \n                       (maleficiary ?RESPONSE ?WOMAN))) deliberateActors)) \n\n       (optionAvailableToAgent-SitType ?THEMAN \n           (CollectionSubsetFn \n               (AttemptingFn Punishing) \n               (TheSetOf ?RETALIATION \n                   (and \n                       (intendedMaleficiary ?RETALIATION ?WOMAN) \n                       (purposeInEvent ?THEMAN ?RETALIATION \n                           (not \n                               (thereExists ?ANOTRACT \n                                   (and \n                                       (isa ?ANOTRACT PurposefulAction) \n                                       (startsAfterEndingOf ?ANOTRACT ?CRIME) \n                                       (maleficiary ?ANOTRACT ?THEMAN) \n                                       (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors))' :-
  6202.         w_infer_by(tell27:0),
  6203.         [].
  6204. %
  6205.  
  6206. tell27:0
  6207. (implies
  6208.        (and
  6209.            (different ?THEMAN ?WOMAN)
  6210.            (intendedMaleficiary ?CRIME ?THEMAN)
  6211.            (deliberateActors ?CRIME ?WOMAN)
  6212.            (behaviorCapable ?THEMAN
  6213.                (CollectionSubsetFn Punishing
  6214.                    (TheSetOf ?RESPONSE
  6215.                        (maleficiary ?RESPONSE ?WOMAN))) deliberateActors))
  6216.  
  6217.        (optionAvailableToAgent-SitType ?THEMAN
  6218.            (CollectionSubsetFn
  6219.                (AttemptingFn Punishing)
  6220.                (TheSetOf ?RETALIATION
  6221.                    (and
  6222.                        (intendedMaleficiary ?RETALIATION ?WOMAN)
  6223.                        (purposeInEvent ?THEMAN ?RETALIATION
  6224.                            (not
  6225.                                (thereExists ?ANOTRACT
  6226.                                    (and
  6227.                                        (isa ?ANOTRACT PurposefulAction)
  6228.                                        (startsAfterEndingOf ?ANOTRACT ?CRIME)
  6229.                                        (maleficiary ?ANOTRACT ?THEMAN)
  6230.                                        (deliberateActors ?ANOTRACT ?WOMAN)))))))) deliberateActors)):-[].
  6231. true ;
  6232.  
  6233.  
  6234.  
  6235. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6236. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6237. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6238. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6239. kif :-
  6240.  
  6241.         [ beliefs('InternationalCommunity'),
  6242.           [ex[WEAP], [isa(WEAP, 'ChemicalWeapon'), possesses('Israel', WEAP)]]
  6243.         ].
  6244. pkif :-
  6245.  
  6246.         [ implies,
  6247.  
  6248.           [ poss(KB,
  6249.                  [beliefs('InternationalCommunity'), [possesses('Israel', WEAP)]])
  6250.           ],
  6251.           (=>),
  6252.  
  6253.           [ implies,
  6254.  
  6255.             [ poss(KB,
  6256.  
  6257.                    [ beliefs('InternationalCommunity'),
  6258.                      [isa(WEAP, 'ChemicalWeapon')]
  6259.                    ])
  6260.             ],
  6261.             (=>),
  6262.  
  6263.             [ beliefs('InternationalCommunity'),
  6264.               [ex[WEAP], [isa(WEAP, 'ChemicalWeapon'), possesses('Israel', WEAP)]]
  6265.             ]
  6266.           ]
  6267.         ].
  6268. cnf :-
  6269.         (   not(beliefs('InternationalCommunity', possesses('Israel', WEAP)))
  6270.         ;   not(beliefs('InternationalCommunity', isa(WEAP, 'ChemicalWeapon')))
  6271.         ;   beliefs('InternationalCommunity',
  6272.                     (not(skolem(WEAP, skIsChemicalweaponInUnkArg2ofPossessesFn));isa(WEAP, 'ChemicalWeapon'), possesses('Israel', WEAP)))
  6273.         ).
  6274. %
  6275.  
  6276. tell52:0  not_true_t(beliefs,InternationalCommunity,possesses(Israel,WEAP));not_true_t(beliefs,InternationalCommunity,isa(WEAP,ChemicalWeapon));true_t(beliefs,InternationalCommunity, (not_call_builtin(skolem,WEAP,skIsChemicalweaponInUnkArg2ofPossessesFn);isa(WEAP,ChemicalWeapon),true_t(possesses,Israel,WEAP))).pttp :-
  6277.  
  6278.         [ (not_true_t(beliefs, 'InternationalCommunity', isa(WEAP, 'ChemicalWeapon')):-true_t(beliefs, 'InternationalCommunity', possesses('Israel', WEAP)), not_true_t(beliefs, 'InternationalCommunity', (not_call_builtin(skolem, WEAP, skIsChemicalweaponInUnkArg2ofPossessesFn);isa(WEAP, 'ChemicalWeapon'), true_t(possesses, 'Israel', WEAP)))),
  6279.           (not_true_t(beliefs, 'InternationalCommunity', possesses('Israel', WEAP)):-true_t(beliefs, 'InternationalCommunity', isa(WEAP, 'ChemicalWeapon')), not_true_t(beliefs, 'InternationalCommunity', (not_call_builtin(skolem, WEAP, skIsChemicalweaponInUnkArg2ofPossessesFn);isa(WEAP, 'ChemicalWeapon'), true_t(possesses, 'Israel', WEAP)))),
  6280.           (true_t(beliefs, 'InternationalCommunity', (not_call_builtin(skolem, WEAP, skIsChemicalweaponInUnkArg2ofPossessesFn);isa(WEAP, 'ChemicalWeapon'), true_t(possesses, 'Israel', WEAP))):-true_t(beliefs, 'InternationalCommunity', possesses('Israel', WEAP)), true_t(beliefs, 'InternationalCommunity', isa(WEAP, 'ChemicalWeapon')))
  6281.         ].
  6282. %
  6283. not_true_t(beliefs, 'InternationalCommunity', isa(WEAP, 'ChemicalWeapon')) :-
  6284.         w_infer_by(tell52:0),
  6285.         beliefs('InternationalCommunity', possesses('Israel', WEAP)),
  6286.         not(beliefs('InternationalCommunity',
  6287.                     (not(skolem(WEAP, skIsChemicalweaponInUnkArg2ofPossessesFn));isa(WEAP, 'ChemicalWeapon'), possesses('Israel', WEAP)))).
  6288. %
  6289.  
  6290. tell52:0  not_true_t(beliefs,InternationalCommunity,isa(WEAP,ChemicalWeapon)):-true_t(beliefs,InternationalCommunity,possesses(Israel,WEAP)),not_true_t(beliefs,InternationalCommunity, (not_call_builtin(skolem,WEAP,skIsChemicalweaponInUnkArg2ofPossessesFn);isa(WEAP,ChemicalWeapon),true_t(possesses,Israel,WEAP))).not_true_t(beliefs,
  6291.                                                                                                                                                                                                                                                 'InternationalCommunity',
  6292.                                                                                                                                                                                                                                                 possesses('Israel',
  6293.                                                                                                                                                                                                                                                   WEAP)) :-
  6294.         w_infer_by(tell52:1),
  6295.         beliefs('InternationalCommunity', isa(WEAP, 'ChemicalWeapon')),
  6296.         not(beliefs('InternationalCommunity',
  6297.                     (not(skolem(WEAP, skIsChemicalweaponInUnkArg2ofPossessesFn));isa(WEAP, 'ChemicalWeapon'), possesses('Israel', WEAP)))).
  6298. %
  6299.  
  6300. tell52:1  not_true_t(beliefs,InternationalCommunity,possesses(Israel,WEAP)):-true_t(beliefs,InternationalCommunity,isa(WEAP,ChemicalWeapon)),not_true_t(beliefs,InternationalCommunity, (not_call_builtin(skolem,WEAP,skIsChemicalweaponInUnkArg2ofPossessesFn);isa(WEAP,ChemicalWeapon),true_t(possesses,Israel,WEAP))).true_t(beliefs,
  6301.                                                                                                                                                                                                                                             'InternationalCommunity',
  6302.                                                                                                                                                                                                                                             (not_call_builtin(skolem, WEAP, skIsChemicalweaponInUnkArg2ofPossessesFn);isa(WEAP, 'ChemicalWeapon'), true_t(possesses, 'Israel', WEAP))) :-
  6303.         w_infer_by(tell52:2),
  6304.         beliefs('InternationalCommunity', possesses('Israel', WEAP)),
  6305.         beliefs('InternationalCommunity', isa(WEAP, 'ChemicalWeapon')).
  6306. %
  6307.  
  6308. tell52:2  true_t(beliefs,InternationalCommunity, (not_call_builtin(skolem,WEAP,skIsChemicalweaponInUnkArg2ofPossessesFn);isa(WEAP,ChemicalWeapon),true_t(possesses,Israel,WEAP))):-true_t(beliefs,InternationalCommunity,possesses(Israel,WEAP)),true_t(beliefs,InternationalCommunity,isa(WEAP,ChemicalWeapon)).
  6309. true ;
  6310.  
  6311.  
  6312.  
  6313. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6314. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6315. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6316. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6317. kif :-
  6318.  
  6319.         [ '\n(beliefs InternationalCommunity \n       (thereExists ?WEAP \n           (and \n               (isa ?WEAP ChemicalWeapon) \n               (possesses Israel ?WEAP))))'
  6320.         ].
  6321. pkif :-
  6322.  
  6323.         [ '\n(beliefs InternationalCommunity \n       (thereExists ?WEAP \n           (and \n               (isa ?WEAP ChemicalWeapon) \n               (possesses Israel ?WEAP))))'
  6324.         ].
  6325. cnf :-
  6326.         '\n(beliefs InternationalCommunity \n       (thereExists ?WEAP \n           (and \n               (isa ?WEAP ChemicalWeapon) \n               (possesses Israel ?WEAP))))'.
  6327. %
  6328.  
  6329. tell53:0
  6330. (beliefs InternationalCommunity
  6331.        (thereExists ?WEAP
  6332.            (and
  6333.                (isa ?WEAP ChemicalWeapon)
  6334.                (possesses Israel ?WEAP)))).
  6335. tell53:0
  6336. (beliefs InternationalCommunity
  6337.        (thereExists ?WEAP
  6338.            (and
  6339.                (isa ?WEAP ChemicalWeapon)
  6340.                (possesses Israel ?WEAP)))).pttp :-
  6341.  
  6342.         [ ('\n(beliefs InternationalCommunity \n       (thereExists ?WEAP \n           (and \n               (isa ?WEAP ChemicalWeapon) \n               (possesses Israel ?WEAP))))':-true)
  6343.         ].
  6344. %
  6345. '\n(beliefs InternationalCommunity \n       (thereExists ?WEAP \n           (and \n               (isa ?WEAP ChemicalWeapon) \n               (possesses Israel ?WEAP))))' :-
  6346.         w_infer_by(tell53:0),
  6347.         [].
  6348. %
  6349.  
  6350. tell53:0
  6351. (beliefs InternationalCommunity
  6352.        (thereExists ?WEAP
  6353.            (and
  6354.                (isa ?WEAP ChemicalWeapon)
  6355.                (possesses Israel ?WEAP)))):-[].
  6356. true ;
  6357.  
  6358.  
  6359.  
  6360. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6361. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6362. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6363. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6364. kif :-
  6365.  
  6366.         [ all[N3],
  6367.  
  6368.           [ implies,
  6369.             [isa(N3, tAgent)],
  6370.             (=>),
  6371.             [ex[O3], [isa(O3, tNose), mudContains(N3, O3)]]
  6372.           ]
  6373.         ].
  6374. pkif :-
  6375.  
  6376.         [ implies,
  6377.           [poss(KB, mudContains(N3, O3))],
  6378.           (=>),
  6379.  
  6380.           [ all[N3],
  6381.  
  6382.             [ implies,
  6383.               [isa(N3, tAgent)],
  6384.               (=>),
  6385.               [ex[O3], [isa(O3, tNose), mudContains(N3, O3)]]
  6386.             ]
  6387.           ]
  6388.         ].
  6389. cnf :-
  6390.         (   not(possible_t(mudContains(N3, O3)))
  6391.         ;   not(isa(N3, tAgent))
  6392.         ;   not(skolem(O3, skIsNoseInUnkArg2ofContainsFn(N3)))
  6393.         ;   isa(O3, tNose)
  6394.         ),
  6395.         (   not(possible_t(mudContains(N3, O3)))
  6396.         ;   not(isa(N3, tAgent))
  6397.         ;   not(skolem(O3, skIsNoseInUnkArg2ofContainsFn(N3)))
  6398.         ;   mudContains(N3, O3)
  6399.         ).
  6400. %
  6401.  
  6402. tell54:0  not_possible_t(mudContains,N3,O3);not_isa(N3,tAgent);not_call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3));isa(O3,tNose).
  6403. %                 todo(warn(builtin_why(mudContains, 2, number_of_rules(1)))).
  6404. %
  6405. %                todo(warn(pttp_builtin(mudContains, 2))).
  6406. %
  6407.  
  6408. tell54:1  not_possible_t(mudContains,N3,O3);not_isa(N3,tAgent);not_call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3));call_builtin(mudContains,N3,O3).pttp :-
  6409.  
  6410.         [ (isa(O3, tNose):-possible_t(mudContains, N3, O3), isa(N3, tAgent), call_builtin(skolem, O3, skIsNoseInUnkArg2ofContainsFn(N3))),
  6411.           (not_isa(N3, tAgent):-possible_t(mudContains, N3, O3), call_builtin(skolem, O3, skIsNoseInUnkArg2ofContainsFn(N3)), not_isa(O3, tNose)),
  6412.           (not_isa(N3, tAgent):-possible_t(mudContains, N3, O3), call_builtin(skolem, O3, skIsNoseInUnkArg2ofContainsFn(N3)), not_call_builtin(mudContains, N3, O3)),
  6413.           (call_builtin(mudContains, N3, O3):-possible_t(mudContains, N3, O3), isa(N3, tAgent), call_builtin(skolem, O3, skIsNoseInUnkArg2ofContainsFn(N3))),
  6414.           (not_call_builtin(skolem, O3, skIsNoseInUnkArg2ofContainsFn(N3)):-possible_t(mudContains, N3, O3), isa(N3, tAgent), not_isa(O3, tNose)),
  6415.           (not_call_builtin(skolem, O3, skIsNoseInUnkArg2ofContainsFn(N3)):-possible_t(mudContains, N3, O3), isa(N3, tAgent), not_call_builtin(mudContains, N3, O3)),
  6416.           (not_possible_t(mudContains, N3, O3):-isa(N3, tAgent), call_builtin(skolem, O3, skIsNoseInUnkArg2ofContainsFn(N3)), not_isa(O3, tNose)),
  6417.           (not_possible_t(mudContains, N3, O3):-isa(N3, tAgent), call_builtin(skolem, O3, skIsNoseInUnkArg2ofContainsFn(N3)), not_call_builtin(mudContains, N3, O3))
  6418.         ].
  6419. %
  6420. ;isa(O3, tNose) :-
  6421.         w_infer_by(tell54:0),
  6422.         poss(mudContains(N3, O3)),
  6423.         isa(N3, tAgent),
  6424.         skolem(O3, skIsNoseInUnkArg2ofContainsFn(N3)).
  6425. %
  6426.  
  6427. tell54:0  isa(O3,tNose):-possible_t(mudContains,N3,O3),isa(N3,tAgent),call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3)).not_isa(N3, tAgent) :-
  6428.         w_infer_by(tell54:1),
  6429.         poss(mudContains(N3, O3)),
  6430.         skolem(O3, skIsNoseInUnkArg2ofContainsFn(N3)),
  6431.         not(isa(O3, tNose)).
  6432. %
  6433. ;
  6434. tell54:1  not_isa(N3,tAgent):-possible_t(mudContains,N3,O3),call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3)),not_isa(O3,tNose).not_isa(N3, tAgent) :-
  6435.         w_infer_by(tell54:2),
  6436.         poss(mudContains(N3, O3)),
  6437.         skolem(O3, skIsNoseInUnkArg2ofContainsFn(N3)),
  6438.         not(mudContains(N3, O3)).
  6439. %
  6440.  
  6441. ;tell54:2  not_isa(N3,tAgent):-possible_t(mudContains,N3,O3),call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3)),not_call_builtin(mudContains,N3,O3).call_builtin(mudContains,
  6442.                                                                                                                                                                        N3,
  6443.                                                                                                                                                                        O3) :-
  6444.         w_infer_by(tell54:3),
  6445.         poss(mudContains(N3, O3)),
  6446.         isa(N3, tAgent),
  6447.         skolem(O3, skIsNoseInUnkArg2ofContainsFn(N3)).
  6448. %
  6449.  
  6450. tell54:3  call_builtin(mudContains,N3,O3):-possible_t(mudContains,N3,O3),isa(N3,tAgent),call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3)).not_call_builtin(skolem,
  6451.                                                                                                                                                                    O3,
  6452.                                                                                                                                                                    skIsNoseInUnkArg2ofContainsFn(N3)) :-
  6453.         w_infer_by(tell54:4),
  6454.         poss(mudContains(N3, O3)),
  6455.         isa(N3, tAgent),
  6456.         not(isa(O3, tNose)).
  6457. %
  6458. ;
  6459. tell54:4  not_call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3)):-possible_t(mudContains,N3,O3),isa(N3,tAgent),not_isa(O3,tNose).not_call_builtin(skolem,
  6460.                                                                                                                                                          O3,
  6461.                                                                                                                                                          skIsNoseInUnkArg2ofContainsFn(N3)) :-
  6462.         w_infer_by(tell54:5),
  6463.         poss(mudContains(N3, O3)),
  6464.         isa(N3, tAgent),
  6465.         not(mudContains(N3, O3)).
  6466. %
  6467.  
  6468. tell54:5  not_call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3)):-possible_t(mudContains,N3,O3),isa(N3,tAgent),not_call_builtin(mudContains,N3,O3).not_possible_t(mudContains,
  6469.                                                                                                                                                                          N3,
  6470.                                                                                                                                                                          O3) :-
  6471.         w_infer_by(tell54:6),
  6472.         isa(N3, tAgent),
  6473.         skolem(O3, skIsNoseInUnkArg2ofContainsFn(N3)),
  6474.         not(isa(O3, tNose)).
  6475. %
  6476.  
  6477. ;tell54:6  not_possible_t(mudContains,N3,O3):-isa(N3,tAgent),call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3)),not_isa(O3,tNose).not_possible_t(mudContains,
  6478.                                                                                                                                                        N3,
  6479.                                                                                                                                                        O3) :-
  6480.         w_infer_by(tell54:7),
  6481.         isa(N3, tAgent),
  6482.         skolem(O3, skIsNoseInUnkArg2ofContainsFn(N3)),
  6483.         not(mudContains(N3, O3)).
  6484. %
  6485.  
  6486. ;tell54:7  not_possible_t(mudContains,N3,O3):-isa(N3,tAgent),call_builtin(skolem,O3,skIsNoseInUnkArg2ofContainsFn(N3)),not_call_builtin(mudContains,N3,O3).
  6487. true.
  6488.  
  6489. ?-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement