Case-based reasoning and the deep structure approach to knowledge representation