JPH03260835A - Knowledge base system preparing device - Google Patents

Knowledge base system preparing device

Info

Publication number
JPH03260835A
JPH03260835A JP2060719A JP6071990A JPH03260835A JP H03260835 A JPH03260835 A JP H03260835A JP 2060719 A JP2060719 A JP 2060719A JP 6071990 A JP6071990 A JP 6071990A JP H03260835 A JPH03260835 A JP H03260835A
Authority
JP
Japan
Prior art keywords
knowledge base
knowledge
japanese
creation device
construction
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
JP2060719A
Other languages
Japanese (ja)
Inventor
Osamu Yamaguchi
修 山口
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2060719A priority Critical patent/JPH03260835A/en
Publication of JPH03260835A publication Critical patent/JPH03260835A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To attain the construction of a knowledge base system even through the sentence structures and the expression forms obtained based on the language specifications are not completely understood by making use of a construction process, a construction means, and the guidance which are stored in a knowledge base store means. CONSTITUTION:A Japanese modified word can be defined by a Japanese word described means 201 based on an acquired description element. A knowledge base store means 202 can produce and stores a knowledge base via the means 201 based on the prescribed procedure elements. A knowledge base integrated application means 203 can integrate and use the contents of knowledges based on the conditions of a designated or selected knowledge base when an inference system which obtains a conclusion after a forward inference is carried out via a knowledge base. Then a knowledge base common area application means 204 can use the specific areas of each knowledge contents in common to each other. In such a constitution, a knowledge base is produced even though the sentence structures and the expression forms of the experience knowledge like an object, etc., are not completely understood.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、対象となる要求定義の事象に依存することな
く知識ベースの構築が可能な知識ベースシステム作成装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a knowledge base system creation device that is capable of constructing a knowledge base without depending on target requirement definition events.

従来の技術 従来の知識ベースシステム作成装置では、KE(Kno
wledge EngIneer )が専門家から対象
となる知識の要求定義を収集し、要求定義の分析により
問題の性質や問題解決のための手段を明らかにした上で
知識表現の選択を行なう。次いで知識の構造化により、
知識を事実知識と経験知識とに分け、事実知識を先に作
成した上で経験知識を後で作成する。事実知識とは、例
えば「F定格電流」「−相二次電圧」といった事象から
なって幻り、経験知識とは、例えば「もし受電方式がP
FSならば、PFS電圧計回路を呼び出す。」といった
ようなものである。
Conventional technology In conventional knowledge base system creation devices, KE (Kno
wledge (Engineer) collects requirement definitions of target knowledge from experts, analyzes the requirement definitions to clarify the nature of the problem and the means for solving the problem, and then selects the knowledge expression. Then, by structuring knowledge,
Knowledge is divided into factual knowledge and experiential knowledge, with factual knowledge being created first and experiential knowledge being created later. Factual knowledge consists of phenomena such as "F rated current" and "-phase secondary voltage," and experiential knowledge consists of phenomena such as "If the power receiving system is P
If it is FS, call the PFS voltmeter circuit. ” Something like this.

第11図は従来の知識ベースシステム作成装置における
エキスパートシステムの作成手順を示している。従来に
おいては、まずユーザからの要求を定義しくa)、その
要求定義の分析をした後(b)、知識の構造設計を行な
い(C)、知識の仕様決定を行ない(d)、知識のコー
ディングを行ない(e)、テストおよび評価を行なって
(f)、変更がある場合は変更して(g)、実用システ
ムを完成させていた(h)。そして知識を拡張する場合
には、(C)以降の動作を繰り返していた。このような
動作手順は、一般のソフトウェア開発に類似した点があ
るため、知識の拡張作業ではKE専任者に頼らざるを得
なく、経験知識を有する専門家が容易に行なうことはで
きなかった。
FIG. 11 shows the procedure for creating an expert system in a conventional knowledge base system creation device. Conventionally, the user's requirements are first defined (a), the requirement definition is analyzed (b), the knowledge structure is designed (C), the knowledge specifications are determined (d), and the knowledge is coded. (e), tested and evaluated (f), made changes if necessary (g), and completed the practical system (h). When expanding the knowledge, the operations from (C) onwards are repeated. Since such operating procedures are similar to general software development, knowledge expansion work must rely on KE specialists and cannot be easily carried out by experts with experience.

従来の知識ベースシステム作成装置は、経験知識の構文
や表現形式を理解しなければ知識ベースの作成が困難で
あり、表現形式に基づいて順序たてて入力する必要性が
あった。例えば経験知識の記述は、「((英文関数名(
事象名))、(英文関数名(副事象名)))。」という
表現形式が採られ、一般の専門家がこのような表現形式
を知っていることは殆どなく、また解読性も良くなかっ
た。このため事実知識の有効な利用が図れず、経験知識
の整備が後から行なわれるのが現実であった。また事実
知識の場合でも、既に人力が行なわれて存在しているに
もかかわらず、他の定義部でも重複した入力がなされ、
変更の際には多くの時間を必要としていた。
With conventional knowledge base system creation devices, it is difficult to create a knowledge base without understanding the syntax and expression format of experiential knowledge, and it is necessary to input information in order based on the expression format. For example, the description of experiential knowledge is ``((English function name (
Event name)), (English function name (side event name))). '' was adopted, and this type of expression was rarely known to ordinary experts, and it was not easy to decipher. For this reason, factual knowledge could not be used effectively, and the reality was that experience knowledge was developed later. In addition, even in the case of factual knowledge, although it has already been done manually, duplicate input is made in other definition sections,
Changes required a lot of time.

発明が解決しようとする課題 前述したように、従来の知識ベースシステム作成装置で
は、経験知識の構文や表現形式を理解し、知識表現のた
めの構文や表現形式の選択が適切でなければ、最適な経
験知識の作成ができなかった。また、経験知識を所有す
る専門家は、経験知識の構文や表現形式、作業手順など
を理解していることが殆どなく、知識ベース構築支援ツ
ールのもとて経験知識を作成するためには、構文や表現
形式、作業手順等について完全に理解する必要があった
Problems to be Solved by the Invention As mentioned above, conventional knowledge base system creation devices do not understand the syntax and expression format of experiential knowledge, and if the selection of the syntax and expression format for knowledge expression is not appropriate, I was unable to create empirical knowledge. In addition, experts who possess experiential knowledge rarely understand the syntax, expression format, work procedures, etc. of experiential knowledge, and in order to create experiential knowledge using knowledge base construction support tools, It was necessary to fully understand the syntax, presentation format, work procedures, etc.

また、構文や表現形式に基づいて順序だてて入力するた
め、別名称による重複入力といった入力ミスや、フレー
ムといった事実知識の共通化やオブジェクトといった経
験知識の整備化が図れず、作成や変更に多くの時間を必
要とする問題があった。
In addition, because input is performed in an orderly manner based on syntax and expression formats, input errors such as duplicate input using different names, and the inability to standardize factual knowledge such as frames or experiential knowledge such as objects, are difficult to create or change. There was a problem that required a lot of time.

さらに、知識ベースの記述が日本語による表現形式では
ないため、その都度確認しながらこのような意味がある
と理解しなければならず、経験知識の解読が困難で知識
ベースの保守が煩わしくなるといった問題があった。
Furthermore, since the description of the knowledge base is not expressed in Japanese, it is necessary to check each time to understand the meaning, which makes it difficult to decipher the experiential knowledge and makes maintenance of the knowledge base cumbersome. There was a problem.

本発明は、従来のこのような問題を解決するものであり
、オブジェクトといった経験知識の構文や表現形式を完
全なまでも理解しなくとも、知識ベースの作成を可能と
した知識ベースシステム作成装置を提供することを目的
とする。
The present invention solves these conventional problems, and provides a knowledge base system creation device that makes it possible to create a knowledge base without having to completely understand the syntax and expression format of experiential knowledge such as objects. The purpose is to provide.

課題を解決するための手段 本発明は、前記目的を達成するために、熟練者の持つ事
象または事実およびその値を表現した対象データと、そ
れらを記述し参照する条件部および結論部または実行部
の組から成る知識とを規則によって格納する知識ベース
システム作成装置において、取得された記述要素に基づ
いて日本語修飾語を定義することができる日本語記述手
段と、定められた手順要素に基づいて日本語記述手段に
より知識ベースを作成して格納することができる知識ベ
ース格納手段と、知識ベースを用い前向きの推論を行な
って結論を導き出す推論システムが知識ベースとの照合
により解決および実行する際に指定または選択された知
識ベースの条件に基づいて各知識内容を統合して利用で
きる知識ベース統合利用手段と、各知識内容の特定領域
を共通に利用できる知識ベース共通領域利用手段とを備
えている。
Means for Solving the Problems In order to achieve the above object, the present invention provides target data expressing events or facts held by an expert and their values, and a conditional part and a conclusion part or an execution part that describe and refer to them. A knowledge base system creation device that stores knowledge consisting of sets of according to rules, a Japanese language description means that can define Japanese modifiers based on the acquired description elements, and a Japanese language description means that can define Japanese modifiers based on the acquired description elements; A knowledge base storage means that can create and store a knowledge base using a Japanese writing means, and an inference system that uses the knowledge base to make forward inferences and draw conclusions when solving and executing by comparing with the knowledge base. It is equipped with a knowledge base integrated use means that allows each knowledge content to be integrated and used based on specified or selected knowledge base conditions, and a knowledge base common area use means that allows a specific area of each knowledge content to be used in common. .

作用 本発明において、経験知識の表現形式の内容は予め決め
ておかなければならない。事象名と副事象名、副事象名
に対する値を記述する要素として抽出し、記述する順序
も決定し、知識ベースの構造設計を明確にする。そして
、作成者はこの構造設計をもとに、マン・マシン・イン
タフェースの項目を選択しながらデータ入力を繰り返す
だけで作成が可能となる。
Function: In the present invention, the content of the expression form of experiential knowledge must be determined in advance. The event name, sub-event name, and value for the sub-event name are extracted as elements that describe the sub-event name, the order in which they are written is determined, and the structural design of the knowledge base is clarified. Then, based on this structural design, the creator can create the product by simply repeating data input while selecting the items of the man-machine interface.

また、経験知識と事実知識の整備を充実させるために、
アトム、フレームといった同一領域の事実知識を共通に
利用し、個別の経験知識と事実知識を階層的に統合させ
て利用することにより、知識の追加および変更に対し柔
軟に対応することができる。
In addition, in order to enhance the development of experiential knowledge and factual knowledge,
By commonly using factual knowledge in the same domain, such as atoms and frames, and by hierarchically integrating individual empirical knowledge and factual knowledge, it is possible to flexibly respond to additions and changes to knowledge.

さらに、記述する要素を日本語による記述表現とし、そ
の内容の表示および出力を付加することにより、解読性
の向上と編集の容易性とを実現することができる。
Furthermore, by using descriptive expressions in Japanese for the elements to be described and adding display and output of the contents, it is possible to improve readability and facilitate editing.

実施例 第1図は、本発明の知識ベースシステム作成装置が装備
されたエキスパート・システムの一実施例を示すブロッ
ク図である。第1図において、100はマン・マシン・
インタフェース、101は知識獲得部、200は知識ベ
ースシステム作成装置、300は知識ベース、400は
知識処理部、401は推論エンジン、500は出力部で
ある。
Embodiment FIG. 1 is a block diagram showing an embodiment of an expert system equipped with the knowledge base system creation device of the present invention. In Figure 1, 100 is man-machine
101 is a knowledge acquisition unit, 200 is a knowledge base system creation device, 300 is a knowledge base, 400 is a knowledge processing unit, 401 is an inference engine, and 500 is an output unit.

マン・マシン・インタフェース100は、ユーザとの間
でエキスパート・システムの利用を提供し、KEとの間
で知識ベースの構築と保守を対話的に支援する。知識獲
得部101は、マン・マシン・インタフェース100か
ら入力された知識ベースを編集する装置を備えている。
The man-machine interface 100 provides expert system access to the user and interactively assists in the construction and maintenance of knowledge bases with the KE. The knowledge acquisition unit 101 includes a device for editing the knowledge base input from the man-machine interface 100.

知識ベースシステム作成装置200は、知識獲得部10
1で獲得した知識を効率的に格納し、それをメモリ上に
登録して知識ベース300とする。知識処理部400は
、前向きの推論を行なう推論エンジン401を用いて知
識ベース300に登録された知識を解釈し、利用に適し
た形に処理し、得られた結果を出力部500へ出力する
The knowledge base system creation device 200 includes the knowledge acquisition unit 10
The knowledge acquired in step 1 is efficiently stored and registered in a memory to form a knowledge base 300. The knowledge processing unit 400 uses an inference engine 401 that performs forward inference to interpret the knowledge registered in the knowledge base 300, processes it into a form suitable for use, and outputs the obtained result to the output unit 500.

第2図は、第1図をより詳細に示した図である。ここで
は知識処理部400へ知識ベース300から入力される
知識は、−旦知識解釈部402で解釈され、また知識処
理部400で入出力されるデータを一時的に格納するエ
リアおよび知識処理部400で得た結論を保存させるエ
リアとして、ワーキング・メモリ403を用いている。
FIG. 2 is a diagram showing FIG. 1 in more detail. Here, the knowledge input from the knowledge base 300 to the knowledge processing unit 400 is first interpreted by the knowledge interpretation unit 402, and an area for temporarily storing data input and output by the knowledge processing unit 400 and the knowledge processing unit 400 The working memory 403 is used as an area to store the conclusions obtained.

知識ベースシステム作成装置200により構築された知
識ベース300は、経験知識を記述するルールや事実知
識であるアトム、メタフレーム、フレーム、コマンドフ
レームおよび初期化ファイル、関数ファイル、日本語助
詞ファイルなどを含んでいる。
The knowledge base 300 constructed by the knowledge base system creation device 200 includes rules for describing experiential knowledge, atoms that are factual knowledge, meta frames, frames, command frames, initialization files, function files, Japanese particle files, etc. I'm here.

第3図は、知識ベースシステム作成装置200の構成を
示している。知識ベースシステム作成装置200は、知
識ベースの構築において、構築の最適化と保守性、資源
の有効活用を図るために、日本語による記述表現を可能
とするための日本語記述手段201と、定められた手順
要素に基づいて日本語記述手段201により知識ベース
を作成して格納可能な知識ベース格納手段202と、知
識ベースの内容を統合して利用可能な知識ベース統合利
用手段203と、知識ベースの内容の特定領域を共通に
利用可能な知識ベース共通領域利用手段204と、これ
ら各手段およびその入出力を制御して知識ベースの作成
、編集を指示する制御手段205とを備えている。
FIG. 3 shows the configuration of the knowledge base system creation device 200. In building a knowledge base, the knowledge base system creation device 200 uses a Japanese description means 201 to enable descriptive expression in Japanese in order to optimize construction, maintainability, and effectively utilize resources. a knowledge base storage means 202 capable of creating and storing a knowledge base using a Japanese description means 201 based on the procedural elements provided; a knowledge base integrated use means 203 capable of integrating and using the contents of the knowledge base; The knowledge base common area utilization means 204 that can commonly use a specific area of the content of the information base, and the control means 205 that controls each of these means and their input/output to instruct creation and editing of the knowledge base.

次に、この知識ベースシステム作成装置200における
動作の概時について説明する。まず事実知識であるアト
ム、フレーム、メタフレーム、コマンドフレームおよび
関数の事象や副事象に対しては変数の定義とそれに対す
る値を外部入力手段からセットする。また、縄験知識の
オブジェクトでは、構文や表現形式により、記述すべき
要素を抽出し、記述の手順を制御部205で確認させる
。この記述する要素が確認されると、制御部205の働
きによりワーキングメモリ403上に一旦登録される。
Next, an outline of the operation of this knowledge base system creation device 200 will be explained. First, for events and sub-events of atoms, frames, meta-frames, command frames, and functions that are factual knowledge, variable definitions and corresponding values are set from external input means. Furthermore, in the rope training knowledge object, elements to be described are extracted based on the syntax and expression format, and the description procedure is confirmed by the control unit 205. When the described element is confirmed, it is temporarily registered in the working memory 403 by the action of the control unit 205.

ここで知識ベース統合利用手段203による経験知識わ
よび事実知識の細分化番=よる統合利用と、知識ベース
共通領域利用手段204の事実知識による特定領域の共
通利用が制御部205による確認の高速化とワーキング
メモリ403の使用制限に役立てられ、処理上においで
有効に働く。またこの知識ベースシステム作成装置20
0は、記述された知識ベースを、−旦制洞部205の働
きにより、知識の解釈および個別の経験知識と事実知識
とを実行本体として自動的に遅結させる。このとき、経
過ログとエラー情報をガイダンスの形式でタイムリーに
デイスプレィ上に表示し、出力させることにより、作成
者に対し知識の解釈状況を提供し、構文や表現形式の確
認を促すことができる。さらに知識リストをガイダンス
の形式で出力させることにより、知識の登録状況が把握
でき、次の処理へ移るための参考となる。これらのガイ
ダンスは、知識ベースから継承された日本語表現により
表示されるので、これを参照しながら経験知識の編集が
可能となる。このため経験知識の構文や表現形式を完全
なまでに理解しなくても、ガイダンスという形式で表示
および出力が自動的になされるため、知識ベースの格納
時には特に意識する必要がない。
Here, the integrated use of experience knowledge and factual knowledge by the subdivision number by the knowledge base integrated use means 203 and the common use of a specific area based on the factual knowledge of the knowledge base common area use means 204 speeds up the confirmation by the control unit 205. This is useful for limiting the use of the working memory 403, and is effective in processing. In addition, this knowledge base system creation device 20
0 automatically delays the written knowledge base by the function of the control section 205, and the interpretation of the knowledge and the individual experience knowledge and factual knowledge as the execution body. At this time, by displaying and outputting the progress log and error information in a timely manner on the display in the form of guidance, it is possible to provide the creator with the interpretation status of the knowledge and encourage them to check the syntax and expression format. . Furthermore, by outputting the knowledge list in the form of guidance, the registration status of knowledge can be grasped, and it becomes a reference for moving to the next process. Since these guidances are displayed in Japanese expressions inherited from the knowledge base, it is possible to edit the experiential knowledge while referring to them. Therefore, even if the syntax and expression format of the experiential knowledge are not completely understood, the information is automatically displayed and output in the form of guidance, so there is no need to be particularly conscious when storing the knowledge base.

第4図は、この知識ベースシステム作成装置200の知
識ベース格納手段202における知識ベースの構築プロ
セスを示している。まず、専門家とKEとの間で対象に
ついての質疑、応答を行ない獲得された経験知識の要求
定義を分析、整理し、知識の表現形式の内容としたもの
を構造化する(ステップ211)。次に、この知識の構
造化をもとに知識の拡張化を図る(ステップ212)こ
の知識の拡張化は、経験知識の構文が、状態の分析(ス
テップ213)、状態の認識(ステップ214)、状態
から仮説の導出(ステップ215)、結論の抽出(ステ
ップ216)の形となるように設計し、これらのステッ
プを繰り返しながら、知識ベースの構築を実現する(ス
テップ217)。
FIG. 4 shows the process of building a knowledge base in the knowledge base storage means 202 of the knowledge base system creation device 200. First, the expert and the KE conduct questions and answers about the subject, analyze and organize the requirements definition of the experiential knowledge acquired, and structure the contents of the knowledge expression format (step 211). Next, the knowledge is expanded based on the structuring of this knowledge (step 212). This knowledge expansion involves the syntax of the experiential knowledge, analysis of the state (step 213), recognition of the state (step 214) , deriving a hypothesis from the state (step 215), and extracting a conclusion (step 216), and by repeating these steps, a knowledge base is constructed (step 217).

第5図は、前記知識ベースの構築プロセスを具体的に実
現するための制御フローである。まずユーザからの要求
を定義しくステップ221)、この要求定義を分析しく
ステップ222)、これをどのような知識表現を用いて
記述するかを選択しくステップ223)、選択された知
識表現に基づいて知識の構造化を行ない(ステップ22
4)、プロトタイプを作成(試作)する(ステップ22
5)。その後、このプロトタイプをテストおよび評価し
くステップ226L必要な変更を加えて機能を拡張して
(ステップ227)、実用システムを完成する(ステッ
プ228)。さらにこの実用システムについても、実用
に供してその評価を行ない(ステップ229)、必要な
変更を加えてIl!能を拡張する(ステップ230)。
FIG. 5 is a control flow for concretely realizing the knowledge base construction process. First, a request from the user is defined (step 221), this request definition is analyzed (step 222), a knowledge representation is selected to describe this (step 223), and based on the selected knowledge representation, Structuring knowledge (step 22)
4) Create a prototype (prototype) (step 22)
5). Thereafter, this prototype is tested and evaluated (Step 226L), and necessary changes are made to extend its functionality (Step 227), and a practical system is completed (Step 228). Furthermore, this practical system is also put to practical use and evaluated (step 229), and any necessary changes are made. (step 230).

この知識ベース構築手順では、第11図に示す従来例に
比べて、プロトタイプ作成(試作)(ステップ225)
の追加と、テスト、評価(ステップ226)とは別に実
用、評価(ステップ229)を追加することにより機能
拡張が容易となり、また知識ベースの構築が対象分野を
個別にして追加できる利点がある。さらに第4図に示し
た知識ベース構築プロセスにおける知識の拡張化(ステ
ップ212)の方式を、プロトタイプの作成(試作)(
ステップ225)および変更・機能拡張において考慮さ
せることにより、より高度な知識ベース格納手段202
を構成することができる。
In this knowledge base construction procedure, compared to the conventional example shown in FIG.
By adding practical use and evaluation (step 229) in addition to testing and evaluation (step 226), functional expansion becomes easy, and there is an advantage that the knowledge base can be constructed by adding target fields individually. Furthermore, the method of knowledge expansion (step 212) in the knowledge base construction process shown in Figure 4 is
Step 225) and by taking into consideration changes and functional expansions, the knowledge base storage means 202 is more advanced.
can be configured.

第6図は、第5図のステップ223「知識表現の選択」
における選択可能な知識表現の形式を示しており、論理
型表現(命題論理型および述語論理型を含む)、オブジ
ェクト指向の階層知識表現、日本語文法7日本語データ
表現、プロダクション型/ルール型表現、あいまい的記
述表現、データのフレーム表現、断片的知識の意味材は
表現の中から適宜組み合わされて選択される。
Figure 6 shows step 223 "selection of knowledge representation" in Figure 5.
It shows the formats of knowledge expressions that can be selected in , including logical type expression (including propositional logical type and predicate logical type), object-oriented hierarchical knowledge expression, Japanese grammar 7 Japanese data expression, production type/rule type expression , ambiguous descriptive expressions, data frame expressions, and fragmented knowledge semantics are appropriately combined and selected from among the expressions.

第7図は、第5図のステップ224「知識の構造化」に
おける知識ベースの日本語記述の形成を示している。日
本語記述では助詞または関数といった日本語文法表現と
、オブジェクト、アトムで値を定義することができる日
本語データ表現が可能である。その具体的な記述例が第
8図に示されている。
FIG. 7 shows the formation of the Japanese description of the knowledge base in step 224 "structuring knowledge" in FIG. In Japanese description, it is possible to use Japanese grammatical expressions such as particles or functions, and Japanese data expressions in which values can be defined using objects and atoms. A specific example of the description is shown in FIG.

第8図において、231はルール(オブジェクトメイン
)、232はルール(オブジェクトコンプリメンタリ)
、233はメタフレーム、234はアトム、235はフ
レーム、236はコマンドフレームである。これらの日
本語記述手段により、KE以外の作成者でも簡単に内容
を解読することが可能となり、従来の英文関数名による
記述表現に比べ、保守性が一段と向上する。
In Figure 8, 231 is a rule (object main), 232 is a rule (object complementary)
, 233 is a meta frame, 234 is an atom, 235 is a frame, and 236 is a command frame. These Japanese description means allow even creators other than KE to easily decipher the contents, and maintainability is further improved compared to the conventional description using English function names.

第9図は、第3図における知識ベース統合化利用手段2
03の具体例を示す。経験知識であるオブジェクトは、
対象によりオブジェクトO〜オブジェク)10のいずれ
かに区分され、知識処理の指示により確当するオブジェ
クトのみが処理を実行することになる。このようなオブ
ジェクトは、オブジェクトO〜オブジェクト10におい
て「〜を 呼び出し。」と関数表現された内容に比例し
て、オブジェク)O〜オブジェクト10に混在する。事
実知識であるアトム、メタフレーム、コマンドフレーム
はいずれも1つのデータとして格納されているが、メタ
フレームが継承しているフレームについては、事象、副
事象に整理された内容に比例して存在する。またメタフ
レームとコマンドフレームについては各オブジェクト内
で「〜を 取り出し。」、「〜 の コマンド出力。
Figure 9 shows the knowledge base integration utilization means 2 in Figure 3.
A specific example of 03 is shown below. Objects that are experiential knowledge are
The object is classified into one of Object O to Object 10 depending on the object, and only the object confirmed by the knowledge processing instruction executes the process. Such objects are mixed in Object O to Object 10 in proportion to the content expressed as a function "call..." in Object O to Object 10. Atoms, metaframes, and command frames, which are factual knowledge, are all stored as one piece of data, but the frames inherited by metaframes exist in proportion to the contents organized into events and subevents. . In addition, for metaframes and command frames, within each object there are commands such as ``Extract...'' and ``Command output of...''.

」と関数表現された内容に比例してデータ内に存在する
ことになる。アトムについては、オブジェクトO〜オブ
ジェクト10およびフレーム、メタフレーム、コマンド
フレームにおいて「〜 は(値)。」と関数表現された
内容に比例して存在する。
” will exist in the data in proportion to the content expressed as a function. Atoms exist in objects O to 10, frames, metaframes, and command frames in proportion to the content expressed as a function as "~ is (value)."

これらのオブジェクト、アトム、フレーム、メタフレー
ム、コマンドフレームは、単一のデータとして存在して
いるため、知識ベースの表現においては、オブジェクト
O〜オブジェクト10のいずれかを中心に階層化形式で
統合化させて利用することが、ワーキング・メモリの有
効利用と知識ベースシステム作成装置内の制御部の高速
化、さらにはデータの単一化による保守性の向上につな
がる。これらについての具体的な構築例が第8図の矢印
で示されている。
These objects, atoms, frames, metaframes, and command frames exist as a single piece of data, so in the knowledge base representation, they are integrated in a hierarchical format centered on any of objects O to Object 10. Utilizing the information in this manner leads to effective use of working memory, speeding up of the control unit in the knowledge base system creation device, and improvement of maintainability by unifying the data. Specific construction examples for these are shown by arrows in FIG.

第10図は、第3図の知識ベース共通領域利用手段20
4の具体例を示している。各知識ベースの内容と各知識
ベースの因果関係については第9図で説明した通りであ
る。本来、知識ベースの構造化を十分考慮することで、
対象となるオブジェクトによってはアトム、メタフレー
ム、コマンドフレームを同一データとして共通に利用す
ることが可能である。本例では、オブジェクトの「機種
の決定」で利用していたアトム、メタフレーム、コマン
ドフレーム内の判定、設計基準データが他のオブジェク
トの「機器配置」においても利用できることを示してい
る。このように共通化された領域の利用を図ることによ
り、知識ベースのコンパクト化と保守性を容易にするこ
とができる。第8図のアトム234にはこれについての
具体例が示されている。
FIG. 10 shows the knowledge base common area utilization means 20 in FIG.
4 specific examples are shown. The contents of each knowledge base and the causal relationship between each knowledge base are as explained in FIG. 9. Essentially, by giving sufficient consideration to the structuring of the knowledge base,
Depending on the target object, atoms, metaframes, and command frames can be used in common as the same data. This example shows that the atom, meta frame, judgment in the command frame, and design standard data used in the "model determination" of the object can also be used in the "equipment placement" of other objects. By utilizing a common area in this way, the knowledge base can be made more compact and maintainable. A concrete example of this is shown in the atom 234 of FIG.

発明の効果 以上のように、本発明の知識ベースシステム作成装置に
よれば、熟練者の持つ事象または事実およびその値を表
現した対象データと、それらを記述し参照する条件部お
よび結論部または実行部の組から成る知識とを規則によ
って格納する知識ベースシステム作成装置において、取
得された記述要素に基づいて日本語修飾語を定義するこ
とができる日本語記述手段と、定められた手順要素に基
づいて「本島記述手段により知識ベースを作成して格納
することができる知識ベース格納手段と、各知識内容を
統合して利用できる知識ベース統合利用手段と、各知識
内容の特定領域を共通に利用できる知識ベース共通領域
利用手段とを備えているので、知識ベース格納手段にお
ける構築プロセスおよび構築手順とガイダンスの提供を
利用することにより、言語仕様に基づく構文および表現
形式を完全なまでも理解しなくとも、一般の専門家が人
力ミスなしに事実知識の共通化や経験知識の整備化を図
ることができ、無駄のない最適な知識ベースシステムを
構築することができる。
Effects of the Invention As described above, according to the knowledge base system creation device of the present invention, target data expressing events or facts held by an expert and their values, and a condition part and a conclusion part or execution that describe and refer to them. A knowledge base system creation device that stores knowledge consisting of sets of parts according to rules, includes a Japanese language description means that can define Japanese modifiers based on acquired description elements, and a Japanese language description means that can define Japanese modifiers based on acquired description elements, and based on predetermined procedural elements. ``A knowledge base storage means that can create and store a knowledge base using the main island description means, a knowledge base integrated usage means that can integrate and use each knowledge content, and a specific area of each knowledge content that can be used in common. By using the construction process and construction procedure in the knowledge base storage means and the provision of guidance, it is possible to use the knowledge base common area usage means without fully understanding the syntax and expression format based on the language specifications. , general experts can share factual knowledge and organize experiential knowledge without making human errors, and can construct a lean and optimal knowledge base system.

また知識ベースの表現形式が日本語による記述手段であ
るため意図することが容易に理解でき、ガイダンスのた
めの表示と出力が知識ベースからそのまま継承できるな
ど知識ベースの保守性、読解性を飛躍的に向上させるこ
とができる。
In addition, since the knowledge base is expressed in Japanese, the intent can be easily understood, and the display and output for guidance can be directly inherited from the knowledge base, dramatically improving the maintainability and readability of the knowledge base. can be improved.

さらに、特定事実知識の共通領域利用手段による繰り返
し利用と、統合利用手段における経験知識および事実知
識の細分化による階層的な統合利用は、知識ベースシス
テム作成装置内の制御部の高速化とワーキング・メモリ
の使用制限に役に立ち、追加または変更面での柔軟な対
応が期待できる。
Furthermore, the repeated use of specific factual knowledge by the common area utilization means and the hierarchical integrated use by subdividing the experiential knowledge and factual knowledge in the integrated utilization means speed up the control unit in the knowledge base system creation device and increase the working speed of the knowledge base system creation device. It is useful for limiting memory usage, and can be expected to be flexible in terms of additions or changes.

このように、本発明は、知識ベースの内容が容品に理解
できるとともに、構築が簡単で入力ミスを未然に防ぐこ
とができ、メモリなどの資源が有効に活用できるなど大
きな効果をもたらすものである。
As described above, the present invention has great effects such as the content of the knowledge base can be easily understood, it is easy to construct, input errors can be prevented, and resources such as memory can be used effectively. be.

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

第1図は本発明を適用したエキスパート・システムの一
実施例を示すブロック図、第2図は第1図ニ示すエキス
パート・システムのより具体的な構成を示すブロック図
、第3図は本発明の一実施例における知識ベースシステ
ム作成装置の構成を示すブロック図、第4図は同実施例
における知識ベースの構築プロセスを示すフロー図、第
5図は同実施例における知識ベースの構築手順を示す制
御フロー図、第6図は同実施例における知識ベースの表
現構成を示す図、第7図は同実施例における知識ベース
の日本語記述の構成を示す図、第8図は本発明において
構築された知識ベースの具体例を示す図、第9図は本発
明における知識ベースの統合化の具体例を示す図、第1
0図は本発明における知識ベースの共2i!!領域利用
の具体例を示す図、第11図は従来の知識ベースの構築
手順を示す制御フロー図である。 100・・・マン・マシン・インタフェース、101・
・・知識獲得部、200・・・知識ベースシステム作成
装置、201・・・日本語記述手段、202・・・知識
ベース格納手段、203・・・知識ベース統合利用手段
、204・・・知識ベース共通領域利用手段、300・
・・知識ベース、400・・・知識処理部、401・・
・推論エンジン、402・・・知識解釈部、403・・
・ワーキング・メモリ、500・・・出力部。
FIG. 1 is a block diagram showing an embodiment of an expert system to which the present invention is applied, FIG. 2 is a block diagram showing a more specific configuration of the expert system shown in FIG. A block diagram showing the configuration of a knowledge base system creation device in one embodiment, FIG. 4 is a flow diagram showing a knowledge base construction process in the same embodiment, and FIG. 5 shows a knowledge base construction procedure in the same embodiment. 6 is a diagram showing the representation structure of the knowledge base in the same embodiment, FIG. 7 is a diagram showing the structure of the Japanese description of the knowledge base in the same embodiment, and FIG. 8 is a diagram showing the structure of the Japanese description of the knowledge base in the same embodiment. FIG. 9 is a diagram showing a specific example of knowledge base integration in the present invention.
Figure 0 shows the joint 2i! knowledge base in the present invention. ! FIG. 11, which is a diagram showing a specific example of area utilization, is a control flow diagram showing a conventional knowledge base construction procedure. 100...Man-machine interface, 101.
...Knowledge acquisition unit, 200...Knowledge base system creation device, 201...Japanese language description means, 202...Knowledge base storage means, 203...Knowledge base integrated usage means, 204...Knowledge base Common area usage means, 300・
...Knowledge base, 400...Knowledge processing section, 401...
・Inference engine, 402...Knowledge interpretation section, 403...
- Working memory, 500...output section.

Claims (1)

【特許請求の範囲】[Claims] 熟練者の持つ事象または事実およびその値を表現した対
象データと、それらを記述し参照する条件部および結論
部または実行部の組から成る知識とを規則によって格納
する知識ベースシステム作成装置において、取得された
記述要素に基づいて日本語修飾語を定義することができ
る日本語記述手段と、定められた手順要素に基づいて前
記日本語記述手段により知識ベースを作成して格納する
ことができる知識ベース格納手段と、前記知識ベースを
用い前向きの推論を行なって結論を導き出す推論システ
ムが前記知識ベースとの照合により解決および実行する
際に指定または選択された知識ベースの条件に基づいて
各知識内容を統合して利用できる知識ベース統合利用手
段と、各知識内容の特定領域を共通に利用できる知識ベ
ース共通領域利用手段とを備えた知識ベースシステム作
成装置。
Acquired by a knowledge base system creation device that stores, according to rules, target data representing events or facts and their values possessed by an expert, and knowledge consisting of a set of a conditional part and a conclusion part or an execution part that describe and refer to them. a Japanese language description means that can define Japanese modifiers based on prescribed description elements; and a knowledge base that can create and store a knowledge base using the Japanese language description means based on prescribed procedural elements. A storage means, and an inference system that performs forward inference using the knowledge base to draw a conclusion, each knowledge content based on the specified or selected knowledge base conditions when solving and executing by comparing with the knowledge base. A knowledge base system creation device comprising a knowledge base integrated use means that can be used in an integrated manner and a knowledge base common area use means that can commonly use specific areas of each knowledge content.
JP2060719A 1990-03-12 1990-03-12 Knowledge base system preparing device Pending JPH03260835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2060719A JPH03260835A (en) 1990-03-12 1990-03-12 Knowledge base system preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2060719A JPH03260835A (en) 1990-03-12 1990-03-12 Knowledge base system preparing device

Publications (1)

Publication Number Publication Date
JPH03260835A true JPH03260835A (en) 1991-11-20

Family

ID=13150374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2060719A Pending JPH03260835A (en) 1990-03-12 1990-03-12 Knowledge base system preparing device

Country Status (1)

Country Link
JP (1) JPH03260835A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6126112A (en) * 1984-07-17 1986-02-05 Hitachi Ltd System abnormality diagnosis method
JPS63156241A (en) * 1986-12-20 1988-06-29 Fujitsu Ltd Frame type knowledge management system
JPS6466738A (en) * 1987-09-08 1989-03-13 Fujitsu Ltd Knowledge acquiring system using input of natural language
JPH01259427A (en) * 1988-04-11 1989-10-17 Hitachi Ltd Knowledge data expressing system
JPH01260538A (en) * 1988-04-11 1989-10-17 Nippon Telegr & Teleph Corp <Ntt> Device for generating experiental knowledge in knowledge base system
JPH0228726A (en) * 1988-07-18 1990-01-30 Fujitsu Ltd Arrangement/integration system for frame type knowledge expression
JPH0235527A (en) * 1988-07-25 1990-02-06 Mitsubishi Electric Corp Structuring system for knowledge base system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6126112A (en) * 1984-07-17 1986-02-05 Hitachi Ltd System abnormality diagnosis method
JPS63156241A (en) * 1986-12-20 1988-06-29 Fujitsu Ltd Frame type knowledge management system
JPS6466738A (en) * 1987-09-08 1989-03-13 Fujitsu Ltd Knowledge acquiring system using input of natural language
JPH01259427A (en) * 1988-04-11 1989-10-17 Hitachi Ltd Knowledge data expressing system
JPH01260538A (en) * 1988-04-11 1989-10-17 Nippon Telegr & Teleph Corp <Ntt> Device for generating experiental knowledge in knowledge base system
JPH0228726A (en) * 1988-07-18 1990-01-30 Fujitsu Ltd Arrangement/integration system for frame type knowledge expression
JPH0235527A (en) * 1988-07-25 1990-02-06 Mitsubishi Electric Corp Structuring system for knowledge base system

Similar Documents

Publication Publication Date Title
Lok et al. A survey of automated layout techniques for information presentations
US7542888B2 (en) Report generator for a mathematical computing environment
CN112199086B (en) Automatic programming control system, method, device, electronic equipment and storage medium
Walczak Knowledge acquisition and knowledge representation with class: the object-oriented paradigm
Minch et al. Conceptual design of decision support systems utilizing management science models
Barker et al. Open architecture for computer-aided control engineering
EP2757492A1 (en) SQL visualizer
Brna et al. Prolog programming techniques
CN119250178A (en) An event management system optimization method based on LLM and LangChain
JP2914664B2 (en) Automatic programming device
Kramer et al. Animation of requirements specifications
Dix Formal methods: an introduction to and overview of the use of formal methods within HCI
JP2608085B2 (en) Production planning simulation device
Zimmerman et al. Making formal methods practical
JPH03260835A (en) Knowledge base system preparing device
Talukdar et al. Descriptive models of design projects
Tilbury et al. Controls Education on the WWW: Tutorials for MATLAB and SIMULINK
Hillston A tool to enhance model exploitation
Coomber et al. A graphical tool for the prototyping of real-time systems
Reese et al. A software development environment for simulation programming
Budgen et al. Augmenting the design process: Transformations from abstract design representations
Kautz et al. Planning and plan recognition
Zyubin Software Psychology of Control Software Design and Development
Hanusa Tools and techniques for the monitoring of interactive graphics dialogues
JPS61220061A (en) Block diagram type simulator system oriented to process control system