Premise: When he died in 1624, he bequeathed his fortune to the education and upkeep of orphans, and the school was subsequently built for this purpose.

Hypothesis: The school was built for the education of orphans.
Relation: entailment