JPS63221438A - Managing system for frame type knowledge base - Google Patents

Managing system for frame type knowledge base

Info

Publication number
JPS63221438A
JPS63221438A JP62055562A JP5556287A JPS63221438A JP S63221438 A JPS63221438 A JP S63221438A JP 62055562 A JP62055562 A JP 62055562A JP 5556287 A JP5556287 A JP 5556287A JP S63221438 A JPS63221438 A JP S63221438A
Authority
JP
Japan
Prior art keywords
frame
slot
facet
knowledge base
value
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
JP62055562A
Other languages
Japanese (ja)
Inventor
Ritsu Katayama
片山 立
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP62055562A priority Critical patent/JPS63221438A/en
Publication of JPS63221438A publication Critical patent/JPS63221438A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To attain the instantaneous detection processing and to realize the highly efficient maintenance control of a knowledge base, by providing a facet into a slot to store the frame names and storing the frame name to which the slot of a succession receiver belongs into said facet as the value of the facet of a succession originator. CONSTITUTION:Many knowledges expressed in frame types are stored in a knowledge base 1 of a frame type knowledge base control system. The maintenance/control of the base 1 is carried out by a knowledge base control part 2. Then an interference mechanism 3 uses the knowledges stored in the base 1 to carry out the inference. A program for inference is stored in a memory part 3a of the mechanism 3 and controlled by an inference control part 3b. In addition, an arithmetic control device 5 which generalizes the entire system is connected to an input/output device 4. Then the frame name to which the slot of a succession receiver is given into a slot in a copied-to-facet as the value of a succession originator. Thus the succession frame name is instantaneously detected so that the maintenance/management of the base 1 is ensured with high efficiency.

Description

【発明の詳細な説明】 イ)産業上の利用分野 本発明は知識ベースとしてフレーム型のものを有する知
識ベースシステムに関し、特に知識ベースを効率的に保
守・管理するための管理方式に関するものである。
[Detailed Description of the Invention] A) Industrial Application Field The present invention relates to a knowledge base system having a frame-type knowledge base, and particularly relates to a management method for efficiently maintaining and managing the knowledge base. .

口)従来の技術 知識工学の発達に伴い、人工知能技術の産業への適用が
著しく広がっており、特に知識ベースシステムはその代
表的なものである。知識ペースシスデムは、問題領域固
有の専門知識を一定の形式で格納した知識ベースと、知
識ベースとは分離され知識ベース内の知識を使って推論
を実行するための制W機構である推論機構から構成され
る。知識ベースを構築するための知識の表現モデルとし
てミンスキーによって提案されたフレームモデルは、ル
ールモデルと並んで代表的なものである〈1知識工学入
門」上野qII樹著、オーム社発行、参照〉。
With the development of traditional technical knowledge engineering, the application of artificial intelligence technology to industry has expanded significantly, with knowledge-based systems being a particularly representative example. The knowledge pace system consists of a knowledge base that stores specialized knowledge specific to a problem domain in a fixed format, and an inference mechanism that is separated from the knowledge base and is a control mechanism for executing inference using the knowledge in the knowledge base. be done. The frame model proposed by Minsky as a knowledge representation model for constructing a knowledge base is a representative model along with the rule model (see ``1 Introduction to Knowledge Engineering'' by Itsuki Ueno, published by Ohm Publishing).

フレームモデルを知識表現モデルとして用いたフレーム
型知識ベースシステムでは、知識や概念の名前はフレー
ムで、1つのフレームにおける知識や概念の種々の属性
および他のフレーム(知識や概念〉との関係はスロット
で、スロットの様々な側面(yA性、#l造的な性質な
ど)はファセットで、ファセットに対応した実際の値は
バリューで表わきれる。
In a frame-based knowledge base system that uses a frame model as a knowledge representation model, the name of knowledge or concept is a frame, and the various attributes of knowledge or concepts in one frame and the relationships with other frames (knowledge or concepts) are slots. Various aspects of slots (such as yA properties, #l structural properties, etc.) are facets, and the actual values corresponding to the facets can be expressed as values.

第2図に意味的に階層関係にあるフレームの関係図を示
す。このうち、“coIIIputer″、”mini
−computer”、” mini−compute
r−1”の3つの知識を典型的なフレームモデルで表現
すると、夫々第1表、第2表、第3表のようになる。
FIG. 2 shows a relationship diagram of frames that are hierarchically related in meaning. Among these, “coIIIputer”, “mini
-computer", "mini-compute
If the three types of knowledge of ``r-1'' are expressed using a typical frame model, they will be as shown in Tables 1, 2, and 3, respectively.

第1表 第2表 第3表 例えば、第1表に示すクラスフレーム“comput 
e r ”について説明すると、知識や概念対象の名前
はフレーム名である“computer”に対応する。
Table 1 Table 2 Table 3 For example, the class frame “compute” shown in Table 1
To explain ``e r'', the name of the knowledge or conceptual object corresponds to the frame name ``computer''.

このフレームはシステムで定義された“class−i
nstacne”、”5uper”、’sub″とユー
ザ定義の’ M IPS−va l ue”のスロット
の集合で構成される。
This frame is a “class-i” frame defined in the system.
It consists of a set of slots of "nstacne", "5uper", "sub" and user-defined "M IPS-value".

各スロットにはフレームの属性や他のフレームとの関係
に関する情報が記述される。スロットの様々な側面(属
性、構造的な性質)がファセット(例えば” 5ubc
lass″、 ” 1nstance″、”from”
)で表現され、その具体的な値はバリュー(例えば” 
5elf”や“unique″、 ” number”
、但し“nil”は不定を表わす)で示される。尚、’
 from”ファセットはそのスロット継承元を、” 
1nher 1tance−roll”ファセットはス
ロットの継承における制限を、Value−type”
ファセットはバリューの型を、value”ファセット
はバリュー自身が記述される。フレームシステ11の特
徴は、知識・概念の階層関係をスロットの継承によって
自然に表現できることであり、抽象的な性質は上位のフ
し一ムにおいて記述し、個別のフレームにはそのフレー
ム固有の属性や性質のみを記述すればよいという差分プ
ログラミングが可能な点にある。
Information regarding frame attributes and relationships with other frames is written in each slot. Various aspects of a slot (attributes, structural properties) can be defined as facets (e.g. “5ubc
lass”, “1nstance”, “from”
), and its specific value is expressed as a value (for example, “
5elf”, “unique”, “number”
, where "nil" represents indeterminate). still,'
from”The facet indicates its slot inheritance source,”
1nher 1tance-roll" facet imposes restrictions on slot inheritance, Value-type"
The facet describes the type of value, and the "value" facet describes the value itself.The feature of frame system 11 is that the hierarchical relationship of knowledge and concepts can be naturally expressed by inheritance of slots, and abstract properties are It is possible to perform differential programming in that it is possible to write in one frame, and only write attributes and properties specific to that frame in individual frames.

従って概念的に下位のフレーム(子供フレーム)を新た
に生成する場合には、例えばm in i−compu
ter−1”のフレームを生成するとしたら、親フレー
ムの名″mini−computer”を5uper”
スロットの中の1s−a関係のファセット“1nsta
nce−of”(このフレームがクラスフレームならば
5uperclass”)に記述することにより1s−
a関係にあるすべてのスロットくこの場合は“旧PS−
value”だけ)が、そのスロット中にあるインへリ
タンスロールに従って子供フレームに継承される。(但
しこの例ではmini−computer”のフレーム
中に”MIPS−value”のスロットがないので、
更に上位の“computer″のフレーム中の“旧P
S−value”のスロットが継承される)。
Therefore, when creating a new conceptually lower frame (child frame), for example, min i-comp
If you want to generate a frame of ``mini-computer'', change the parent frame name ``mini-computer'' to ``5uper''.
1s-a relationship facet “1nsta” in slot
1s-of" (if this frame is a class frame, 5superclass").
In this case, all slots related to a are “old PS-
"value") is inherited by the child frame according to the inheritance roll in that slot. (However, in this example, there is no slot for "MIPS-value" in the frame for "mini-computer", so
The “old P” in the frame of “computer” which is further higher
S-value" slot is inherited).

ハ)発明が解決しようとする問題点 しかし、このように子供フレームに親フレームからスロ
ットを継承していると、親フレームにおいて継承された
スロットを削除したり、スロット名の変更をしたりする
時には、継承先のフレームおよびスロットを検出して子
供フレームのスロットについても変更しなければならな
い。この検出には、子供階層のフレームにわたるスロッ
トの探索処理と、そのスロットが親フレームから継承さ
れたものか判定するための“from″ファセットバリ
ューのチェック処理が必要であり、非常に多大なる手間
と時間を要し、知識ベースの保守、管理の効率が非常に
悪かった。
C) Problem to be solved by the invention However, when a child frame inherits slots from a parent frame in this way, when deleting the inherited slot or changing the slot name in the parent frame, , the frame and slot of the inheritance destination must be detected and the slot of the child frame must also be changed. This detection requires searching for slots across frames in the child hierarchy and checking the "from" facet value to determine whether the slot is inherited from the parent frame, which is extremely time consuming and time consuming. It was time consuming and the maintenance and management of the knowledge base was extremely inefficient.

例えば、″″computer″computer″フ
レームe”のスtff yトの名称を” MFLOPS
−value”に変更する場合について説明するe  
’ computer”フレームのサブクラスフレーム
にはmain−frame”。
For example, the name of the stff y of ""computer"computer"frame e" is "MFLOPS".
-value" e
``main-frame'' for subclass frames of the ``computer'' frame.

mini−computer’ 、 ” person
al−computer″。
mini-computer', ``person''
al-computer''.

” micro−computer”の4つがあり、こ
の4つのクラスフレームに対して夫々L、M、N、P個
のインスタンスフレームが存在しているので、4つのサ
ブクラスフレームと夫々のインスタンスフレームの(4
+L+M+N+p)個のフレームにわたって“M IP
S−va Iυe”という名前のスロットを有するフレ
ームを検出しく子供階層のフレームにわたるスロットの
探索処理)、検出されたフレームのス0−7トにおける
″from″ファセットバリューがcampuler”
であるかをチz ’yりしく ’ from”ファセッ
トバリューのチェック処理)、該当スロットについての
みスO−/ト名を−MIPS−value”からMFL
OPS−va l ue”に変更する。  ’from
″7Tセットバリューのチェック処理が必要なのは同じ
スロット名でもその継承先が“computer”であ
るとは限らない場合があるからである。
There are four "micro-computers", and there are L, M, N, and P instance frames for each of these four class frames, so there are four subclass frames and (4) instance frames for each instance frame.
+L+M+N+p) frames
In order to detect a frame with a slot named "S-va Iυe", the "from" facet value in steps 0-7 of the detected frame is "campuler".
Check whether the 'from' facet value is correct), and change the name of the slot from '-MIPS-value' to MFL only for the relevant slot.
'OPS-value'. 'from
``7T set value check processing is necessary because even if the slot name is the same, the inheritance destination may not necessarily be ``computer''.

本発明は、継承先のスロットの名称変更や削除処理を、
継承先のスロットの属するフレームのすべての子供階層
フレームにわたる同名のスロット探索処理や″from
″ファセットバリューのチェック処理を不要にして、高
速に実行し知識ベースの保守、管理の効率化を図るもの
である。
The present invention enables processing for renaming and deleting inherited slots.
Search processing for slots with the same name across all child hierarchical frames of the frame to which the inherited slot belongs, or
``It eliminates the need for facet value checking processing, executes it quickly, and improves the efficiency of knowledge base maintenance and management.

二)問題点を解決するための手段 本発明は、継承先のスロット内に設けられたインへリタ
ンスロ〜ルファセットの値によって!!承の規定がされ
るフレーム型知識ベースの管理方式において、継承先の
スロット内に継承先のスロットの属するフレーム名を記
憶するファセットを設け、下位フレームにスロットを継
承する場合には、継承先のスロット内の前記ファセット
にその値として継承先のフレーム名を記憶し、継承先の
フレームの検出は前記ファセットの値の参照により行う
ものである。
2) Means for Solving the Problems The present invention solves the problem by using the value of the inheritance thread set in the slot of the inheritance destination! ! In a frame-type knowledge base management method that stipulates inheritance, a facet is provided in the inheritance destination slot to store the frame name to which the inheritance destination slot belongs, and when a slot is inherited to a lower frame, the inheritance destination slot is The name of the inheritance destination frame is stored as a value in the facet in the slot, and the inheritance destination frame is detected by referring to the value of the facet.

ホ) 作用 スロットの継承がきれるごとに、J1M先のスロットの
属するフレーム名が、継承先のファセットの値として記
憶されるので、継承先のフレームの検出はこのファセッ
トの値を参照することにより容易に行なわれる。
E) Each time the inheritance of the active slot ends, the name of the frame to which the J1M destination slot belongs is stored as the value of the facet of the inheritance destination, so it is easy to detect the frame of the inheritance destination by referring to the value of this facet. It will be held in

へ)実施例 第1図は本発明に係る知識ベースシステムの概略構成図
である。(1)はフレーム型の知識表現がされた知識が
多数格納きれた知識ベース、(2)は該知識ベースの保
守・管理を行う知識ベース制御部、(3)は知識ベース
(1)内の知識を使って推論を実行させる推論機構で、
知識解釈・実行のためのプログラムの格納されるメモリ
部(3a)と推論の実行・制御を行う推論制御部(3b
)から成る。
f) Embodiment FIG. 1 is a schematic diagram of a knowledge base system according to the present invention. (1) is a knowledge base that stores a large amount of knowledge expressed in frame-type knowledge, (2) is a knowledge base control unit that maintains and manages the knowledge base, and (3) is a knowledge base that stores a large amount of knowledge expressed in frame-type knowledge. An inference mechanism that uses knowledge to make inferences.
A memory section (3a) that stores programs for knowledge interpretation and execution, and an inference control section (3b) that executes and controls inference.
).

(4)は入出力装置、(5)はこのシステム全体を総括
するための演算制御装置である。
(4) is an input/output device, and (5) is an arithmetic and control device for controlling the entire system.

第2図に示す階層関係にあるフレームを例にとって説明
する。斯様なシステムで本発明による知識ベース(1)
内の知識は次の様に表わされる。
An explanation will be given by taking as an example frames in a hierarchical relationship shown in FIG. Knowledge base (1) according to the present invention in such a system
The knowledge within is expressed as follows.

ここでmini−computer−3”と11min
i−computer−5″のフレームの’ MIPS
−value″スロットはこれらの上位フレームの“c
omputer”フレームの” MIPS−value
”スロットを継承して生成されたものである。
Here, mini-computer-3" and 11min
i-computer-5''frame' MIPS
-value" slot of these upper frames.
computer “Frame” MIPS-value
"It was created by inheriting the slot.

(以下、余白) 第4表 第5表 第6表 第4表に示す本発明に係る“coIIlputer″フ
レームが前述の第1表に示す″computer″フレ
ームと異なるのは“旧PS−va l ue”スロット
中にcop 1ed−to”ファセット(i)が設けら
れている点である。′copied−to″ファセット
は、この“computer”フレームの“旧PS−v
alue”スロットヲ継x元とし、継承されたスロット
の属するフレーム名’ m in i−compute
r−3”、 ”mini−computer−5”が記
述されるファセットである。第5.6表の“copie
d−to”77セツト(i>(i)では、この’ MI
PS−VaIue”スロットを継承することはないので
” copied−to″ファセットの値はn1l(不
定)であるが、この“旧PS−value”スロットの
継承元スロットがフレーム“computer”内に存
在することが“from”ファセット(■)(V)に記
述され、示されている。
(Hereinafter, blank spaces) The "coIIlputer" frame according to the present invention shown in Table 4, Table 5, Table 6, and Table 4 differs from the "computer" frame shown in Table 1 above because the "old PS-value" frame is different from the "computer" frame shown in Table 1 above. The point is that a ``copied-to'' facet (i) is provided in the ``slot.'' The ``copied-to'' facet is the ``old PS-v
The name of the frame to which the inherited slot belongs.
r-3" and "mini-computer-5" are described. "copie" in Table 5.6
d-to"77 set (i>(i), this ' MI
Since the "PS-Value" slot is not inherited, the value of the "copied-to" facet is n1l (undefined), but the inheritance source slot of this "old PS-value" slot exists in the frame "computer". This is described and shown in the "from" facet (■) (V).

今、上位フレームである“computer”において
’ MIPS−value”スロットの名称を’ MF
LOPS−value’“に変更するものとする。する
とこのスロットを継承しているフレームにおいてもスロ
ット名の変更をする必要があるので、知識ベース制御部
(3)は継承先のフレーム名を“旧PS−νalue”
スロット中の“copied−to”ファセットの値(
すなわち継承先のフレーム名)を読み取り、継承先フレ
ーム名として検出する。そして検出した“rnini−
computer−3”+ ”mini−comput
er−5”のフレームにおいて’ MIPS−valu
e”スロットを探索し、これらスロットの名称を夫々a
″MFLOPS−va lue”に変更する。
Now, in the upper frame "computer", change the name of the 'MIPS-value' slot to 'MF
LOPS-value'". Then, it is necessary to change the slot name in the frame that inherits this slot as well, so the knowledge base control unit (3) changes the inherited frame name to "LOPS-value'". PS-νalue”
The value of the “copied-to” facet in the slot (
That is, the frame name of the inheritance destination) is read and detected as the inheritance destination frame name. And detected “rnini-
computer-3"+"mini-computer
' MIPS-value in the frame of 'er-5''
e” slots and enter the names of these slots a
Change to "MFLOPS-value".

つまり、従来必要であった継承元スロットの名称変更処
理等における継承可能性のある下位階層のフレームすべ
てにわたる同名スロットの探索処理や、  ”from
″ファセットバリューのチェック処理が不要になり、継
承先のフレームの検出が即座になされる。継承元スロッ
トの削除についても同様である。
In other words, the process of searching for slots with the same name across all lower-layer frames that may be inherited in the renaming process of the inheritance source slot, which was previously necessary, and the process of renaming the inheritance source slot,
``Facet value checking processing is no longer necessary, and the inheritance destination frame is immediately detected.The same applies to deletion of the inheritance source slot.

ト〉 発明の効果 本発明は以上の説明から明らかな如く、スロット内に継
承先のスロットの属するフレーム名を” cap 1e
d−to”ファセットにその値として与えておくことで
継承元のフレーム名の検出処理が即座にされ、知識ベー
スの保守・管理の高効率化が図れる。
G〉 Effects of the Invention As is clear from the above description, the present invention stores the frame name to which the inheritance destination slot belongs in the slot.
By giving this value to the "d-to" facet, the inheritance source frame name can be detected immediately, and the maintenance and management of the knowledge base can be highly efficient.

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

第1図は本発明に係る知識ベースシステムの概略構成図
、第2図は階層関係にあるフレームの関係図である。 (1)・・・知識ベース、(2〉・・・知識ベース制御
部、(3)・・・推論機構
FIG. 1 is a schematic configuration diagram of a knowledge base system according to the present invention, and FIG. 2 is a relationship diagram of frames in a hierarchical relationship. (1)...Knowledge base, (2>...Knowledge base control unit, (3)...Inference mechanism

Claims (1)

【特許請求の範囲】 1)継承元のスロット内に設けられたインヘリタンスロ
ールファセットの値によって継承の規定がされるフレー
ム型知識ベースの管理方式において、 継承元のスロット内に継承先のスロットの属するフレー
ム名を記憶するファセットを設け、下位フレームにスロ
ットを継承する場合には、継承元のスロット内の前記フ
ァセットにその値として継承先のフレーム名を記憶し、
継承先のフレームの検出は前記ファセットの値の参照に
より行うことを特徴とするフレーム型知識ベースの管理
方式。
[Claims] 1) In a frame-type knowledge base management method in which inheritance is defined by the value of an inheritance role facet provided in an inheritance source slot, the inheritance destination slot belongs to the inheritance source slot. A facet for storing a frame name is provided, and when a slot is inherited to a lower frame, the name of the inheritance destination frame is stored as the value in the facet in the inheritance source slot,
A frame-type knowledge base management method characterized in that a frame to be inherited is detected by referring to the value of the facet.
JP62055562A 1987-03-11 1987-03-11 Managing system for frame type knowledge base Pending JPS63221438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62055562A JPS63221438A (en) 1987-03-11 1987-03-11 Managing system for frame type knowledge base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62055562A JPS63221438A (en) 1987-03-11 1987-03-11 Managing system for frame type knowledge base

Publications (1)

Publication Number Publication Date
JPS63221438A true JPS63221438A (en) 1988-09-14

Family

ID=13002142

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62055562A Pending JPS63221438A (en) 1987-03-11 1987-03-11 Managing system for frame type knowledge base

Country Status (1)

Country Link
JP (1) JPS63221438A (en)

Similar Documents

Publication Publication Date Title
US8438191B1 (en) Incremental association of metadata to production data
US4675829A (en) Method and apparatus for building knowledge-based systems
US7574417B1 (en) Self configuration of embedded historians
US20200050163A1 (en) Process image within controllers enabling visibility and accessibility of real world objects
US7643892B2 (en) Historian integrated with MES appliance
US4964063A (en) System and method for frame and unit-like symbolic access to knowledge represented by conceptual structures
Devedzic et al. A framework for building intelligent manufacturing systems
US5093782A (en) Real time event driven database management system
US9875288B2 (en) Recursive filter algorithms on hierarchical data models described for the use by the attribute value derivation
US7219101B2 (en) Method and computer system for customizing computer applications by storing the customization specification as data in a database
Schmied et al. Vertical integration via dynamic aggregation of information in OPC UA
JPS63221438A (en) Managing system for frame type knowledge base
Mittal et al. Virtual copies: At the boundary between classes and instances
CN111767406A (en) Knowledge representation method and device for PLC engineering
WO2022134717A1 (en) Data-driven system function loading method, device, and storage medium
US20030188292A1 (en) System and method for configuration using an object tree formed of hierarchically graduatable objects
JPH11134085A (en) Method and apparatus for monitoring and controlling real-time information in a building automation system
CN112559603A (en) Feature extraction method, device, equipment and computer-readable storage medium
US4972343A (en) Knowledge processing system
US6377954B1 (en) Object-oriented processing system and object-oriented case apparatus
Garrity et al. Object-oriented hypermedia support systems
Meyfarth Demon concepts in an active CIM knowledge base
JPH01156831A (en) Access control system for table
CN117950650A (en) Method for interactive visual configuration of Unity3D component and logic controller
JPH03157729A (en) Multiple succession control system