Input: Sentence 1: Prominent Unionist M.P. Sentence 2: The MP was a prominent unionist.
Output: 

 yes