JP2621818B2 - Knowledge base verification device - Google Patents
Knowledge base verification deviceInfo
- Publication number
- JP2621818B2 JP2621818B2 JP6303165A JP30316594A JP2621818B2 JP 2621818 B2 JP2621818 B2 JP 2621818B2 JP 6303165 A JP6303165 A JP 6303165A JP 30316594 A JP30316594 A JP 30316594A JP 2621818 B2 JP2621818 B2 JP 2621818B2
- Authority
- JP
- Japan
- Prior art keywords
- knowledge base
- answer
- condition
- knowledge
- case
- 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.)
- Expired - Lifetime
Links
- 238000012795 verification Methods 0.000 title claims description 70
- 230000014509 gene expression Effects 0.000 claims description 11
- 238000012937 correction Methods 0.000 claims description 6
- 230000010354 integration Effects 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims 2
- 238000012545 processing Methods 0.000 description 13
- 238000012360 testing method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、分類,診断,審査など
の問題を対象としてこれらの問題の専門家の知識を蓄え
た知識ベースの正しさを検証する知識ベース検証装置に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a knowledge base verifying apparatus for verifying the correctness of a knowledge base storing the knowledge of experts on such problems as classification, diagnosis, and examination.
【0002】[0002]
【従来の技術】従来、知識ベース検証装置としては、以
下のものが知られている。2. Description of the Related Art Conventionally, the following are known as a knowledge base verification device.
【0003】(1)石川、田中、山尾らの文献(“仮説
推論を用いた知識検証支援システム”,人工知能学会
誌,7:1, 1992, pp.105-116)にあるように、検証のため
のテストデータを予め用意して、知識ベースを使った推
論結果とデータとの比較を行うことにより知識ベースの
正しさを検証する装置。(1) As described in the literature of Ishikawa, Tanaka, Yamao et al. (“Knowledge Verification Support System Using Hypothesis Inference”, Journal of the Japanese Society for Artificial Intelligence, 7: 1, 1992, pp. 105-116) Device that prepares test data in advance and compares the inference result using the knowledge base with the data to verify the correctness of the knowledge base.
【0004】(2)M.Suwa,A.C.Scott
and E.H.Shortliffeらの文献
(“And approach to Verifyi
ng Completeness and Consi
stency in a Rule−Based Ex
pert System”,AI Magazine,
Fall,1982,pp.16−21)にあるよう
に、知識表現の構造のみを利用して起こり得る全ての場
合を洗い出し、各々の場合に対して知識が存在するかど
うかを調べる装置。(2) M. Suwa, A .; C. Scott
and E. H. Shortlife et al. (“And approach to Verifyyi”)
ng Completeness and Consi
stability in a Rule-Based Ex
part System ", AI Magazine,
Fall, 1982, pp. As described in 16-21), an apparatus that identifies all possible cases using only the structure of a knowledge expression and checks whether knowledge exists for each case.
【0005】(3)特開平2−113338号公報に見
られるように、知識をIF〜THEN〜という形式で記
述しておき、その検証時にポジショナル・キューブ形式
に変換し、ポジショナル・キューブの論理的な操作によ
り、新たに追加する知識と既存の知識との間の矛盾の検
出や、知識の不足の検出を行う装置。(3) As described in Japanese Patent Application Laid-Open No. 2-113338, knowledge is described in a format of IF to THEN, and is converted into a positional cube format at the time of verification, and logical knowledge of the positional cube is obtained. A device that detects inconsistencies between newly added knowledge and existing knowledge and detects lack of knowledge by simple operations.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、テスト
データを利用する従来の知識ベース検証装置(1)で
は、検証前に予め十分なデータを集めなければならない
という問題点があり、知識ベース内の知識を偏りなく調
べるためのテストデータの収集は困難であった。However, the conventional knowledge base verification apparatus (1) using test data has a problem that sufficient data must be collected in advance before verification. It was difficult to collect test data to check the data evenly.
【0007】また、知識表現の構造を利用して起こり得
るすべての場合を網羅的に調べる装置(2)において
は、知識ベースが大規模になるほど起こり得る場合の数
も増え、検証コストの増大という問題点があった。In the device (2) for comprehensively examining all possible cases using the structure of the knowledge expression, the number of possible cases increases as the knowledge base increases, and the verification cost increases. There was a problem.
【0008】これらに対し、上記(3)の知識ベース検
証装置は、特別なテストデータを必要とせず、また上記
(2)のような起こり得る全ての場合を網羅的に調べる
ものでもないので検証コストの面でも問題は少ない。し
かしながら、知識ベースがIF〜THEN〜といった形
式で記述されており、その検証時には、ポジショナル・
キューブ形式に変換する処理が必要であるため、その分
だけ検証コストが増大するという問題点が残されてい
る。更に、新たな知識の追加時に、この追加する知識が
既存の知識と矛盾しないかを検証する構成となっている
ため、検証時の流れとしては、1つの知識を追加して検
証するという作業の繰り返しとなる。従って、ある程度
の数の知識をまとめて格納し、一括して検証することが
困難である。On the other hand, the knowledge base verification device of (3) does not require special test data and does not exhaustively check all possible cases as in (2), so that verification is not possible. There are few problems in terms of cost. However, the knowledge base is described in a format such as IF-THEN-
Since the process of converting to the cube format is required, there remains a problem that the verification cost increases accordingly. Furthermore, when new knowledge is added, it is configured to verify that the added knowledge does not contradict existing knowledge. Therefore, the flow of verification is to add one knowledge and verify. It becomes repetition. Therefore, it is difficult to collect and store a certain number of knowledge at a time and collectively verify it.
【0009】また、何れの従来技術においても、誤りが
あることが判明した知識ベースの修正作業は、知識ベー
ス作成者自身が全て実施する必要があり、修正箇所が広
範囲に及ぶ場合には知識の修正が容易ではないという問
題点がある。[0009] In any of the prior arts, the knowledge base creator who has determined that there is an error must perform all the work of correcting the knowledge base. There is a problem that correction is not easy.
【0010】本発明はこのような事情に鑑みて提案され
たものであり、その目的は、検証対象とする知識を予め
表形式で表現しておき、その表形式の論理演算によって
知識の矛盾や不足を検証することにより、特別なテスト
データを必要とせずに、知識ベース格納手段に格納され
た知識を一括して高速に検証することを可能にし、ま
た、誤りがあることが判明した知識ベースの修正も利用
者が容易に行い得るようにすることにある。The present invention has been proposed in view of such circumstances, and its purpose is to express knowledge to be verified in a table format in advance, and to contradict knowledge by a logical operation in the table format. By verifying the shortage, knowledge stored in the knowledge base storage means can be collectively verified at high speed without requiring special test data. Is to make it easy for the user to make corrections.
【0011】[0011]
【課題を解決するための手段】本発明の知識ベース検証
装置は、専門家の知識を記述した知識ベースの正しさを
検証する知識ベース検証装置において、対象となる問題
における解答の候補とその候補が解答となる場合の条件
とを表形式で表現した肯定事例を格納した肯定事例格納
部と、対象となる問題における解答の候補とその候補が
解答となるべきでない場合の条件とを表形式で記述した
否定事例を格納した否定事例格納部とを持つ知識ベース
格納手段と、この知識ベース格納手段に格納された知識
ベースにおける知識の矛盾を、肯定事例および否定事例
についての表形式の論理演算によって検証する無矛盾性
検証部と、前記知識ベース格納手段に格納された知識ベ
ースにおける知識の不足を、肯定事例および否定事例に
ついての表形式の論理演算によって検証する完全性検証
部とを持つ知識ベース検証手段と、該知識ベース検証手
段によって見つかった知識の矛盾や不足の情報を入出力
装置に出力し、該入出力装置からの入力に従って前記知
識ベースを修正する知識ベース修正手段とを備えてい
る。そして、前記完全性検証部は、前記知識ベース内の
否定事例の中で、1つの属性を除いてその他の属性の値
が全て同一である否定事例同士を統合する手段と、該統
合後の前記知識ベース内の全ての解答候補を肯定事例の
みによる表現に変換する手段と、該変換して得られた肯
定事例の中で、1つの属性を除いてその他の属性の値が
全て同一である肯定事例同士を統合する手段と、該統合
して得られた事例の成立条件をユニバースから除去する
手段と、該手段による結果がヌルのときは前記知識ベー
スには知識の不足は無いと判定し、ヌルでないときは知
識の不足が有ると判定し且つ不足している事例の条件を
求める手段とを含んでいる。SUMMARY OF THE INVENTION A knowledge base verification apparatus according to the present invention is a knowledge base verification apparatus for verifying the correctness of a knowledge base describing expert's knowledge. A positive case storage unit that stores a positive case that expresses the conditions in the case where is an answer in a tabular format, and a table that describes the candidates for the answer in the target problem and the conditions when the candidate should not be the answer in a table format. A knowledge base storage unit having a negative case storage unit for storing the described negative cases, and a knowledge inconsistency in the knowledge base stored in the knowledge base storage unit. A consistency verification unit for verifying, and a lack of knowledge in the knowledge base stored in the knowledge base storage means, in a table format for positive cases and negative cases. A knowledge base verifying unit having an integrity verifying unit for verifying by a logical operation, and outputting information on inconsistency or lack of knowledge found by the knowledge base verifying unit to an input / output device, and according to an input from the input / output device, Knowledge base modifying means for modifying the knowledge base. Then, the integrity verification unit includes:
Values of other attributes except one attribute in negative cases
Means for integrating negative cases, all of which are the same,
After answering, all answer candidates in the knowledge base
Means for converting the expression into an expression based on
In the fixed case, except for one attribute, the values of other attributes
Means for integrating positive cases that are all the same, and the integration
From the universe
Means and the knowledge base if the result is null.
Judge that there is no lack of knowledge in the
Judgment that there is lack of knowledge and the condition of the lacking case
Means for seeking .
【0012】[0012]
【作用】対象となる問題における解答候補,各解答候補
を特徴づける属性,各候補が解答となる場合の属性の条
件,および各候補が解答となるべきでない場合の属性の
条件を表形式で表現した知識ベースが知識ベース格納手
段に格納されている。[Function] Expresses in a tabular format the answer candidates for the target question, the attributes characterizing each answer candidate, the attribute conditions when each candidate is an answer, and the attribute conditions when each candidate should not be an answer. The obtained knowledge base is stored in the knowledge base storage means.
【0013】この知識ベースが知識ベース検証手段に供
給されると、無矛盾性検証部は、知識ベースを構成する
肯定事例および否定事例についての表形式の論理演算に
よって、知識ベース内に記述された解答候補のうち複数
のものが同時に解答となってしまう「知識の矛盾」が存
在するかどうかを検出する。そして、矛盾が存在する場
合には、矛盾が起こるときの属性条件を求める。一方、
完全性検証部は、同じく肯定事例および否定事例につい
ての表形式の論理演算によって、どの候補も解答として
成立しない「知識の不足」を検出する。そして、もし知
識の不足部分が存在する場合、どのような属性条件のと
きの知識が不足しているかを求める。When this knowledge base is supplied to the knowledge base verification means, the consistency verification unit performs a logical operation in the form of a table on positive cases and negative cases constituting the knowledge base, and outputs the answer described in the knowledge base. It detects whether or not there is a "knowledge inconsistency" in which a plurality of candidates are answered simultaneously. If there is a contradiction, an attribute condition when the contradiction occurs is obtained. on the other hand,
The completeness verification unit detects a “lack of knowledge” in which none of the candidates is satisfied as a solution by a logical operation in a tabular form for the positive case and the negative case. Then, if there is a lack of knowledge, what kind of attribute condition the knowledge is lacking is determined.
【0014】知識ベースに矛盾や不足がある場合、知識
ベース修正手段には、知識ベース検証手段の出力した知
識の矛盾や不足している場合の属性条件が供給される。
知識ベース修正手段は、知識の矛盾や不足の生じている
属性条件を入出力装置に出力して利用者に提示し、利用
者からこれらの属性条件での正しい解答の候補が入力さ
れると、利用者の入力した解答候補が成立するように肯
定事例格納部に肯定事例を追加し、間違っていた事例を
否定事例格納部に追加する。If the knowledge base has inconsistency or lack, the knowledge base correcting means is supplied with the attribute conditions for the inconsistency or lack of knowledge output by the knowledge base verification means.
The knowledge base modifying means outputs the attribute condition in which the inconsistency or lack of knowledge has occurred to the input / output device and presents it to the user, and when a correct answer candidate in these attribute conditions is input from the user, A positive case is added to the positive case storage unit so that the answer candidate input by the user is established, and a wrong case is added to the negative case storage unit.
【0015】このようにして、特別なテストデータを用
意したり、起こり得る全ての場合を網羅的に検証する必
要はなく、知識ベースの検証を一括して行えるようにな
る。また、検証対象の知識は予め表形式で格納されてい
るので、あらためてポジショナル・キューブ形式等に変
換する必要がなく、その分、高速な検証が可能になる。
更に、利用者は正しい解答を入力するだけで簡単に知識
ベースを修正することができる。In this way, it is not necessary to prepare special test data or comprehensively verify all possible cases, and it is possible to perform verification of the knowledge base in a lump. Further, since the knowledge to be verified is stored in a table format in advance, it is not necessary to convert the knowledge into a positional cube format or the like again, and accordingly, high-speed verification can be performed.
Further, the user can easily modify the knowledge base simply by inputting a correct answer.
【0016】[0016]
【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.
【0017】図1は本発明の一実施例の構成図である。
同図を参照すると、本発明の一実施例の知識ベース検証
装置は、対象となる問題における解答の候補とその候補
が解答となる場合の条件を表形式で格納した肯定事例格
納部11および対象となる問題における解答の候補とそ
の候補が解答となるべきでない場合の条件を表形式で格
納した否定事例格納部12を持つ知識ベース格納手段1
と、この知識ベース格納手段1に格納された知識ベース
における知識の矛盾を検証する無矛盾性検証部21およ
び知識の不足を検証する完全性検証部22を持つ知識ベ
ース検証手段2と、知識ベース検証手段2によって知識
の矛盾や不足が見つかった場合に利用者が知識ベースを
修正するための知識ベース修正手段3とから構成されて
いる。なお、4は知識ベース修正手段3に接続された入
出力装置であり、例えばCRT41とキーボード42と
で構成されている。FIG. 1 is a block diagram of an embodiment of the present invention.
Referring to FIG. 1, the knowledge-based verification apparatus according to one embodiment of the present invention includes a positive case storage unit 11 storing, in a tabular form, candidates for an answer in a target problem and conditions for the candidate to be an answer. A knowledge base storage unit 1 having a negative case storage unit 12 storing, in a table form, answer candidates for a problem to be solved and conditions when the candidate should not be an answer.
A knowledge base verification unit 2 having a consistency verification unit 21 for verifying inconsistency of knowledge in the knowledge base stored in the knowledge base storage unit 1 and an integrity verification unit 22 for verifying lack of knowledge; It comprises a knowledge base modifying means 3 for the user to modify the knowledge base when the inconsistency or lack of knowledge is found by means 2. Reference numeral 4 denotes an input / output device connected to the knowledge base modifying means 3, which is composed of, for example, a CRT 41 and a keyboard 42.
【0018】図2に、知識ベース格納手段1に格納され
る知識ベースの一例を示す。表の左に書かれている「解
答候補1」などは、解答候補名である。表の上には、
「属性1」などの属性名と、「属性値11」などの各属
性のとり得る属性値とが書かれている。表の1行が1つ
の事例に相当する。事例には、肯定事例と否定事例とが
あり、否定事例には、解答候補名の先頭に否定事例識別
子「#」を付与して、肯定事例と区別する。表の各欄に
は、各事例毎に、解答候補名と属性値との関係を入力す
る。例えば、ある解答候補が解答となるときに、ある属
性値が成り立つならば○を入力し、成り立たないならば
×を入力する。少なくとも1つの属性に対して全ての属
性値が×になっている場合、そのような属性条件をヌル
と呼ぶ。ヌルは成り立つことのない条件である。また、
全属性値が○になっている場合、その条件をユニバース
と呼ぶ。ユニバースは常に成立している条件である。FIG. 2 shows an example of a knowledge base stored in the knowledge base storage means 1. "Answer candidate 1" written on the left of the table is an answer candidate name. Above the table,
An attribute name such as "attribute 1" and a possible attribute value of each attribute such as "attribute value 11" are described. One row in the table corresponds to one case. Cases include positive cases and negative cases, and negative cases are distinguished from positive cases by adding a negative case identifier “#” to the beginning of the answer candidate name. In each column of the table, the relationship between the answer candidate name and the attribute value is input for each case. For example, when a certain answer candidate becomes an answer, if a certain attribute value is satisfied, enter “○”. If not, enter “×”. If all the attribute values are x for at least one attribute, such an attribute condition is called null. Null is a condition that does not hold. Also,
If all the attribute values are ○, the condition is called a universe. The universe is a condition that always holds.
【0019】図2の第1行目は、『属性1の値が属性値
11で、かつ、属性2の値が属性値22または属性値2
3である場合、解答候補1が解答として成り立つ』とい
うことを意味する。また、第4行目は、『属性1の値が
属性値11で、かつ、属性2の値が属性値21である場
合、解答候補2は解答とはならない』ということを意味
する。The first line in FIG. 2 indicates that the value of attribute 1 is attribute value 11 and the value of attribute 2 is attribute value 22 or attribute value 2
In the case of 3, the answer candidate 1 is satisfied as an answer. " The fourth line means that "if the value of the attribute 1 is the attribute value 11 and the value of the attribute 2 is the attribute value 21, the answer candidate 2 is not an answer."
【0020】知識ベースの中に同じ解答候補名を持つ肯
定事例が複数ある場合、複数の事例のうち少なくとも1
つが成立すると、その候補が解答となる。また、同じ解
答候補名を持つ否定事例が複数ある場合、複数の事例の
うち少なくとも1つが成立すると、その候補は解答では
ない。更に、同じ解答候補名を持つ肯定事例と否定事例
がある場合、肯定事例の成立する条件から否定事例の成
立する条件を除いた部分が、その解答候補の成立条件に
なる。即ち、肯定事例のみが成立し否定事例が成立しな
い場合には、その候補は解答となる。一方、否定事例が
成立したときには、肯定事例が成立するかしないかにか
かわらず、その候補は解答にはならない。When there are a plurality of positive cases having the same answer candidate name in the knowledge base, at least one
If one is established, the candidate is the answer. When there are a plurality of negative cases having the same answer candidate name and at least one of the plurality of cases is established, the candidate is not an answer. Further, when there is a positive case and a negative case having the same answer candidate name, the part obtained by removing the condition for forming the negative case from the condition for forming the positive case is the condition for forming the answer candidate. That is, if only positive cases are satisfied and negative cases are not satisfied, the candidate is an answer. On the other hand, when a negative case is established, the candidate is not an answer regardless of whether a positive case is established or not.
【0021】例えば、図2において、「解答候補2」
は、「『属性1の値が属性値11か属性値12で、か
つ、属性2の値が属性値21の場合』、あるいは『属性
1の値が属性値11で、かつ、属性2の値が属性値23
の場合』に解答候補2は解答となる。ただし、『属性1
の値が属性値11で、かつ、属性2の値が属性値21で
ある場合』は除く」ということを意味する。For example, in FIG. 2, "answer candidate 2"
Is "when the value of the attribute 1 is the attribute value 11 or the attribute value 12 and the value of the attribute 2 is the attribute value 21" or "the value of the attribute 1 is the attribute value 11 and the value of the attribute 2 Is the attribute value 23
In this case, the answer candidate 2 becomes the answer. However, "Attribute 1
Is the attribute value 11 and the value of the attribute 2 is the attribute value 21 ”is excluded.”
【0022】なお、図2では肯定事例と否定事例とをま
とめて表示したが、知識ベース内の肯定事例は肯定事例
格納部11に格納され、否定事例は否定事例格納部12
に格納される。Although positive cases and negative cases are collectively displayed in FIG. 2, positive cases in the knowledge base are stored in the positive case storage unit 11, and negative cases are stored in the negative case storage unit 12.
Is stored in
【0023】このようにして表形式で格納された知識ベ
ースに対して、知識ベース検証手段2が、知識の矛盾や
不足を検出する。The knowledge base verifying means 2 detects inconsistency or lack of knowledge with respect to the knowledge base stored in the table format as described above.
【0024】先ず、知識ベース検証手段2の無矛盾性検
証部21について説明する。無矛盾性検証部21は、複
数の候補が同時に解答となってしまう場合がないかどう
かを調べる(矛盾の検証)。図3に無矛盾性検証部21
の処理の一例のフローチャートを示す。先ず、知識ベー
ス内の全ての解答候補に対して、肯定事例の成立条件か
ら否定事例の成立条件を除去して、肯定事例のみによる
表現に記述し直す(P1)。肯定事例から否定事例を除
去する計算方法は、シャープ演算を利用する。次に、こ
うして得た肯定事例について互いに異なる2つの候補の
組み合わせを全て生成し(P2)、各組み合わせに対し
て2つの候補が同時に解答となる属性条件を計算する
(P3)。全ての組み合わせで2つの候補が同時に解答
になることがないのであれば(P4でyes)、その知
識ベースは無矛盾であると判定し(P5)、同時に解答
になることのある2つの候補の組み合わせがあれば(P
4でno)、その2つの候補が解答となる属性条件と、
この属性条件を成立条件として包含している候補とを求
め、知識ベース修正手段3に通知する(P6)。First, the consistency verification unit 21 of the knowledge base verification unit 2 will be described. The non-contradiction verifying unit 21 checks whether there is a case where a plurality of candidates are answered simultaneously (verification of contradiction). FIG. 3 shows the consistency checking unit 21.
2 shows a flowchart of an example of the processing of FIG. First, for all the answer candidates in the knowledge base, the condition for forming a negative case is removed from the condition for forming a positive case, and the result is rewritten into an expression using only the positive case (P1). A calculation method for removing negative cases from positive cases uses a sharp operation. Next, all the combinations of two different candidates are generated for the positive cases obtained in this way (P2), and the attribute condition for the two candidates to simultaneously answer for each combination is calculated (P3). If the two candidates do not simultaneously answer in all combinations (yes in P4), the knowledge base is determined to be consistent (P5), and the combination of the two candidates that can simultaneously answer is obtained. If there is (P
No. 4), an attribute condition in which the two candidates are the answer,
A candidate that includes this attribute condition as a fulfillment condition is determined, and the candidate is notified to the knowledge base modifying means 3 (P6).
【0025】ここで、前記ステップP3における2つの
候補が同時に解答になるかどうかの判定処理を詳細に述
べる。なお、説明の都合上、 2つの候補をCi 、Cj ステップP1によって生成されたCi の肯定事例をdk
(k=1,…,ni )ステップP1によって生成された
Cj の肯定事例をel (l=1,…,nj )とする。d
k (k=1,…,ni )とel (l=1,…,nj )と
が同時に成立する属性条件を、dk の成立条件とel の
成立条件の論理積を求めることによって計算する。すな
わち、知識ベース内に定義された各属性値に対して、d
k の値とelの値が両方とも○の場合には○を付与し、
それ以外の場合には×を付与することによって、dk と
el とが同時に成立する条件を求めることができる。全
てのdk とel の組み合わせでいずれかの属性の論理積
がヌルの場合、候補Ci とCjが同時に解答となること
はないと判定する。また、全ての属性の論理積がヌル以
外になる場合があれば、その論理積で○が付いている属
性値が成り立つとき候補Ci とCj とが同時に解答とな
るため、知識ベースは矛盾を含むと判定する。Here, the process of judging whether or not the two candidates at the same time as the answer in step P3 will be described in detail. For convenience of explanation, the two candidate C i, a positive case of C i generated by C j Step P1 d k
(K = 1,..., N i ) A positive example of C j generated in step P1 is defined as e l (l = 1,..., N j ). d
k (k = 1, ..., n i) and e l (l = 1, ... , n j) and the attribute condition which satisfies at the same time, obtaining the logical product of the condition for realizing establishment condition of d k and e l Calculate by That is, for each attribute value defined in the knowledge base, d
When both the value of k and the value of e l are ○, a circle is added,
In other cases, by assigning x, it is possible to obtain the condition that d k and e l are simultaneously satisfied. If the logical product of any of the attributes is null in all combinations of d k and e l , it is determined that the candidates C i and C j will not be answered simultaneously. Also, if the logical product of all the attributes is not null, the candidate C i and C j will be answered at the same time when the attribute value marked with “積” is satisfied by the logical product. Is determined to be included.
【0026】図4に、無矛盾性検証の具体例を示す。検
証前の知識ベース(図4(1))は、肯定事例と否定事
例を含むので、肯定事例のみの記述に変換する(図4
(2))。この知識ベースを元にして、各候補の論理積
を計算する(図4(3))。その結果、候補Aと候補B
とが、属性1の属性値1bと属性2の属性値2aとが成
り立つときに同時に解答になり、知識ベースに矛盾が含
まれていると判定される。FIG. 4 shows a specific example of consistency verification. Since the knowledge base before verification (FIG. 4 (1)) includes positive cases and negative cases, it is converted to a description of only positive cases (FIG. 4 (1)).
(2)). Based on this knowledge base, the logical product of each candidate is calculated (FIG. 4 (3)). As a result, candidate A and candidate B
Are the answers at the same time when the attribute value 1b of the attribute 1 and the attribute value 2a of the attribute 2 are satisfied, and it is determined that the knowledge base contains inconsistency.
【0027】次に、知識ベース検証手段2の完全性検証
部22について説明する。完全性検証部22は、どの候
補も解答にならない場合を検証する(不足の検証)。図
5に、完全性検証部22の処理の一例のフローチャート
を示す。先ず、知識ベース内の全ての解答候補に対し
て、肯定事例の成立条件から否定事例の成立条件を除去
して、肯定事例のみによる表現に記述し直す(Q1)。
次に、ユニバースからステップQ1によって得られた全
肯定事例の成立条件を除去する(Q2)。この除去には
シャープ演算を利用する。その結果がヌルだった場合、
知識ベースには不足がなく完全であると判定し(Q
3)、結果がヌルではなかった場合、その属性条件での
事例が不足していると判定し、結果を知識の不足部分と
して知識ベース修正手段3に通知する(Q4)。Next, the integrity verification section 22 of the knowledge base verification means 2 will be described. The integrity verification unit 22 verifies that none of the candidates can be answered (insufficient verification). FIG. 5 shows a flowchart of an example of the processing of the integrity verification unit 22. First, for all the answer candidates in the knowledge base, the conditions for forming negative cases are removed from the conditions for forming positive cases, and the answer is rewritten as an expression using only positive cases (Q1).
Next, the conditions for establishing all positive cases obtained in step Q1 are removed from the universe (Q2). For this removal, a sharp operation is used. If the result is null,
The knowledge base is judged to be complete without lack (Q
3) If the result is not null, it is determined that the case under the attribute condition is insufficient, and the result is notified to the knowledge base correcting means 3 as a lack of knowledge (Q4).
【0028】図6に、完全性検証の具体例を示す。検証
前の知識ベース(図6(1))は、肯定事例と否定事例
とを含むので、肯定事例のみの記述に変換する(図6
(2))。この知識ベースに含まれる事例の条件をユニ
バースから除去する(図6(3))。その結果、属性1
の属性値1bと属性2の属性値2cとが成り立つときの
事例が不足しており、知識ベースが不完全であることが
判定される。FIG. 6 shows a specific example of integrity verification. Since the knowledge base before verification (FIG. 6 (1)) includes positive cases and negative cases, it is converted to a description of only positive cases (FIG. 6).
(2)). The condition of the case included in this knowledge base is removed from the universe (FIG. 6 (3)). As a result, attribute 1
The case when the attribute value 1b of the attribute 2 and the attribute value 2c of the attribute 2 are insufficient is insufficient, and it is determined that the knowledge base is incomplete.
【0029】以上のようにして、知識ベース検証手段2
によって知識の矛盾や不足が判明した場合、検証結果が
知識ベース修正手段3に入力され、知識の修正が行われ
る。As described above, the knowledge base verifying means 2
If the inconsistency or lack of knowledge is found, the verification result is input to the knowledge base correcting means 3, and the knowledge is corrected.
【0030】図7に知識ベース修正手段3の処理の一例
のフローチャートを示す。なお、説明の都合上、 無矛盾性検証部21によって検出された候補をCi1, C
i2, …,Cit Ci1, Ci2, …,Citが同時に解答となる属性条件をS
1 S1での正しい解答をA1 完全性検証部22によって検出された知識の不足してい
る属性条件をS2S2での正しい解答をA2とする。FIG. 7 shows a flowchart of an example of the processing of the knowledge base modifying means 3. For the sake of explanation, the candidates detected by the consistency verification unit 21 are denoted by C i1 and C i1.
i2, …, C it C i1, C i2, …, C it
1 The correct answer in S1 is A1. The attribute condition with insufficient knowledge detected by the integrity verification unit 22 is A2, and the correct answer in S2S2 is A2.
【0031】知識ベース検証手段2で検出されたものが
「知識の矛盾」であった場合(R1)、知識ベース修正
手段3は、例えばCRT41の画面に、候補Ci1, C
i2, …,Citと属性S1とを表示し(R2)、S1が成
り立つときの正しい解答を利用者に尋ね(R3)、利用
者がキーボード42から解答A1を入力すると、その入
力A1を読み込む(R4)。そして、A1がCi1, C
i2, …,Citの中の1つのCikと等しい場合には、S1
をCi1, …,Ci(k-1), Ci(k+1), …,Citの否定事例
として否定事例格納部12に格納する(R5)。他方、
A1がCi1, Ci2,…,Citの何れとも異なる場合に
は、S1をA1の肯定事例として肯定事例格納部11に
格納し、S1をCi1, Ci2, …,Citの否定事例として
否定事例格納部12に格納する(R6)。If what is detected by the knowledge base verification means 2 is "knowledge inconsistency" (R1), the knowledge base correction means 3 displays the candidate C i1, C
i2, ..., Cit and the attribute S1 are displayed (R2), and the user is asked for a correct answer when S1 holds (R3). When the user inputs the answer A1 from the keyboard 42, the input A1 is read. (R4). And A1 is C i1, C
If it is equal to one C ik of i2, ..., C it , then S1
The C i1, ..., C i ( k-1), C i (k + 1), ..., and stores the negative case storage part 12 as a negative example of C it (R5). On the other hand,
A1 is C i1, C i2, ..., in the case also differ from any of C it is stored in the affirmative case storage unit 11 as a positive case of S1 is A1, S1 is C i1, C i2, ..., negative C it The case is stored in the negative case storage unit 12 (R6).
【0032】例えば、図4の例のように、解答A,B
と、それが同時に解答となる属性条件(属性値1b,2
a)とが無矛盾性検証部21で検出されたことにより、
それらが利用者に提示され、それに対して正しい解答と
して利用者が例えばAを入力したとすると、知識ベース
修正手段3は、(属性値1b,2a)を解答Bの否定事
例、即ち、解答としてBを持ち且つ属性1の属性値1
b,属性2の属性値2aが○、他の全ての属性値が×に
なっている否定事例を否定事例格納部12に格納する。
他方、正しい解答として利用者が例えばEを入力したと
すると、知識ベース修正手段3は、(属性値1b,2
a)を解答Eの肯定事例、即ち、解答としてEを持ち且
つ属性1の属性値1b,属性2の属性値2aが○、他の
全ての属性値が×になっている肯定事例を肯定事例格納
部11に格納し、かつ、(属性値1b,2a)を解答
A,Bの否定事例、即ち、解答としてAを持ち且つ属性
1の属性値1b,属性2の属性値2aが○、他の全ての
属性値が×になっている否定事例と、解答としてBを持
ち且つ属性1の属性値1b,属性2の属性値2aが○、
他の全ての属性値が×になっている否定事例とを否定事
例格納部12に格納する。For example, as shown in FIG.
And attribute conditions (attribute values 1b, 2
a) is detected by the consistency verification unit 21 and
If these are presented to the user and the user inputs, for example, A as a correct answer, the knowledge base modifying means 3 sets (attribute values 1b, 2a) as a negative case of the answer B, that is, as an answer. Attribute value 1 with B and attribute 1
b, a negative case in which the attribute value 2a of the attribute 2 is ○ and all other attribute values are x is stored in the negative case storage unit 12.
On the other hand, if the user inputs, for example, E as a correct answer, the knowledge base modifying means 3 determines (attribute values 1b, 2
a) is an affirmative case of the answer E, that is, an affirmative case in which the answer has E and the attribute value 1b of the attribute 1 and the attribute value 2a of the attribute 2 are ○, and all other attribute values are x. In the storage unit 11, (Attribute value 1b, 2a) is a negative case of the answers A and B, that is, the answer has A, and the attribute value 1b of the attribute 1 and the attribute value 2a of the attribute 2 are ○. A negative case in which all the attribute values are x, a solution having B as the answer, and the attribute value 1b of the attribute 1 and the attribute value 2a of the attribute 2,
Negative cases in which all other attribute values are “x” are stored in the negative case storage unit 12.
【0033】再び図7を参照すると、知識ベース検証手
段2で検出されたものが「知識の不足」であった場合
(R1)、知識ベース修正手段3は、CRT41の画面
に、属性条件S2を表示し(R8)、S2が成り立つと
きの正しい解答を利用者に尋ね(R9)、利用者がキー
ボード42から正しい解答A2を入力すると、それを読
み込む(R10)。そして、S2をA2の肯定事例とし
て肯定事例格納部11に格納する(R11)。Referring again to FIG. 7, when the knowledge base verification means 2 detects "insufficient knowledge" (R1), the knowledge base correction means 3 displays the attribute condition S2 on the screen of the CRT 41. It is displayed (R8), the user is asked for the correct answer when S2 holds (R9), and when the user inputs the correct answer A2 from the keyboard 42, it is read (R10). Then, S2 is stored in the positive case storage unit 11 as a positive case of A2 (R11).
【0034】例えば、図6の例のように、属性1の属性
値1bと属性2の属性値2cとが成り立つときの事例が
不足していることが完全性検証部22で検出されたこと
により、それらが利用者に提示され、それに対して正し
い解答として利用者が解答Fを入力したとすると、(属
性値1b,属性値2c)を解答Fの肯定事例、即ち、解
答としてFを持ち且つ属性1の属性値1b,属性2の属
性値2cが○、他の全ての属性値が×になっている肯定
事例を肯定事例格納部11に格納する。For example, as shown in the example of FIG. 6, when the integrity verification unit 22 detects that the case where the attribute value 1b of the attribute 1 and the attribute value 2c of the attribute 2 are satisfied is insufficient. If they are presented to the user and the user inputs the answer F as a correct answer, the (attribute value 1b, attribute value 2c) is a positive example of the answer F, that is, having F as the answer and The positive case in which the attribute value 1b of the attribute 1 and the attribute value 2c of the attribute 2 are ○ and all the other attribute values are × are stored in the positive case storage unit 11.
【0035】次に本発明のより好ましい実施例について
説明する。Next, a more preferred embodiment of the present invention will be described.
【0036】肯定事例の条件から否定事例の条件を除去
して肯定事例のみの表現に直すための処理(図3のステ
ップP1,図5のステップQ1)や、ユニバースから各
事例の条件を除去するための処理(図5のステップQ
2)では、除去する条件の数が多いほど処理時間が増大
する。そこで、除去すべき事例の数が複数ある場合、そ
れらの中で統合できるものをまとめて事例の数を少なく
することによって、除去の処理時間を減少させることが
できる。The processing for removing the condition of the negative case from the condition of the positive case and converting it into the expression of only the positive case (step P1 in FIG. 3, step Q1 in FIG. 5) and the condition of each case from the universe are removed. (Step Q in FIG. 5)
In 2), the processing time increases as the number of conditions to be removed increases. Therefore, when there are a plurality of cases to be removed, those that can be integrated among them are collectively reduced to reduce the number of cases, so that the processing time of the removal can be reduced.
【0037】例えば、除去すべき事例の中で、1つの属
性を除いてその他の属性の値が全て同一であるような複
数の事例がある場合、その相違する1つの属性における
属性値に、全事例のその属性値の全てが×である場合に
は属性値×を、それ以外の属性値は○を設定した1つの
事例(事例間で同一であった属性はそのまま引き継ぐ)
によって得られる条件は、統合前の全ての事例の条件す
べてを包含したものとなり、統合前後で論理的な意味の
拡張や縮小は生じない。For example, when there are a plurality of cases in which the values of all the other attributes except for one attribute are the same among the cases to be removed, the attribute values of the different one attribute are One case in which all attribute values of a case are set to x, the attribute value is set to x, and the other attribute values are set to o (the same attribute is inherited between cases as it is)
The conditions obtained by the above include all the conditions of all the cases before the integration, and there is no expansion or reduction of the logical meaning before and after the integration.
【0038】図8は、図5で示した完全性検証処理に対
して、肯定事例の条件を統合する操作を追加した実施例
のフローチャートである。この実施例では、全ての解答
候補を肯定事例のみの表現に直した(T1)後、その結
果得られた条件の中で1つの属性を除いてその他の属性
が同一である複数の条件を1つの条件に統合する(T
2)。そして、このようにして条件の数を減らした後に
ユニバースからの除去を行う(T3)。なお、ステップ
T4,T5は図5のステップQ3,Q4と同じである。FIG. 8 is a flowchart of an embodiment in which an operation for integrating conditions of positive cases is added to the integrity verification processing shown in FIG. In this embodiment, after all the answer candidates are converted into expressions of only positive cases (T1), a plurality of conditions having the same attribute except for one attribute among the conditions obtained as a result are set to 1 (T
2). Then, after the number of conditions is reduced in this way, removal from the universe is performed (T3). Steps T4 and T5 are the same as steps Q3 and Q4 in FIG.
【0039】図9は、図6(1)で示した知識ベースに
図8の完全性検証を適用した例である。図9(2)の第
1行と第2行とは、1つの属性2を除いてその他の属性
1が同一であり、また、第3行と第4行とは、1つの属
性2を除いてその他の属性1が同一である。従って、第
1行と第2行、また第3行と第4行とをまとめることに
より、図9(3)が得られる。この結果、ユニバースか
らの条件の除去は2回だけで済み、得られる結果(図9
(4))は、条件の統合を行っていない場合の結果(図
6(3))と等しい。FIG. 9 shows an example in which the integrity verification of FIG. 8 is applied to the knowledge base shown in FIG. The first and second rows in FIG. 9B have the same other attributes 1 except for one attribute 2, and the third and fourth rows have one attribute 2 except for one attribute 2. And other attributes 1 are the same. Therefore, FIG. 9C is obtained by combining the first and second rows and the third and fourth rows. As a result, the condition must be removed from the universe only twice, and the obtained result (FIG. 9)
(4)) is the same as the result when the conditions are not integrated (FIG. 6 (3)).
【0040】なお、肯定事例の条件から否定事例の条件
を除去して肯定事例のみの表現に直すための処理(図3
のステップP1,図5のステップQ1)に際しても、除
去する否定事例を前述と同様に予め統合することにより
計算時間の短縮が可能である。A process for removing the condition of the negative case from the condition of the positive case and converting it into the expression of only the positive case (FIG. 3)
In step P1 of FIG. 5 and step Q1) of FIG. 5, the calculation time can be reduced by previously integrating the negative cases to be removed in the same manner as described above.
【0041】[0041]
【発明の効果】以上述べたとおり、本発明では、知識ベ
ースを表形式で格納している。したがって、知識ベース
内に格納された事例について、そのまま論理演算を適用
できるので、知識の矛盾や不足の検証の高速化が可能と
なる。勿論、特別なテストデータを用意する必要はな
い。更に、検証結果を利用して、簡単に知識ベースの修
正を行うことが可能になる。利用者は正しい結果を入力
するだけでよいので大規模で複雑な知識ベースの修正も
容易である。As described above, in the present invention, the knowledge base is stored in the form of a table. Therefore, since the logical operation can be applied to the case stored in the knowledge base as it is, it is possible to speed up the verification of the inconsistency or lack of knowledge. Of course, there is no need to prepare special test data. Further, the knowledge base can be easily modified using the verification result. Since the user only needs to input correct results, it is easy to modify a large and complex knowledge base.
【0042】特に、事例の中で1つの属性を除いてその
他の属性の値が全て同一である事例同士を統合して処理
を進める構成によれば、より一層の高速化が可能とな
る。In particular, according to the configuration in which cases other than one attribute having the same attribute value except for one attribute are integrated and the processing is advanced, further higher speed can be achieved.
【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.
【図2】知識ベースの一例を示す図である。FIG. 2 is a diagram illustrating an example of a knowledge base.
【図3】無矛盾性検証部の処理例を示すフローチャート
である。FIG. 3 is a flowchart illustrating a processing example of a consistency verification unit;
【図4】本発明による無矛盾性検証の具体例を示す図で
ある。FIG. 4 is a diagram showing a specific example of consistency verification according to the present invention.
【図5】完全性検証部の処理例を示すフローチャートで
ある。FIG. 5 is a flowchart illustrating a processing example of an integrity verification unit.
【図6】本発明による完全性検証の具体例を示す図であ
る。FIG. 6 is a diagram showing a specific example of integrity verification according to the present invention.
【図7】知識ベース修正手段の処理例を示すフローチャ
ートである。FIG. 7 is a flowchart illustrating a processing example of a knowledge base modifying unit;
【図8】完全性検証部の処理の他の例を示すフローチャ
ートである。FIG. 8 is a flowchart illustrating another example of the processing of the integrity verification unit.
【図9】図8の処理例による完全性検証の具体例を示す
図である。FIG. 9 is a diagram showing a specific example of integrity verification according to the processing example of FIG. 8;
1…知識ベース格納手段 11…肯定事例格納部 12…否定事例格納部 2…知識ベース検証手段 21…無矛盾性検証部 22…完全性検証部 3…知識ベース修正手段 4…入出力装置 41…CRT 42…キーボード DESCRIPTION OF SYMBOLS 1 ... Knowledge base storage unit 11 ... Positive case storage unit 12 ... Negative case storage unit 2 ... Knowledge base verification unit 21 ... Consistency verification unit 22 ... Completeness verification unit 3 ... Knowledge base correction unit 4 ... Input / output device 41 ... CRT 42 ... Keyboard
Claims (4)
しさを検証する知識ベース検証装置において、 対象となる問題における解答の候補とその候補が解答と
なる場合の条件とを表形式で表現した肯定事例を格納し
た肯定事例格納部と、対象となる問題における解答の候
補とその候補が解答となるべきでない場合の条件とを表
形式で記述した否定事例を格納した否定事例格納部とを
持つ知識ベース格納手段と、 該知識ベース格納手段に格納された知識ベースにおける
知識の矛盾を、肯定事例および否定事例についての表形
式の論理演算によって検証する無矛盾性検証部と、前記
知識ベース格納手段に格納された知識ベースにおける知
識の不足を、肯定事例および否定事例についての表形式
の論理演算によって検証する完全性検証部とを持つ知識
ベース検証手段と、 該知識ベース検証手段によって見つかった知識の矛盾や
不足の情報を入出力装置に出力し、該入出力装置からの
入力に従って前記知識ベースを修正する知識ベース修正
手段とを備え、 前記完全性検証部は、 前記知識ベース内の否定事例の中で、1つの属性を除い
てその他の属性の値が全て同一である否定事例同士を統
合する手段と、 該統合後の前記知識ベース内の全ての解答候補を肯定事
例のみによる表現に変換する手段と、 該変換して得られた肯定事例の中で、1つの属性を除い
てその他の属性の値が全て同一である肯定事例同士を統
合する手段と、 該統合して得られた事例の成立条件をユニバースから除
去する手段と、 該手段による結果がヌルのときは前記知識ベースには知
識の不足は無いと判定し、ヌルでないときは知識の不足
が有ると判定し且つ不足している事例の条件を求める手
段とを含む ことを特徴とする知識ベース検証装置。1. A knowledge base verification apparatus for verifying the correctness of a knowledge base describing expert knowledge, in which a candidate for an answer in a target problem and a condition when the candidate is an answer are expressed in a table format. And a negative case storage unit that stores a negative case in which a candidate answer for the target problem and a condition when the candidate should not be an answer are stored in a table format. A knowledge base storage unit having the knowledge base storage unit, a consistency verification unit for verifying inconsistency of knowledge in the knowledge base stored in the knowledge base storage unit by a logical operation in a tabular form for positive cases and negative cases, and the knowledge base storage unit And an integrity verification unit for verifying the lack of knowledge in the knowledge base stored in Includes a base verification unit, inconsistencies and lack of information for the knowledge found by the knowledge base verification means outputs the output device, and a knowledge base correction means for correcting said knowledge base in accordance with an input from said input output device, The integrity verification unit removes one attribute from negative cases in the knowledge base.
Negative cases where the values of other attributes are all the same
Means for matching, and affirming all answer candidates in the integrated knowledge base.
Means for converting to an expression using only examples, and excluding one attribute from positive cases obtained by the conversion
Positive cases where all other attribute values are the same.
Means for matching and the conditions for establishing the case obtained by integration are removed from the universe.
The knowledge base if the result is null.
Judge that there is no lack of knowledge, and if not null, lack of knowledge
To judge that there is and find the condition of the missing case
Knowledge base verification apparatus characterized by comprising a stage.
てその他の属性の値が全て同一である否定事例同士を統
合する手段と、 該統合後の 前記知識ベース内の全ての解答候補を肯定事
例のみによる表現に変換する手段と、 該変換して得られた肯定事例から、異なる2つの候補の
組み合わせを全て生成する手段と、 該生成された各組み合わせ毎にその2つの候補が同時に
解答となる条件を計算する手段と、 全ての組み合わせで2つの候補が同時に解答になること
がない場合に前記知識ベースは無矛盾であると判定し、
同時に解答になることのある2つの候補の組み合わせが
あれば前記知識ベースは無矛盾でないと判定し且つその
2つの候補が解答となる条件を成立条件として包含して
いる候補を計算する手段とを含むことを特徴とする請求
項1記載の知識ベース検証装置。2. The inconsistency verification unit removes one attribute from negative cases in the knowledge base.
Negative cases where the values of other attributes are all the same
Means for combining, a means for converting all answer candidates in the integrated knowledge base into an expression using only positive cases, and generating all combinations of two different candidates from the positive cases obtained by the conversion. Means for calculating the conditions under which the two candidates are simultaneously answered for each of the generated combinations; and when the two candidates are not simultaneously answered in all the combinations, the knowledge base is consistent. Is determined, and
Means for judging that the knowledge base is not inconsistent if there is a combination of two candidates that can simultaneously provide an answer, and calculating a candidate that includes a condition for the two candidates to be an answer as a fulfillment condition. knowledge base verification apparatus according to claim 1 Symbol mounting, characterized in that.
性検証部において前記知識ベースが無矛盾でないと判定
され且つ同時に2つの候補が解答となる条件を成立条件
として包含している候補が計算されたとき、この計算さ
れた候補とその成立条件とを入出力装置から出力して、
その成立条件が成り立つときの正しい解答の入力を促進
し、入出力装置から入力された解答が前記計算された候
補の何れか1つに等しい場合は、残りの候補が解答とな
るべきでない場合の条件に前記成立条件を設定した否定
事例を前記否定事例格納部に格納し、入力された解答が
前記計算された候補の何れとも異なる場合は、入力され
た解答が解答となる場合の条件として前記成立条件を設
定した肯定事例を前記肯定事例格納部に格納すると共
に、前記計算された候補が解答となるべきでない場合の
条件に前記成立条件を設定した否定事例を前記否定事例
格納部に格納することを特徴とする請求項2記載の知識
ベース検証装置。3. The knowledge base modifying means calculates a candidate that includes a condition in which the knowledge base is determined to be non-consistent in the consistency verification unit and at the same time the two candidates are answered as satisfied conditions. At this time, the calculated candidate and its establishment condition are output from the input / output device,
It facilitates the input of a correct answer when the condition is satisfied, and when the answer input from the input / output device is equal to any one of the calculated candidates, the remaining candidates should not be the answers. The negative case in which the satisfaction condition is set as a condition is stored in the negative case storage unit, and if the input answer is different from any of the calculated candidates, the input answer is a condition when the input answer is an answer. A positive case in which a condition is satisfied is stored in the positive case storage unit, and a negative case in which the calculated condition is set as a condition when the calculated candidate should not be an answer is stored in the negative case storage unit. 3. The knowledge base verification device according to claim 2, wherein:
検証部において知識の不足が有ると判定され且つ不足し
ている事例の条件が求められたとき、この求められた不
足している事例の条件を入出力装置から出力して、その
条件が成り立つときの正しい解答の入力を促進し、入出
力装置からの解答の入力時、入力された解答が解答とな
る場合の条件として前記不足している事例の条件を設定
した肯定事例を前記肯定事例格納部に格納することを特
徴とする請求項3記載の知識ベース検証装置。4. The knowledge base modifying means, when the integrity verification unit determines that there is a lack of knowledge and determines a condition of the lacking case, determines whether or not the obtained case is insufficient. The condition is output from the input / output device, and the input of the correct answer when the condition is satisfied is promoted.When the input of the answer from the input / output device is performed, the condition is insufficient when the input answer becomes the answer. The knowledge-based verification apparatus according to claim 3 , wherein a positive case in which a condition of a certain case is set is stored in the positive case storage unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6303165A JP2621818B2 (en) | 1994-11-11 | 1994-11-11 | Knowledge base verification device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6303165A JP2621818B2 (en) | 1994-11-11 | 1994-11-11 | Knowledge base verification device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08137699A JPH08137699A (en) | 1996-05-31 |
| JP2621818B2 true JP2621818B2 (en) | 1997-06-18 |
Family
ID=17917674
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6303165A Expired - Lifetime JP2621818B2 (en) | 1994-11-11 | 1994-11-11 | Knowledge base verification device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2621818B2 (en) |
-
1994
- 1994-11-11 JP JP6303165A patent/JP2621818B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 人工知能学会研究会資料(SIG−KBS−9401−4)(1994年5月)田中・古関著、"表形式知識ベースの検証と知識修正支援",P.25−32 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08137699A (en) | 1996-05-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Merkelbach et al. | Towards a process model to enable domain experts to become citizen data scientists for industrial applications | |
| EP0468754A2 (en) | Knowledge acquisition system | |
| CN106980960B (en) | Method and device for making knowledge point system | |
| JP2621818B2 (en) | Knowledge base verification device | |
| US5347615A (en) | Rule generating and verifying apparatus for fuzzy control using temporary exclusion of a selected rule | |
| US20040172520A1 (en) | Methods and apparatus for visually creating complex expressions that inform a rules-based system of clinical decision support | |
| JP3578365B2 (en) | Failure case acquisition / arrangement device and knowledge acquisition type failure diagnosis system | |
| CN118276830A (en) | Project demand management method, device, equipment and storage medium | |
| JP2853215B2 (en) | Network reliability analysis system | |
| JP2725490B2 (en) | Software Bug Cause Inference Expert System | |
| Arango et al. | Application of artificial intelligence | |
| JP4021804B2 (en) | Communication network failure frequency calculation method, communication network failure frequency calculation device, communication network failure frequency calculation program, and recording medium recording the program | |
| JPH08292811A (en) | Method and device for diagnosing fault | |
| CN116090564B (en) | A Bayesian Network-Based Error Attribution Method and System | |
| JP2932280B2 (en) | Vehicle failure diagnosis device | |
| Armaghan et al. | A Conversational Case-Based Reasoning Approach to Assisting Experts in Solving Professional Problems. | |
| JPH05313900A (en) | Diagnosis expert system development support device | |
| JP3145526B2 (en) | Knowledge acquisition device and diagnostic expert system using it | |
| CN119067248A (en) | A large model fault prediction method | |
| JP2001117774A (en) | Production system with adaptation mechanism | |
| JPH06174503A (en) | Plant abnormality diagnostic device | |
| JPH02211537A (en) | Knowledge arrangement supporting device | |
| JPH04177429A (en) | Knowledge acquiring system | |
| JPS6382540A (en) | Deductive system | |
| JP2847369B2 (en) | Expert model construction equipment |