Input: Sentence 1: There are in fact four separate schools within the structure and each one has its own portal and inner courtyard. Sentence 2: Each of the four schools has its own portal and courtyard.
Output: 

 yes