For the relationship
(A AND B)
:
A
B
For the relationship
(A OR B)
:
A
B
For the relationship
A AND (B AND (M OR N) AND Z) AND (E OR (P AND Q) OR S) AND F AND (G OR H OR I)
:
A
B
M
N
Z
E
P
Q
S
F
G
H
I