Wife is related to Female. Female is a synonym of Girlfriend. Girlfriend is a type of Lover. 
Invention is created by Imagination. Motor is a type of Invention. 
Wife <--RelatedTo--> Female <--Synonym--> Girlfriend --IsA--> Lover 
Imagination <--CreatedBy-- Invention <--IsA-- Motor 