Temple can be used for Pray. Temple is related to Church. Church is related to Parish. 
Prosecutor is related to Degree. 
Pray <--UsedFor-- Temple <--RelatedTo--> Church <--RelatedTo--> Parish 
Prosecutor <--RelatedTo--> Degree 