Prosecutor is related to Courtroom. 
Foot is related to Base. Base is a synonym of Floor. Floor can be Dirty. Dirty is related to Farmer. 
Prosecutor <--RelatedTo--> Courtroom 
Foot <--RelatedTo--> Base <--Synonym--> Floor --HasProperty--> Dirty <--RelatedTo--> Farmer 