Main is related to Headquarters. 
Gender is related to Guy. Guy is related to Reference. Reference is a type of Meaning. 
Main <--RelatedTo--> Headquarters 
Gender <--RelatedTo--> Guy <--RelatedTo--> Reference --IsA--> Meaning 