JPH02113338A - Knowledge acquisition control system for knowledge base system - Google Patents

Knowledge acquisition control system for knowledge base system

Info

Publication number
JPH02113338A
JPH02113338A JP26772988A JP26772988A JPH02113338A JP H02113338 A JPH02113338 A JP H02113338A JP 26772988 A JP26772988 A JP 26772988A JP 26772988 A JP26772988 A JP 26772988A JP H02113338 A JPH02113338 A JP H02113338A
Authority
JP
Japan
Prior art keywords
knowledge
knowledge base
base
contradiction
rule table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP26772988A
Other languages
Japanese (ja)
Inventor
Hideki Nakanishi
仲西 秀基
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP26772988A priority Critical patent/JPH02113338A/en
Publication of JPH02113338A publication Critical patent/JPH02113338A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To improve the quality of a knowledge base and to shorten the time for the structuring of a knowledge base system by providing a decision part which decides the contradiction and deficiency of knowledge. CONSTITUTION:A rule table 52 is generated and updated according to the contents of the knowledge base 2 and a decision pattern table 51 is generated according to the acquired knowledge of a knowledge acquisition part 6 before the knowledge is acquired by the knowledge acquisition part 6. A decision part 4 refers the added knowledge with the knowledge in the knowledge base 2 indicated by the rule table 52 to decide whether or not there is contradiction. Then when the contradiction is found, that is reported to the knowledge acquisition part 6 and when not, the addition of the knowledge is reported to a knowledge base control part 3 and the rule table 52 is updated to calculate a space that the knowledge in the knowledge base 2 does not cover, thereby deciding and reporting deficient knowledge to the knowledge acquisition part 6. Consequently, the knowledge is verified without performing inference actually by an inference execution part 7, to the knowledge base having no contradiction can be structured in a short time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は知識ベースシステムの知識獲得制御方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a knowledge acquisition control method for a knowledge base system.

〔従来の技術〕[Conventional technology]

知識ベースシステムでは、専門家の知識を「工F条件T
HEN結論」というルール形式で格納し、別途与えられ
る初期条件との照合を行い、新たな結論と条件の照合を
繰返しながら結論を導くという推論処理を行う0例えば
故障診断では症状と故障箇所の関係を示すルールの記述
と故障時の診断対象の状態を基に推論を行い、故障箇所
を決定する。
In a knowledge-based system, the knowledge of experts is
HEN Conclusion" is stored in a rule format called "HEN Conclusion," which is checked against separately given initial conditions. Inference processing is performed to draw a conclusion by repeatedly checking the new conclusion and conditions. For example, in fault diagnosis, the relationship between symptoms and failure location The location of the failure is determined by making inferences based on the rule description that indicates this and the state of the diagnostic target at the time of failure.

従来の知識ベースシステムの構成例を第2図に示す。知
識ベースシステム1は、端末8を通じて、専門家より木
構造や表で表現された知識を受理し、さらには推論対象
のデータを入力する知識獲得部6は受理された知識を知
識ベースシステムの定義するルール形式などの知識表現
法へ変換し、知識ペース管理部3へ送る。知識ペース管
理部3は受理した知識の保持・修正機能により知識ベー
ス2の管理を行う。知識ベース2は専門家の知識を蓄積
している。推論実行部7は知識ベース2の内容と端末8
から入力されるデータを基に推論を行う。
An example of the configuration of a conventional knowledge base system is shown in FIG. The knowledge base system 1 receives knowledge expressed in a tree structure or table from an expert through a terminal 8, and the knowledge acquisition unit 6, which inputs data to be inferred, uses the received knowledge to define the knowledge base system. The information is converted into a knowledge expression method such as a rule format, and sent to the knowledge pace management section 3. The knowledge pace management unit 3 manages the knowledge base 2 using the received knowledge retention/modification function. Knowledge base 2 accumulates the knowledge of experts. The inference execution unit 7 uses the contents of the knowledge base 2 and the terminal 8
Make inferences based on data input from.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

専門家より入力される知識の中には条件ならびに結論の
重複や不足が多くあり、知識の獲得を行う際に完全な知
識を構築することが重要である。
There are many duplications and deficiencies in conditions and conclusions in the knowledge input by experts, and it is important to construct complete knowledge when acquiring knowledge.

しかしながら、従来は専門家より入力される知識の間の
矛盾や不足する知識の確認のためには1作成済みの知識
ベースに対して実際に推論制御部7を用いてシステムを
動作させなければならなかった。
However, in the past, in order to confirm inconsistencies and missing knowledge between knowledge input by experts, it was necessary to actually operate the system using the inference control unit 7 on the previously created knowledge base. There wasn't.

本発明の目的は、専門家の知識を知識ベースと本発明の
目的は、専門家の知識を知識ベースとして蓄積する際に
、該知識ベースの内容との間で条件ならびに結論の判定
を行うことにより獲得知識の既投人知識との矛盾等を指
摘し、また該知識ベースの内容から知識の不足の判定に
より知識ベースの不完全さを指摘することによって、知
識ベースの品質を高めると\もに知識ベースシステム構
築の時間短縮を図ることにある。
The purpose of the present invention is to store the knowledge of experts as a knowledge base, and the purpose of the present invention is to determine conditions and conclusions between the contents of the knowledge base and the contents of the knowledge base when storing the knowledge of experts as a knowledge base. It is believed that the quality of the knowledge base can be improved by pointing out inconsistencies between acquired knowledge and existing knowledge, and by pointing out incompleteness of the knowledge base by determining lack of knowledge based on the content of the knowledge base. The aim is to shorten the time required to build a knowledge base system.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明においては、知識ベー
ス、該知識ベースを管理する知識ベース管理部、知識獲
得部および推論実行部の他に、知識の矛盾ならびに不足
を判定する判定部と、知識ベースに記述されたルールの
覆う空間を表現するルールテーブル、矛盾等の判定パタ
ーンならびに判定時の動作を決めるための判定パターン
テーブルを設ける。
In order to achieve the above object, the present invention includes a knowledge base, a knowledge base management unit that manages the knowledge base, a knowledge acquisition unit, and an inference execution unit, as well as a determination unit that determines contradictions and deficiencies in knowledge, and a knowledge base management unit that manages the knowledge base, a knowledge acquisition unit, and an inference execution unit. A rule table expressing the space covered by the rules written on the base, a judgment pattern for contradictions, etc., and a judgment pattern table for determining the operation at the time of judgment are provided.

〔作 用〕[For production]

ルールテーブルは知識ベースの内容に応じて作成・更新
される。判定パターンテーブルは知識獲得部の獲得知識
に応じて該知識獲得部によって知識の獲得処理の前に作
成される。知識獲得部は判定部に対して、例えば追加知
識の矛盾判定を依頼する。判定部はルールテーブルで示
される知識ベース内の知識に追加知識を照らし合わせ、
矛盾等の有無を判定し、矛盾があればその旨を知識獲得
部へ通知し、矛盾が無ければ知識の追加を知識ペース管
理部へ通知するとNもにルールテーブルの更新を行い、
知識ベース内の知識が覆わない空間を計算することによ
って不足知識を判定し、その旨を知識獲得部へ通知する
The rule table is created and updated according to the contents of the knowledge base. The determination pattern table is created by the knowledge acquisition unit according to the knowledge acquired by the knowledge acquisition unit before the knowledge acquisition process. The knowledge acquisition unit requests the determination unit to, for example, determine the contradiction of additional knowledge. The judgment unit compares the additional knowledge with the knowledge in the knowledge base shown in the rule table,
Determine whether there is a contradiction, etc., and if there is a contradiction, notify the knowledge acquisition department of that fact, and if there is no contradiction, notify the knowledge pace management department of the addition of knowledge, then N will update the rule table,
Insufficient knowledge is determined by calculating the space that is not covered by knowledge in the knowledge base, and the knowledge acquisition unit is notified of this fact.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図に本発明による知識ベースシステムの一実施例の
構成図を示す。本知識ベースシステム1は、専門家の知
識を蓄積する知識ベース2、該知識ベース2を管理する
知識ベース管理部3.端末8より知識を獲得する知識獲
得部6、知識ベース2を基に推論を行う推論実行部7の
他に、知識獲知識と知識獲得部6から受ける知識との矛
盾等を判定する判定部4を具備している。テーブル5は
矛14等の判定パターンを表現し判定時の処理を決める
ための判定パターンテーブル51ならびに知識ベース3
内の知識を表現するルールテーブル52で構成されてい
る。
FIG. 1 shows a configuration diagram of an embodiment of a knowledge base system according to the present invention. This knowledge base system 1 includes a knowledge base 2 that accumulates knowledge of experts, a knowledge base management section 3 that manages the knowledge base 2. In addition to the knowledge acquisition unit 6 that acquires knowledge from the terminal 8 and the inference execution unit 7 that performs inference based on the knowledge base 2, there is also a determination unit 4 that determines the contradiction between the acquired knowledge and the knowledge received from the knowledge acquisition unit 6. Equipped with: Table 5 includes a judgment pattern table 51 and a knowledge base 3 for expressing judgment patterns such as spear 14 and determining processing at the time of judgment.
It is made up of a rule table 52 that expresses the knowledge within.

知識獲得部6から通知される知識は条件(I F)なら
びに結論(THEN)で構成されており、さらに該条件
ならびに結論は「かつ」で結合された述語から構成され
ている例について、以下で説明する。
The knowledge notified from the knowledge acquisition unit 6 is composed of a condition (IF) and a conclusion (THEN), and an example in which the condition and conclusion are composed of predicates connected with "and" will be described below. explain.

最初に知識獲得部6は、2つのルールの間で条件と結論
の包含関係が示す矛盾等のパターンについて判定パター
ンテーブル51に判定とそのときの処理法について設定
を行う。第3図は判定パターンテーブル51の説明図で
ある。第3図(1)は条件間または結論間の包含関係を
示している。
First, the knowledge acquisition unit 6 sets a judgment and a processing method at that time in the judgment pattern table 51 regarding a pattern such as a contradiction indicated by an inclusive relationship between a condition and a conclusion between two rules. FIG. 3 is an explanatory diagram of the determination pattern table 51. FIG. 3 (1) shows the inclusion relationship between conditions or conclusions.

第3図(2)は診断問題を対象に結論が1つの述語から
なっている場合を対象にした判定パターンテーブル51
の一例である。第3図(3)は不足テーブル51の一例
である。第3図(3)は不足知識が覆う空間の概念図を
示している。第4図は診断問題において知識獲得部6に
入力される知識の例を示したものである。また、第4図
では以後の説明のために用いる追加される知識を併せて
示している(第4図(2))。
FIG. 3 (2) shows a judgment pattern table 51 for diagnostic problems in which the conclusion consists of one predicate.
This is an example. FIG. 3(3) is an example of the shortage table 51. Figure 3 (3) shows a conceptual diagram of the space covered by insufficient knowledge. FIG. 4 shows an example of knowledge input to the knowledge acquisition section 6 in a diagnostic problem. Additionally, FIG. 4 also shows additional knowledge that will be used for subsequent explanations (FIG. 4 (2)).

ルールテーブル52では、各ルールを該条件ならびに結
論を構成する各述語毎に次元を決め、述語パターン毎に
位置を決める表現法(「ポジショナル・キューブ」と呼
ぶ)を利用する。第5図に第4図で示した知識それぞれ
に対するボジショナル・キューブを示す。第5図(1)
は第4図(1)の知識が予め知識ベース内にあったとし
て表現されたルールテーブルの一例を、第5図(2)は
第4図(2)の知識を投入するときに変換される知識の
一例を示している。
The rule table 52 uses an expression method (referred to as a "positional cube") in which the dimensions of each rule are determined for each predicate constituting the condition and conclusion, and the position is determined for each predicate pattern. FIG. 5 shows positional cubes for each of the knowledge shown in FIG. 4. Figure 5 (1)
Figure 5 (2) is an example of a rule table expressed as if the knowledge in Figure 4 (1) was already in the knowledge base, and Figure 5 (2) is converted when the knowledge in Figure 4 (2) is input. Shows an example of knowledge.

判定部4は知識獲得部6で獲得された知識をボジショナ
ル・キューブ表現(第5図(1))に変換し、ルールテ
ーブル52に格納されたポジショナル・キューブと前述
の変換されたポジショナル・キューブを比較することに
より矛盾の判定を行い、またルールテーブル52に格納
されたボジショナル・キューブから不足する知識を引出
す。なお、知識獲得部6は、獲得される知識のうち記述
のされていない述語について、そのうちのどこかの状況
にあることを補足している。
The determination unit 4 converts the knowledge acquired by the knowledge acquisition unit 6 into a positional cube representation (FIG. 5 (1)), and combines the positional cube stored in the rule table 52 and the above-mentioned converted positional cube. By comparing, a contradiction is determined and missing knowledge is extracted from the positional cube stored in the rule table 52. Note that the knowledge acquisition unit 6 supplements the fact that the predicates that are not described in the acquired knowledge are in one of the situations.

第6図は判定部4での処理の具体例であり、第5図で示
したポジョナル・キューブで追加知識がどのような判定
されるかを示したものである。判定の処理は、ルールテ
ーブル52内のポジショナル・キューブと追加されるボ
ジショナル・キューブ間でビットアンドをとることで共
通する条件・結論の検査を行い、その包含関係のパター
ンを判定パターンテーブル51の照合結果に従って矛盾
等の判定を行う(第6図(1))。また、ユニバース(
すべてが1からなるポジショナル・キューブ)からルー
ルテーブル内のボジショナル・キューブすべてを引いた
(シャープ演算を行う)残りを求めることで不足の判定
を行う(第6図(2))。
FIG. 6 is a specific example of processing in the determining unit 4, and shows how additional knowledge is determined using the positional cube shown in FIG. The determination process is performed by performing a bit-AND between the positional cube in the rule table 52 and the positional cube to be added to check for common conditions and conclusions, and then comparing the pattern of the inclusion relationship with the determination pattern table 51. Based on the results, a judgment is made regarding inconsistencies, etc. (Fig. 6 (1)). Also, the universe (
Insufficiency is determined by subtracting all the positional cubes in the rule table (performing Sharp calculation) from the positional cubes (all of which are 1) (Figure 6 (2)).

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明の知識獲得制御
方式によれば次のような効果が得られる。
As is clear from the above description, the knowledge acquisition control method of the present invention provides the following effects.

(1)知識獲得部から獲得される知識について既に獲得
された知識との関係について判定を行うことによって、
実際に推論制御部で推論を実行することなく、知識の検
証が行えるため、短時間で矛盾のない知識ベースの構築
が行える。
(1) By determining the relationship between knowledge acquired from the knowledge acquisition unit and already acquired knowledge,
Since knowledge can be verified without actually performing inference in the inference control unit, a consistent knowledge base can be constructed in a short time.

(2)知識ベース内に格納された知識について不足する
知識についての判定を知識獲得の段階で行うことができ
るため、短時間で完全な知識ベースの構築が行える。
(2) A complete knowledge base can be constructed in a short time because it is possible to determine whether the knowledge stored in the knowledge base is lacking at the knowledge acquisition stage.

(3)具体例で示したように、獲得される知識が「かつ
]で結ばれる場合には、矛盾等のパターンを9種類にま
とめることができ1判定部はどのパターンに獲得された
知識が当てはまるかを形式的に判定することを行ってい
るので、これを利用する知識獲得部の定める意味によっ
て知識ベース内の矛盾パターンを決めることができ、判
定について柔軟なシステムの構成が行える。
(3) As shown in the specific example, if the acquired knowledge is connected with "and", patterns such as contradictions can be grouped into 9 types, and the 1st judgment section determines which pattern the acquired knowledge is associated with. Since the applicability is formally determined, contradictory patterns within the knowledge base can be determined based on the meaning determined by the knowledge acquisition unit that uses this, and a flexible system can be configured for determination.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明による知識ベースシステムの一実施例を
示すブロック図、第2図は従来の知識ベースシステムの
構成例を示すブロック図、第3図は条件、結論の関係を
示す図と判定パターンテーブルの一例と不足判定を示す
図、第4図は知識を表すルール記述例を示す図、第5図
はルールテーブルの一例をを示す図、第6図は本発明を
適用した判定部の処理結果の具体例を示す図である。 1・・・知識ベースシステム、 2・・・知識ヘース、
3・・知識ベース管理部、 4・・・判定部、5・・・
テーブル、 51・・・判定パターンテーブル、52・
・・ルールテーブル、 6・・・知識獲得部、7・・・
推論制御部、 8・・・端末。 箔1 図 第2図 締 4 弔4 図 第5図 第3 図 (2)ギ1コ之ハOターン子−717 Cs’)’;’、−五一の 半lYミョ第6区 2・4 3・4 (1)千爪吟=)刷芝 矛舘■) Et(■) 刈玉里粉@果 内も− 茶掛 Cz賂80キトし
Fig. 1 is a block diagram showing an example of the knowledge base system according to the present invention, Fig. 2 is a block diagram showing an example of the configuration of a conventional knowledge base system, and Fig. 3 is a diagram showing the relationship between conditions and conclusions. FIG. 4 is a diagram showing an example of a pattern table and deficiency determination. FIG. 4 is a diagram showing an example of rule description representing knowledge. FIG. 5 is a diagram showing an example of a rule table. FIG. 6 is a diagram of a determination unit to which the present invention is applied. FIG. 3 is a diagram showing a specific example of a processing result. 1...Knowledge base system, 2...Knowledge Heas,
3...Knowledge base management section, 4...Judgment section, 5...
Table, 51... Judgment pattern table, 52.
...Rule table, 6...Knowledge acquisition section, 7...
Inference control unit, 8...terminal. Foil 1 Figure 2 Figure 4 Condolence 4 Figure 5 Figure 3 Figure (2) Gi 1 Konoha O turn child -717 Cs'; 3.4 (1) Senzume Gin =) Ushishiba Hakudate ■) Et (■) Karidama Satoko @ Kanai mo - Chakake Cz fee 80 kito

Claims (1)

【特許請求の範囲】[Claims] (1)専門家の知識を蓄積する知識ベースと、該知識ベ
ースを管理する知識ベース管理部と、前記知識ベースに
必要な知識を獲得する知識獲得部と、前記知識ベースの
内容と外部から入力されるデータを基に推論する推論制
御部を具備してなる知識ベースシステムにおいて、 前記知識ベースに予め投入されたルールの覆う空間を表
現するルールテーブルと判定パターンを表現する判定パ
ターンテーブルと、前記知識ベースに予め投入されたル
ールと前記知識獲得部を通じて新たに追加されるルール
の関連を監視する判定部を設け、 前記判定部は、前記ルールテーブルの内容を基に不足す
る知識を判定して知識獲得部に通知し、前記ルールテー
ブルの内容と前記知識獲得部を通じて新たに追加される
ルールを基に該追加ルールの関係を調べ判定パターンテ
ーブルに従って矛盾等を判定し、矛盾のある場合に前記
知識獲得部に通知し、矛盾のない場合に前記知識ベース
管理部に対して知識の追加を行い、あわせてルールテー
ブルの更新を行うことを特徴とする知識ベースシステム
の知識獲得制御方式。
(1) A knowledge base that accumulates the knowledge of experts, a knowledge base management unit that manages the knowledge base, a knowledge acquisition unit that acquires the knowledge necessary for the knowledge base, and the contents of the knowledge base and input from the outside. A knowledge base system comprising: an inference control unit that makes inferences based on data that is input to the knowledge base; A determination unit is provided that monitors the relationship between rules previously input to the knowledge base and rules newly added through the knowledge acquisition unit, and the determination unit determines missing knowledge based on the contents of the rule table. The knowledge acquisition unit is notified, and based on the contents of the rule table and the rules newly added through the knowledge acquisition unit, the relationship between the added rules is checked and discrepancies are determined according to the determination pattern table, and if there is a discrepancy, the above A knowledge acquisition control method for a knowledge base system, characterized in that a knowledge acquisition unit is notified, and if there is no contradiction, knowledge is added to the knowledge base management unit and a rule table is updated.
JP26772988A 1988-10-24 1988-10-24 Knowledge acquisition control system for knowledge base system Pending JPH02113338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26772988A JPH02113338A (en) 1988-10-24 1988-10-24 Knowledge acquisition control system for knowledge base system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26772988A JPH02113338A (en) 1988-10-24 1988-10-24 Knowledge acquisition control system for knowledge base system

Publications (1)

Publication Number Publication Date
JPH02113338A true JPH02113338A (en) 1990-04-25

Family

ID=17448758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26772988A Pending JPH02113338A (en) 1988-10-24 1988-10-24 Knowledge acquisition control system for knowledge base system

Country Status (1)

Country Link
JP (1) JPH02113338A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512019A (en) * 1991-07-04 1993-01-22 Hitachi Ltd Process operation supporting system and operation supporting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512019A (en) * 1991-07-04 1993-01-22 Hitachi Ltd Process operation supporting system and operation supporting method

Similar Documents

Publication Publication Date Title
CN110705710A (en) Knowledge graph-based industrial fault analysis expert system
JP2006500654A (en) Adaptive problem determination and recovery in computer systems
Smedslund The problem of" What is learned?"
JPH02113338A (en) Knowledge acquisition control system for knowledge base system
Schroeder et al. Distributed diagnosis by vivid agents
JPS63186303A (en) Plant monitor control system
JPH05151025A (en) Method and device for debugging
Maletzki et al. Utilizing Expert Knowledge to Support Medical Emergency Call Handling.
JPH08305853A (en) Method and device for object recognition and decision making based upon recognition
JPS6325726A (en) Reasoning system using knowledge base
JPH0245832A (en) Operation expert system
JPH02141827A (en) Knowledge managing mechanism
AU595155B1 (en) Expert system apparatus and methods
JPH01224842A (en) Inferential control system for knowledge-based system
JPH04313195A (en) Plant monitoring device
EP0439342A2 (en) Method of operating an expert system and computer systems therefor
CN118012699A (en) Solution generation method for application running problem, electronic equipment and medium
JPWO2020209226A1 (en) Execution monitoring device, execution monitoring method, and execution monitoring program
JPS63123131A (en) Knowledge processing type operating system
CN117827281A (en) Active computing system and method based on clock driving
JPH04352033A (en) Method and device for diagnosing failure
JPS62203225A (en) Inference processing system
JPH02294735A (en) Competition canceling device
JPH03156535A (en) Frame knowledge management system for expert system
JPH0555896B2 (en)