JP2006146374A - Knowledge information processor and knowledge information processing method - Google Patents

Knowledge information processor and knowledge information processing method Download PDF

Info

Publication number
JP2006146374A
JP2006146374A JP2004332499A JP2004332499A JP2006146374A JP 2006146374 A JP2006146374 A JP 2006146374A JP 2004332499 A JP2004332499 A JP 2004332499A JP 2004332499 A JP2004332499 A JP 2004332499A JP 2006146374 A JP2006146374 A JP 2006146374A
Authority
JP
Japan
Prior art keywords
data
knowledge information
key
table data
unit
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
JP2004332499A
Other languages
Japanese (ja)
Inventor
Akio Shimizu
章夫 志水
Koichi Shibao
紘一 芝尾
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.)
AIE RES Inc
AIE RESEARCH Inc
Original Assignee
AIE RES Inc
AIE RESEARCH Inc
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 AIE RES Inc, AIE RESEARCH Inc filed Critical AIE RES Inc
Priority to JP2004332499A priority Critical patent/JP2006146374A/en
Publication of JP2006146374A publication Critical patent/JP2006146374A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a new technique for generating information expressed in a data format with high versatility as knowledge information. <P>SOLUTION: The knowledge information processor 100 comprises an input part 102 inputting table data containing a plurality of data, a location setting part 112 setting location specification information for specifying the location of each data contained in the input table data in the table data, an association part 116 associating the location of each data specified by the location specification information with the data concerned, and a knowledge information generation part 118 generating each of the associated data as one piece of knowledge information. According to this, knowledge expressed in a highly versatile table data format can be generated as knowledge information. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、蓄積された知識情報を利用し推論を行う知識情報処理装置および知識情報処理方法に関する。   The present invention relates to a knowledge information processing apparatus and a knowledge information processing method that perform inference using stored knowledge information.

近年、特定分野に特化した専門知識やノウハウをデータベースに蓄積し、当該蓄積された専門知識やノウハウを元に推論を行い、その分野の専門家に近い判断を下すことができるエキスパートシステムが注目されつつある。例えば、病気に関する知識がほとんどない患者が、医者による病気に関する専門知識を蓄積したデータベースを利用することで、専門家である医者の助けを借りることができる。   In recent years, expert systems that accumulate specialized knowledge and know-how specific to a specific field in a database, make inferences based on the accumulated specialized knowledge and know-how, and can make judgments close to experts in that field are attracting attention. It is being done. For example, a patient who has little knowledge about a disease can use the database of a doctor's accumulated knowledge about the disease to obtain the help of a doctor who is an expert.

一般に、データベースに蓄積する前の専門知識やノウハウはコンピュータにとって理解しにくい形式で表現されることが多い。例えば、特許文献1には、自動登録できない配管計装線図、機器構造図や配管図などのCAD(Computer Aided Design)データをユーザの入力支援により登録させる技術が開示されている。
特開平6−83678号公報
In general, specialized knowledge and know-how prior to accumulation in a database are often expressed in a format that is difficult for a computer to understand. For example, Patent Document 1 discloses a technique for registering CAD (Computer Aided Design) data such as piping instrumentation diagrams, equipment structure diagrams, and piping diagrams that cannot be automatically registered with user input assistance.
JP-A-6-83678

確かに、特許文献1によれば、CADデータに記載された情報をデータベースに登録できるが、入力の対象をCADデータに限定しており、その他のデータ形式で表現された知識やノウハウなどの情報には適用できないことがある。さらに、CADデータはその性質上、用途が限定されるため、汎用性が高いデータ形式とは必ずしも言えないことがある。そのため、汎用性が高いデータ形式で表現された情報をデータベースに登録できる新たな技術が要望されている。   Certainly, according to Patent Document 1, information described in CAD data can be registered in a database, but the input target is limited to CAD data, and information such as knowledge and know-how expressed in other data formats. May not be applicable. Furthermore, since the use of CAD data is limited due to its nature, it may not necessarily be a highly versatile data format. Therefore, there is a demand for a new technique that can register information expressed in a highly versatile data format in a database.

本発明はこうした課題に鑑みてなされたものであり、その目的は汎用性が高いデータ形式で表現された情報を知識情報としてデータベースに登録できる知識情報処理装置および知識情報処理方法の提供にある。   The present invention has been made in view of these problems, and an object thereof is to provide a knowledge information processing apparatus and a knowledge information processing method capable of registering information expressed in a highly versatile data format in a database as knowledge information.

本発明のある態様は、知識情報処理装置に関する。この装置は、複数のデータを含む表データを入力する入力部と、入力された表データに含まれるそれぞれのデータの表データにおける所在を一意に特定するための所在特定情報を設定する所在設定部と、所在特定情報により特定されるそれぞれのデータの所在を当該データに関連付ける関連付け部と、関連付けられたそれぞれのデータを一つの知識情報として生成する知識情報生成部と、を備える。この態様によれば、汎用性が高い表データ形式で表現された情報を知識情報として生成できるため、ユーザメリットの高い知識情報処理装置を提供できる。   One embodiment of the present invention relates to a knowledge information processing apparatus. This device includes an input unit that inputs table data including a plurality of data, and a location setting unit that sets location specifying information for uniquely specifying the location of each data included in the input table data. And an associating unit that associates the location of each piece of data specified by the location specifying information with the data, and a knowledge information generating unit that generates each piece of associated data as one piece of knowledge information. According to this aspect, since information expressed in a highly versatile table data format can be generated as knowledge information, a knowledge information processing apparatus with high user merit can be provided.

所在設定部は、表データにおける行位置の項目を特定するための第1キーと列位置の項目を特定するための第2キーとを生成するキー生成部を備え、データの所在は、第1キーにより特定された行位置の項目と第2キーにより特定された列位置の項目とにより二次元的に表現されてもよい。   The location setting unit includes a key generation unit that generates a first key for specifying an item of row position in the table data and a second key for specifying an item of column position. It may be expressed two-dimensionally by the item of the row position specified by the key and the item of the column position specified by the second key.

入力部は複数の表データを入力するものであり、所在設定部は、入力された複数の表データのうちいずれかの表データを特定するための識別情報をさらに設定してもよい。第1キーおよび第2キーの少なくともいずれか一方は、複数のキーで形成されてもよい。   The input unit inputs a plurality of table data, and the location setting unit may further set identification information for specifying any one of the plurality of input table data. At least one of the first key and the second key may be formed of a plurality of keys.

表データは単独で有意となる部分表データが複数組み合わされたものであり、所在特定情報は、所在設定部により部分表データごとに設定されてもよい。この装置は、入力された表データの定義情報を生成する定義情報生成部と、知識情報と定義情報とを比較し知識情報が正規化されているか否かを検証する検証部とをさらに備えてもよい。   The table data is a combination of a plurality of pieces of partial table data that are significant alone, and the location specifying information may be set for each partial table data by the location setting unit. The apparatus further includes a definition information generation unit that generates definition information of the input table data, and a verification unit that compares the knowledge information with the definition information to verify whether the knowledge information is normalized. Also good.

関連付け部は、関連付けた複数のデータの中から、少なくとも、第1キーにより特定された行位置の項目が同一であり、さらに第2キーにより特定された列位置の項目が同一であるデータを複数抽出する抽出部を備え、知識情報生成部は、抽出部により抽出された複数のデータを統合して一つの知識情報を生成する。知識情報のそれぞれは同一の形式で表現されてもよい。その形式は述語論理型の言語形式であってもよい。また、その形式はXML言語形式であってもよい。   The associating unit selects a plurality of pieces of data in which at least the item at the row position specified by the first key is the same, and the item at the column position specified by the second key is the same among the plurality of associated data. The knowledge information generation unit includes an extraction unit for extracting, and generates a piece of knowledge information by integrating a plurality of data extracted by the extraction unit. Each piece of knowledge information may be expressed in the same format. The format may be a predicate logic type language format. The format may be an XML language format.

本発明の別の態様も、知識情報処理装置に関する。この装置は、複数のデータを含む表データを入力する表データ入力部と、入力された表データに含まれるそれぞれのデータの表データにおける行位置の項目を特定するための第1キーと列位置の項目を特定するための第2キーとを生成するキー生成部と、第1キーにより特定された行位置の項目と第2キーにより特定された列位置の項目とにより二次元的に表現されるそれぞれのデータの所在を当該データに関連付ける関連付け部と、関連付けられたそれぞれのデータを一つの知識情報として生成する知識情報生成部と、述語論理型の言語形式で記述された推論ルールを入力する推論ルール入力部と、質問検索式を入力する検索式入力部と、質問検索式に基づいて、推論ルールおよび知識情報により推論を行う推論部と、推論部による推論結果を提示する提示部と、を備える。   Another aspect of the present invention also relates to a knowledge information processing apparatus. The apparatus includes a table data input unit for inputting table data including a plurality of data, a first key and a column position for specifying an item of a row position in the table data of each data included in the input table data. Two-dimensionally expressed by a key generation unit for generating a second key for specifying the item, a row position item specified by the first key, and a column position item specified by the second key An associating unit that associates the location of each piece of data with the data, a knowledge information generating unit that generates each piece of associated data as one piece of knowledge information, and an inference rule described in a predicate logical language format Inference rule input section, search expression input section for inputting a query search expression, inference section for performing inference based on the inference rules and knowledge information based on the query search expression, and inference by the inference section And a presentation unit that presents.

本発明のさらに別の態様は、知識情報処理方法に関する。この方法は、複数のデータを含む表データを入力するステップと、入力された表データに含まれるそれぞれのデータの表データにおける所在を一意に特定するための所在特定情報を設定するステップと、所在特定情報により特定されるそれぞれのデータの所在を当該データに関連付けるステップと、関連付けられたそれぞれのデータを一つの知識情報として生成するステップと、を備える。   Yet another embodiment of the present invention relates to a knowledge information processing method. The method includes inputting table data including a plurality of data, setting location specifying information for uniquely specifying the location of each data included in the input table data, and A step of associating the location of each piece of data specified by the specific information with the data, and a step of generating each piece of associated data as one piece of knowledge information.

本発明によれば、ユーザメリットの高い知識情報処理装置および方法を提供できる。   ADVANTAGE OF THE INVENTION According to this invention, a knowledge information processing apparatus and method with a high user merit can be provided.

実施の形態1
図1は、実施の形態1に係る知識情報処理装置の構成を示す。この構成は、ハードウエア的には、任意のコンピュータのCPU(Central Processing Unit)、メモリ、その他のLSI(Large Scale Integration)で実現でき、ソフトウエア的にはGUI(Graphical User Interface)機能、知識情報処理機能その他の機能をもつプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。
Embodiment 1
FIG. 1 shows a configuration of a knowledge information processing apparatus according to the first embodiment. This configuration can be realized in hardware by a CPU (Central Processing Unit), memory, and other LSI (Large Scale Integration) in any computer, and in software, a GUI (Graphical User Interface) function and knowledge information It is realized by a program having a processing function and other functions, but here, functional blocks realized by their cooperation are depicted. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.

実施の形態1に係る知識情報処理装置100は、入力された表データに含まれるそれぞれのデータを当該データのそれぞれの所在と関連づけ、当該関連づけられたデータを知識情報として生成する。このとき、生成された知識情報は同一の形式で表現される。知識情報とは、単なるデータである「形式知」だけでなく、データの所在といった、通常は明示化されない「暗黙知」までを含んだ情報を指す。知識情報処理装置100は、ユーザから質問検索式による問題解決の要求があったとき、内部に蓄積された知識情報を利用して推論を実行し、推論結果をユーザに提示する。これにより、知識情報処理装置100は問題解決の要求を満足する解をユーザに提供できる。   The knowledge information processing apparatus 100 according to Embodiment 1 associates each data included in the input table data with each location of the data, and generates the associated data as knowledge information. At this time, the generated knowledge information is expressed in the same format. Knowledge information refers to information including not only “formal knowledge” that is merely data but also “implicit knowledge” that is not normally specified, such as the location of data. The knowledge information processing apparatus 100 executes inference using knowledge information stored therein and presents the inference result to the user when a user requests a problem solution by a query retrieval formula. Thereby, the knowledge information processing apparatus 100 can provide the user with a solution that satisfies the problem solving request.

実施の形態1における表データとは、行と列とにより二次元的に整理されていると視覚的に理解しやすい、例えばエクセル形式などの表形式で表現されるデータである。また、他の例として、データ間がカンマ記号で区切られるとともにデータ行が改行で区切られる、いわゆるCSV(Comma Separated Value)形式で保持されたデータを指してもよい。いずれにしても、表データは、行と列とによって二次元的にデータの所在が特徴づけられるデータ形式であればよい。   The tabular data in the first embodiment is data expressed in a tabular format such as an Excel format that is easy to visually understand when arranged two-dimensionally by rows and columns. As another example, data held in a so-called CSV (Comma Separated Value) format in which data is separated by comma symbols and data rows are separated by line feeds may be indicated. In any case, the table data may be in a data format in which the location of the data is two-dimensionally characterized by rows and columns.

実施の形態1に係る知識情報処理装置100は、入力部102と、提示部104と、知識ベース部106と、定義情報保持部108と、制御部110と、を備える。制御部110は、所在設定部112と、関連付け部116と、知識情報生成部118と、推論部120と、定義情報生成部122と、検証部124と、を備える。入力部102は、キーボード、マウス、ボタン、タッチパネル等の不図示の入力デバイスを介して、ユーザからの表データの入力を受け付ける。さらに、入力部102は、ユーザからの質問検索式や推論ルールの入力を受け付ける。この場合、入力部102は、図示しない表データ入力部と、検索式入力部と、推論ルール入力部とを備え、それぞれが別々に、表データ、質問検索式、推論ルールの入力を受け付けてもよい。   Knowledge information processing apparatus 100 according to Embodiment 1 includes an input unit 102, a presentation unit 104, a knowledge base unit 106, a definition information holding unit 108, and a control unit 110. The control unit 110 includes a location setting unit 112, an association unit 116, a knowledge information generation unit 118, an inference unit 120, a definition information generation unit 122, and a verification unit 124. The input unit 102 receives input of table data from the user via an input device (not shown) such as a keyboard, a mouse, a button, and a touch panel. Furthermore, the input unit 102 receives an input of a question retrieval formula and an inference rule from the user. In this case, the input unit 102 includes a table data input unit (not shown), a search expression input unit, and an inference rule input unit, each of which accepts input of table data, a query search expression, and an inference rule separately. Good.

なお、表データは電子化されたものである必要はなく、例えば、紙原稿上に記載されたものなど、その保存形式は問わない。表データが紙原稿上に記載されている場合、知識情報処理装置100は、まず、外部の不図示のスキャナなどで表データが記載された原稿を電子化された図面データとして読み取る。次に、外部の不図示の文字認識変換装置は、図面データとして読み取った表データ中の文字やデータ構造を認識し、当該表データをCSV形式に変換する。最後に、入力部102は、こうして生成されたCSV形式の表データの入力を受け付ける。これにより、紙原稿上の表データを入力できる。   The table data does not need to be digitized, and the storage format thereof does not matter, for example, the data written on a paper document. When the table data is described on a paper document, the knowledge information processing apparatus 100 first reads the document on which the table data is described with an external scanner (not shown) as electronic drawing data. Next, an external character recognition conversion device (not shown) recognizes characters and data structures in the table data read as drawing data, and converts the table data into the CSV format. Finally, the input unit 102 accepts input of CSV format table data generated in this way. Thereby, the table data on the paper document can be input.

所在設定部112は、入力部102により入力された表データに含まれる複数のデータの表データにおける所在を一意に特定するための所在特定情報を設定する。所在特定情報の設定はユーザからの指示により行われてもよい。所在特定情報とは、例えば、データの表データにおける行位置の項目を特定するための第1キー(以下、単に「列キー」という)とデータの表データにおける列位置の項目を特定するための第2キー(以下、単に「行キー」という)とを指す。なお、行位置とは表データ上の縦方向の位置を、一方、列位置とは表データ上の横方向の位置を指す。   The location setting unit 112 sets location specifying information for uniquely specifying the location of the plurality of pieces of data included in the table data input by the input unit 102. The location specifying information may be set according to an instruction from the user. The location specifying information includes, for example, a first key (hereinafter, simply referred to as “column key”) for specifying a row position item in the data table data and a column position item in the data table data. This refers to the second key (hereinafter simply referred to as “row key”). The row position refers to the vertical position on the table data, while the column position refers to the horizontal position on the table data.

所在設定部112内部のキー生成部114は、列キーと行キーとを生成する。列キーと行キーの生成はユーザからの指示により行われてもよい。これにより、表データ中のデータの所在は、列キーにより特定された行位置の項目と行キーにより特定された列位置の項目とにより二次元的に表現される。また、所在設定部112は、入力された複数の表データのうちいずれかの表データを特定するための、表データ固有の表IDや表データの名称などの識別情報をさらに設定してもよい。これにより、入力部102に入力される表データが複数であっても、表データの識別情報をさらに設定することで、データの所在を一意に特定できる。なお、識別情報は所在特定情報として設定されてもよい。   The key generation unit 114 in the location setting unit 112 generates a column key and a row key. The generation of the column key and the row key may be performed according to an instruction from the user. Thereby, the location of the data in the table data is two-dimensionally expressed by the item of the row position specified by the column key and the item of the column position specified by the row key. Further, the location setting unit 112 may further set identification information such as a table ID unique to the table data and a name of the table data for specifying any one of the input table data. . Thereby, even if there are a plurality of table data input to the input unit 102, the location of the data can be uniquely specified by further setting the identification information of the table data. The identification information may be set as location specifying information.

関連付け部116は、所在特定情報により特定されるそれぞれのデータの所在を当該データに関連付ける。例えば、表データに含まれるデータ「A」の所在が、所在特定情報により表IDが「1」、行位置が「第3行」、列位置が「第4列」、と特定されていれば、関連付け部116は、データ「A」に表ID「1」、「第3行」、および「第4列」を関連づける。   The associating unit 116 associates the location of each piece of data specified by the location specifying information with the data. For example, if the location of the data “A” included in the table data is specified by the location specifying information as the table ID “1”, the row position “3rd row”, and the column location “4th column” The associating unit 116 associates the table ID “1”, “third row”, and “fourth column” with the data “A”.

知識情報生成部118は、関連付け部116により関連づけられたそれぞれのデータを一つの知識情報として生成する。知識情報生成部118により生成された知識情報は知識ベース部106に格納される。実施の形態1におけるそれぞれの知識情報は、以下に示す同一形式の「gimt」関数で表現される。実施の形態1によれば、知識情報は同一形式で記述されている。そのため、データベース管理者による知識情報の管理を容易にできる。なお、「gimt」は関数の一名称であるが、当該名称はこれに限られない。   The knowledge information generation unit 118 generates each piece of data associated by the association unit 116 as one piece of knowledge information. The knowledge information generated by the knowledge information generation unit 118 is stored in the knowledge base unit 106. Each piece of knowledge information in the first embodiment is expressed by a “gimt” function of the same format shown below. According to the first embodiment, the knowledge information is described in the same format. Therefore, knowledge information can be easily managed by the database administrator. “Gimt” is a name of a function, but the name is not limited to this.

Figure 2006146374
Figure 2006146374

定義情報生成部122は、入力部102を介して入力された表データの定義情報を生成する。定義情報はユーザからの入力指示に基づいて生成されてもよい。表データの定義情報とは、表データのデータ構造、項目間の関係、あるいはデータ間の関係を示す情報である。定義情報生成部122により生成された定義情報は定義情報保持部108に格納される。以下、定義情報の一例を示す。
(ア)表データの識別情報
(イ)表データの最大行数および最大列数
(ウ)表データのファイルパス
(エ)列キーが割り当てられた列番号、列キー名
(オ)行キーが割り当てられた行番号、行キー名
The definition information generation unit 122 generates definition information of table data input via the input unit 102. The definition information may be generated based on an input instruction from the user. Table data definition information is information indicating the data structure of table data, the relationship between items, or the relationship between data. The definition information generated by the definition information generation unit 122 is stored in the definition information holding unit 108. An example of definition information is shown below.
(A) Table data identification information (b) Maximum number of table data rows and maximum number of columns (c) Table data file path (d) Column number assigned column key, column key name (e) Row key Assigned line number, row key name

検証部124は、知識情報生成部118により生成された知識情報と定義情報生成部122により生成された定義情報とを比較し、知識情報が正規化されているか否かを検証する。正規化されている状態とは、表データの名称、および列キーと行キーとにより、データを一意に特定できる状態を示す。具体的には、検証部124は、定義情報に含まれる表データの名称、列キーおよび行キーを検索キーとして利用して、知識情報の集合の中から、一意に知識情報を抽出できるか否かに応じて、生成された知識情報が正規化されているか否かを判断する。   The verification unit 124 compares the knowledge information generated by the knowledge information generation unit 118 with the definition information generated by the definition information generation unit 122, and verifies whether the knowledge information is normalized. The normalized state indicates a state in which data can be uniquely specified by the name of the table data and the column key and row key. Specifically, whether or not the verification unit 124 can uniquely extract knowledge information from a set of knowledge information using the name, column key, and row key of the table data included in the definition information as search keys. Accordingly, it is determined whether or not the generated knowledge information is normalized.

推論部120は、入力部102を介してのユーザからの質問検索式の入力があった場合、推論ルールを参照しながら、知識ベース部106に蓄積された知識情報に基づいて推論を行う。この推論ルールは、ユーザにより記述され、入力部102を介して知識ベース部106に登録される。なお、推論ルールは、知識情報を利用できる記述形式であればよく、例えば、知識情報と同様の形式である述語論理型の言語形式で表現される。提示部104は、推論部120による推論結果を外部の不図示のディスプレイを介してユーザに提示する。   The inference unit 120 performs an inference based on the knowledge information stored in the knowledge base unit 106 while referring to the inference rules when a question retrieval formula is input from the user via the input unit 102. This inference rule is described by the user and registered in the knowledge base unit 106 via the input unit 102. The inference rule may be in any description format that can use knowledge information. For example, the inference rule is expressed in a predicate logic type language format that is the same format as knowledge information. The presentation unit 104 presents the inference result from the inference unit 120 to the user via an external display (not shown).

実施の形態1によれば、行位置の項目と列位置の項目を指定すれば、知識情報を一意に特定できる。すなわち、一つの事実に対し一つの知識情報の状態、いわゆる正規化の状態を実現しており、知識情報の内容の修正作業や追加作業にかかる負担を軽減できる。さらに、質問検索式により行位置の項目と列位置の項目が指定されたとき、推論部120は的確に一つの知識情報を特定し利用できるため、アクセス効率の良い、誤差の少ない推論結果を提示できる。これにより質問に対する回答の信頼性を高めることができる。   According to the first embodiment, the knowledge information can be uniquely specified by specifying the row position item and the column position item. That is, a single knowledge information state, a so-called normalization state, is realized for one fact, and the burden on the work of correcting or adding knowledge information can be reduced. In addition, when the row position item and the column position item are specified by the query retrieval formula, the inference unit 120 can accurately identify and use one piece of knowledge information, and therefore presents an inference result with good access efficiency and low error. it can. Thereby, the reliability of the answer to a question can be improved.

一般に、データベースの設計や構築に関する知識を有する者でなければデータベースにおけるデータの正規化作業を行うことは困難である。さらに、データベースの設計に携わった者でも、非効率な構造を設計して、アクセス効率の悪いシステムを構築してしまうことがある。実施の形態1によれば、少なくともデータの所在を特定する列キーと行キーを設定すれば知識情報を生成できるため、簡単に正規化された知識情報の集合を生成できる。   In general, it is difficult to normalize data in a database unless someone has knowledge about database design or construction. Furthermore, even those who are involved in database design may design an inefficient structure and build a system with poor access efficiency. According to the first embodiment, knowledge information can be generated by setting at least a column key and a row key that specify the location of data. Therefore, a set of normalized knowledge information can be generated easily.

以下、実施の形態1に係る知識情報処理装置100による表データの入力から知識情報の生成までの動作を図2〜図4を用いて説明する。図2は、入力部に入力される5行4列の複数のセルを有する表データの一例を示す。表データ200がCSV形式で記述されているのであれば、見やすさを考慮して、エクセル形式などの見やすい表形式に変換したものを図として示すものとする。図2に示す表データ200には、道路交差点においてあるイベントが発生したときの歩行者の次に取るべき行動パターンが示されている。なお、この表データ200の名称は「歩行者の行動パターン」である。   Hereinafter, operations from inputting table data to generating knowledge information by the knowledge information processing apparatus 100 according to the first embodiment will be described with reference to FIGS. FIG. 2 shows an example of table data having a plurality of cells of 5 rows and 4 columns input to the input unit. If the table data 200 is described in the CSV format, the table data 200 converted into an easy-to-view table format such as an Excel format is shown as a diagram in consideration of ease of viewing. The table data 200 shown in FIG. 2 shows an action pattern to be taken next to a pedestrian when an event occurs at a road intersection. The name of the table data 200 is “pedestrian behavior pattern”.

第1行の第2列〜第4列の項目で構成される第1項目群202は、それぞれ「停止」、「歩く」、および「走る」といった歩行者の現在の行動パターンを示している。一方、第1列の第2行〜第5行の項目で構成される第2項目群204は、それぞれ赤、青、青点滅の信号機の信号の変化のイベントの他、「横断完了」という歩行者の状態推移に関するイベントをも含む。さらに第2行第2列を左上端とし、縦方向に4つ分のセル、横方向に3つ分のセルに格納されるデータで構成されるデータ群206は、イベントが発生したときに、現在の歩行者の行動パターンに応じて次に取るべき歩行者の行動パターンを示している。なお、図2に示すように第1行第1列のセルには何のデータも設定されていないものとする。   A first item group 202 composed of items from the second column to the fourth column in the first row indicates the current behavior pattern of the pedestrian such as “stop”, “walk”, and “run”. On the other hand, the second item group 204 composed of the items of the second row to the fifth row in the first column is a walk of “crossing completed” in addition to an event of a signal change of a red, blue, and blue flashing traffic light. Event related to the state transition of the person. Furthermore, the second row and the second column are the upper left corner, and the data group 206 composed of data stored in four cells in the vertical direction and three cells in the horizontal direction is as follows. The pedestrian behavior pattern to be taken next is shown according to the current pedestrian behavior pattern. It is assumed that no data is set in the cells in the first row and the first column as shown in FIG.

図2には、例えば、現在の歩行者の行動パターンが第1行第2列で示す「停止」であり、第3行第1列で示す「青」に変化するというイベントが発生したとき、歩行者は次に取るべき行動として第3行第2列で示す「歩く」行動パターンを選択することが示されている。人間は、この表データ200を見れば、「現在の行動パターン」と「次に取るべき行動パターン」と「イベント」との対応関係を認識できるため、表データ200が指し示す情報の内容を簡単に理解できる。実施の形態1では、さらにコンピュータにとっても表データ200が指し示す情報の内容を理解できるように、知識情報処理装置100は以下に示す設定処理を行う。   In FIG. 2, for example, when an event occurs in which the current pedestrian behavior pattern is “stop” shown in the first row and second column and changes to “blue” shown in the third row and first column, It is shown that the pedestrian selects the “walking” action pattern shown in the third row and the second column as the action to be taken next. By looking at the table data 200, a human can recognize the correspondence relationship between the “current action pattern”, “the next action pattern to be taken”, and “event”. Understandable. In the first embodiment, the knowledge information processing apparatus 100 performs the following setting process so that the computer can understand the contents of the information indicated by the table data 200.

図3は、所在特定情報が設定された歩行者の行動パターンの表データを示す。図2と同等の構成には同じ符号を与え適宜説明を略す。また、見やすさのため、所在特定情報が格納されたセルを斜線で明示する。図3に示すごとく、第0行第0列、第0行第1列、第1行第0列のセルに所在特定情報が格納されている。この所在特定情報が格納されるセルは、歩行者の行動パターンの表データ200が記載されている範囲の外側のセルであるため、表データ200の配置位置に影響を与えずに済む。   FIG. 3 shows table data of a pedestrian behavior pattern in which location specifying information is set. The same components as those in FIG. 2 are given the same reference numerals, and description thereof will be omitted as appropriate. In addition, for ease of viewing, the cell in which the location specifying information is stored is indicated by hatching. As shown in FIG. 3, the location specifying information is stored in the cells in the 0th row, the 0th column, the 0th row, the 1st column, and the 1st row, the 0th column. The cell in which the location specifying information is stored is a cell outside the range in which the table data 200 of the pedestrian's behavior pattern is described, and thus the arrangement position of the table data 200 is not affected.

なお、所在特定情報はダイアログによる対話形式で入力できるものとしてもよい。例えば、「表データの名称は何ですか?」という知識情報処理装置100からの問いに対し、ユーザが「歩行者の行動パターン表」と入力部102を介して応答することで第0行第0列に所在特定情報が設定されてもよい。また、「列キーは第何列に割り当てますか?」、「何という名称で設定しますか?」という知識情報処理装置100からの問いに対し、ユーザが「1列」、「イベント」と入力部102を介して応答することで第0行第1列に所在特定情報が設定されてもよい。さらに、この場合、設定された所在特定情報は制御部110内部の不図示のメモリなどの記憶部が保持し、実際のディスプレイ上には表示されなくてもよい。   The location specifying information may be input in a dialog form using a dialog. For example, in response to the question from the knowledge information processing apparatus 100, “What is the name of the table data?”, The user responds via the input unit 102 with the “pedestrian behavior pattern table” in the 0th row. Location specifying information may be set in the 0th column. Further, in response to the questions from the knowledge information processing apparatus 100 such as “how many columns should the column key be assigned?” And “what name should be set?”, The user may ask “1 column”, “event”. The location specifying information may be set in the 0th row and the 1st column by responding via the input unit 102. Furthermore, in this case, the set location specifying information is held in a storage unit such as a memory (not shown) in the control unit 110 and may not be displayed on the actual display.

以下、実施の形態1に係る知識情報処理装置100による所在特定情報の具体的な設定作業を順番に示す。
(1)表データ200の名称「歩行者の行動パターン」を第0行第0列に設定する。
(2)列キー名が「イベント」である列キーを生成し第1列に割り当てる。
(3)行キー名が「現在の行動パターン」である行キーを生成し第1行に割り当てる。
Hereinafter, specific setting operations of location specifying information by the knowledge information processing apparatus 100 according to Embodiment 1 will be shown in order.
(1) The name “Pedestrian Behavior Pattern” of the table data 200 is set in the 0th row and the 0th column.
(2) A column key whose column key name is “event” is generated and assigned to the first column.
(3) A row key whose row key name is “current action pattern” is generated and assigned to the first row.

すなわち、(2)ではデータ群206に含まれる、あるデータの行位置の項目を特定するための列キーを第1列に割り当て、列キー名を第1列の第2行〜第5行を示す「イベント」に設定する。同様に、(3)ではデータ群206に含まれる、あるデータの列位置の項目を特定するための行キーを第1行に割り当て、行キー名を第1行の第2列〜第4列を示す「現在の行動パターン」に設定する。これにより、表データ200の名称、列キーおよび行キーによりデータ群206に含まれるデータの所在を特定できる。   That is, in (2), a column key for specifying an item of a row position of certain data included in the data group 206 is assigned to the first column, and the column key name is assigned to the second row to the fifth row of the first column. Set to "Event" shown. Similarly, in (3), a row key for specifying an item at a column position of certain data included in the data group 206 is assigned to the first row, and the row key name is assigned to the second to fourth columns of the first row. Is set to “current action pattern”. Thereby, the location of the data included in the data group 206 can be specified by the name, column key, and row key of the table data 200.

図4は、知識情報生成部により生成された知識情報の集合の一例を示す。例えば、図4に示す知識情報群300内の知識情報302は、図3に示す第3行第2列のデータ「歩く」が知識化されたものである。すなわち、知識情報302の情報供給源となる表データの名称は「歩行者の行動パターン」であり、現在の歩行者の行動パターンが「停止」である場合において、信号機の信号が「青」になるというイベントが発生した場合、歩行者は次に取るべき行動として「歩く」を選択することを示す。これにより、単なる「形式知」のデータ「歩く」を生成するのではなく、「信号が青に変化した場合、歩行者は停止状態から歩く状態に変化させる」という知識やノウハウを含む知識情報を生成できる。   FIG. 4 shows an example of a set of knowledge information generated by the knowledge information generation unit. For example, the knowledge information 302 in the knowledge information group 300 illustrated in FIG. 4 is obtained by converting the data “walking” in the third row and second column illustrated in FIG. 3 into knowledge. That is, the name of the table data serving as the information supply source of the knowledge information 302 is “pedestrian behavior pattern”, and when the current pedestrian behavior pattern is “stop”, the signal of the traffic light becomes “blue”. When an event occurs, the pedestrian indicates that “walk” is selected as the next action to be taken. As a result, instead of simply generating “walking” data of “formal knowledge”, knowledge information including the knowledge and know-how of “when the signal changes to blue, the pedestrian changes from a stopped state to a walking state” Can be generated.

図5は、ユーザにより入力部を介して入力された推論ルールの一例を示す。以下、第1推論ルールR1〜第4推論ルールR4が示す意味について説明する。第1推論ルールR1および第2推論ルールR2は初期化処理を行うためのルールであり、一方、第3推論ルールR3および第4推論ルールR4は推論結果の出力処理を行うためのルールである。
(R1)歩行者の現在の行動パターン「Y」が、すでに「歩く」等の何らかの値に設定されている場合、当該設定された状態を削除して歩行者の行動パターンを「停止」に設定する。
(R2)歩行者の現在の行動パターン「Y」がいずれの値も設定されていない場合、歩行者の行動パターン「Y」を「停止」に設定する。
(R3)イベント「X」と歩行者の現在の行動パターン「Y」を検索キーにして、知識情報群を参照し、対応する歩行者の取るべき次の行動パターン「Z」に当たるデータが存在すれば、当該データを推論結果として出力する。
(R4)イベント「X」と歩行者の現在の行動パターン「Y」を検索キーにして、知識情報群を参照し、対応する歩行者の取るべき次の行動パターン「Z」に当たるデータが存在しなければ、「ルールなし」という推論結果を出力する。
FIG. 5 shows an example of an inference rule input by the user via the input unit. Hereinafter, the meanings indicated by the first inference rule R1 to the fourth inference rule R4 will be described. The first inference rule R1 and the second inference rule R2 are rules for performing an initialization process, while the third inference rule R3 and the fourth inference rule R4 are rules for performing an inference result output process.
(R1) When the current behavior pattern “Y” of the pedestrian is already set to some value such as “walking”, the set state is deleted and the behavior pattern of the pedestrian is set to “stop” To do.
(R2) If no value is set for the current behavior pattern “Y” of the pedestrian, the behavior pattern “Y” of the pedestrian is set to “stop”.
(R3) The event “X” and the current behavior pattern “Y” of the pedestrian are used as search keys, the knowledge information group is referenced, and there is data corresponding to the next behavior pattern “Z” that the corresponding pedestrian should take. For example, the data is output as an inference result.
(R4) There is data corresponding to the next action pattern “Z” that the corresponding pedestrian should take by referring to the knowledge information group using the event “X” and the current action pattern “Y” of the pedestrian as a search key. If not, the inference result “no rule” is output.

以下、推論部120により第1推論ルールR1〜第4推論ルールR4が解釈実行され、推論結果が出力されるまでの処理を示す。なお、推論部120は内部に不図示のコンパイル部を備え、当該コンパイル部がそれぞれの推論ルールを解釈実行してもよい。
(あ)推論部120は、ユーザから入力部102を介して「init」という命令を取得したとき、第1推論ルールR1および第2推論ルールR2を解釈実行し、歩行者の現在の行動パターン「Y」を「停止」状態に設定する。
(い)推論部120は、ユーザから入力部102を介して「act(青、Y、Z)」という命令を取得したとき、第3推論ルールR3および第4推論ルールR4を解釈実行する。
(う)推論部120は、イベント「X」が「青」であり、歩行者の現在の行動パターン「Y」が「停止」である知識情報302を参照する。
(え)推論部120は、歩行者の取るべき次の行動パターン「Z」として「歩く」を推論結果として出力する。
Hereinafter, the process until the inference unit 120 interprets and executes the first inference rule R1 to the fourth inference rule R4 and outputs the inference result will be described. The inference unit 120 may include a compiling unit (not shown), and the compiling unit may interpret and execute each inference rule.
(A) When the inference unit 120 obtains a command “init” from the user via the input unit 102, the inference unit 120 interprets and executes the first inference rule R1 and the second inference rule R2, and the pedestrian's current action pattern “ “Y” is set to the “stop” state.
(Ii) When the inference unit 120 obtains an instruction “act (blue, Y, Z)” from the user via the input unit 102, the inference unit 120 interprets and executes the third inference rule R3 and the fourth inference rule R4.
(Iii) The inference unit 120 refers to the knowledge information 302 in which the event “X” is “blue” and the pedestrian's current behavior pattern “Y” is “stop”.
(D) The inference unit 120 outputs “walk” as the next action pattern “Z” to be taken by the pedestrian as an inference result.

図6は、実施の形態1に係る知識情報処理装置の処理の流れを示す。入力部102はユーザから表データ200の入力を受け付ける(S10)。キー生成部114は入力部102により受け付けた表データ200を参照し、列キーおよび行キーを生成する(S12)。関連付け部116は、キー生成部114により生成された列キーおよび行キーで特定されるデータの表データにおける所在とデータとを関連づける(S14)。定義情報生成部122は入力部102を介してのユーザからの指示に従い、表データの定義情報を生成し定義情報保持部に保持する(S16)。   FIG. 6 shows a processing flow of the knowledge information processing apparatus according to the first embodiment. The input unit 102 receives input of the table data 200 from the user (S10). The key generation unit 114 refers to the table data 200 received by the input unit 102 and generates a column key and a row key (S12). The associating unit 116 associates the location of the data specified by the column key and the row key generated by the key generating unit 114 with the data (S14). The definition information generation unit 122 generates table data definition information in accordance with an instruction from the user via the input unit 102, and stores the table data definition information in the definition information storage unit (S16).

知識情報生成部118は、所在が関連づけられたデータを知識情報として生成する(S18)。検証部124は、知識情報と定義情報とを比較し、知識情報が正規化されているか否かを判断する(S20)。検証部124により知識情報が正規化されていないと判断された場合(S20のN)、提示部はS12以降の処理の実行をユーザに指示する。検証部124により知識情報が正規化されていると判断された場合(S20のY)、知識情報生成部118は知識情報を知識ベース部106に格納する(S22)。   The knowledge information generation unit 118 generates data associated with the location as knowledge information (S18). The verification unit 124 compares the knowledge information with the definition information, and determines whether the knowledge information is normalized (S20). When it is determined by the verification unit 124 that the knowledge information is not normalized (N in S20), the presentation unit instructs the user to execute the processing after S12. When the verification unit 124 determines that the knowledge information is normalized (Y in S20), the knowledge information generation unit 118 stores the knowledge information in the knowledge base unit 106 (S22).

入力部102はユーザから推論ルールの入力を受け付ける(S24)。推論部120はユーザから受け付けた推論ルールを解釈実行するとともに、知識ベース部106に格納された知識情報を参照し推論を行う(S26)。提示部104は、推論部120により出力された推論結果をユーザに提示する(S28)。   The input unit 102 receives input of inference rules from the user (S24). The inference unit 120 interprets and executes the inference rules received from the user, and performs inference with reference to the knowledge information stored in the knowledge base unit 106 (S26). The presentation unit 104 presents the inference result output by the inference unit 120 to the user (S28).

一昔では、プラント設備や金融システムなどの設計図面や設計書などを積極的に公開する企業や団体は少なかったが、近年になり、情報公開制度の制定に後押しされるように、世間は蓄積された情報を公開するような風潮になりつつある。そのため、企業や団体は、設計書や資料に記載された情報をオンラインで公開するため、積極的にそれら情報をデータベースに登録する作業を行っている。しかしながら、設計書や資料の中には表を取り入れたものも多く、その場合、プログラマが、例えばSQL(Structured Query Language)言語を利用したデータベースへの登録プログラムを新たに作成しなければならないことがある。実施の形態1によれば、表データにおいて少なくともデータの所在を特定する列キーと行キーを設定することで、簡単に正規化された知識情報の集合を生成できる。これにより、プログラムの作成作業にかかる手間やコストを大幅に軽減できる。   In the past, there were few companies and organizations that actively disclosed design drawings and design documents such as plant equipment and financial systems. However, in recent years, the world has accumulated as it is encouraged by the establishment of an information disclosure system. It is becoming a trend to disclose information. For this reason, companies and organizations are actively working to register such information in a database in order to publish information written in design documents and documents online. However, many of the design documents and materials incorporate tables, and in that case, the programmer may have to create a new registration program in the database using, for example, the SQL (Structured Query Language) language. is there. According to the first embodiment, a set of normalized knowledge information can be generated easily by setting at least a column key and a row key for specifying the location of the data in the table data. As a result, it is possible to greatly reduce the labor and cost for creating the program.

さらに、実施の形態1によれば、データベースに関する知識を有さない者でも、簡単に知識情報を登録できるため、例えば、人事部の者が採用情報が記述された表を容易に知識化して知識ベース部106に登録したり、経理部の者が財務情報が記述された表を容易に知識化して知識ベース部106に登録したりできる。このように、知識化作業に要する作業を容易にすることで、各分野の専門家からの知識の収集が容易になり、知識の活用の幅が広がる。   Furthermore, according to the first embodiment, even a person who does not have knowledge about a database can easily register knowledge information. For example, a person in the personnel department can easily make knowledge of a table in which employment information is described. It can be registered in the base unit 106, or a person in the accounting unit can easily make a table in which financial information is described and register it in the knowledge base unit 106. As described above, by facilitating the work required for the knowledge-making work, it becomes easy to collect knowledge from experts in each field, and the range of utilization of knowledge is expanded.

一般に、リレーショナル型データベースのテーブル内では、レコード単位でデータが管理されており、フィールドに割り当てられた列キーを利用することで、レコードのテーブルにおける所在を一意に特定できる。すなわち、行位置により一次元的にレコードの所在を特定できる。しかしながら、表データにおけるデータの所在は、二次元的に列位置と行位置により特徴づけられており、当該データの所在を一意に特定するためには、列キーと行キーを設定する必要がある。すなわち、表データとリレーショナル型データベース内のテーブルでは、そのデータ構造が異なっているため、表データをリレーショナル型データベース内のテーブルに格納する場合、二次元的なデータ構造を解析し一次元的なデータ構造に変換するプログラムが必要となる。実施の形態1によれば、表データにおいて少なくともデータの所在を特定する列キーと行キーを設定することで、簡便に表データに含まれるデータを知識ベース部に格納できる。これにより、変換プログラムを作成する必要がないため、変換プログラムの作成作業にかかる手間やコストを省くことができる。   Generally, in a relational database table, data is managed in units of records, and the location of a record in a table can be uniquely specified by using a column key assigned to a field. That is, the location of the record can be specified one-dimensionally by the line position. However, the location of the data in the table data is two-dimensionally characterized by the column position and the row position. In order to uniquely identify the location of the data, it is necessary to set the column key and the row key. . In other words, the data structure of table data is different from that of a table in a relational database, so when storing table data in a table in a relational database, the two-dimensional data structure is analyzed and one-dimensional data is analyzed. A program to convert to a structure is required. According to the first embodiment, by setting at least the column key and the row key for specifying the location of data in the table data, the data included in the table data can be easily stored in the knowledge base unit. Thereby, since it is not necessary to create a conversion program, it is possible to save labor and cost for creating the conversion program.

また、一般に、リレーショナル型データベース内のテーブルは、単なるデータがレコード単位で配列されている構造を有するため、データベース管理者によるデータ構造の管理が容易でない場合がある。特に、データ量やテーブル数が膨大になると、データベースの管理作業にさらなる手間やコストがかかる。さらに、データベース管理者が、既存のデータベースにさらなるテーブルの追加や削除を行うとき、データベース全体を再設計したり再構築をする必要が生じることがある。実施の形態1によれば、人間が理解しやすい述語論理型の言語形式の知識情報を生成するため、知識ベース部106の管理が容易になる。また、知識情報の追加、修正および削除も容易に行うことができるため、知識ベース部106の拡張やメンテナンスを容易にできる。   In general, a table in a relational database has a structure in which mere data is arranged in units of records, so that it may not be easy for a database administrator to manage the data structure. In particular, when the amount of data and the number of tables are enormous, the database management work takes more time and cost. Furthermore, when a database administrator adds or deletes additional tables in an existing database, the entire database may need to be redesigned or rebuilt. According to the first embodiment, knowledge information in a predicate logical language format that is easy for humans to understand is generated, and thus management of the knowledge base unit 106 is facilitated. In addition, knowledge information can be easily added, modified, and deleted, so that the knowledge base unit 106 can be easily expanded and maintained.

さらに、表データは、医者の利用する患者カルテ、栄養士の献立、鉄道やバスの時刻表、あるいは株価表など、ありとあらゆる分野において利用されるものであり、汎用性の高いデータ形式であると言える。実施の形態1によれば、その汎用性の高いデータ形式の表データに記載された情報を容易に知識化できるため、ユーザ利便性の高い知識情報処理装置100を提供できる。   Furthermore, the table data is used in various fields such as patient charts used by doctors, dietitian menus, train and bus timetables, and stock price tables, and can be said to be a highly versatile data format. According to the first embodiment, since the information described in the table data in the highly versatile data format can be easily converted into knowledge, the knowledge information processing apparatus 100 with high user convenience can be provided.

実施の形態2
実施の形態1に係る知識情報処理装置100により生成された列キーおよび行キーはそれぞれ一つであったが、実施の形態2に係る知識情報処理装置100によれば、列キーおよび行キーの少なくともいずれか一方は、複数のキーで形成される。詳細は後述するが、一つの列キーでデータの表データにおける行位置を特定できない場合や一つの行キーでデータの表データにおける列位置を特定できない場合において、実施の形態2に係る知識情報処理装置100は好都合である。なお、実施の形態2に係る知識情報処理装置100の構成は、実施の形態1に係る知識情報処理装置100の構成と同様である。また、実施の形態1と同様の符号を付した構成については適宜説明を省略する。
Embodiment 2
The number of column keys and row keys generated by the knowledge information processing apparatus 100 according to Embodiment 1 is one. However, according to the knowledge information processing apparatus 100 according to Embodiment 2, column keys and row keys are At least one of them is formed by a plurality of keys. Although details will be described later, the knowledge information processing according to the second embodiment when the row position in the data table data cannot be specified with one column key or the column position in the data table data cannot be specified with one row key. The device 100 is convenient. The configuration of knowledge information processing apparatus 100 according to Embodiment 2 is the same as the configuration of knowledge information processing apparatus 100 according to Embodiment 1. In addition, the description of the components denoted by the same reference numerals as those in Embodiment 1 is omitted as appropriate.

キー生成部114は、データの表データにおける行位置および列位置をそれぞれ特定するための列キーおよび行キーの少なくともいずれか一方を複数のキーで形成する。この場合、知識情報生成部118が生成する知識情報の形式は以下のように表現される。列キー群とは少なくとも一つ以上のキーで形成される列キーを示し、行キー群とは少なくとも一つ以上のキーで形成される行キーを示す。   The key generation unit 114 forms at least one of a column key and a row key for specifying a row position and a column position in the table data of data with a plurality of keys. In this case, the format of the knowledge information generated by the knowledge information generation unit 118 is expressed as follows. The column key group indicates a column key formed by at least one or more keys, and the row key group indicates a row key formed by at least one or more keys.

Figure 2006146374
Figure 2006146374

定義情報生成部122は、実施の形態1に示す定義情報群に含まれる(エ)と(オ)にかわり、以下の定義情報を生成する。
(カ)列キー群が割り当てられたそれぞれの列番号、それぞれの列キー名
(キ)行キー群が割り当てられたそれぞれの行番号、それぞれの行キー名
The definition information generation unit 122 generates the following definition information instead of (e) and (e) included in the definition information group shown in the first embodiment.
(F) Each column number assigned a column key group, each column key name (ki) Each row number assigned a row key group, each row key name

以下、実施の形態2に係る知識情報処理装置100による表データの入力から知識情報の生成までの動作を図7〜図9を用いて説明する。図7は、入力部に入力される9行7列の複数のセルを有する表データの一例を示す。図7に示す表データ210は、プラントなどに配設された配管部品の材質、型や肉厚に関するデータを行列形式にまとめたものである。なお、この表データ210の名称は「配管クラス」である。   Hereinafter, operations from inputting table data to generating knowledge information by the knowledge information processing apparatus 100 according to the second embodiment will be described with reference to FIGS. FIG. 7 shows an example of table data having a plurality of cells of 9 rows and 7 columns input to the input unit. The table data 210 shown in FIG. 7 is a summary of data relating to the material, type, and thickness of piping parts arranged in a plant or the like in a matrix format. The name of the table data 210 is “piping class”.

図7に示すように、第1行には「配管クラス」、「配管部品」といった項目が設定されており、さらに第2行には第1行「材質」の詳細項目として「本体」と「要部」の項目が設定されている。一方、第1列には「1P1」の項目、第2列には「1P1」の詳細項目として「ゲート弁」等の項目、さらに第3列には「ゲート弁」の詳細項目として「1 1/2>」等の項目が設定されている。さらに第3行第4列を左上端、第3行第7列を右上端、第9行第4列を左下端、第9行第7列を右下端とする範囲に含まれるセルに格納されるデータで構成されるデータ群212には、型名などのデータが含まれている。   As shown in FIG. 7, items such as “piping class” and “piping parts” are set in the first row, and further, “main body” and “ The “main part” item is set. On the other hand, the item “1P1” is displayed in the first column, the item “gate valve” or the like as the detailed item “1P1” in the second column, and the item “1 1” as the detailed item “gate valve” in the third column. / 2> "and the like are set. Furthermore, the third row and the fourth column are stored in the cells included in the range having the upper left end, the third row and the seventh column as the upper right end, the ninth row and the fourth column as the lower left end, and the ninth row and the seventh column as the lower right end. A data group 212 including data such as model names includes data such as model names.

図7に示すごとく、キー生成部114は、例えば、「scph2」のデータの行位置、すなわち「第4行」を特定するために、「1P1」、「ゲート弁」、「1 1/2=」の3つの項目をそれぞれ指定する列キー群を生成する。さらに、キー生成部114は、当該データの列位置、すなわち「第4列」を特定するために、「材質」、「本体」の2つの項目をそれぞれ指定する行キー群を生成する。   As shown in FIG. 7, for example, the key generation unit 114 specifies “1P1”, “gate valve”, “1 1/2 =” in order to specify the row position of the data of “scph2”, that is, “fourth row”. A column key group designating each of the three items is generated. Further, the key generation unit 114 generates a row key group for designating two items of “material” and “main body” in order to specify the column position of the data, that is, the “fourth column”.

図8は、所在特定情報が設定された配管クラスの表データを示す。図7と同等の構成には同じ符号を与え適宜説明を略す。また、見やすさのため、所在特定情報が格納されたセルを斜線で明示する。図8に示すごとく、第0行第0列、第0行第1列〜第0行第3列、第1行第0列および第1行第2列のセルに所在特定情報が格納されている。   FIG. 8 shows tabular data of a piping class in which location specifying information is set. The same components as those in FIG. 7 are given the same reference numerals and description thereof will be omitted as appropriate. In addition, for ease of viewing, the cell in which the location specifying information is stored is indicated by hatching. As shown in FIG. 8, the location specifying information is stored in the cells in the 0th row, 0th column, the 0th row, 1st column to the 0th row, 3rd column, the 1st row, 0th column, and the 1st row, 2nd column. Yes.

以下、実施の形態2に係る知識情報処理装置100による所在特定情報の具体的な設定作業を順番に示す。
(1)表データ210の名称「配管クラス」を第0行第0列に設定する。
(2)列キー名が「配管クラス」、「配管部品」、「サイズ範囲」である3つの列キーを生成し、それぞれ第1列〜第3列に割り当てる。
(3)行キー名が「属性」、「詳細」である3つの行キーを生成し、それぞれ第1行〜第3行に割り当てる。
Hereinafter, specific setting operations of location specifying information by the knowledge information processing apparatus 100 according to the second embodiment will be sequentially shown.
(1) The name “pipe class” of the table data 210 is set in the 0th row and the 0th column.
(2) Three column keys whose column key names are “pipe class”, “pipe part”, and “size range” are generated and assigned to the first to third columns, respectively.
(3) Three row keys whose row key names are “attribute” and “detail” are generated and assigned to the first to third rows, respectively.

すなわち、(2)ではデータ群206に含まれる、あるデータの行位置を特定するための3つの列キーをそれぞれ第1列〜第3列に割り当てる。このとき、列キー名をそれぞれ第1列〜第3列の項目を示す「配管クラス」、「配管部品」、「サイズ範囲」に設定する。同様に、(3)ではデータ群206に含まれる、あるデータの列位置を特定するための二つの行キーを第1行および第2行に割り当てる。このとき、行キー名をそれぞれ第1行および第2行の項目名を示す「属性」、「詳細」に設定する。これにより、表データ210の名称、列キー群および行キー群によりデータ群212に含まれるデータの所在を特定できる。   That is, in (2), three column keys included in the data group 206 for specifying the row position of certain data are assigned to the first to third columns, respectively. At this time, the column key names are set to “pipe class”, “pipe part”, and “size range” indicating items in the first column to the third column, respectively. Similarly, in (3), two row keys for specifying a column position of certain data included in the data group 206 are assigned to the first row and the second row. At this time, the row key name is set to “attribute” and “detail” indicating the item names of the first row and the second row, respectively. Thereby, the location of the data included in the data group 212 can be specified by the name, the column key group, and the row key group of the table data 210.

図9は、知識情報生成部により生成された知識情報の集合の一例を示す。例えば、図9に示す知識情報群310内の知識情報312は、図8に示す第4行第4列のデータが知識化されたものである。すなわち、知識情報312の情報供給源となる表データの名称は「配管クラス」であり、当該データの行位置は「1P1」、「ゲート弁」、「1 1/2>」の項目、一方、列位置は「材質」、「本体」の項目により特定されることを示す。図9に示すごとく、図8に示すデータ群212に含まれるそれぞれのデータは、それぞれのデータの所在に関連づけられて知識情報として生成されている。   FIG. 9 shows an example of a set of knowledge information generated by the knowledge information generation unit. For example, the knowledge information 312 in the knowledge information group 310 shown in FIG. 9 is obtained by converting the data in the fourth row and fourth column shown in FIG. 8 into knowledge. That is, the name of the table data serving as the information supply source of the knowledge information 312 is “piping class”, and the row position of the data is the items “1P1”, “gate valve”, “1 1/2>”, It indicates that the column position is specified by the items “material” and “main body”. As shown in FIG. 9, each data included in the data group 212 shown in FIG. 8 is generated as knowledge information in association with the location of each data.

企業や団体が有する設計書や手順書などに記載された表データは、列項目がさらに複数の列項目に分かれるといった複雑なデータ構造を有する場合がある。実施の形態2によれば、複雑なデータ構造を有する表データから知識情報を生成することができ、知識情報処理装置100の利便性が高まる。また、実施の形態2でも、実施の形態1と同様の効果を享受できる。   Table data described in a design document or a procedure manual owned by a company or organization may have a complicated data structure in which a column item is further divided into a plurality of column items. According to the second embodiment, knowledge information can be generated from table data having a complicated data structure, and the convenience of the knowledge information processing apparatus 100 is enhanced. Also in the second embodiment, the same effects as in the first embodiment can be enjoyed.

実施の形態3
実施の形態1および実施の形態2では、一つの入力された表データに対し一組の列キーおよび行キーのペアを生成したが、実施の形態3では、表データは単独で有意となる部分表データが複数組み合わされており、部分表データごとに、列キーおよび行キーのペアを生成する。なお、実施の形態3に係る知識情報処理装置100の構成は、実施の形態2に係る知識情報処理装置100の構成と同様である。また、実施の形態2と同様の符号を付した構成については適宜説明を省略する。
Embodiment 3
In the first embodiment and the second embodiment, a pair of column key and row key is generated for one input table data, but in the third embodiment, the table data is a significant part alone. A plurality of table data are combined, and a pair of column key and row key is generated for each partial table data. The configuration of knowledge information processing apparatus 100 according to Embodiment 3 is the same as the configuration of knowledge information processing apparatus 100 according to Embodiment 2. In addition, the description of the components having the same reference numerals as those in Embodiment 2 will be omitted as appropriate.

入力部102は単独で有意となる部分表データが複数組み合わされた表データを入力する。所在設定部112は、部分表データごとに所在特定情報を設定する。具体的には、キー生成部114は部分表データごとに列キーおよび行キーのペアを生成する。   The input unit 102 inputs table data obtained by combining a plurality of partial table data that are significant independently. The location setting unit 112 sets location specifying information for each partial table data. Specifically, the key generation unit 114 generates a column key and row key pair for each partial table data.

以下、実施の形態3に係る知識情報処理装置100による表データの入力から知識情報の生成までの動作を図10および図11を用いて説明する。図10は、入力部に入力される複数の部分表データを有する表データの一例を示す。図10の表データ220は、単独で有意となる部分表データとして、第1部分表データ222、第2部分表データ224、第3部分表データ226、および第4部分表データ228を備える。なお、それら部分表データが示す名称は、当該部分表データで形成される表データ220の名称と同一であり、当該名称は「熱交換器」である。   Hereinafter, operations from inputting table data to generating knowledge information by the knowledge information processing apparatus 100 according to Embodiment 3 will be described with reference to FIGS. 10 and 11. FIG. 10 shows an example of table data having a plurality of partial table data input to the input unit. The table data 220 in FIG. 10 includes first partial table data 222, second partial table data 224, third partial table data 226, and fourth partial table data 228 as partial table data that is significant alone. The name indicated by the partial table data is the same as the name of the table data 220 formed by the partial table data, and the name is “heat exchanger”.

例えば、キー生成部114は、第1部分表データ222の「中村」データの所在を特定するために、項目「チェック」を指定する列キーを生成する。「中村」データについては、列キーにより第1部分表データ222における所在を特定できるため、行キーを生成する必要はない。   For example, the key generation unit 114 generates a column key specifying the item “check” in order to specify the location of the “Nakamura” data in the first partial table data 222. For the “Nakamura” data, the location in the first partial table data 222 can be specified by the column key, so there is no need to generate a row key.

図11は、知識情報生成部により生成された知識情報の集合の一例を示す。知識情報群320は、第1知識情報部分群322〜第4知識情報部分群328を含み、それぞれの知識情報部分群は、図10に示す第1部分表データ222〜第4部分表データ228が知識化されたものである。図11に示すごとく、知識情報生成部118は、データがどの部分表データに属していたかを明示するため、「熱交換器」の表データの名称の後に、それぞれの部分表データに対応するユニークな番号、例えば「1」を付加して知識情報を生成する。これにより正規化を維持できる。   FIG. 11 shows an example of a set of knowledge information generated by the knowledge information generation unit. The knowledge information group 320 includes a first knowledge information part group 322 to a fourth knowledge information part group 328, and each knowledge information part group includes the first part table data 222 to the fourth part table data 228 shown in FIG. It is a knowledge. As shown in FIG. 11, the knowledge information generation unit 118 clearly indicates to which partial table data the data belongs, and therefore, after the name of the table data of “heat exchanger”, the unique information corresponding to each partial table data. Knowledge information is generated by adding a unique number, for example, “1”. Thereby, normalization can be maintained.

第1知識情報部分群322に含まれる知識情報329を例に挙げれば、当該情報は図10に示す「中村」データが知識化されたものである。すなわち、知識情報329の情報供給源は「熱交換器」の表データの第1部分表データであり、当該データの行位置は「チェック」の項目で特定されることを示す。なお、キー生成部により行キーは生成されないため、図示のごとく、アンダーバー記号で表現されている。実施の形態3によれば、複数の部分表データを含む表データから知識情報を生成することができ、知識情報処理装置の汎用性が高まる。   Taking the knowledge information 329 included in the first knowledge information subgroup 322 as an example, the information is obtained by converting the “Nakamura” data shown in FIG. 10 into knowledge. That is, the information supply source of the knowledge information 329 is the first partial table data of the table data of “heat exchanger”, and the row position of the data is specified by the item of “check”. Since the key generation unit does not generate a row key, it is represented by an underbar symbol as shown. According to the third embodiment, knowledge information can be generated from table data including a plurality of partial table data, and the versatility of the knowledge information processing apparatus is enhanced.

企業や団体が有する設計書や手順書などに記載された表データの中には、複数の部分表データで構成されるといった複雑なデータ構造を有する場合がある。実施の形態3によれば、複雑なデータ構造を有する表データから知識情報を生成することができ、知識情報処理装置100の利便性が高まる。また、実施の形態3でも、実施の形態1と同様の効果を享受できる。   Some table data described in a design document or a procedure manual owned by a company or organization may have a complicated data structure composed of a plurality of partial table data. According to the third embodiment, knowledge information can be generated from table data having a complicated data structure, and the convenience of the knowledge information processing apparatus 100 is enhanced. In the third embodiment, the same effect as in the first embodiment can be obtained.

実施の形態4
実施の形態1では、所在特定情報として表データの名称、一組の列キーおよび行キーを生成したが、実施の形態4では、さらにどの列とどの列が対応しているかの設定を行うとともに、統合処理の対象のデータを指定する。なお、実施の形態4に係る知識情報処理装置100の構成は、実施の形態1に係る知識情報処理装置100の構成と同様である。実施の形態1と同様の符号を付した構成については適宜説明を省略する。
Embodiment 4
In the first embodiment, the name of the table data and the set of column key and row key are generated as the location specifying information, but in the fourth embodiment, which column corresponds to which column is set. Specify the target data for the integration process. The configuration of knowledge information processing apparatus 100 according to Embodiment 4 is the same as the configuration of knowledge information processing apparatus 100 according to Embodiment 1. The description of the components denoted by the same reference numerals as those in Embodiment 1 is omitted as appropriate.

関連付け部116は、関連付けた複数のデータの中から、少なくとも、列キーにより特定された行位置の項目が同一であり、さらに行キーにより特定された列位置の項目が同一であるデータを複数抽出する不図示の抽出部を備える。複数の表データが入力部102に入力された場合であれば、関連付け部116は、列キーおよび行キーだけでなく、表データの名称が同一であるデータを複数抽出してもよい。また、詳細は後述するが、知識情報生成部118は、抽出部により抽出された複数のデータを統合して一つの知識情報を生成する。   The associating unit 116 extracts a plurality of pieces of data in which at least the items at the row position specified by the column key are the same and the items at the column position specified by the row key are the same from the plurality of associated data. An extraction unit (not shown) is provided. If a plurality of table data is input to the input unit 102, the associating unit 116 may extract a plurality of data having the same name of the table data as well as the column key and the row key. Although details will be described later, the knowledge information generation unit 118 integrates a plurality of data extracted by the extraction unit to generate one piece of knowledge information.

以下、実施の形態4に係る知識情報処理装置100による表データの入力から知識情報の生成までの動作を図12〜図14を用いて説明する。図12は、入力部102に入力される表データの一例を示す。図12に示す表データ230は、それぞれの用語に対する意味および使用例を行列形式の表にまとめたものである。なお、この表データ230の名称は「用語辞書」である。図12に示すように、第1行には「用語ID」、「登録ID」といった項目が設定されている。また、「用語ID」の列は「用語」の列と対応し、一方、「登録ID」は「意味」の列と対応している。   Hereinafter, operations from inputting table data to generating knowledge information by the knowledge information processing apparatus 100 according to the fourth embodiment will be described with reference to FIGS. FIG. 12 shows an example of table data input to the input unit 102. The table data 230 shown in FIG. 12 is a table in a matrix format, meaning and usage examples for each term. The name of the table data 230 is “term dictionary”. As shown in FIG. 12, items such as “term ID” and “registration ID” are set in the first row. The column of “term ID” corresponds to the column of “term”, while “registration ID” corresponds to the column of “meaning”.

図13は、所在特定情報が設定された「用語辞書」の表データを示す。図12と同等の構成には同じ符号を与え適宜説明を略す。また、見やすさのため、所在特定情報が格納されたセルを斜線で明示する。図13に示すごとく、第0行第0列、第0行第1列〜第0行第4列、第1行第0列のセルに所在特定情報が格納されている。   FIG. 13 shows table data of a “term dictionary” in which location specifying information is set. The same components as those in FIG. 12 are given the same reference numerals, and description thereof will be omitted as appropriate. In addition, for ease of viewing, the cell in which the location specifying information is stored is indicated by hatching. As shown in FIG. 13, the location specifying information is stored in the cells in the 0th row and 0th column, the 0th row and 1st column to the 0th row and 4th column, and the 1st row and 0th column.

図13に示すごとく、キー生成部114は、例えば、「(1)山の名に付けていう」のデータの行位置、すなわち「第2行」を特定するために、「用語ID」、「登録ID」の二つの項目をそれぞれ指定する列キー群を生成する。さらに、キー生成部114は、当該データの列位置、すなわち「第4列」を特定するために、「ラベル」の項目を指定する行キーを生成する。   As shown in FIG. 13, for example, the key generation unit 114 specifies “term ID”, “registration” in order to specify the row position of the data “(1) attached to the name of the mountain”, that is, “second row”. A column key group for designating two items of “ID” is generated. Further, the key generation unit 114 generates a row key for designating the item “label” in order to specify the column position of the data, that is, the “fourth column”.

所在設定部112は、さらに第3列が第1列に対応づけられていることを示すために第0行第3列に、第1列に割り当てられた列キーの名称である「用語」を設定する。同様に、所在設定部112は、さらに第4列が第2列に対応づけられていることを示すために第0行第4列に、第2列に割り当てられた列キーの名称である「意味」を設定する。これにより、例えば、「用語」キーを検索キーとして利用すれば、第3列のデータを取得できる。   The location setting unit 112 further displays “term”, which is the name of the column key assigned to the first column, in the 0th row and the third column to indicate that the third column is associated with the first column. Set. Similarly, the location setting unit 112 further indicates the name of the column key assigned to the second column in the 0th row and the fourth column in order to indicate that the fourth column is associated with the second column. Set “Meaning”. Thereby, for example, if the “term” key is used as a search key, the data in the third column can be acquired.

また、他の例として、知識情報処理装置100は、列キー「用語」で「2」を、行キー「ラベル」で「使用例」を指定することで、第4行第5列の「阿武隈川」を特定できる。一方、第5行第5列の「かっぱの川流れ」も第4行第5列の「阿武隈川」と同様のキーで特定できる。すなわち、「阿武隈川」および「かっぱの川流れ」は同一のキーの項目により所在が特定されるため、この場合、知識情報生成部118は、データを知識化する際に、「阿武隈川」を含む知識情報と「かっぱの川流れ」を含む知識情報とを統合して一つの知識情報にする。   As another example, the knowledge information processing apparatus 100 designates “2” with the column key “term” and “usage example” with the row key “label”, so that “Abu Kaoru” in the fourth row and fifth column is designated. River "can be identified. On the other hand, “Kappa no river flow” in the fifth row and fifth column can be identified by the same key as “Abukuma River” in the fourth row and fifth column. That is, since the location of “Abukuma River” and “Kappa no River” is specified by the item of the same key, in this case, the knowledge information generation unit 118 includes “Abukuma River” when making the data into knowledge. The knowledge information and the knowledge information including the “Kappa River Flow” are integrated into one piece of knowledge information.

定義情報生成部122は、実施の形態1あるいは実施の形態2に示す定義情報群に、さらに以下の定義情報を生成する。
(ク)統合対象のデータの所在と、統合対象のデータ間の位置関係
(ケ)同期する列または行の番号と、列キーまたは行キーの名称
例えば、先の例で言えば、(ク)に関しては「第4行第5列、上」、「第5行第5列、下」であり、(ケ)に関しては「第1列と第3列、用語」、「第2列と第4列、意味」を示す定義情報を生成する。
The definition information generation unit 122 further generates the following definition information in the definition information group shown in the first embodiment or the second embodiment.
(G) Location of data to be integrated, positional relationship between data to be integrated (g) Column or row number to be synchronized, column key or row key name For example, in the above example, Are “4th row, 5th column, top”, “5th row, 5th column, bottom”, and (g) is “1st column, 3rd column, term”, “2nd column, 4th” Definition information indicating “column, meaning” is generated.

図14は、知識情報生成部により生成された知識情報の集合の一例を示す。例えば、図14に示す知識情報群330内の知識情報332は、図13に示す第4行第5列および第5行第5列のデータが知識化され統合されたものである。すなわち、知識情報332の情報供給源となる表データの名称は「用語辞書」であり、データ「阿武隈川、かっぱの川流れ」の行位置は項目「2」、一方、列位置は項目「使用例」により特定されることを示す。   FIG. 14 shows an example of a set of knowledge information generated by the knowledge information generation unit. For example, the knowledge information 332 in the knowledge information group 330 shown in FIG. 14 is data in which the data in the fourth row, fifth column and the fifth row, fifth column shown in FIG. That is, the name of the table data serving as the information supply source of the knowledge information 332 is “term dictionary”, the row position of the data “Abukuma River, Kappa no Kawaryu” is the item “2”, while the column position is the item “Usage Example” "Indicates that it is specified.

図示のごとく、「阿武隈川」および「かっぱの川流れ」は同一のキーの項目により所在が特定されるため、「阿武隈川」の知識情報と「かっぱの川流れ」の知識情報とが統合され、一つの知識情報データとして生成されている。これにより、同一のキーの項目に対して、複数の知識情報が存在することはなく、正規化された状態を維持できる。その結果、推論部120が、知識情報の集合に対して列キーと行キーとにより検索を行ったとき、知識情報を一意に特定でき、検索効率を向上させることができる。   As shown in the figure, the location of “Abukuma River” and “Kappa River Flow” is specified by the same key item, so the knowledge information of “Abukuma River” and the knowledge information of “Kappa River Flow” are integrated, and Is generated as one piece of knowledge information data. Thus, a plurality of pieces of knowledge information do not exist for the same key item, and a normalized state can be maintained. As a result, when the inference unit 120 performs a search using a column key and a row key for a set of knowledge information, the knowledge information can be uniquely identified, and search efficiency can be improved.

企業や団体が有する設計書や手順書などに記載された表データの中には、結合セルが存在するといった複雑なデータ構造を有する場合がある。実施の形態4によれば、複雑なデータ構造を有する表データから知識情報を生成することができ、知識情報処理装置100の利便性が高まる。また、実施の形態4でも、実施の形態1と同様の効果を享受できる。   Some table data described in a design document or a procedure manual owned by a company or an organization may have a complicated data structure in which a merged cell exists. According to the fourth embodiment, knowledge information can be generated from table data having a complicated data structure, and the convenience of the knowledge information processing apparatus 100 is enhanced. Also, the fourth embodiment can enjoy the same effects as the first embodiment.

以上、本発明を実施の形態をもとに説明した。実施の形態は例示であり、それらの各構成要素や各処理プロセスの組み合わせにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。以下、変形例を挙げる。   The present invention has been described based on the embodiments. The embodiments are exemplifications, and it will be understood by those skilled in the art that various modifications can be made to combinations of the respective constituent elements and processing processes, and such modifications are within the scope of the present invention. . Hereinafter, modifications will be described.

実施の形態1では、表データに含まれるデータ群を知識情報の集合に変換したが、変形例として、逆に、知識情報処理装置100の内部の図示しない表データ生成部が、定義情報を参照し、知識情報の集合から表データを作成する。具体的には、表データ生成部は、まず、定義情報に記載された情報に基づいて表の枠組みや項目を設定する。次に、表データ生成部は知識情報内のデータと当該データに関連づけられた所在を参照し、それぞれのデータを関連づけられた所在で特定されるセルに格納する。これにより、知識情報処理装置100は、知識ベース部106に格納されている知識情報をユーザがより理解しやすい表形式に変換して提示できる。   In the first embodiment, the data group included in the table data is converted into a set of knowledge information. However, as a modified example, a table data generation unit (not shown) inside the knowledge information processing apparatus 100 refers to the definition information. Table data is created from a collection of knowledge information. Specifically, the table data generation unit first sets the table framework and items based on the information described in the definition information. Next, the table data generation unit refers to the data in the knowledge information and the location associated with the data, and stores each data in the cell specified by the associated location. Thereby, the knowledge information processing apparatus 100 can convert and present the knowledge information stored in the knowledge base unit 106 into a table format that is easier for the user to understand.

定義情報生成部122は、実施の形態1に列挙する定義情報の他、例えば、点線や二重線などのデータの態様や、データのフォントや色、データの文字サイズなどを定義情報として生成してもよい。   In addition to the definition information listed in the first embodiment, the definition information generation unit 122 generates, as definition information, for example, data modes such as dotted lines and double lines, data fonts and colors, and data character sizes. May be.

実施の形態1では、入力部102はすでに完成された表データを入力したが、ユーザがディスプレイ上で新規にデータを含む表データを作成して、当該表データを知識化してもよい。   In the first embodiment, the input unit 102 inputs already completed table data. However, the user may create table data including data newly on the display and make the table data knowledgeable.

実施の形態1では、表データに含まれるデータを知識化して知識情報を生成したが、変形例として、知識情報処理装置100の知識情報生成部118は、関連付け部116により所在が関連づけられたデータのそれぞれをXML言語の形式の知識情報に変換する。なお、知識情報生成部118内部の図示しないXML(eXtensible Markup Language)変換部が上述の変換動作を行ってもよい以下、変換規則の一例である。XML変換部はこの変換規則に基づいて、表データに含まれるデータをXML言語に変換する。また、XML変換部は、以下の変換規則を利用し、知識情報生成部118により生成された知識情報のそれぞれをXML言語の形式に変換してもよい。   In the first embodiment, the knowledge information is generated by converting the data included in the table data into knowledge, but as a modified example, the knowledge information generation unit 118 of the knowledge information processing apparatus 100 is data whose location is associated by the association unit 116. Are converted into knowledge information in an XML language format. Note that an XML (eXtensible Markup Language) conversion unit (not shown) inside the knowledge information generation unit 118 may perform the above-described conversion operation. The XML conversion unit converts the data included in the table data into the XML language based on the conversion rule. The XML conversion unit may convert each piece of knowledge information generated by the knowledge information generation unit 118 into an XML language format using the following conversion rule.

(1)表データに含まれるそれぞれのデータを、<タグ名 属性=”値”/>のデータ形式に変換する。
(2)属性は、列キー名あるいは行キー名を指す。列キーあるいは行キーが複数のキーで形成されていれば、複数のキーごとに「属性=”値”」を設定。この場合、「属性=”値”」の要素間は、スペースで区切られる。
(3)値は、列キーで特定される行位置の項目あるいは行キーで特定される列位置の項目を指す。
(1) Each data included in the table data is converted into a data format of <tag name attribute = “value” />.
(2) The attribute indicates a column key name or a row key name. If the column key or row key is composed of multiple keys, set "attribute =" value "" for each of the multiple keys. In this case, the elements of “attribute =“ value ”” are separated by a space.
(3) The value indicates an item at a row position specified by a column key or an item at a column position specified by a row key.

例えば、図9に示す第3行第6列のデータ「ISRW」で言えば、「<gimt 配管クラス=”1P1” 配管部品=”ゲート弁” サイズ範囲=”1 1/2>” 属性=”型” データ=”ISRW”/>」がXML変換部により生成される。本変形例によれば、述語論理型の言語形式で記述された知識情報だけでなく、汎用性の高いXML言語形式で記述された知識情報を生成できる。   For example, in the data “ISRW” in the third row and the sixth column shown in FIG. 9, “<gimt piping class =“ 1P1 ”piping component =“ gate valve ”size range =“ 1 1/2> ”attribute =” The type “data =“ ISRW ”/>” is generated by the XML conversion unit. According to this modification, not only knowledge information described in a predicate logic language format but also knowledge information described in a highly versatile XML language format can be generated.

実施の形態4では、同一の列キーおよび行キーを有するデータを統合して一つの知識情報を生成したが、変形例として、知識情報生成部118は、列キーで特定される行位置の項目あるいは行キーで特定される列位置の項目の一部を省略した形式の知識情報を生成してもよい。例えば、図13を例として挙げると、知識情報生成部118は、図14に示す知識情報群330に加えてさらに、以下の知識情報を生成してもよい。すなわち、列キーにより特定される行位置の項目が一部省かれている。
gimt(’用語辞書’,[’3’],[’使用例’],’カスピ海,あたりは火の海だった,嵐の海’).
In the fourth embodiment, data having the same column key and row key is integrated to generate one piece of knowledge information. However, as a modification, the knowledge information generation unit 118 uses the item of the row position specified by the column key. Or you may produce | generate the knowledge information of the format which abbreviate | omitted a part of column position item specified with a row key. For example, taking FIG. 13 as an example, the knowledge information generation unit 118 may generate the following knowledge information in addition to the knowledge information group 330 shown in FIG. That is, some items of the row position specified by the column key are omitted.
gimt ('Term Dictionary', ['3'], ['Usage Examples'], 'The Caspian Sea, which was a sea of fire, a stormy sea').

この場合、推論部120は、表データ名称として「用語辞書」、列キーの項目として「3」、行キーの項目として「使用例」を指定することで「カスピ海,あたりは火の海だった,嵐の海」と、データをまとめて取得できる。これにより、ユーザ利便性の高い知識情報処理装置を提供できる。   In this case, the inference unit 120 designates “term dictionary” as the table data name, “3” as the column key item, and “usage example” as the row key item, so that “the Caspian Sea, the sea of fire is around” The data of “Arashi no Umi” can be collected together. Thereby, a knowledge information processing apparatus with high user convenience can be provided.

実施の形態1に係る知識情報処理装置の構成を示す図である。1 is a diagram illustrating a configuration of a knowledge information processing apparatus according to Embodiment 1. FIG. 実施の形態1に係る入力部に入力される複数のセルを有する表データの一例を示す図である。It is a figure which shows an example of the table data which has the some cell input into the input part which concerns on Embodiment 1. FIG. 実施の形態1に係る所在特定情報が設定された歩行者の行動パターンの表データを示す図である。It is a figure which shows the table data of the pedestrian's action pattern in which the location specific information which concerns on Embodiment 1 was set. 実施の形態1に係る知識情報生成部により生成された知識情報の集合の一例を示す図である。6 is a diagram illustrating an example of a set of knowledge information generated by a knowledge information generation unit according to Embodiment 1. FIG. ユーザにより入力部を介して入力された推論ルールの一例を示す図である。It is a figure which shows an example of the inference rule input via the input part by the user. 実施の形態1に係る知識情報処理装置の処理の流れを示す。4 shows a processing flow of the knowledge information processing apparatus according to the first embodiment. 実施の形態2に係る入力部に入力される複数のセルを有する表データの一例を示す図である。It is a figure which shows an example of the table data which has the some cell input into the input part which concerns on Embodiment 2. FIG. 実施の形態2に係る所在特定情報が設定された配管クラスの表データを示す図である。It is a figure which shows the table data of the piping class in which the location specific information which concerns on Embodiment 2 was set. 実施の形態2に係る知識情報生成部により生成された知識情報の集合の一例を示す図である。It is a figure which shows an example of the collection of the knowledge information produced | generated by the knowledge information production | generation part which concerns on Embodiment 2. FIG. 実施の形態3に係る入力部に入力される複数の部分表データを有する表データの一例を示す図である。It is a figure which shows an example of the table data which has the some partial table data input into the input part which concerns on Embodiment 3. FIG. 実施の形態3に係る知識情報生成部により生成された知識情報の集合の一例を示す図である。FIG. 10 is a diagram illustrating an example of a collection of knowledge information generated by a knowledge information generation unit according to Embodiment 3. 実施の形態4に係る入力部に入力される表データの一例を示す図である。It is a figure which shows an example of the table data input into the input part which concerns on Embodiment 4. 実施の形態4に係る所在特定情報が設定された「用語辞書」の表データを示す図である。It is a figure which shows the table data of the "term dictionary" in which the location specific information which concerns on Embodiment 4 was set. 実施の形態4に係る知識情報生成部により生成された知識情報の集合の一例を示す図である。FIG. 20 is a diagram illustrating an example of a collection of knowledge information generated by a knowledge information generation unit according to Embodiment 4.

符号の説明Explanation of symbols

100 知識情報処理装置、 102 入力部、 104 提示部、 112 所在設定部、 114 キー生成部、 116 関連付け部、 118 知識情報生成部、 120 推論部、 122 定義情報生成部、 124 検証部、 200,210,220,230 表データ、 222,224,226,228 部分表データ、 302,312,329,332 知識情報。   DESCRIPTION OF SYMBOLS 100 Knowledge information processing apparatus, 102 Input part, 104 Presentation part, 112 Location setting part, 114 Key generation part, 116 Association part, 118 Knowledge information generation part, 120 Inference part, 122 Definition information generation part, 124 Verification part, 200, 210, 220, 230 Table data, 222, 224, 226, 228 Partial table data, 302, 312, 329, 332 Knowledge information.

Claims (12)

複数のデータを含む表データを入力する入力部と、
前記入力された表データに含まれるそれぞれのデータの表データにおける所在を一意に特定するための所在特定情報を設定する所在設定部と、
前記所在特定情報により特定されるそれぞれのデータの所在を当該データに関連付ける関連付け部と、
前記関連付けられたそれぞれのデータを一つの知識情報として生成する知識情報生成部と、
を備えることを特徴とする知識情報処理装置。
An input unit for inputting table data including a plurality of data;
A location setting unit for setting location specifying information for uniquely specifying the location in the table data of each data included in the input table data;
An associating unit that associates the location of each piece of data specified by the location specifying information with the data;
A knowledge information generating unit that generates each piece of associated data as one piece of knowledge information;
A knowledge information processing apparatus comprising:
前記所在設定部は、前記表データにおける行位置の項目を特定するための第1キーと列位置の項目を特定するための第2キーとを生成するキー生成部を備え、
前記データの所在は、前記第1キーにより特定された行位置の項目と前記第2キーにより特定された列位置の項目とにより二次元的に表現されることを特徴とする請求項1に記載の知識情報処理装置。
The location setting unit includes a key generation unit that generates a first key for specifying an item of a row position in the table data and a second key for specifying an item of a column position,
The location of the data is two-dimensionally expressed by an item of a row position specified by the first key and an item of a column position specified by the second key. Knowledge information processing equipment.
前記第1キーおよび前記第2キーの少なくともいずれか一方は、複数のキーで形成されることを特徴とする請求項2に記載の知識情報処理装置。   The knowledge information processing apparatus according to claim 2, wherein at least one of the first key and the second key is formed of a plurality of keys. 前記入力部は複数の表データを入力するものであり、前記所在設定部は、前記入力された複数の表データのうちいずれかの表データを特定するための識別情報をさらに設定することを特徴とする請求項1から3のいずれかに記載の知識情報処理装置。   The input unit inputs a plurality of table data, and the location setting unit further sets identification information for specifying any one of the input plurality of table data. The knowledge information processing apparatus according to any one of claims 1 to 3. 前記表データは単独で有意となる部分表データが複数組み合わされたものであり、前記所在特定情報は、前記所在設定部により前記部分表データごとに設定されることを特徴とする請求項1から4のいずれかに記載の知識情報処理装置。   The table data is a combination of a plurality of pieces of partial table data that are significant independently, and the location specifying information is set for each partial table data by the location setting unit. 4. The knowledge information processing apparatus according to any one of 4 above. 前記入力された表データの定義情報を生成する定義情報生成部と、
前記知識情報と前記定義情報とを比較し前記知識情報が正規化されているか否かを検証する検証部と、
をさらに備えることを特徴とする請求項1から5のいずれかに記載の知識情報処理装置。
A definition information generator for generating definition information of the input table data;
A verification unit that compares the knowledge information with the definition information and verifies whether the knowledge information is normalized;
The knowledge information processing apparatus according to claim 1, further comprising:
前記関連付け部は、前記関連付けた複数のデータの中から、少なくとも、前記第1キーにより特定された行位置の項目が同一であり、さらに前記第2キーにより特定された列位置の項目が同一であるデータを複数抽出する抽出部を備え、
前記知識情報生成部は、前記抽出部により抽出された複数のデータを統合して一つの知識情報を生成することを特徴とする請求項2から6のいずれかに記載の知識情報処理装置。
In the associating unit, at least the row position item specified by the first key is the same among the plurality of associated data, and the column position item specified by the second key is the same. It has an extraction unit that extracts multiple pieces of certain data,
The knowledge information processing apparatus according to claim 2, wherein the knowledge information generation unit generates a piece of knowledge information by integrating a plurality of data extracted by the extraction unit.
前記知識情報のそれぞれは同一の形式で表現されることを特徴とする請求項1から7のいずれかに記載の知識情報処理装置。   The knowledge information processing apparatus according to claim 1, wherein each of the knowledge information is expressed in the same format. 前記形式は述語論理型の言語形式であることを特徴とする請求項8に記載の知識情報処理装置。   The knowledge information processing apparatus according to claim 8, wherein the format is a predicate logic type language format. 前記形式はXML言語形式であることを特徴とする請求項8に記載の知識情報処理装置。   The knowledge information processing apparatus according to claim 8, wherein the format is an XML language format. 複数のデータを含む表データを入力する表データ入力部と、
前記入力された表データに含まれるそれぞれのデータの表データにおける行位置の項目を特定するための第1キーと列位置の項目を特定するための第2キーとを生成するキー生成部と、
前記第1キーにより特定された行位置の項目と前記第2キーにより特定された列位置の項目とにより二次元的に表現されるそれぞれのデータの所在を当該データに関連付ける関連付け部と、
前記関連付けられたそれぞれのデータを一つの知識情報として生成する知識情報生成部と、
述語論理型の言語形式で記述された推論ルールを入力する推論ルール入力部と、
質問検索式を入力する検索式入力部と、
前記質問検索式に基づいて、前記推論ルールおよび前記知識情報により推論を行う推論部と、
前記推論部による推論結果を提示する提示部と、
を備えることを特徴とする知識情報処理装置。
A table data input section for inputting table data including a plurality of data;
A key generation unit that generates a first key for specifying an item of a row position in the table data of each data included in the input table data and a second key for specifying an item of a column position;
An associating unit for associating the location of each piece of data expressed two-dimensionally with the item of the row position specified by the first key and the item of the column position specified by the second key with the data;
A knowledge information generating unit that generates each piece of associated data as one piece of knowledge information;
An inference rule input part for inputting an inference rule described in a predicate logic type language format;
A search expression input section for inputting a question search expression;
An inference unit that performs inference based on the inference rule and the knowledge information based on the query retrieval formula;
A presentation unit for presenting an inference result by the inference unit;
A knowledge information processing apparatus comprising:
複数のデータを含む表データを入力するステップと、
前記入力された表データに含まれるそれぞれのデータの表データにおける所在を一意に特定するための所在特定情報を設定するステップと、
前記所在特定情報により特定されるそれぞれのデータの所在を当該データに関連付けるステップと、
前記関連付けられたそれぞれのデータを一つの知識情報として生成するステップと、
を備えることを特徴とする知識情報処理方法。
Inputting table data including a plurality of data;
Setting location specifying information for uniquely specifying the location in the table data of each data included in the input table data;
Associating the location of each piece of data specified by the location specifying information with the data;
Generating each piece of associated data as a piece of knowledge information;
A knowledge information processing method comprising:
JP2004332499A 2004-11-16 2004-11-16 Knowledge information processor and knowledge information processing method Pending JP2006146374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004332499A JP2006146374A (en) 2004-11-16 2004-11-16 Knowledge information processor and knowledge information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004332499A JP2006146374A (en) 2004-11-16 2004-11-16 Knowledge information processor and knowledge information processing method

Publications (1)

Publication Number Publication Date
JP2006146374A true JP2006146374A (en) 2006-06-08

Family

ID=36626005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004332499A Pending JP2006146374A (en) 2004-11-16 2004-11-16 Knowledge information processor and knowledge information processing method

Country Status (1)

Country Link
JP (1) JP2006146374A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019215841A1 (en) * 2018-05-09 2019-11-14 日本電気株式会社 Data reducing device, data reducing method, and computer readable recording medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000089957A (en) * 1998-09-08 2000-03-31 Nippon Steel Corp Knowledge system, inference controlling method using knowledge system, knowledge base management device and method, recording medium, and rule system
JP2000132220A (en) * 1998-10-27 2000-05-12 Hitachi Ltd Plant diagnosis system
JP2001273142A (en) * 2000-03-28 2001-10-05 Meidensha Corp Structure of decision table

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000089957A (en) * 1998-09-08 2000-03-31 Nippon Steel Corp Knowledge system, inference controlling method using knowledge system, knowledge base management device and method, recording medium, and rule system
JP2000132220A (en) * 1998-10-27 2000-05-12 Hitachi Ltd Plant diagnosis system
JP2001273142A (en) * 2000-03-28 2001-10-05 Meidensha Corp Structure of decision table

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019215841A1 (en) * 2018-05-09 2019-11-14 日本電気株式会社 Data reducing device, data reducing method, and computer readable recording medium
JPWO2019215841A1 (en) * 2018-05-09 2021-05-13 日本電気株式会社 Data reduction devices, data reduction methods, and programs
JP7024863B2 (en) 2018-05-09 2022-02-24 日本電気株式会社 Data reduction equipment, data reduction methods, and programs

Similar Documents

Publication Publication Date Title
Freire et al. Managing rapidly-evolving scientific workflows
Wimmer et al. Towards model transformation generation by-example
CA2819008C (en) Method and system for displaying selectable autocompletion suggestions and annotations in mapping tool
CN107111639B (en) Building reports
KR101249364B1 (en) System for generating electron form in unified medical information system and management method thereof
CN102819655A (en) System and method for presenting electronic medical records
CN101944162A (en) Electronic medical record template system based on XML file and manufacturing method of electronic medical record template
JP2006195529A (en) Use case diagram creation support device and method, and program for carrying out the method
JP2008083992A (en) Structured document retrieval support apparatus and program thereof
Chen et al. A part affordance-based approach for capturing detailed design knowledge
Burnashev et al. Design and implementation of integrated development environment for building rule-based expert systems
Zhang et al. Model provenance tracking and inference for integrated environmental modelling
US20110131234A1 (en) Information process system, and program
JP3577400B2 (en) System design equipment and data warehouse design system
Demuth et al. Experiments with XMI based transformations of software models
Maldonado et al. Concept-based exchange of healthcare information: The LinkEHR approach
JP2006146374A (en) Knowledge information processor and knowledge information processing method
Elmasri et al. Conceptual modeling for customized XML schemas
Jiang et al. An automatic method of data warehouses multi-dimension modeling for distributed information systems
Wouters et al. Ontology extraction using views for semantic web
JP2005056085A (en) Data structure conversion program
Assawamekin et al. Mupret: An ontology-driven traceability tool for multiperspective requirements artifacts
JP6245571B2 (en) Data structure, data generation apparatus, method and program thereof
Kurz et al. A UML profile for modeling schema mappings
JPS63262756A (en) Table calculation processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110719