%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % File: trigger.db % This file stores information for all trigger occurrences. :- multifile dyn/1. :- dynamic dyn/1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % event_occ/7 % % if the customer has more than one special requirements, % each special requirement is represented in a special_req predicate. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% dyn(event_occ(e1, customer_request_for_pc_specification, received/[], medium, 1/_End_time, (john/customer, _Receiver/pc_specification), [entity(john, customer, [sex/male, dob/jan011977, email/jessica_aiai_ed_ac_uk, event/[t1] ] ), instance_of(t1, customer_requirements, [total_cost(M), less_than(M, 1000)]) ] )). /*********** dyn(event_occ(e2, customer_request_for_pc_specification, received/[], high, 4/_End_time, (mary/customer, _Receiver/pc_specification), [entity(mary, customer, [sex/female, dob/july151974, event/[t2] ]), instance_of(t2, customer_requirements, [total_cost(M), less_than(M, 1000), special_req(_, capability, fast_graphics) ]) ] )). dyn(event_occ(e3, customer_request_for_pc_specification, received/[], high, 4/_End_time, (lisa/customer, _Receiver/pc_specification), [entity(lisa, customer, [sex/female, age/22, event/[t3] ]), instance_of(t3, customer_requirement, [] ) ] )). ***********/ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%