The simple statements are: p, q, r.
The compound statement is structured as follows: not ((p and q) or (p and r)).
{'p': True, 'q': True, 'r': True} => False
{'p': True, 'q': True, 'r': False} => False
{'p': True, 'q': False, 'r': True} => False
{'p': True, 'q': False, 'r': False} => True
{'p': False, 'q': True, 'r': True} => True
{'p': False, 'q': True, 'r': False} => True
{'p': False, 'q': False, 'r': True} => True
{'p': False, 'q': False, 'r': False} => True
The compound statement is true under the following conditions:
{'p': True, 'q': False, 'r': False}
{'p': False, 'q': True, 'r': True}
{'p': False, 'q': True, 'r': False}
{'p': False, 'q': False, 'r': True}
{'p': False, 'q': False, 'r': False}