Input: Sentence 1: He walked back to a small corner of the smithy where filthy rags made a floor bed. Sentence 2: There was a regular mattress on a frame in the corner of the smithy.
Output: 

 yes