Are "Ann" and "she" the same in this sentence?
Ann asked Mary what time the library closes, because *she* had forgotten.
yes