Nothing Special   »   [go: up one dir, main page]

JPH0282354A - Search strategy creation method - Google Patents

Search strategy creation method

Info

Publication number
JPH0282354A
JPH0282354A JP63233515A JP23351588A JPH0282354A JP H0282354 A JPH0282354 A JP H0282354A JP 63233515 A JP63233515 A JP 63233515A JP 23351588 A JP23351588 A JP 23351588A JP H0282354 A JPH0282354 A JP H0282354A
Authority
JP
Japan
Prior art keywords
thesaurus
search
data
input
conversion
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
JP63233515A
Other languages
Japanese (ja)
Inventor
Yukari Takeuchi
武内 由佳里
Kaoru Fujino
藤野 かおる
Fumiyuki Iizuka
史之 飯塚
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 JP63233515A priority Critical patent/JPH0282354A/en
Publication of JPH0282354A publication Critical patent/JPH0282354A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概  要〕 データベースの検索の戦略をシステムが自動的に作成す
る検索戦略作成方式に関し、 より自然言語に近い入力を受は付け、システムが検索の
戦略を作成しユーザの負担を軽減することを目的とし、 データベースシステムにおいて、検索すべきデータを入
力する入力手段と、検索途中において、追加すべき検索
データを入力する追加入力手段と、前記入力手段と前記
迫力U入力手段とから検索データが加わり、該検索デー
タから同義シソーラス、複合シソーラス、概念シソーラ
スを求めるシソーラス変換手段と、該シソーラス変換手
段より得られるデータで検索する検索手段とよりなるよ
うに構成する。
[Detailed Description of the Invention] [Summary] Regarding a search strategy creation method in which a system automatically creates a database search strategy, the system accepts input that is more similar to natural language, the system creates a search strategy, and the system automatically creates a search strategy for the user. In a database system, the database system includes an input means for inputting data to be searched, an additional input means for inputting search data to be added during the search, and a combination of the input means and the powerful U input. A thesaurus conversion means adds search data from the search data and obtains a synonymous thesaurus, a compound thesaurus, and a concept thesaurus from the search data, and a search means searches with the data obtained from the thesaurus conversion means.

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

本発明はデータベースシステムに係り、さらに詳しくは
データベースの検索の戦略をシステムが自動的に作成す
る検索戦略作成方式に関する。
The present invention relates to a database system, and more particularly to a search strategy creation method in which the system automatically creates a database search strategy.

〔従来の技術〕[Conventional technology]

コンピュータシステムの発展によりデータベースシステ
ムが各方面で使用されるようになった。
With the development of computer systems, database systems have come to be used in various fields.

データベースシステムは基本的には、各種情報を入力す
るときに検索語をも登録し、その検索語を検索すること
によって目的の情報を得ることができる。
Basically, in a database system, when inputting various information, a search term is also registered, and the desired information can be obtained by searching for the search term.

データベースシステムにおける前述した登録データが多
い場合、検索語によって検索してもその検索語が正しく
入力されないことがあり、適切な検索語を自動的に生成
することが望まれている。
When there is a large amount of the above-mentioned registered data in a database system, even if a search is performed using a search term, the search term may not be input correctly.Therefore, it is desired to automatically generate an appropriate search term.

このようなデータベースシステムを使い易くするため従
来のデータベース検索システムにおいてはユーザの入力
方法に2つの仕様が用いられている。
In order to make such database systems easier to use, conventional database search systems use two specifications for user input methods.

一方は自然言語による入力方法であり、ユーザは自然言
語を入力することによりシステムの内部でパーザが辞書
を用いて構文解析を行い検索語(データベースを検索で
きる語)に置き換える方式である。他方はコマンドによ
るキーワード入力方法であり、ユーザが入力するコマン
ド名と入力語(ユーザが入力する語)をシステムが受は
取り検索語に置き換える方式である。
One is a natural language input method, in which the user inputs natural language, and a parser within the system parses the syntax using a dictionary and replaces it with a search word (a word that can search the database). The other method is a keyword input method using commands, in which the system receives the command name and input word (word input by the user) input by the user and replaces them with a search word.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

前述したデータベースにおいて検索を行う場合入力方法
が自然言語であることが望ましい。しかしながら、自然
言語による入力の場合検索語を作成するたびに構文解析
を行わなくてはならない。
When searching in the database mentioned above, it is desirable that the input method be natural language. However, in the case of natural language input, syntax analysis must be performed each time a search term is created.

またこの構文解析を行うためにはパーザを持たなければ
ならず、システム自体の規模が大きくなり、巨大な辞書
の作成も必要になるという欠点を有している。
Furthermore, in order to perform this syntactic analysis, a parser must be provided, which increases the scale of the system itself and requires the creation of a huge dictionary.

一方、コマンドによるキーワード検索方式では検索戦略
や複数の候補がある場合にその選択をユーザ自身が思考
しなければならないという問題を有している。すなわち
的確に更にデータを検索するための方式が要求されてい
るにもかかわらず、検索戦略の作成はユーザに依存され
ており、ニーザの負担が大きいという問題を有していた
On the other hand, the keyword search method using commands has a problem in that the user must think about the search strategy and selection when there are multiple candidates. That is, although there is a demand for a method for accurately searching for further data, the creation of a search strategy is dependent on the user, which poses a problem in that it places a heavy burden on the user.

本発明はより自然言語に近い入力を受は付け、システム
が検索の戦略を作成しユーザの負担を軽減することを目
的とする。
An object of the present invention is to accept input that is more similar to natural language, so that the system can create a search strategy and reduce the burden on the user.

〔課題を解決するための手段〕[Means to solve the problem]

データベースシステムにおいて、入力手段1は検索すべ
きデータを入力する。この検索すべきデータとは例えば
自然言語である。
In the database system, input means 1 inputs data to be searched. The data to be searched is, for example, natural language.

追加入力手段2は検索途中において追加すべき検索デー
タを入力する。
Additional input means 2 inputs search data to be added during the search.

シソーラス変換手段3は前記入力手段1と前記追加入力
手段2から加わる検索データから同義シソーラス、複合
シソーラス、概念シソーラスを求める。
The thesaurus conversion means 3 obtains a synonym thesaurus, a compound thesaurus, and a concept thesaurus from the search data added from the input means 1 and the additional input means 2.

検索手段4は前記シソーラス変換手段3より得られる同
義シソーラス、複合シソーラス、概念シソーラス並びに
検索語を用いて前記データベースを検索する。
The search means 4 searches the database using the synonym thesaurus, compound thesaurus, concept thesaurus and search words obtained from the thesaurus conversion means 3.

〔作  用〕[For production]

入力手段1によって検索すべきデータが入力するとシソ
ーラス変換手段3は同義シソーラス、複合シソーラス、
概念シソーラスを求める。
When the data to be searched is input by the input means 1, the thesaurus conversion means 3 converts the synonym thesaurus, compound thesaurus,
Find a concept thesaurus.

検索手段4は前記シソーラス変換手段3より加わる同義
シソーラス、複合シソーラス、概念シソーラスと検索デ
ータとからデータベースを検索する。
The search means 4 searches the database from the synonym thesaurus, compound thesaurus, concept thesaurus added from the thesaurus conversion means 3 and the search data.

検索手段4における検索において的確な検索とならなか
った場合には、前記入力手段1から入力した検索データ
と更に前記追加入力手段2から加わる追加すべき検索デ
ータとから前記シソーラス変換手段3は同義シソーラス
、複合シソーラス、概念シソーラスを再度求め前記検索
手段4に加える。
If the search in the search means 4 is not accurate, the thesaurus conversion means 3 converts the search data input from the input means 1 and the search data to be added from the additional input means 2 into a synonym thesaurus. , composite thesaurus, and conceptual thesaurus are obtained again and added to the search means 4.

同様に検索手段4はデータベースシステムを検索する。Similarly, the search means 4 searches the database system.

この順次の繰り返しによりデータベースシステムに対す
る目的の検索を的確に行うことができる。
By repeating this sequentially, it is possible to accurately search the database system for the purpose.

〔実  施  例] 以下、図面を用いて本発明の実施例を詳細に説明する。〔Example] Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図はデータヘースシステムにおける本発明の処理フ
ローチャー1・である。データヘースシステムにおいて
第2図におけるフローチャー1・を駆動すると、入力語
受は付は処理S1を行う。この処理に対応しオペレータ
は検索したい事柄に関するキーワードを入力する。なお
、この入力はキーワード(入力語)の羅列でもよい。処
理S1によって入力したキーワードを同義シソーラス変
換する(S2)。
FIG. 2 is a processing flowchart 1 of the present invention in a data storage system. When flowchart 1 in FIG. 2 is activated in the data storage system, processing S1 is performed for input word reception. In response to this process, the operator inputs a keyword related to the matter desired to be searched. Note that this input may be a list of keywords (input words). The keyword input in step S1 is converted into a synonymous thesaurus (S2).

ここでシソーラスについて説明する。Here, the thesaurus will be explained.

情報検索におりるシソーラスは、ある特定の分野で使わ
れる全ての概念を階層的に整理し、それぞれの概念に標
準的な用語をつけその他の用語はこれらの標準用語と同
義関係等の観念づけをした用語体系である。シソーラス
には同義シソーラス、複合シソーラス、概念シソーラス
があり、以下の処理においてはこれらのシソーラスを必
要に応して使い分けて戦略、すなわち手順を作成してい
く。
A thesaurus for information retrieval organizes all concepts used in a specific field in a hierarchical manner, assigns standard terms to each concept, and establishes synonymous relationships between other terms and these standard terms. This is a terminology system based on There are synonymous thesauruses, compound thesauruses, and concept thesauruses, and in the following process, these thesauruses are used as needed to create a strategy, that is, a procedure.

(1)同義シソーラス 同義シソーラスのデータは入力語と検索語を同義語及び
活用形の関係で対応づけたシソーラスである。この同義
シソーラスによりユーザからの入力を広域に受は付ける
ことができる。
(1) Synonymous thesaurus Synonymous thesaurus data is a thesaurus in which input words and search words are associated with each other in terms of synonyms and inflected forms. This synonymous thesaurus allows input from users to be accepted over a wide range of areas.

また、同義シソーラスにない入力語が入力されても登録
機能により受は付けることができるようになる。
Furthermore, even if an input word is input that is not in the synonym thesaurus, it can be accepted by the registration function.

(2)概念シソーラス 概念シソーラスはシステムの同義シソーラスの検索語の
みで作成される。そして a)上位・下位の関係(IS  A関係)、b)全体・
部分の関係(HAS  A−PARTOF関係)、 C)種類の関係(内容の類似データが検索できる)、の
概念で表す。
(2) Concept Thesaurus A concept thesaurus is created using only search terms from the system's synonym thesaurus. and a) superior/subordinate relationship (ISA relationship), b) overall/
It is expressed in terms of the concepts of relationship between parts (HAS A-PARTOF relationship), and C) type relationship (data with similar content can be searched).

すなわち3つの関係を概念シソーラスは表わしている。In other words, the concept thesaurus represents three relationships.

これは入力語で検索したが対応するデータが無かった時
や、ユーザが検索したデータで満足できない時や、更に
は検索したデータの関連データを見たいと要請した時に
、検索語あるいはデータ名(データベースから検索した
データの名称)の概念関係から次の選択すなわち手順を
得るものである。
This is useful when a user searches for an input word but there is no corresponding data, when the user is not satisfied with the searched data, or when the user requests to see related data to the searched data. The next selection or procedure is obtained from the conceptual relationship (name of data retrieved from the database).

その優先手順は )基の検索語の上位・全体の概念データを次の検索語と
する。
The priority procedure is to use the upper/overall conceptual data of the original search term as the next search term.

ii)基の検索語の下位・部分の概念データを次の検索
語とする。
ii) Use the conceptual data of the lower order/part of the base search term as the next search term.

iii )基の検索語に類似する概念データと置き換え
る次の検索語とする。
iii) The next search term is replaced with conceptual data similar to the base search term.

である。It is.

以上の1)〜iii )で検索語が見つからない場合に
は次の検索語を基の検索語とし上述の優先順位により検
索語を求める。
If the search word is not found in 1) to iii) above, the next search word is used as the base search word and the search word is determined according to the above-mentioned priority order.

(3)複合シソーラス 複合シソーラスのデータはシステムの同義シソーラスの
検索語のみで作成され、同義シソーラスや概念シソーラ
スで変換された後の最適化のための要素を含んでいる。
(3) Composite Thesaurus Composite thesaurus data is created using only search terms from the system's synonymous thesaurus, and includes elements for optimization after conversion using the synonymous thesaurus or concept thesaurus.

すなわち特定の検索語と検索語の関係(最適経路)にデ
ータを持っている。
In other words, it has data on the relationship (optimal route) between specific search terms and search terms.

それらは以下のような関係のデータとする。These data are related to the following.

イ)検索語が複数の意味で使用されている関係。b) Relationships in which the search term is used in multiple meanings.

口)検索語が複数の手順を要する関係。口) A relationship in which the search term requires multiple steps.

ハ)検索語が特定の検索語と頻繁に共用される関係。c) A relationship in which the search term is frequently shared with a specific search term.

二)複数の検索語で特定の検索語になる関係。2) A relationship in which multiple search terms become a specific search term.

ホ)特徴的な検索語を含んだ関係。e) Relationships that include characteristic search terms.

へ)−船釣に使用される検索語と対象分野に特有の検索
語との対応関係。
f) - Correspondence between search terms used for boat fishing and search terms specific to the target field.

以上のような同義シソーラス、複合シソーラス、概念シ
ソーラスによって検索語の関係がもたれる。
The synonym thesaurus, compound thesaurus, and concept thesaurus as described above establish relationships between search terms.

第2図の処理フローチャートによって更に説明する。This will be further explained with reference to the processing flowchart shown in FIG.

入力語受付処理(Sl)において入力した入力語は同期
シソーラス変換処理(S2)によって前述した同義シソ
ーラスの関係が求められる。そして、入力語に対し全て
その関係がもたれたか、すなわち変換可能であるかの判
別(S3)を行う。
For the input word input in the input word reception process (Sl), the synonymous thesaurus relationship described above is determined by the synchronous thesaurus conversion process (S2). Then, it is determined whether all the input words have the same relationship, that is, whether they can be converted (S3).

=9 判別(S3)において変換可能でない入力が存在した(
N)場合には再度入力要求を例えば表示し、オペレータ
は類似語入力を行う(S4)。そして類義語入力処理(
S4)で入力した類義語が登録可能であるかの判別(S
5)を行う。登録可能でない(N)場合にはイニシャル
状態に戻り再度入力語の受は付は処理(Sl)を行う。
=9 In the determination (S3), there was an input that could not be converted (
If N), the input request is displayed again, and the operator inputs a similar word (S4). and synonym input processing (
Determining whether the synonyms input in S4) can be registered (S4)
Do 5). If registration is not possible (N), the process returns to the initial state and the input word reception process (Sl) is performed again.

一方、登録可能であった (Y)場合には類義語を登録
(S6)する。
On the other hand, if registration is possible (Y), similar synonyms are registered (S6).

第4図は変換と登録の原理説明図である。同義シソーラ
スにはユーザ領域とシステム領域があり、ユーザ領域で
変換してから更にシステム領域で変換する。ユーザ領域
には同義シソーラスで変換できなかった語が登録でき、
また登録変換できなかった詔の類義語をユーザに入力し
てもらい、検索語と対応づりを再度できるようにしてい
る。そして、その検索語を同義シソーラスのユーザ領域
に登録する。これによって同義シソーラス変換ができる
ようになる。
FIG. 4 is a diagram explaining the principle of conversion and registration. A synonymous thesaurus has a user area and a system area, and conversion is performed in the user area and then further converted in the system area. Words that could not be converted using the synonym thesaurus can be registered in the user area.
Users are also asked to enter synonyms for the edicts that could not be registered and converted, so that they can be re-matched with the search term. Then, the search term is registered in the user area of the synonym thesaurus. This allows synonymous thesaurus conversion.

前述した処理(S6)における登録はこのユーザ領域に
登録するための処理である。
The registration in the process (S6) described above is a process for registering in this user area.

前述した判別(S3)において全て変換可能であった場
合、更には登録(S6)を行った後は、それらの入力語
並びに同義シソーラス変換を行ったデータに対し複合シ
ソーラス変換を行う(S7)。
If all of the words can be converted in the above-mentioned determination (S3), and after registration (S6), compound thesaurus conversion is performed on those input words and the data subjected to synonymous thesaurus conversion (S7).

そして、複合シソーラス変換S7によって求められた複
合シソーラスによりデータベースの検索(S8)を行う
Then, the database is searched (S8) using the composite thesaurus obtained by the composite thesaurus conversion S7.

同義シソーラス並びに複合シソーラスを用いて検索(S
8)した場合、入ツノ語の入力が正しくない場合がある
。これはオペレータが例えば狭い分野に対する入力語を
入力した場合であり、検索(S8)の結果により対応デ
ータがあるか否かの判別を次に行う(S9)。
Search using synonymous thesaurus and compound thesaurus (S
8) In this case, the input of Itsuno words may not be correct. This is a case where the operator inputs an input word for a narrow field, for example, and it is next determined whether or not there is corresponding data based on the result of the search (S8) (S9).

前述したように狭いような場合には判別(S9)におい
て対応データでない(N)と判別する。この時には概念
シソーラス変換(310)を行う。
As described above, if the data is narrow, it is determined in the determination (S9) that the data is not corresponding data (N). At this time, concept thesaurus conversion (310) is performed.

入力語受付処理(Sl)において入力したキーワード等
は単なる羅列であり、その上下関係、全体部分関係等は
不明確である。よって対応データ有りの判別(S9)に
おいて無い(N)と判別した時には概念シソーラス変換
(SIO)によって概念関係を変更する。すなわちi 
−iiiの優先順位をもとに概念シソーラスを求める。
The keywords and the like input in the input word reception process (Sl) are just a list, and their hierarchical relationship, whole-part relationship, etc. are unclear. Therefore, when it is determined that there is no corresponding data (N) in determining whether there is corresponding data (S9), the conceptual relationship is changed by concept thesaurus conversion (SIO). i.e. i
- Find a concept thesaurus based on the priority order of iii.

そして、概念シソーラス変換(SIO)を行った後、再
度シソーラス変換(S7)から同様に繰り返す。この繰
り返しによってデータベース内に対応データ有りと判別
処理(S9)で判別(Y)する。
After the concept thesaurus conversion (SIO) is performed, the same process is repeated again starting from thesaurus conversion (S7). By repeating this process, it is determined in the determination process (S9) that the corresponding data exists in the database (Y).

判別処理(S9)において有りであった(Y)時には、
次は対応データが1つであるか否かの判別を行う(Sl
l)。対応データが1つである(Y)時には、例えばデ
ータベースシステムの表示装置に対応データを表示(S
12)する。
When it is found (Y) in the determination process (S9),
Next, it is determined whether there is only one corresponding data (Sl
l). When the number of corresponding data is one (Y), for example, the corresponding data is displayed on the display device of the database system (S
12) Do.

表示した後、オペレータの操作に対する必要データが有
るか否かの判別(S13)を行う。対応データの表示処
理(S12)においては検索した1つのデータを表示す
るが、そのデータは目的のデータであるかどうかは不明
である。よって、オペレータが必要データ有と入力した
(Y)時すなわち表示したデータが必要データであった
時には、続い、て入力されたオペレータの操作が関連デ
ータ参照であるか否かを判別(S44.)する。すなわ
ち1つ表示されたことによってその1つが必要データで
あったとした時に更に関連データが必要であるか否かを
判別するのである。関連データの参照を必要としない(
N)時には処理を終了(END)する。また、関連デー
タの参照がさらに必要であった場合には再度概念シソー
ラス変換(310)を行い、前述と同様の処理を繰り返
す。
After displaying, it is determined whether or not there is data necessary for the operator's operation (S13). In the corresponding data display process (S12), one retrieved data is displayed, but it is unclear whether that data is the desired data. Therefore, when the operator inputs that necessary data is present (Y), that is, when the displayed data is necessary data, it is then determined whether the input operator's operation is a reference to related data (S44). do. In other words, if one item is displayed and it is determined that the item is necessary data, it is determined whether or not further related data is required. Does not require references to related data (
N) When the process ends (END). If further reference to related data is required, the concept thesaurus conversion (310) is performed again, and the same process as described above is repeated.

一方、判別(S13)において必要データが存在しなか
った(N)場合には、対応データが終了であるかを判別
(S15)L、終了であったなら再度概念シソーラス変
換処理(SIO)から実行する。そして、対応データ終
了でない(N)時には再度表示処理(S12)から実行
する。この場合には対応データが複数存在しない場合で
あり、後述する判別(317)の後に繰り返すこととな
る。
On the other hand, if the necessary data does not exist (N) in the determination (S13), it is determined whether the corresponding data is complete (S15), and if it is complete, execute the concept thesaurus conversion process (SIO) again do. Then, when the corresponding data is not completed (N), the display process is executed again from the display process (S12). In this case, there is no plurality of corresponding data, and the process is repeated after determination (317), which will be described later.

一方判別(311)において対応データが1つでなかっ
た(N)場合には対応データ名を表示する。例えばキー
ワードが少なくその条件が甘かった場合表示データが多
量に存在する場合がある。
On the other hand, if there is not one corresponding data (N) in the determination (311), the corresponding data name is displayed. For example, if there are few keywords and the conditions are not favorable, there may be a large amount of display data.

そのため処理(S16)においては対応のデータ名だけ
を表示するのである。このデータ名を表示した後、オペ
レータの操作によって指示が加わると、そのデータ名に
対し入力語追加であるか否かの判別(S17)を行う。
Therefore, in the process (S16), only the corresponding data name is displayed. After this data name is displayed, when an instruction is added by an operator's operation, it is determined whether or not an input word is to be added to the data name (S17).

例えば対応データ名がほとんど目的とするものであるな
らば、オペレータは入力語追カロを行わないよう指示す
る。この指示によって判別(S17)において追加しな
い(N)となり、処理(S12)を実行する。すなわち
、入力語追加(S17)でない(N)時には1個1々の
データを表示するため、先ず処理(S12)において1
個のデータを表示し、同様に必要データがあったか否か
を判別(S13)L、必要データがなかった(N)時に
は、データの対応データが終了であるかどうかを判別(
S15)L、終了していない時には再度処理(S12)
から次のデータを表示する。そして、全て表示した時に
は対応データ終了(Y)となり、再度概念シソーラス変
換から行う。
For example, if the corresponding data name is almost the desired name, the operator instructs not to add input words. Based on this instruction, the determination (S17) results in not adding (N), and the process (S12) is executed. In other words, when the input word is not added (S17) (N), data is displayed one by one, so first, 1 in the process (S12)
Similarly, it is determined whether or not there is necessary data (S13). If there is no necessary data (N), it is determined whether the data corresponding to the data is complete (S13).
S15) L, if not finished, process again (S12)
Display the following data from: When all are displayed, the corresponding data ends (Y) and the concept thesaurus conversion is performed again.

前述した検索において多量のデータが検索された場合、
判別(317)において入力語追加なる操作(Y)がな
されると追加入力語を行う。これはあまりにも対応する
分野の広い範囲等の入力語を指示した場合であり、次の
追加入力語によってその範囲が狭められるのである。追
加語入力(318)によってオペレータが追加後入力す
るとその追加入力に対する入力語同義シソーラス変換を
行う(S19)。そして、その同義シソーラス変換によ
って得られたデータが変換可能であるかの判別(S20
)を行う。変換可能であるかの判別(S20)において
変換できなかった(N)場合には類義語入力によって類
義語を入力(S21)し、その類義語の入力語が登録可
能であるかを判別(S22)する。そして、登録可能で
あるかの判別(S22)によって登録可能でない(N)
時には再度入力語入力(31B)によってオペレータに
対する入力を要求する。
If a large amount of data is retrieved in the above search,
If an operation (Y) for adding an input word is performed in the determination (317), an additional input word is performed. This occurs when an input word is specified that covers a too wide range of fields, and the range is narrowed by the next additional input word. When the operator inputs an additional word by inputting an additional word (318), synonymous thesaurus conversion of the input word is performed for the additional input (S19). Then, it is determined whether the data obtained by the synonymous thesaurus conversion can be converted (S20
)I do. If the conversion is not possible (N) in the determination as to whether conversion is possible (S20), a similar synonym is input by synonym input (S21), and it is determined whether the input word of the similar synonym can be registered (S22). Then, it is determined that the registration is not possible (N) by determining whether the registration is possible (S22).
Occasionally, input from the operator is requested again by input word input (31B).

一方、判別(S22)によって変換可能であった(Y)
時並びに登録可能かの判別(S22)において登録可能
であった(Y)場合には登録処理(S23)を行う。そ
して、現在の検索結果と追加入力語による再検索を行う
(324)。これによって再検索がなされ、その結果を
判別するため再度判別(S9)から同様の処理を繰り返
す。この繰り返しにより目的のデータベースを検索する
ことができる。特に単に入力キーワードすなわち入力語
の羅列によって入力してもその入力語を同義シソーラス
変換を行い、更にその結果を複合シソーラス変換し、検
索を行っている。また、さらにはその検索において検索
対応データが存在しないような場合には概念シソーラス
変換を行ってその上下関係、または全体部分の関係更に
類似の関係等によって概念を変更し再度複合シソーラス
変換を行った後検索を行っているので、データベースの
検索途中で概念が同時に作成されオペレータが従来のよ
うに入力語を気にすることなく入力することができる。
On the other hand, it was determined (S22) that it was possible to convert (Y)
If the time and determination of whether registration is possible (S22) shows that registration is possible (Y), a registration process (S23) is performed. Then, a search is performed again using the current search results and additional input words (324). As a result, the search is performed again, and the same process is repeated from the determination (S9) again to determine the result. By repeating this process, the target database can be searched. In particular, even if a simple input keyword, that is, a list of input words is input, the input word is converted into a synonymous thesaurus, and the result is further converted into a compound thesaurus to perform a search. Furthermore, if there is no corresponding data in the search, a concept thesaurus conversion is performed, the concept is changed based on its hierarchical relationship, the relationship between whole parts, similar relationships, etc., and then a compound thesaurus conversion is performed again. Since a post-search is performed, concepts are created simultaneously during the database search, and the operator can input words without having to worry about the input words as in the past.

さらに概念シソーラス変換により上下、又は全体部公吏
には類似の関係等をオペレークは全く気にせず入力する
ことができるで、オペレータの負担が軽くなる。
Furthermore, the concept thesaurus conversion allows similar relationships to be entered for upper and lower positions, or for general public officials, without worrying about operations, which reduces the burden on the operator.

第3図はシソーラス変換経路図である。前述した動作に
おける3種類のシソーラスデータを中心とした変換を表
わしている。同義シソーラス(入力語→検索語)の形で
記述されており、■=1あるいは1z多となっている。
FIG. 3 is a thesaurus conversion path diagram. It represents the conversion centered on three types of thesaurus data in the operation described above. It is written in the form of a synonymous thesaurus (input word → search word), and ■=1 or 1z many.

また、入力語は同義シソーラスのシステム領域内には1
つしか存在しない。
In addition, the input word has 1 in the system area of the synonym thesaurus.
Only one exists.

複合シソーラスは(検索語→検索語)の形で記述されて
おり、1:1,1:多、多:1.多:多回れでも良い。
A compound thesaurus is written in the form (search word → search word), 1:1, 1:many, many:1. Many: Many times is fine.

同義・概念シソーラスから渡された検索語が複数の条件
に当てはまる場合には強度の拘束条件から適用して変換
する。
If a search term passed from a synonym/concept thesaurus meets multiple conditions, it is converted by applying the strongest constraint.

概念シソーラスは検索語が3種類(上位・下位、全体・
部分、類似)のリンクをはっている。すなわちユーザの
入力に対し入力した入力語が同義シソーラスTNXより
入力すると同義シソーラスSBによって1=1あるいは
1:多の関係が求められる。そして、その関係によって
複合シソーラス1:1更には1:多、多:1、多:多の
ような関係すなわち検索語と検索語の関係で関係づける
The concept thesaurus has three types of search terms (upper/lower, overall/
(partial, similar) links. That is, when the input word inputted by the user is input from the synonym thesaurus TNX, a relationship of 1=1 or 1:many is determined by the synonym thesaurus SB. Then, based on this relationship, the composite thesaurus is 1:1, and further, 1:many, many:1, and many:many, that is, the relationship between search terms is established.

そして、求めた複合シソーラスによってデータベースを
検索DFする。この検索において、第2図に示したよう
な1個のデータが得られた或いは得られなかったような
場合には結果によって概念シソーラスSGが上位・下位
、全体・部分、類似等のリンクを行ってすなわち変更を
行って再度複合シソーラスを求める。その複合シソーラ
スによって検索を行う。
Then, the database is searched and DFed using the obtained composite thesaurus. In this search, if one piece of data is obtained or not obtained as shown in Figure 2, the concept thesaurus SG will perform links such as upper/lower, whole/part, similar, etc. depending on the result. In other words, the composite thesaurus is obtained again after making changes. Search is performed using the composite thesaurus.

以上のような手順によって目的とするデータを検索する
ものである。
The procedure described above is used to search for target data.

第5図は同義シソーラス変換の説明図である。FIG. 5 is an explanatory diagram of synonymous thesaurus conversion.

ユーザが「表示する」を入力するとまずユーザ領域のデ
ータでシソーラス変換できるかを試す。
When the user inputs "display", it first tries to see if thesaurus conversion can be performed using the data in the user area.

次にシステム領域のデータでシソーラス変換する。Next, perform thesaurus conversion using the data in the system area.

この場合システム領域のデータシソーラス変換し「表示
」とする。
In this case, the data in the system area is converted into a thesaurus and marked as "display".

ユーザが「表す」と入力し、同義シソーラス変換を行う
ことができなかった時は類義語を入力する。類義語に「
表示」と入力されると、この詔はシソーラス変換できる
ため〔表ず→表示]という同義シソーラスデータを作成
しユーザ領域に追加する。
If the user inputs "represent" and the synonym thesaurus conversion cannot be performed, a synonym is input. Synonyms include “
When "Display" is entered, this edict can be converted into a thesaurus, so synonymous thesaurus data such as [Ozuzu → Display] is created and added to the user area.

第6図は複合シソーラス変換の説明図である。FIG. 6 is an explanatory diagram of composite thesaurus conversion.

同義シソーラスか概念シソーラスで変換された検索語が
「ウィンドウ ラベル 表示Jだった場合[〔ウィンド
ウ 表示→ACTIVATE or 5HOIJ:]と
〔ラベル 表示→SET  TITLE ) Jのデー
タを変換のために利用する。この2つの条件は強度は同
じであるため変換すると[ウィンドウACTIVATE
、ウィンドウ 5HOW、ウィンドウSET  TIT
LE Jのいずれかを検索する。
If the search term converted using the synonymous thesaurus or concept thesaurus is "Window Label Display J", use the data of [[Window Display → ACTIVATE or 5HOIJ:] and [Label Display → SET TITLE] for conversion. The two conditions have the same strength, so when converted, [Window ACTIVATE
, window 5HOW, window SET TIT
Search for either LE J.

同義シソーラスか概念シソーラスで変換された検索語が
「メニュー スクロール」であった場合〔メニュー ス
クロール →WITHMΔRGIN and Aする。
If the search term converted using the synonym thesaurus or concept thesaurus is "menu scroll" [menu scroll → WITHMΔRGIN and A].

第7図は概念シソーラス変換の説明図である。FIG. 7 is an explanatory diagram of concept thesaurus conversion.

検索語がrltllTHLABEL 、だった場合衣の
戦略を作成するためにはまず、上位か全体の「サツシク
ラス」か「ウィンドウ」を求める。次に下位にあたるデ
ータを求める。そして類似のデータを最終的に求める。
If the search term is rltllTHLABEL, in order to create a strategy, first find the top or overall "satushi class" or "window". Next, find the lower level data. Finally, similar data is sought.

以上述べたように本発明においては、キーワード等によ
る入力語の上下関係やその他のコマンドを入力する必要
がなく、単に羅列して入力することによって検索手順等
の検索戦略を意図的に思考しオペレータがすなわちユー
ザが必要とするであろうデータをデータベースで検索し
表示する。また、検索で得られたデータが複数であった
場合、再入力を行わなくても、単にキーワードを追加す
るだけで自動的にデータを絞り、更にはシステムにない
キーワード入力がなされても、そのキーワード入力を登
録するため、検索するに従いキーワードを広域とするこ
とができる。
As described above, in the present invention, there is no need to input the hierarchical relationship of input words using keywords or other commands, and by simply inputting a list, the operator can intentionally think about the search strategy such as the search procedure. In other words, it searches the database for data that the user may need and displays it. In addition, when multiple data are obtained from a search, the data is automatically narrowed down by simply adding a keyword without having to re-enter the data, and even if a keyword is entered that is not in the system. Since keyword input is registered, keywords can be used in a wide range of areas as the search progresses.

の思考によらず、単に入力語を羅列するだけでデータベ
ースを検索でき、オペレータに対する負担を軽くするこ
とができる。
The database can be searched by simply listing the input words without having to think about it, reducing the burden on the operator.

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

第1図は本発明の機能ブロック図、 第2図は本発明の処理フローチャート、第3図は変換経
路図、 第4図は変換と登録の原理説明図、 第5図は同義シソーラス変換の説明図、第6図は複合シ
ソーラス変換の説明図、第7図は概念シソーラス変換の
説明図である。 1・・・入力手段、 2・・・追加入力手段、 3・・・シソーラス変換手段゛、 4・・・検索手段。 〔発明の効果〕
Fig. 1 is a functional block diagram of the present invention, Fig. 2 is a processing flowchart of the present invention, Fig. 3 is a conversion path diagram, Fig. 4 is a diagram explaining the principles of conversion and registration, and Fig. 5 is an explanation of synonym thesaurus conversion. 6 is an explanatory diagram of compound thesaurus conversion, and FIG. 7 is an explanatory diagram of conceptual thesaurus conversion. 1... Input means, 2... Additional input means, 3... Thesaurus conversion means, 4... Search means. 〔Effect of the invention〕

Claims (1)

【特許請求の範囲】 データベースシステムにおいて、 検索すべきデータを入力する入力手段(1)と、検索途
中において、追加すべき検索データを入力する追加入力
手段(2)と、 前記入力手段(1)と前記追加入力手段(2)とから検
索データが加わり、該検索データから同義シソーラス、
複合シソーラス、概念シソーラスを求めるシソーラス変
換手段(3)と、 該シソーラス変換手段(3)より得られるデータで検索
する検索手段(4)とよりなることを特徴とする検索戦
略作成方式。
[Claims] In a database system, an input means (1) for inputting data to be searched, an additional input means (2) for inputting search data to be added during the search, and the input means (1). Search data is added from the additional input means (2), and a synonym thesaurus,
A search strategy creation method comprising: a thesaurus conversion means (3) for obtaining a composite thesaurus or a concept thesaurus; and a search means (4) for searching using data obtained from the thesaurus conversion means (3).
JP63233515A 1988-09-20 1988-09-20 Search strategy creation method Pending JPH0282354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63233515A JPH0282354A (en) 1988-09-20 1988-09-20 Search strategy creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63233515A JPH0282354A (en) 1988-09-20 1988-09-20 Search strategy creation method

Publications (1)

Publication Number Publication Date
JPH0282354A true JPH0282354A (en) 1990-03-22

Family

ID=16956238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63233515A Pending JPH0282354A (en) 1988-09-20 1988-09-20 Search strategy creation method

Country Status (1)

Country Link
JP (1) JPH0282354A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001117939A (en) * 1999-10-20 2001-04-27 Just Syst Corp Query output device, document retrieval system, query output method, document retrieving method and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001117939A (en) * 1999-10-20 2001-04-27 Just Syst Corp Query output device, document retrieval system, query output method, document retrieving method and recording medium

Similar Documents

Publication Publication Date Title
US7769578B2 (en) Machine translation system, method and program
US6233578B1 (en) Method and system for information retrieval
US6067552A (en) User interface system and method for browsing a hypertext database
US6094649A (en) Keyword searches of structured databases
US6598046B1 (en) System and method for retrieving documents responsive to a given user's role and scenario
US20020059297A1 (en) Search formulation user interface
KR20040058300A (en) A system and method for searching data sources
US20020161752A1 (en) Apparatus for and method of searching
US5557788A (en) Relational access system for network type data bases which uses a unique declarative statement
JPH05151253A (en) Document retrieving device
JPH05324719A (en) Document retrieval system
JPH0282354A (en) Search strategy creation method
JPH09259139A (en) Document data intelligent retrieval system
JPH05266085A (en) Method and device for similar retrieval using dynamic concept dictionary
EP1158424A1 (en) A system and method for publishing and categorising documents on a network
US20040199501A1 (en) Information extracting apparatus
JP2639804B2 (en) Database search device
JPH03294965A (en) Document retrieving method
JPH05257979A (en) Data base system with keyword candidate extracting function
JP3761364B2 (en) Machine translation system
JPH07210565A (en) Method and device for retrieving information
JPH09305626A (en) Retrieval document preparing device, retrieval document storage media, device and method for retrieving document
EP1160683A2 (en) A system and method for categorising and retrieving documents on a network
JPH09101951A (en) Document retrieving device
JPH04293162A (en) Retrieval strategy generating system