Is the following sentence linguistically acceptable?
John believes to have slept.

unacceptable

Is the following sentence linguistically acceptable?
Heidi believes John's description of herself.

unacceptable

Is the following sentence linguistically acceptable?
There was a dragon in the cave.

acceptable

Is the following sentence linguistically acceptable?
Students objected to the teacher.
acceptable