A1, ... , An; B1, ... , Bm
The predicate ; (or) executes first the left goal A1, ... , An and if it fails or on Next Answer executes the right B1, ... , Bm .
The priority of ; (or) is smaller then the priority of comma.
In if-then-else predicate you can use ; instead of else (for compatibility with other Prolog compilers).
(X<2 ; X>3). % true outside from the interval from two to three