Female is related to Cow. Cow is related to Domestic. Domestic is related to Dog. 
Ideal is related to Good. 
Female <--RelatedTo--> Cow <--RelatedTo--> Domestic <--RelatedTo--> Dog 
Ideal <--RelatedTo--> Good 