Sentence: Tom ate what Mary offered to him.

Linguistic integrity: acceptable

Sentence: We caught them ate the bananas.

Linguistic integrity: unacceptable

Sentence: He took John to the school by the park.
Linguistic integrity: acceptable