Law is related to Arrest. Arrest is a synonym of Stay. 
Judge is related to Trial. Trial is related to Judicial. 
Law <--RelatedTo--> Arrest <--Synonym--> Stay 
Judge <--RelatedTo--> Trial <--RelatedTo--> Judicial 