To solve the semantic conflicts in the cooperation of heterogenous databases, we propose a multi-agent system which contains domain ontologies. When a local source is added by an expert, ontology is dynamically created by the system. The expert can also completed it. It evolves with the update of the local base but also when an user performs a query. A process examines the query and creates temporary semantic links. These must be validated or not by the user. The result validation implies the version creation from temporary links. The modification and deletion of database elements by the expert perform the ontology evolution. Our research work treats evolution by the version concept.