Compound predicate
One predicate logically operating with another predicate creates a compound predicate.
The following predicates are compound predicates:
- An atomic predicate that operates with another atomic predicate:
atomic_predicate binary_logic_operator atomic_predicate
- An atomic predicate that operates with a compound predicate:
atomic_predicate binary_logic_operator compound_predicate
- A compound predicate that operates with an atomic predicate:
compound_predicate binary_logic_operator atomic_predicate
- An atomic predicate with a unary logical operator:
unary_logic_operator atomic_predicate
- A compound predicate with a unary logical operator:
unary_logic_operator compound_predicate
The query language defines two binary logical operators:
and or
The query language defines one unary logical operator:
not