House is related to Doorway. Doorway is related to Gate. 
Bill is related to Accounting. Accounting is related to Test. 
House <--RelatedTo--> Doorway <--RelatedTo--> Gate 
Bill <--RelatedTo--> Accounting <--RelatedTo--> Test 