A neural approach to knowledge base systems