Ego is related to Awareness. Awareness requires Consciousness. Self is a type of Consciousness. 
Plane is a type of River. 
Ego <--RelatedTo--> Awareness --HasPrerequisite--> Consciousness <--IsA-- Self 
Plane --IsA--> River 