Ally is related to Diplomatic. Diplomatic is a type of Action. 
Federal is a synonym of Union. Union is a type of State. County is a type of State. County is related to Farm. 
Ally <--RelatedTo--> Diplomatic --IsA--> Action 
Federal <--Synonym--> Union --IsA--> State <--IsA-- County <--RelatedTo--> Farm 