Temple is part of Head. Temple is related to Ancient. Ancient is similar to Past. Past is related to Due. 
Ceiling is related to Roof. Roof is part of Building. 
Head <--PartOf-- Temple <--RelatedTo--> Ancient <--SimilarTo--> Past <--RelatedTo--> Due 
Ceiling <--RelatedTo--> Roof --PartOf--> Building 