The method for detecting and deleting conflicts or contradiction in a database, and its modification for working with the knowledgebase are proposed. It shown, that another modern methods for conflicts avoiding are used the ontology, but they oriented only for a working with data or can not to resolve the conflicts. The proposed method is based on using of conflicts ontology, and conflicts elimination fulfilled in automatic or in a computer-aided regime. In complicated cases of a logical contradictions the elimination of ontology or of connections between sides of conflict is used. -Bibl. 19 items.* Работа поддержана темой РАН и БАН "Моделирование и интеллектуальное управление сложных систем" и проектом "Динамические онтологии в многоагентных информационных и управляющих системах" Министерства образования и науки -Республика Болгария.