Did you know ... Search Documentation:
Predicate chain/2