Input: Sentence 1: Nearby Canongate Church was built in 1688, and the churchyard has a number of famous residents.  Sentence 2: Nobody was allowed to live in the churchyard of Canongate Church.
Output: 

 yes