-
Notifications
You must be signed in to change notification settings - Fork 0
/
test3_abducible.pl
34 lines (26 loc) · 1011 Bytes
/
test3_abducible.pl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
must_not(Actor, accept, Appointment) :-
legal_practitioner(Actor),
executive_appointment(Appointment),
associated_with(Appointment,Business),
business(Business),
described_in_s1(Business).
must_not(Actor, accept, Appointment) :-
legal_practitioner(Actor),
executive_appointment(Appointment),
associated_with(Appointment,Business),
business(Business),
materially_interferes_with(Business,practicing_as_a_lawyer,Actor),
primary_occupation_of(Actor,practicing_as_a_lawyer).
executive_appointment(X) :- position(X), entitles_holder(X), in(X,Y), business_entity(Y).
business_entity(X) :- carries_on(X,Y), business(Y), corporation(X).
#abducible entitles_holder(X).
#abducible in(X,Y).
#abducible carries_on(X,Y).
#abducible associated_with(X,Y).
#abducible materially_interferes_with(X,Y,Z).
#abducible primary_occupation_of(X,Y).
#abducible legal_practitioner(X).
#abducible corporation(X).
#abducible position(X).
#abducible business(X).
?- must_not(X,accept,Y).