IN: Which person is he?
Jack the ripper killed John, but he was not caught yet.
OUT: Jack

IN: Which person is he?
The master rewarded the dog because he was a good companion.
OUT: the dog

IN: Which person is he?
Jimbo ate the fish that Bobbert prepared because he was a good cook.
OUT: Bobbert

IN: Which person is they?
Scribes were often hired by nobles in the Medieval period since they had the ability to read and write.
OUT:
Scribes