JPS62115533A - Intelligence processing system - Google Patents

Intelligence processing system

Info

Publication number
JPS62115533A
JPS62115533A JP60256423A JP25642385A JPS62115533A JP S62115533 A JPS62115533 A JP S62115533A JP 60256423 A JP60256423 A JP 60256423A JP 25642385 A JP25642385 A JP 25642385A JP S62115533 A JPS62115533 A JP S62115533A
Authority
JP
Japan
Prior art keywords
layer
xrdb
knowledge
rdb
frame
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.)
Granted
Application number
JP60256423A
Other languages
Japanese (ja)
Other versions
JPH0582615B2 (en
Inventor
Fumio Suzuki
文雄 鈴木
Akifumi Makinouchi
顕文 牧之内
Hiroshi Ishikawa
博 石川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60256423A priority Critical patent/JPS62115533A/en
Publication of JPS62115533A publication Critical patent/JPS62115533A/en
Publication of JPH0582615B2 publication Critical patent/JPH0582615B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the complicated operation to the intelligence in a storage device by expressing the intelligence in a frame form, storing the frame into an expanded relational data base (RDB) in the secondary storage device, and using the RDB command. CONSTITUTION:An expanded RDB layer 13 is located in the secondary storage device 6 and a frame in an object layer 12 is stored in a table in a double form. All versions are stored in an individual and a common XRDB and a history from the initial setting of a log XRDB til the storage to the individual XRDB is stored in the log XRDB. Only the common information is stored in the common XRDB and only the retrieval is allowed for a general user 1. When the version storage of the individual XRDB is designated by the frame operation of the user 1, the up-to-data information of the log XRDB is moved and stored in the individual XDRB. The required information is transferred from the common and individual XRDB to the log XRDB and the data operation is executed according to the frame operation of the user 1.

Description

【発明の詳細な説明】 〔概要〕 実世界の意味を含む情報、知的なデータなどの知識(デ
ータ)を、応用レイヤ、オブジェクト・レイヤ、拡張R
DB (リレーショナル・データベース)レイヤからな
る階層構造の知識ベースにより管理する。また個々の知
識は、フレーム形式を用いてオブジェクトで表わす。こ
れにより、大量の知識を拡張RDBに格納することがで
き、またオブジェクトをフレームで直接管理でき2かつ
オブジェクト・レイヤおよび応用レイヤをもつことによ
り3検索、削除、更新等を効率化するとともに知識の一
貫性の保持を容易にする。
[Detailed Description of the Invention] [Summary] Knowledge (data) such as information containing real-world meaning and intellectual data is transferred to the application layer, object layer, and extended R.
It is managed using a hierarchical knowledge base consisting of DB (relational database) layers. Further, individual knowledge is expressed as an object using a frame format. As a result, a large amount of knowledge can be stored in the extended RDB, objects can be managed directly in the frame, and by having an object layer and an application layer, searches, deletions, updates, etc. can be made more efficient, and knowledge can be stored more efficiently. Make it easier to maintain consistency.

〔産業上の利用分野〕[Industrial application field]

本発明は、データ処理装置を用いて、大量の知識を管理
し、処理するための知識処理システムに関する。
The present invention relates to a knowledge processing system for managing and processing a large amount of knowledge using a data processing device.

〔従来の技術〕[Conventional technology]

最近の情報処理システムは1人間が実世界で用いている
意味関係を中心とする多様な情報(知識)をそのまま処
理できるようにすることが1つの方向となっている。
One of the trends in recent information processing systems is to enable a single person to directly process a variety of information (knowledge) centered on semantic relationships used in the real world.

知識処理システムは、その目的から常により実用的なも
のが要求されることから、取扱う知識の量はそれに伴っ
て膨大なものとなり易い。このため、大容量の知識の格
納・管理方法が必要とされる。このような処理システム
は、特に知識処理システムあるいは知識ベースシステム
と呼ばれている。
Since knowledge processing systems are always required to be more practical due to their purpose, the amount of knowledge they handle tends to become enormous. Therefore, a method for storing and managing large amounts of knowledge is required. Such processing systems are especially called knowledge processing systems or knowledge-based systems.

またデータベースは、定型業務のみならず非定型業務向
けのものが要求され、それに伴い、データの知的なアク
セスが必要とされる。
Furthermore, databases are required not only for routine work but also for non-routine work, and accordingly, intelligent access to data is required.

知識ベースは、このような実世界の知識を格納するデー
タベースであり、多様な知識の検索要求や挿入、削除、
更新等のファイル処理を可能にするものである。
A knowledge base is a database that stores such real-world knowledge, and handles various knowledge search requests, insertions, deletions, and
This enables file processing such as updating.

従来の1つの知識処理システムでは知識は、フレームと
呼ばれる次に示すような形式で表わした知識ベースで管
理される。
In one conventional knowledge processing system, knowledge is managed in a knowledge base called a frame and expressed in the following format.

フレーム スロット1 スロットi  ファセットil   (直il、  ・
・・スロットn すなわち、 n、 mを1以上の任意の数とし、またi
をl<i≦nの値としたとき、各フレームはn個のスロ
ット1〜nで構成され、また各スロットiはm個のファ
セットi1〜imとその植(複数の値が可能)で構成さ
れる。
Frame slot 1 slot i facet il (direct il, ・
...slot n, that is, let n and m be arbitrary numbers greater than or equal to 1, and i
When l<i≦n, each frame is composed of n slots 1 to n, and each slot i is composed of m facets i1 to im and their impositions (multiple values are possible). be done.

次に、フレームを用いた従来の知識処理システムの構成
を、第11図に示す。図中、110は知識処理装置、1
11は主記憶装置、112はフレーム処理プログラム、
113はプロセッサ、114は2次記憶装置、115は
フレームの集合、116はフレーム中に記述された手続
きである。
Next, FIG. 11 shows the configuration of a conventional knowledge processing system using frames. In the figure, 110 is a knowledge processing device;
11 is a main storage device, 112 is a frame processing program,
113 is a processor, 114 is a secondary storage device, 115 is a set of frames, and 116 is a procedure written in the frames.

このように、従来の知識処理システムでは、フレームは
全て2次記憶装置114から主記憶装置111上へ転送
して処理されるものである。
In this way, in the conventional knowledge processing system, all frames are transferred from the secondary storage device 114 to the main storage device 111 and processed.

また従来のデータベースは、定型業務には向くが、非定
型業務には向かなかアた。これは、対象世界の知識の表
現能力と操作能力の低さに原因があった。このため従来
は、これを解決するために。
Furthermore, conventional databases are suitable for routine work, but not for non-routine work. This was due to their low ability to express and manipulate knowledge of the target world. For this reason, conventionally, to solve this.

セマンティック・データモデルと呼ばれるデータモデル
で対象世界のデータを表現し、それをリレーショナル・
データベースRDBに格納することにより、大量のデー
タを扱えるようにするとともに、ユーザとのインタフェ
ースを向上させるなどの方法をとっている。
Data in the target world is expressed using a data model called a semantic data model, and it is expressed in a relational manner.
By storing data in the database RDB, we are able to handle large amounts of data and improve the interface with users.

第12図に、従来のセマンティック・データモデルを用
いたデータベースの構成を示す。図中の121はセマン
テインク・データモデル、122はリレーショナル・デ
ータベースである。すなわち。
FIG. 12 shows the configuration of a database using a conventional semantic data model. In the figure, 121 is a semantic data model, and 122 is a relational database. Namely.

従来のリレーショナル・データベース122にセマンテ
ィソク・データモデルを用いたインタフェースを設けた
ものである。
The conventional relational database 122 is provided with an interface using a semantic data model.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のフレームを用いた知識処理システムでは。 In knowledge processing systems using traditional frames.

主記憶および仮想記憶の容量で扱いきれない大きな知識
(フレーム)は、2次記憶装置に格納される。このため
、検索その他の情報操作時のI10時間が長くなるとい
う問題があった。
Large pieces of knowledge (frames) that cannot be handled by the capacities of main memory and virtual memory are stored in secondary storage. For this reason, there is a problem in that the I10 time during searches and other information operations becomes long.

また従来のデータベース・システムでは、データ構造の
定義(スキーマ)をユーザ側から自由に変更することが
許されず、定型業務に向いているが、非定型業務には向
かないという欠点があった。
Furthermore, conventional database systems do not allow users to freely change the data structure definition (schema), making them suitable for routine work but not suitable for non-routine work.

そして、セマンテインク・データモデルを用いたデータ
ベース・システムでも、使用工種々の制約があり、実用
できる程度の性能を実現するのは困難であった。
Even database systems using semantic data models have various limitations in terms of usage, making it difficult to achieve a level of performance that can be put to practical use.

C問題点を解決するだめの手段〕 本発明は、上記した従来の知識処理システムの問題点を
解決するため、知識をフレーム形式で表わして、2次記
憶装置内の拡張りレーショナルデ−タベース(拡張RD
Bという)に格納する。ここで拡張RDBとは非正規形
が許されるRDBを意味している。これにより、2次記
憶装置中の知識(フレーム)への複雑な操作も、拡張リ
レーショナルデータベースのコマンドを用いることによ
り、容易に実現可能にしている。
Means for Solving Problem C] In order to solve the problems of the conventional knowledge processing system described above, the present invention represents knowledge in a frame format and stores it in an extended relational database (extended) in a secondary storage device. R.D.
B). Here, the extended RDB means an RDB that allows non-normal forms. This makes it possible to easily perform complex operations on knowledge (frames) in the secondary storage device by using extended relational database commands.

また本発明は、データモデルとして、フレームを用いた
オブジェクト指向モデルを採用するものである。オブジ
ェクトは、静的なデータと手続きの両面をもつ。そのた
め、この構造のモデルを用いることにより、実世・界の
知識構造をうま(表現できるようになり、また多様なデ
ータ操作を簡単化することができる。
Further, the present invention employs an object-oriented model using frames as a data model. Objects are both static data and procedures. Therefore, by using a model with this structure, it becomes possible to express the knowledge structure of the real world, and it is also possible to simplify various data operations.

本発明は、さらに特定応用分野の知識をもまとめて管理
する手段をもち、ユーザがデータ構造を自由に定義2生
成、変更できるようにして、非定型業務の処理に対する
適応を容易にしている。
The present invention further includes a means for collectively managing knowledge in a specific application field, and allows the user to freely create and change the definition 2 of the data structure, thereby facilitating adaptation to the processing of non-routine tasks.

第1図に2本発明の知識処理システムの原理的構成を単
純化して示す。
FIG. 1 shows the basic configuration of the knowledge processing system of the present invention in a simplified manner.

図において、1は利用者、2は端末、3は知識処理装置
、4は上記tα装置、5はプロセッサ、6は2次記憶装
置、10は知識ベース、11は応用レイヤ、12はオブ
ジェクト・レイヤ、13は拡張RDBレイヤ、14は個
別応用インタフェース。
In the figure, 1 is a user, 2 is a terminal, 3 is a knowledge processing device, 4 is the tα device, 5 is a processor, 6 is a secondary storage device, 10 is a knowledge base, 11 is an application layer, and 12 is an object layer. , 13 is an extended RDB layer, and 14 is an individual application interface.

15はオブジェクト・インタフェース、16は拡張関係
代数インタフェースである。
15 is an object interface, and 16 is an extended relational algebra interface.

図に示されるように2本発明の知識ベース10は、応用
レイヤ11.オブジェクト・レイヤ12゜拡張RDBレ
イヤ13からなる3階層構成をとる。
As shown in the figure, the knowledge base 10 of the present invention has two application layers 11. It has a three-layer structure consisting of an object layer 12° and an extended RDB layer 13.

応用レイヤ11およびオブジェクト・レイヤ12は主と
して主記憶装置4 (あるいは仮想記憶装置)にIかれ
、拡張RDBレイヤ13は2次記憶装置6に置かれる。
The application layer 11 and object layer 12 are mainly stored in the main storage device 4 (or virtual storage device), and the extended RDB layer 13 is stored in the secondary storage device 6.

応用レイヤ11には、特定分野の知識が蓄積され、管理
される。たとえば応用プログラム群、グラフィック・イ
ンタフェース、オブジェクト・エディタ等が含まれ、ユ
ーザ・コマンドにより起動される。
In the application layer 11, knowledge in a specific field is accumulated and managed. For example, it includes a group of application programs, a graphic interface, an object editor, etc., and is activated by a user command.

本発明のオブジェクト・レイヤ12では、実世界の知識
(データ)を、フレームを用いたオブジェクト構造(後
述)で表現する。また、拡張RDBレイヤ13では、フ
レームをタプル(表の行)で表現し、管理する。このよ
うにして2実世界の知識(データ)を、拡張RDBレイ
ヤ13で保持し、管理する。
In the object layer 12 of the present invention, real world knowledge (data) is expressed in an object structure (described later) using frames. Further, in the extended RDB layer 13, frames are expressed and managed as tuples (rows in a table). In this way, the knowledge (data) of the two real worlds is held and managed in the extended RDB layer 13.

利用者1は、端末2を介して知識処理装置3を呼び出し
1個別応用インタフェース14.オブジェクト・インタ
フェース15.拡張関係代数インタフェース16を通し
て、各レイヤヘアクセスできる。
User 1 calls knowledge processing device 3 via terminal 2 and uses 1 individual application interface 14. Object interface 15. Each layer can be accessed through the extended relational algebra interface 16.

オブジェクト・レイヤ12における基本的知識表現は、
フレームである。フレームは前述した形式をとり、1個
以上の「スロット」からなる。スロットもまた複数の「
ファセット」をもちうる。
The basic knowledge representation in the object layer 12 is
It is a frame. A frame takes the form described above and consists of one or more "slots." Slots also have multiple
It can have "facets".

ファセットの値もまた。単価ばかりでなく多値の場合も
ある。
Also the facet values. There are cases where there are not only unit prices but also multiple prices.

オブジェクト・レイヤ12における管理、操作の対象は
、「オブジェクト」である。
The objects to be managed and operated in the object layer 12 are "objects".

オブジェクトは、実世界の物、事1行為、事象等の実在
の抽象化された実体を表現する。オブジェクトは、この
実体が持つ属性の次の3つの側面を表わさなければなら
ない。
An object represents a real, abstracted entity such as a thing, action, or event in the real world. The object must represent three aspects of the entity's attributes:

(1)実体の性質 (2)実体と他の実体との関係 (3)実体の振るまい このようなオブジェクトを、フレームで表現する。1つ
のオブジェクトを、1つのフレームに対応させる。
(1) Properties of the entity (2) Relationship between the entity and other entities (3) Behavior of the entity Such an object is expressed by a frame. Make one object correspond to one frame.

フI/−ム内のスロットが、上記した実体の性質。The slots in the frame are the properties of the entities described above.

関係、または振るまいを表現する。性質を表わすスロッ
ト(例えば人の名前)は5その性質を代表する実際の値
(例えば花子)を値として与える。
Express a relationship or behavior. A slot representing a property (for example, a person's name) is given an actual value representing the property (for example, Hanako) as a value.

関係の場合は、値として他の実体(即ちフレーム)の名
前を持つ。そして振るまいの場合は、値にプログラム(
あるいは関数)が格納される。(具体的にはプログラム
名や関数名がポインタとして格納される)。
In the case of a relationship, it has the name of another entity (ie, frame) as the value. And for behavior, set the value to the program (
or functions) are stored. (Specifically, program names and function names are stored as pointers).

〔作用〕[Effect]

第1図に示す本発明の構成において。 In the configuration of the present invention shown in FIG.

利用者1は1個別応用インタフェース14を介して応用
レイヤ11の知識を利用しながら、知識(データ)の検
索、挿入、削除、更新等を行なう。
The user 1 searches, inserts, deletes, updates, etc. knowledge (data) while using the knowledge of the application layer 11 via the 1 individual application interface 14.

その際に出力される知識の形式は、応用レイヤ11の知
識に基づいて、応用分野ごとに適したものにされる。
The format of the knowledge output at this time is made suitable for each application field based on the knowledge of the application layer 11.

利用者1の命令(あるいはコマンド)は、オブジェクト
・レイヤ12の命令に変換され、オブジェクト・インタ
フェース15を介して、オブジェクト・レイヤ12にア
クセスが行なわれる。
An instruction (or command) of the user 1 is converted into an instruction of the object layer 12, and the object layer 12 is accessed via the object interface 15.

また必要な場合、変換された命令は、拡張RDBレイヤ
13の命令に変換され、拡張関係代数インタフェース1
6を介して、拡張RDBレイヤ13にアクセスが行なわ
れる。
In addition, if necessary, the converted instructions are converted to instructions of the extended RDB layer 13 and extended relational algebra interface 1.
6, the extended RDB layer 13 is accessed.

拡張RDBレイヤ13に対する命令の結果は。The result of the instruction to the extended RDB layer 13 is as follows.

拡張関係代数インタフェース16を介して、オブジェク
ト・レイヤ12へ渡される。オブジェクト・レイヤ12
に対する命令の結果は、オブジェクト・インタフェース
15を介して、応用レイヤ11へ渡される。
It is passed to the object layer 12 via the extended relational algebra interface 16. Object layer 12
The results of the instructions are passed to the application layer 11 via the object interface 15.

応用レイヤ11に対する命令は9個別応用インタフェー
ス14を介して、利用者1に渡される。
Instructions for the application layer 11 are passed to the user 1 via nine individual application interfaces 14.

本発明による知識処理システムの知識ベースも。Also the knowledge base of the knowledge processing system according to the invention.

オブジェクト指向モデルと呼ばれるデータモデルで対象
世界の知識を表現し、それをリレーショナルデータベー
スRDBに格納するものである。対象世界の知識が2次
記憶装置を用いたデータベースに格納される点では本発
明のシステムも、従来のシステムと共通点をもつといえ
る。しかし2次の3つの点で1本発明システムと従来の
システムとは相異するものである。
Knowledge of the target world is expressed using a data model called an object-oriented model and stored in a relational database RDB. The system of the present invention can also be said to have a common feature with conventional systems in that knowledge of the target world is stored in a database using a secondary storage device. However, the system of the present invention differs from the conventional system in the following three points.

まず第1に1本発明による知識処理システムでは、フレ
ームを用いてオブジェクト指向モデルを主記憶上で高速
に処理できるのに対して、前述したセマンティック・デ
ータベースでは、セマンティック・データモデルのデー
タ単位であるエンティティを直接処理する手段が与えら
れていないことである。
First of all, in the knowledge processing system according to the present invention, an object-oriented model can be processed at high speed in main memory using frames, whereas in the above-mentioned semantic database, the data unit of the semantic data model is There is no way to directly process entities.

第2に、実施例により後述される3つの拡張RDBを用
いることにより、バージョン管理、履歴データ管理を高
速に行なうことができる点である。
Second, version management and historical data management can be performed at high speed by using three extended RDBs that will be described later in the embodiment.

第3に1本発明のオブジェクト指向モデルは。Thirdly, the object-oriented model of the present invention.

セマンティック・データモデルに比べて、知識表現能力
と操作能力とが高いことである。それは。
Compared to semantic data models, it has higher knowledge expression ability and operational ability. it is.

オブジェクト指向モデルがデータと手続きとをあわせた
オブジェクトを、知識の単位にしていることが1つの原
因となっている。
One reason for this is that the object-oriented model uses objects, which are a combination of data and procedures, as the unit of knowledge.

〔実施例〕〔Example〕

次に1本発明の詳細を、第2図に示す知識処理システム
の1実施例にしたがって説明する。
Next, details of the present invention will be explained according to an embodiment of the knowledge processing system shown in FIG.

図において、1は利用者、2は端末、3は知識処理装置
、4は主記憶装置、6は2次記憶装置。
In the figure, 1 is a user, 2 is a terminal, 3 is a knowledge processing device, 4 is a main storage device, and 6 is a secondary storage device.

11は応用レイヤ、12はオブジェクト・レイヤ。11 is an application layer, and 12 is an object layer.

13は拡張RDB (またはXRDB) レイヤ、13
1は比較的最近のアクセス情報を一時的に格納しておく
ログ用XRDB、132は個別情報を格納する個別用X
’RDB、133は共用情報を格納する共用XRDB、
31はUQL管理部、32は○QL管理部、33はXQ
L管理部である。
13 is the extended RDB (or XRDB) layer, 13
1 is a log XRDB that temporarily stores relatively recent access information, and 132 is an individual XRDB that stores individual information.
'RDB, 133 is a shared XRDB that stores shared information;
31 is UQL management department, 32 is ○QL management department, 33 is XQ
This is the L management department.

なお、tJQLはユーザ間合せ言語、OQLはオブジェ
クト間合せ言語、XQLは拡張RDB間合せ言語を表わ
す。
Note that tJQL stands for user alignment language, OQL stands for object alignment language, and XQL stands for extended RDB alignment language.

また第3図および第4図に、各○QL管理部32および
XQL管理部33におけるレイヤ処理の流れを示す。以
下、第2図ないし第4図を用いて説明する。
Further, FIGS. 3 and 4 show the flow of layer processing in each of the ○QL management section 32 and the XQL management section 33. This will be explained below using FIGS. 2 to 4.

利用者1は、端末2から、メニュー(あるいはアイコン
等)を用いてコマンドを入力したり、直接、コマンドを
入力したりする。このようなユーザ・コマンドはUQL
 (ユーザ間合せ言語)を用いて表わされる。
The user 1 inputs a command from the terminal 2 using a menu (or an icon, etc.) or directly inputs a command. Such user commands are
(User-made language).

利用者lは、端末2からユーザ・コマンド(UQ L 
)を投入する。投入されたユーザ・コマンド(UQL)
は、知識処理装置3のUQL管理部31に入力される。
User L issues a user command (UQ L
). User command submitted (UQL)
is input to the UQL management unit 31 of the knowledge processing device 3.

UQL管理部31では、ユーザ・コマンドを解析し、応
用レイヤ11内の個別応用プログラムやオブジェクト・
エディタ等を起動−する。個別応用プログラムでは、そ
こで人出力の形式で、データ(コマンド)を入力し、希
望する処理を行なう。その際、応用プログラムではオブ
ジェクト・レイヤ中の個別応用の知識を用いて。
The UQL management unit 31 analyzes user commands and stores individual application programs and objects in the application layer 11.
Start an editor etc. In the individual application program, data (commands) are input in the form of human output, and desired processing is performed. At that time, the application program uses the knowledge of the individual application in the object layer.

ユーザへデータを出力したり、ユーザからの入力データ
や個別応用の知識等をもとに、オブジェクト・レイヤを
管理するOQL管理部32へ0QL(オブジェクト間合
せ言語)コマンドを送る。1例として2人事情報から1
960年生れの人の人名を検索するためのOQLコマン
ドを下に示す。
It outputs data to the user, and sends OQL (object alignment language) commands to the OQL management unit 32 that manages the object layer based on input data from the user, knowledge of individual applications, and the like. As an example, 1 from 2 personnel information
The OQL command to search for the names of people born in 960 is shown below.

(−PEI?SON  GET  NAME  BIR
TH1960)OQL管理部32では、入力されたOQ
Lコマンドを解析し、実行する。OQLコマンドの操作
対象がオブジェクト・レイヤ12にあるとき、操作結果
が得られた場合には、それを応用レイヤ11へ送る。操
作対象がないときは、○QLコマンドをXQL (拡張
RDB間合せ言語)コマンドに変換する。この変換では
、知識ベースを用いて。
(-PEI?SON GET NAME BIR
TH1960) In the OQL management unit 32, the input OQ
Parse and execute the L command. When the operation target of the OQL command is in the object layer 12 and an operation result is obtained, it is sent to the application layer 11. If there is no operation target, convert the ○QL command to an XQL (Extended RDB Completion Language) command. This conversion uses a knowledge base.

OQLをXQLに変換する際に必要な最適化も行なわれ
る。たとえばデータベースを操作するコマンドの実行順
序を、処理時間が最も短くなるように変更する。変換さ
れたXQLコマンドは、  XQL管理部33へ送られ
る。
Optimizations required when converting OQL to XQL are also performed. For example, change the execution order of commands that operate on the database so that the processing time is the shortest. The converted XQL command is sent to the XQL management section 33.

たとえば、前記した○QLコマンドの例に対応するXQ
Lコマンドは、テーブル”PER30N”からBIRT
H=1960に適合するタプルを選択し、その中からフ
ィールド“NAME”を取り出せ、という命令を表わし
9次のような形となる。
For example, the XQ corresponding to the above example of the ○QL command
L command is BIRT from table "PER30N"
It represents the command to select a tuple that matches H=1960 and extract the field "NAME" from it, and has the following form.

PROJECTION (NAME) (SELECT
 (BIRTH=1960) (PERSON))XQ
L管理部33では、入力されたXQLコマンドを解析し
、最適化を行ない、拡張RDBレイヤ13を対象として
実行する。実行結果はオブジェクト・レイヤ12を通し
てUQL管理部31へ通知され、そこから端末2へ出力
される。なお操作対象が存在しなかった場合には、その
旨を利用者1に通知する。また、操作結果はオブジェク
ト・エディタを用いて利用者が設定したり2個別応用プ
ログラムに予め書き込んでおくなどの方法で。
PROJECTION (NAME) (SELECT
(BIRTH=1960) (PERSON))XQ
The L management unit 33 analyzes the input XQL command, performs optimization, and executes it targeting the extended RDB layer 13. The execution result is notified to the UQL management unit 31 through the object layer 12, and output from there to the terminal 2. Note that if the operation target does not exist, the user 1 is notified of this fact. In addition, the operation results can be set by the user using an object editor or written in advance into two individual application programs.

指定されている出力形式に変換し2例えばグラフ形式で
出力される。
Convert to the specified output format 2, for example, output in graph format.

ユーザ・コマンドは、主に応用知識やデバイス情報を利
用してグラフィカルに、かつ、応用に適したユーザに扱
いやすい形式がとられる。応用知識やデバイス情報は、
フレームを用いたオブジェクト構造で表現され2実際に
は、オブジェクト・レイヤや拡張リレーショナルデータ
ベース(RDB)に格納されている。
User commands are provided graphically using applied knowledge and device information, and in a user-friendly format suitable for the application. For applied knowledge and device information,
It is expressed in an object structure using frames2 and is actually stored in an object layer or extended relational database (RDB).

次に、知識ベース内の各レイヤについて説明する。Next, each layer in the knowledge base will be explained.

応用レイヤ11には1個別応用プログラムやオブジェク
ト・エディタ、グラフィック・インタフェース等が格納
されている。
The application layer 11 stores one individual application program, an object editor, a graphic interface, etc.

ここで個別ユーザコマンドは1個別応用プログラムによ
り実行される。またユーザ・インタフェースには、グラ
フィック・インタフェースを用いる。オブジェクト・エ
ディタは、ユーザがオブジェクト(内部的にはフレーム
)を定義・変更・管理しやすいように設けられている。
Here, individual user commands are executed by one individual application program. Also, a graphic interface is used for the user interface. The object editor is provided so that the user can easily define, change, and manage objects (internally frames).

ユーザ・コマンドには応用プログラムやオブジェクト・
エディタを起動するコマンド等がある。
User commands include application programs, objects,
There are commands to start the editor, etc.

ユーザ・インタフェースはグラフィック・インクフェー
スであり、メニューやアイコン等も使用し。
The user interface is a graphic inkface that also uses menus, icons, etc.

コマンドも使用できる。Commands can also be used.

第5図は、応用レイヤのグラフィック・インタフェース
によりグラフ化して表示したオブジェクト構成の1例で
ある。これはPER30N”についてのデータモデルを
表わしている。
FIG. 5 is an example of an object configuration graphed and displayed using the graphic interface of the application layer. This represents the data model for "PER30N".

第6図は2同様に応用レイヤのグラフィック・インタフ
ェースによりグラフ化して出力された人口統計の例であ
る。
FIG. 6 is an example of demographic statistics output as a graph using the graphic interface of the application layer, similar to 2.

オブジェクト・レイヤ12のオブジェクI・は。Object I of the object layer 12 is.

インスタンス、クラス、メタクラスの3つに分類される
。インスタンス・オブジェクトは、事物を表わす最小単
位のデータであり、類似するインスタンス・オブジェク
トが「属する」クラスを、クラス・オブジェクトと呼ぶ
。クラス・オブジェクトは、そのクラスに属するインス
タンス・オブジェクトの共通の属性や、それ自身に関す
る属性をもつ。クラス・オブジェクト自身もまたクラス
に属し、そのクラスをメタクラスと呼ぶ。
Classified into three types: instances, classes, and metaclasses. An instance object is the smallest unit of data that represents something, and a class to which similar instance objects "belong" is called a class object. A class object has attributes that are common to instance objects belonging to the class and attributes that are related to itself. A class object itself also belongs to a class, and that class is called a metaclass.

前述した第5図のPER30Nのデータモデルは、これ
らインスタンス(rNsTANcE)。
The data model of PER30N shown in FIG. 5 mentioned above is these instances (rNsTANcE).

クラス(CLASS)、メタクラス(META)の関係
を例示している。
The relationship between a class (CLASS) and a metaclass (META) is illustrated.

このように、オブジェクト間の関係として「所属関係」
をもたせることができる。これは知識表現の立場からは
、「分類による抽象化」と呼ばれる。この他にも、オブ
ジェクト・レイヤでは、「汎化による抽象化」、「集約
による抽象化」、「進化による抽象化」等を行なうこと
ができ、高度な知識表現能力を有する。
In this way, "belonging relationship" is a relationship between objects.
can be made to last. From the standpoint of knowledge representation, this is called ``abstraction by classification.'' In addition, the object layer can perform "abstraction by generalization,""abstraction by aggregation,""abstraction by evolution," and has a high level of knowledge expression ability.

第7図は、クラス・オブジェクトを表わすフレームの例
、第8図はインスタンス・オブジェクトを表わすフレー
ムの例である。
FIG. 7 is an example of a frame representing a class object, and FIG. 8 is an example of a frame representing an instance object.

第7図のクラス・オブジェクトを表わすフレームは、P
ER30N、すなわち人の情報に関するデータ関係(あ
るいは構造)を表わしている。
The frame representing the class object in Figure 7 is P
ER30N, that is, represents the data relationship (or structure) regarding human information.

フレーム中のC1ass、  S uper、  P 
roperty。
C1ass, S super, P in frame
property.

Name、 Address、 B 1rth、 Ag
eはスロットであり、それぞれ所属クラス名、管理フレ
ーム名、属性の種類と2名前、住所、生年月日2年令の
各属性を表わす。またvalue、 multiple
、 mandatoryはファセットであり、valu
eは値r multipleは複数の値をもつことの可
否(Y es / N o) 、 manda tor
yは必ず値をとらなければならない必須項目であるか否
か(Yes/No)を表わす。
Name, Address, B 1rth, Ag
e is a slot, and each represents attributes such as a belonging class name, a management frame name, an attribute type, a name, an address, and a date of birth and 2 years. Also value, multiple
, mandate is a facet and value
e is the value r; multiple is whether it can have multiple values (Yes/No);
y represents whether it is an essential item that must always take a value (Yes/No).

第8図のインスタンス・オブジェクトを表わすフレーム
は、IDがPL、R2で表わされる個々の人の属性値を
もつ情報である。
The frame representing the instance object in FIG. 8 is information having attribute values of individual persons whose IDs are represented by PL and R2.

フレーム中のPi、R2がスロットであり、それぞれの
Name+  Address+  B 1rth、 
Ageがファセットである。各ファセットの値がPI、
R2の名前、住所、生年月日2年令を与える。
Pi and R2 in the frame are slots, and their respective Name+Address+B 1rth,
Age is a facet. The value of each facet is PI,
Give R2's name, address, date of birth and age of 2 years.

次に拡張RDBレイヤ13について説明する。Next, the extended RDB layer 13 will be explained.

拡張RDBレイヤ13では、オブジェクト・レイヤ12
におけるオブジェクト(即ちフレーム)をタプル(表の
行)の形でテーブルに格納する。
In the extended RDB layer 13, the object layer 12
Objects (i.e., frames) in are stored in a table in the form of tuples (rows of a table).

フレームの格納方法としては「標準格納法」と「転置格
納法」との2つがある。
There are two methods for storing frames: a "standard storage method" and a "transposed storage method."

標準格納法におけるリレーションの一般形は。The general form of a relation in standard storage is:

次のように表わされる。It is expressed as follows.

META  (FRAME、  SFV  (SLOT
META (FRAME, SFV (SLOT
.

FV  (FA’CET、  VALUE))  )ま
た転置格納法におけるリレーションの一般形は2次のよ
うに表わされる。
FV (FA'CET, VALUE)) Also, the general form of the relation in the transposed storage method is expressed as quadratic.

C1ass i (1nstance −id、  5
lot  il、 −。
C1ass i (1nstance-id, 5
lot il, -.

510t  in) 第9図は、標準格納法を用いて第7図のフレームを格納
したテーブルの例であり、第10図は転置格納法を用い
て第8図のフレームを格納したテーブルの例である。
510t in) FIG. 9 is an example of a table in which the frame of FIG. 7 is stored using the standard storage method, and FIG. 10 is an example of a table in which the frame of FIG. 8 is stored using the transposed storage method. be.

各テーブルではフレームがタプルとなり、フレーム単位
に検索等の処理が行なわれることになる。
In each table, frames become tuples, and processing such as searching is performed on a frame-by-frame basis.

拡張RDBでは、非正規形が許され、リレーション(テ
ーブル)のフィールド値としてリレーション(テーブル
)を設定することができる。このため、知識の階層構造
が冗長性なしに表現でき。
In the extended RDB, a non-normal form is allowed, and a relation (table) can be set as a field value of the relation (table). Therefore, the hierarchical structure of knowledge can be expressed without redundancy.

またフレームの繰り返し構造も簡潔に表現できる利点が
ある。
It also has the advantage that the repeating structure of frames can be expressed concisely.

次に、拡張RDBレイヤ13の構成およびバージョン管
理等について説明する。拡張RDBレイヤ13は、ログ
用XRDB 131と2個別用XRDB132と、共用
XRDB 133とにより構成されている。
Next, the configuration, version management, etc. of the extended RDB layer 13 will be explained. The extended RDB layer 13 is composed of a log XRDB 131, two individual XRDBs 132, and a shared XRDB 133.

個別用XRDBと共用XRDBとには、全てのバージョ
ンが格納される。
All versions are stored in the individual XRDB and the shared XRDB.

ログ用XRDBには、ログ用XRDBの初期設定時から
個別用XRDBへ格納されるまでの履歴(ログ)が格納
される。
The log XRDB stores a history (log) from the initial setting of the log XRDB until it is stored in the individual XRDB.

共用XRDBには、共用情報のみが格納され。Only shared information is stored in the shared XRDB.

一般ユーザからは、検索のみが許される。General users are only allowed to search.

個別用XRDBには、ユーザが格納を指定したバージョ
ンの全てを格納する。ユーザのオブジェクト(フレーム
)操作は、ログ用XRDBのデータ操作とほぼ一致し2
個別用XRDBのバージョン格納指定があると、ログ用
XRDBの最新情報が個別用XRDBへ移されて格納さ
れる。
The individual XRDB stores all versions specified by the user. The user's object (frame) operations almost match the log XRDB data operations.2
When the version storage of the individual XRDB is specified, the latest information of the log XRDB is moved to the individual XRDB and stored.

ログ用XRDBには、必要な情報が共用XRDBや個別
用XRDBから転送され、ユーザのオブジェクト操作に
したがってデータ操作が行なわれる。
Necessary information is transferred to the log XRDB from the shared XRDB and the individual XRDB, and data operations are performed according to the user's object operations.

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

本発明によれば、大量な知識(データ)の格納・検索・
挿入・削除・更新及び一貫性の保持が容易に行なうこと
ができる。また拡張RDBレイヤの下にメディア・デー
タ格納装置としてのテキスト・ファイル、グラフィック
・ファイル、画像情報格納装置、音声情報格納装置など
を付加することにより、マルチメディアデータベースの
機能を容易に実現することができ、効率的で多様な情報
サービスシステムが可能となる。
According to the present invention, a large amount of knowledge (data) can be stored, searched,
Insertion, deletion, updating, and consistency maintenance can be easily performed. Furthermore, by adding media data storage devices such as text files, graphic files, image information storage devices, audio information storage devices, etc. under the extended RDB layer, multimedia database functions can be easily realized. This enables efficient and diverse information service systems.

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

第1図は本発明による知識処理システムの原理的構成図
、第2図は本発明による1実施例システムの構成図、第
3図は第2図の実施例システムにおけるOQL管理部の
処理フロー図、第4図は同じ< XQL管理部の処理フ
ロー図、第5図および第6図はそれぞれ応用レイヤによ
るグラフ出力例の図、第7図はクラス・オブジェクトを
表わすフレーム例の説明図、第8図はインスタンス・オ
ブジェクトを表わすフレーム例の説明図、第9図は標準
格納法を用いたテーブル例の説明図、第10図は転置格
納法を用いたテーブル例の説明図、第11図は従来のフ
レームを用いた知識処理システムの構成図、第12図は
セマンティック・データモデルを用いたデータベースの
構成図である。 第1図中、3:知識処理装置、4;主記憶装置。 5:プロセッサ、6:2次記憶装置、10:知識ベース
、11応用レイヤ、12オブジエクト・レイヤ、13拡
張RDBレイヤ。
FIG. 1 is a diagram showing the basic configuration of the knowledge processing system according to the present invention, FIG. 2 is a diagram showing the configuration of an embodiment of the system according to the present invention, and FIG. 3 is a flow diagram of the processing of the OQL management unit in the embodiment system of FIG. , Figure 4 is a processing flow diagram of the same < The figure is an explanatory diagram of an example of a frame representing an instance object, Figure 9 is an explanatory diagram of an example of a table using the standard storage method, Figure 10 is an explanatory diagram of an example of a table using the transposed storage method, and Figure 11 is an explanatory diagram of an example of a table using the conventional storage method. FIG. 12 is a block diagram of a knowledge processing system using a frame, and FIG. 12 is a block diagram of a database using a semantic data model. In FIG. 1, 3: knowledge processing device, 4: main memory device. 5: processor, 6: secondary storage device, 10: knowledge base, 11 application layer, 12 object layer, 13 extended RDB layer.

Claims (1)

【特許請求の範囲】 応用プログラム群、グラフィック・インタフェースおよ
びオブジェクト・エディタ等をもつ応用レイヤ(11)
と、 知識のデータモデルをオブジェクト構造で表わすフレー
ムを保持するオブジェクト・レイヤ(12)と、 個々の知識を表わすフレームを非正規形リレーションの
タプルで保持する拡張RDBレイヤ(13)との3階層
構造の知識ベースを有し、 上記応用レイヤ(11)およびオブジェクト・レイヤ(
12)は主記憶装置(4)上で管理するが、拡張RDB
レイヤ(13)は2次記憶装置(6)に格納して管理す
ることを特徴とする知識処理システム。
[Claims] Application layer (11) including application program group, graphic interface, object editor, etc.
A three-layer structure consisting of an object layer (12) that holds frames that represent knowledge data models in object structures, and an extended RDB layer (13) that holds frames that represent individual knowledge as tuples of non-normal relations. It has a knowledge base of the above application layer (11) and object layer (
12) is managed on the main storage (4), but the extended RDB
A knowledge processing system characterized in that the layer (13) is stored and managed in a secondary storage device (6).
JP60256423A 1985-11-15 1985-11-15 Intelligence processing system Granted JPS62115533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60256423A JPS62115533A (en) 1985-11-15 1985-11-15 Intelligence processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60256423A JPS62115533A (en) 1985-11-15 1985-11-15 Intelligence processing system

Publications (2)

Publication Number Publication Date
JPS62115533A true JPS62115533A (en) 1987-05-27
JPH0582615B2 JPH0582615B2 (en) 1993-11-19

Family

ID=17292456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60256423A Granted JPS62115533A (en) 1985-11-15 1985-11-15 Intelligence processing system

Country Status (1)

Country Link
JP (1) JPS62115533A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS644834A (en) * 1987-06-29 1989-01-10 Nec Corp Deciding system for degree of similarity between objects
JPH036638A (en) * 1989-05-15 1991-01-14 Internatl Business Mach Corp <Ibm> System control system
JPH03137730A (en) * 1989-10-23 1991-06-12 Internatl Business Mach Corp <Ibm> Object directional computer-system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS644834A (en) * 1987-06-29 1989-01-10 Nec Corp Deciding system for degree of similarity between objects
JP2591751B2 (en) * 1987-06-29 1997-03-19 日本電気株式会社 Similarity judgment method between objects
JPH036638A (en) * 1989-05-15 1991-01-14 Internatl Business Mach Corp <Ibm> System control system
JPH03137730A (en) * 1989-10-23 1991-06-12 Internatl Business Mach Corp <Ibm> Object directional computer-system

Also Published As

Publication number Publication date
JPH0582615B2 (en) 1993-11-19

Similar Documents

Publication Publication Date Title
US7984060B2 (en) Model content provider with reusable components for supporting a plurality of GUI API&#39;s
US5428737A (en) Comprehensive bilateral translation between SQL and graphically depicted queries
US10515094B2 (en) System and method for analyzing and reporting extensible data from multiple sources in multiple formats
US6418450B2 (en) Data warehouse programs architecture
JP2509444B2 (en) Apparatus and method for graphically associating objects
US7716233B2 (en) System and method for processing queries for combined hierarchical dimensions
US8458164B2 (en) Query model tool and method for visually grouping and ungrouping predicates
US5421008A (en) System for interactive graphical construction of a data base query and storing of the query object links as an object
US7015911B2 (en) Computer-implemented system and method for report generation
US5918232A (en) Multidimensional domain modeling method and system
US20050015368A1 (en) Query modelling tool having a dynamically adaptive interface
US20110087708A1 (en) Business object based operational reporting and analysis
JPH076077A (en) Storage system of self-organizing information
CN109947791B (en) Database statement optimization method, device, equipment and storage medium
JPH06195248A (en) Method for optimum assistance of inquiry from relational databace management system
US20050015363A1 (en) Method and structure for representing complex query elements in a modelling tool
JPH0675738A (en) Apparatus and method for dialog box display
CN112148718A (en) Big data support management system for city-level data middling station
US7415457B2 (en) Using a cache to provide cursor isolation
US7103872B2 (en) System and method for collecting and transferring sets of related data from a mainframe to a workstation
JPS62115533A (en) Intelligence processing system
EP1367503A1 (en) Method for displaying and modifying a relational database schema
Adiba Management of multimedia complex objects in the'90s
KR20030027320A (en) Method of Constructing Object_Oriented Meta Data Repository for Enterprise Data Systems
Muller et al. Tuning an SQL-based PDM system in a worldwide client/server environment

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term