Contract is related to Legal. Legal is related to Lawyer. 
Ritual is a type of Custom. Custom is a synonym of Tradition. 
Contract <--RelatedTo--> Legal <--RelatedTo--> Lawyer 
Ritual --IsA--> Custom <--Synonym--> Tradition 