Pile is a type of Money. Money is related to Root. 
Head is a type of Structure. Head is a type of Be. Compare is a type of Be. 
Pile --IsA--> Money <--RelatedTo--> Root 
Structure <--IsA-- Head --IsA--> Be <--IsA-- Compare 