instruction: Is the next sentence syntactically and semantically acceptable?

Gwen exchanged the dress for Mary.

response: acceptable

instruction: Is the next sentence syntactically and semantically acceptable?

Mary waited for the bus and to go home.

response: unacceptable

instruction: Is the next sentence syntactically and semantically acceptable?

the box we put the books in is sealed.

response: acceptable

instruction: Is the next sentence syntactically and semantically acceptable?

Who did he expect to show up who I was acquainted with?

response:
acceptable