A mechanism for the automatic creation and maintenance of Knowledge Bases