JPH11250073A - Method and device for retrieving semantic hierarchy of plural databases and medium for storing program therefor - Google Patents

Method and device for retrieving semantic hierarchy of plural databases and medium for storing program therefor

Info

Publication number
JPH11250073A
JPH11250073A JP10045772A JP4577298A JPH11250073A JP H11250073 A JPH11250073 A JP H11250073A JP 10045772 A JP10045772 A JP 10045772A JP 4577298 A JP4577298 A JP 4577298A JP H11250073 A JPH11250073 A JP H11250073A
Authority
JP
Japan
Prior art keywords
keyword
search
domain
database
column
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
JP10045772A
Other languages
Japanese (ja)
Inventor
Mitsuaki Tsunakawa
光明 綱川
Hiroki Machihara
宏毅 町原
Takashi Hoshino
隆 星野
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP10045772A priority Critical patent/JPH11250073A/en
Publication of JPH11250073A publication Critical patent/JPH11250073A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To dissolve differences in data structures, addresses, data expression systems and classification levels of respective data bases in an environment where a plurality of database are connected to a network and to retrieve related data from the database against a keyboard inquiry. SOLUTION: In this hierarchical retrieval method, data structures, addresses of different databases, data expression systems, ranges of the values of data and classification levels of data are set in a table. A keyword is hierarchically retrieved so that it is traced from a route. The table is searched at the time of inquiry of database retrieval. Thus, differences are dissolved and the database is retrieved.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数データベース
意味的階層検索方法及び装置及び複数データベース意味
的階層検索プログラムを格納した記憶媒体に係り、特
に、ネットワークに複数のデータベースが接続された環
境において、各データベースのデータ構造、所在、デー
タの表現形式、データの値の範囲、データの分類レベル
などが異なっていても、その違いを解消してデータ値に
対するキーワードの木構造データを容易に定義し、ルー
トから辿るように階層的にキーワードを検索し、当該キ
ーワード問い合わせに対し、関連するデータをデータベ
ースから検索できるようにする複数データベース意味的
階層検索方法及び装置及び複数データベース意味的階層
検索プログラムを格納した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for retrieving a semantic hierarchy of a plurality of databases and a storage medium storing a retrieving program for a semantic hierarchy of a plurality of databases, and more particularly to an environment in which a plurality of databases are connected to a network. Even if the data structure, location, data expression format, data value range, data classification level, etc. of each database are different, resolve the differences and easily define the keyword tree structure data for the data value, A multi-database semantic hierarchy search method and apparatus and a multi-database semantic hierarchy search program are stored which search for keywords hierarchically so as to trace from the root, and which can search related data from the database in response to the keyword inquiry. It relates to a storage medium.

【0002】[0002]

【従来の技術】一般に、これまで、企業では、顧客の管
理や売上の管理などさまざまな業務のために、多くのデ
ータベースシステムが導入され、利用されている。当初
は、顧客や売上の情報の記憶・変更・利用などのような
単純なデータ管理の目的で、業務の効率化のためにデー
タベースを使用している。しかし、近年のネットワーク
のオープン化に伴い、これまで蓄積されてきたデータを
オープンなネットワークに接続し、有効活用しようとい
うニーズが増えている。また、一方で、地域別の商品の
売れ筋は何かといった情報を求めるなどの経営戦略的な
情報を得るためにデータベースの利用が増えている。
2. Description of the Related Art In general, a large number of database systems have been introduced and used by companies for various tasks such as customer management and sales management. Initially, a database was used to streamline operations for simple data management purposes, such as storing, changing, and using customer and sales information. However, with the opening of networks in recent years, there is an increasing need to connect data stored so far to open networks for effective use. On the other hand, the use of databases is increasing in order to obtain information on management strategy, such as seeking information such as what is the best seller of products by region.

【0003】経営戦略的な情報を得るためにデータベー
スを用いる場合、1つのデータベースの情報だけからで
は不十分な場合があり、例えば、顧客情報と売上情報を
組み合わせるといったように、複数のデータベースの情
報を統合して利用する必要がある。しかし、それぞれの
データベースは、独立に運用させているために、同じ内
容の情報を異なった表現形式(15,000円と¥1
5,000等)で表していたり、同種の情報で異なった
値の範囲(関東と関西のデータ等)を管理していたり、
同じ対象のデータで異なる分類レベル(日別売上げと、
月別売上げ、等)で整理されていたりすることがある。
[0003] When a database is used to obtain management strategic information, there is a case where information from one database alone is not enough. Need to be integrated and used. However, since each database is operated independently, information of the same content is expressed in different expression formats (15,000 yen and $ 1).
5,000, etc.) or managing different value ranges (Kanto and Kansai data, etc.) with the same type of information,
Different classification levels for the same target data (daily sales,
Monthly sales, etc.).

【0004】また、一方で、近年、コンピュータ・ネッ
トワークを使って消費者や企業が商品の販売・購入など
各種の取引を行うエレクトロニック・コマースが普及し
つつある。エレクトロニック・コマースは、近年、急速
に拡まりつつあり、ライバル会社を抑えて売上げを伸ば
すには、品揃えの数、価格の設定等、市場の動向に柔軟
かつ高速に対処することが重要な要素となる。このよう
な背景の元に、エレクトロニック・コマースでは、従来
ホームページに埋め込まれていた商品情報をデータベー
スで管理するよう分割し、WWWとデータベースを連動
させることにより、商品情報のフレキシビリティを高め
る動きが活発である。また、商品情報の検索には、取扱
商品の多い販売元のホームページでは、キーワードを辿
る(パソコン→ハードウェア→周辺機器、等)ことによ
り目的の商品情報を検索する階層検索が提供されている
ケースが過半数を占める。階層検索は、システムが保有
しているデータのキーワードを示すことにより、そのシ
ステムがユーザが必要とするデータを含んでいるかを容
易に判断可能であり、また、キーワードを辿ることによ
り検索範囲を絞れるため、ユーザからのデータベースへ
の階層検索の需要が高まっている。
[0004] On the other hand, in recent years, electronic commerce in which consumers and companies conduct various transactions such as sales and purchase of commodities using a computer network has been spreading. Electronic commerce is growing rapidly in recent years, and it is important to respond flexibly and quickly to market trends, such as the number of products and pricing, in order to increase sales while keeping rival companies down. Becomes Against this background, in electronic commerce, there has been an active movement to increase the flexibility of product information by dividing the product information embedded in the conventional homepage into a database to be managed and linking the WWW with the database. It is. Also, in the case of searching for product information, a hierarchical search is provided on the homepage of a selling company with many handled products to search for desired product information by tracing a keyword (PC → hardware → peripheral device, etc.). Account for the majority. In the hierarchical search, it is possible to easily determine whether the system includes the data required by the user by indicating the keyword of the data held by the system, and to narrow down the search range by following the keyword. Therefore, the demand for hierarchical search from the user to the database is increasing.

【0005】まず、複数のデータベースの統合方法だ
が、これまでは、複数のデータベースを統合して利用す
る仕組みとして、マルチデータベース技術が研究・開発
されている。マルチデータベースシステムとは、グロー
バルスキーマと呼ばれるユーザが利用するデータベース
の仮想的な構造を予め定義することによって、ユーザは
個別の情報の表現形式や構造を意識しないで、分散する
データベースを検索できるシステムである。
First, a method of integrating a plurality of databases has been studied and developed so far as a mechanism for integrating and using a plurality of databases. A multi-database system is a system that allows users to search distributed databases without having to be aware of the expression format and structure of individual information by predefining the virtual structure of the database used by the user, called a global schema. is there.

【0006】次に、1つのデータベースに対する階層検
索の実現方法であるが、1つのデータベースに対する階
層検索をユーザに提供するには、何等かの手段により階
層情報を保持する必要がある。従来の階層情報管理の実
現手段としては、以下のいずれかの方法となる。 (1) アプリケーションプログラムで実現する場合:
データベースのデータの階層構造情報をアプリケーショ
ン側で管理する。階層構造の情報、階層に対するデータ
検索時の問い合わせ文をアプリケーション側でデータベ
ースとは全く独立に管理する。
Next, a method for implementing a hierarchical search for one database is described. To provide a user with a hierarchical search for one database, it is necessary to hold hierarchical information by some means. As means for realizing conventional hierarchical information management, any of the following methods is used. (1) When using an application program:
The application manages the hierarchical structure information of the database data. The application manages the information of the hierarchical structure and the query sentence at the time of data search for the hierarchy completely independently of the database.

【0007】(2) データベースで実現する場合:デ
ータベースのデータの階層構造情報をデータベース内で
管理する。例えば、第1階層情報、第2階層情報、第3
階層情報、等をデータベース中で管理する。アプリケー
ション側では、階層情報を意識する必要はない。これら
マルチデータベース技術の1つのデータベースの階層検
索の実現方法を組み合わせることにより、複数のデータ
ベースに対する階層検索を実現することが可能である。
(2) In the case of realizing with a database: The hierarchical structure information of the data of the database is managed in the database. For example, first layer information, second layer information, third layer information
Manage hierarchical information, etc. in a database. The application does not need to be aware of hierarchical information. It is possible to realize a hierarchical search for a plurality of databases by combining these methods for implementing a hierarchical search of one database with the multi-database technology.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記の
従来の方法では、当該システムに新たに、全く独立に運
用されていた既存データベースを追加する場合、どこか
で階層構造情報の差分を吸収する必要が生じ、データベ
ースまたは、アプリケーションの見直しが必須となる。
複数データベースの統括管理を行う管理者が、この階層
構造情報を作成するときに、データの表現形式、データ
の値の範囲、データの分類レベルを意識しながら設計す
る必要があり、実際には非常に難しい。
However, in the above-mentioned conventional method, when an existing database that has been operated completely independently is newly added to the system, it is necessary to absorb the difference in the hierarchical structure information somewhere. Occurs, and it becomes necessary to review the database or the application.
When creating the hierarchical structure information, the administrator who manages and manages multiple databases needs to be aware of the data representation format, data value range, and data classification level. Difficult.

【0009】これまでの方式では、まず、複数データベ
ースを統合するため、グローバルスキーマを定義する必
要があり、そのためには、全データベースのデータ構
造、所在、データの表現形式等を知る必要がある。ま
た、データベースに対する階層検索を実現するには、そ
のデータベースの値の範囲やデータの分類レベルを調査
し、キーワードの階層データを定義し、当該データベー
スとキーワードの階層データ間の対応関係を定義する必
要がある。しかし、これらの作業を行うには、全てのデ
ータベースの内容に通じている必要があり、実際には非
常に難しい。よって、自分のデータベース以外のデータ
ベース構造、所在、データの表現形式、データの値の範
囲、データの分類レベルを知らなくても、これらの違い
をできるだけ解消できる仕組みが要求されている。
In the conventional methods, first, a global schema needs to be defined in order to integrate a plurality of databases, and for that purpose, it is necessary to know the data structure, location, data representation format, and the like of all the databases. In order to perform a hierarchical search on a database, it is necessary to investigate the value range of the database and the data classification level, define the hierarchical data of the keyword, and define the correspondence between the database and the hierarchical data of the keyword. There is. However, in order to perform these tasks, it is necessary to be familiar with the contents of all the databases, and it is actually very difficult. Therefore, there is a need for a mechanism that can eliminate these differences as much as possible without knowing the database structure, location, data expression format, data value range, and data classification level other than the own database.

【0010】また、独立に生成されたデータベースのデ
ータ分類を統合するには、分類の細かさ(日別と月別、
等)や、思想の違い(ハードウェア/ソフトウェアとWi
ndows/Mac,等)を解決する必要があり、そのためには、
全データベースの値の共通分類方法を設計し、各データ
との対応関係を定義する必要がある。しかし、この作業
を行うには、分類の差異のレベルにより、マルチデータ
ベースの論理設計や、アプリケーションの設計から見直
す必要があり、非常に難しい。よって自分のデータベー
ス以外の分類の細かさのレベルや思想の違いをできるだ
け意識せずに、全データベースに対する値の階層構造情
報を生成できる仕組みが要求されている。
Further, in order to integrate the data classification of the independently generated database, the fineness of the classification (daily and monthly,
Etc.) and differences in ideas (hardware / software and Wi
ndows / Mac, etc.)
It is necessary to design a common classification method for values in all databases and define the correspondence with each data. However, to perform this operation, it is necessary to reconsider the logical design of the multi-database and the design of the application depending on the level of the classification difference, which is very difficult. Therefore, there is a need for a mechanism that can generate hierarchical structure information of values for all databases without being conscious of differences in the level of fineness and ideas of classification other than the own database as much as possible.

【0011】本発明は、上記の点に鑑みなされたもの
で、ネットワークに複数のデータベースが接続された環
境において各データベースのデータ構造、所在、データ
の表現形式、データの分類レベルなどが異なっていて
も、その違いを解消してデータ値に対するキーワードの
木構造データを容易に定義し、ルートから辿るように階
層的にキーワードを検索し、当該キーワード問い合わせ
に対し、関連するデータをデータベースから検索できる
ようにする複数データベース意味的階層検索方法及び装
置及び複数データベース意味的階層検索プログラムを格
納した記憶媒体を提供することを目的とする。
The present invention has been made in view of the above points, and in an environment in which a plurality of databases are connected to a network, the data structure, location, data expression format, data classification level, and the like of each database are different. Also, it is possible to easily define the tree structure data of the keyword for the data value by eliminating the difference, search the keyword hierarchically so as to follow from the root, and search the database for the relevant data in response to the keyword inquiry. It is an object of the present invention to provide a method and an apparatus for searching a multiple database semantic hierarchy and a storage medium storing a multiple database semantic hierarchy search program.

【0012】[0012]

【課題を解決するための手段】図1は、本発明の原理を
説明するための図である。本発明(請求項1)は、ネッ
トワークに複数のデータベースが接続された環境におい
て、各データベースのデータ構造、所在、データの表現
形式、データの値の範囲、データの分類レベルなどが異
なっていてもその違いを解消してデータ値に対するキー
ワードの木構造データを定義し、ルートから辿るように
階層的にキーワードを検索し、キーワードの問い合わせ
に対し、関連するデータをデータベースから検索する複
数データベース意味的階層検索方法において、各データ
ベースの列の名称とその値の範囲であるレンジを、列テ
ーブルに設定し、検索を実行する前に、各データベース
の列の値の表現形式であるドメインをローカルドメイン
としてローカルドメインテーブルに設定し、同じ意味を
有する各ドメインをドメイングループとして設定し、各
ドメイングループ内において代表して標準的に使用され
るグローバルドメインをドメイングループテーブルに設
定し、ドメイン間の変換を行う変換関数を変換関数テー
ブルに設定し、グローバルドメインの個々の値に平易な
用語で表現したキーワードを定義し、該キーワード間に
意味的な上下関係を定義して木構造データとして構成さ
れるキーワードツリーをキーワードツリーテーブルに設
定し、キーワードツリー毎に、ユーザの問い合わせで検
索項目が省略された場合に使用される検索項目であるキ
ーワードツリー検索項目をキーワードツリー検索項目テ
ーブルに設定するテーブル設定過程(ステップ1)と、
ユーザが、キーワードツリーをルートから1段ずつ上や
下に順に辿ることにより目的のキーワードを検索するキ
ーワード検索過程(ステップ2)と、ユーザから取得し
たキーワード、検索項目、検索条件からなる問い合わせ
文を取得して、テーブル設定過程において設定されたテ
ーブルを探索して、取得した情報に基づいて該問い合わ
せ文を変換し、データベースを検索するデータベース検
索過程(ステップ3)からなる。
FIG. 1 is a diagram for explaining the principle of the present invention. According to the present invention (claim 1), in an environment in which a plurality of databases are connected to a network, even if the data structure, location, data expression format, data value range, data classification level, and the like of each database are different. Multi-database semantic hierarchy that resolves the difference, defines keyword tree structure data for data values, searches keywords hierarchically so as to follow from the root, and searches the database for related data in response to keyword queries In the search method, the names of the columns of each database and the ranges that are the ranges of the values are set in the column table, and before executing the search, the domain that is the expression format of the values of the columns of each database is set as the local domain. Set in the domain table, each domain having the same meaning as a domain group Global domain, which is typically used as a representative in each domain group, is set in the domain group table, a conversion function that performs conversion between domains is set in the conversion function table, and individual values of the global domain are set. Define keywords expressed in simple terms, define a meaningful hierarchical relationship between the keywords, set a keyword tree configured as tree-structured data in a keyword tree table, and, for each keyword tree, A table setting step (step 1) of setting a keyword tree search item, which is a search item used when the search item is omitted, in the keyword tree search item table;
A keyword search process (step 2) in which a user searches a target keyword by sequentially traversing a keyword tree upward and downward one step from the root, and a query sentence including a keyword, a search item, and a search condition obtained from the user. A database search step (step 3) of acquiring and searching the table set in the table setting step, converting the query sentence based on the obtained information, and searching the database.

【0013】本発明(請求項2)は、データベース検索
過程において、ユーザのキーワード、検索項目、検索条
件からなる問い合わせ文の該キーワードに対し、キーワ
ードツリーの指定キーワード配下のすべてのキーワード
のドメイングループをキーワードツリーテーブルから探
索し、該ドメイングループに含まれるドメインをローカ
ルドメインテーブルから探索し、該ドメインである列と
レンジの組み合わせの集合である列レンジリストを列テ
ーブルから探索して生成し、生成された列レンジリスト
の各組み合わせに対し、所定の条件を満たすと共に、列
のドメイングループが指定キーワード配下のいずれかの
キーワードのドメイングループと一致する場合、各列毎
に指定キーワードを該指定キーワード配下かつ各列のレ
ンジ内のドメインの値に展開し、「OR」条件で接続し
た第1の検索条件を生成し、生成した第1の検索条件と
ユーザが指定した検索条件を「AND」条件で接続し、
第2の検索条件を生成し、ユーザが検索項目を指定しな
かった場合には、指定キーワードのキーワードツリー検
索項目をキーワードツリー検索項目テーブルから探索
し、探索された検索項目または、ユーザが問い合わせ文
で指定した検索項目と、生成された第2の検索条件とを
結合し、データベースを検索するための問い合わせ文を
生成し、データベースを検索するための問い合わせ文の
検索項目と検索条件の検索データが格納されているデー
タベース及び該検索データに対応するローカルドメイン
をローカルドメインテーブルから探索すると共に、グロ
ーバルドメインを該ローカルドメインが含まれるドメイ
ングループに基づいてドメイングループテーブルから探
索し、探索されたグローバルドメインとローカルドメイ
ンとが異なる場合、該グローバルドメインをローカルド
メインに変換する変換関数を変換関数テーブルから取得
し、変換関数を用いて、検索項目、検索条件を各データ
ベースに適合した問い合わせ文に翻訳し、翻訳された問
い合わせ文により各データベースを検索する。
According to the present invention (claim 2), in a database search process, a domain group of all keywords under a specified keyword in a keyword tree is added to a keyword of a query sentence including a user's keyword, a search item, and a search condition. A search is performed from the keyword tree table, a domain included in the domain group is searched from the local domain table, and a column range list that is a set of a combination of a column and a range as the domain is searched and generated from the column table. For each combination of the column range lists, if a predetermined condition is satisfied and the domain group of the column matches the domain group of one of the keywords under the designated keyword, the designated keyword is assigned to each column under the designated keyword and Domains in the range of each column Expand the value, to generate a first search condition connected by "OR" condition, the generated first search condition and the search condition specified by a user connected by "AND" condition,
If a second search condition is generated and the user does not specify a search item, a keyword tree search item of the specified keyword is searched from the keyword tree search item table, and the searched search item or the user By combining the search item specified in the above and the generated second search condition, a query sentence for searching the database is generated, and the search item of the query sentence for searching the database and the search data of the search condition are A local domain corresponding to the stored database and the search data is searched from a local domain table, and a global domain is searched from a domain group table based on a domain group including the local domain. If your local domain is different, A conversion function for converting the global domain to the local domain is obtained from the conversion function table, and the search items and search conditions are translated into a query suitable for each database using the conversion function, and each database is translated by the translated query. Search for.

【0014】本発明(請求項3)は、第1の検索条件を
生成する際に、所定の条件として、「指定キーワード配
下のいずれかのキーワードをレンジとする列」、「指定
キーワードの直上のキーワードからルートまでのいずれ
かのキーワードをレンジとする列」、「レンジが設定さ
れていないが指定キーワード配下のいずれかのキーワー
ドのドメイングループと一致する列」のいずれかに該当
するものとする。
According to the present invention (claim 3), when the first search condition is generated, as a predetermined condition, "a column having any one of the keywords under the specified keyword as a range" and "directly above the specified keyword" It is assumed that the column corresponds to one of a column having a range from any keyword from the keyword to the root, and a column having no range but matching a domain group of any keyword under the designated keyword.

【0015】図2は、本発明の原理構成図である。本発
明(請求項4)は、ネットワークに複数のデータベース
40が接続された環境において、各データベース40の
データ構造、所在、データの表現形式、データの値の範
囲、データの分類レベルなどが異なっていてもその違い
を解消してデータ値に対するキーワードの木構造データ
を定義し、ルートから辿るように階層的にキーワードを
検索し、キーワードの問い合わせに対し、関連するデー
タをデータベース40から検索する複数データベース意
味的階層検索装置であって、各データベース40の列の
名称とその値の範囲であるレンジを管理する列テーブル
11と、検索を実行する前に、各データベース40の列
の値の表現形式であるドメインをローカルドメインとし
て管理するローカルドメインテーブル12と、同じ意味
を有する各ドメインをドメイングループとして設定し、
各ドメイングループ内において代表して標準的に使用さ
れるグローバルドメインを管理するドメイングループテ
ーブル13と、ドメイン間の変換を行う変換関数を管理
する変換関数テーブル14と、グローバルドメインの個
々の値に平易な用語で表現したキーワードを定義し、該
キーワード間に意味的な上下関係を定義して木構造デー
タとして構成されるキーワードツリーを管理するキーワ
ードツリーテーブル15と、キーワードツリー毎に、ユ
ーザの問い合わせで検索項目が省略された場合に使用さ
れる検索項目であるキーワードツリー検索項目を管理す
るキーワードツリー検索項目テーブル16とを有する記
憶手段10と、ユーザが、キーワードツリーをルートか
ら1段ずつ上や下に順に辿ることにより目的のキーワー
ドを検索するキーワード検索手段30と、ユーザから取
得したキーワード、検索項目、検索条件からなる問い合
わせ文を取得して、記憶手段10を探索して、取得した
情報に基づいて該問い合わせ文を変換し、データベース
40を検索するデータベース検索手段20とを有する。
FIG. 2 is a block diagram showing the principle of the present invention. According to the present invention (claim 4), in an environment in which a plurality of databases 40 are connected to a network, the data structure, location, data expression format, data value range, data classification level, and the like of each database 40 are different. Even if the difference is resolved, the tree structure data of the keyword for the data value is defined, the keyword is searched hierarchically so as to follow from the root, and the related data is searched from the database 40 in response to the keyword inquiry. A semantic hierarchical search device, which manages a column name of a column of each database 40 and a range which is a range of its value, and a column table 11 of each database 40 before executing a search. The local domain table 12 for managing a certain domain as a local domain and each domain having the same Set-in as a domain group,
A domain group table 13 for managing a global domain that is typically used as a representative in each domain group, a conversion function table 14 for managing a conversion function for performing conversion between domains, and individual values of the global domain. A keyword tree table 15 that defines keywords expressed in various terms, defines a semantic hierarchical relationship between the keywords, and manages a keyword tree configured as tree-structured data. A storage unit 10 having a keyword tree search item table 16 for managing a keyword tree search item, which is a search item used when the search item is omitted, and the user moves the keyword tree up or down one level from the root. Key to search for the desired keyword by tracing to And a query sentence including a keyword, a search item, and a search condition acquired from the user, search the storage unit 10, convert the query sentence based on the acquired information, and And a database search means 20 for searching for.

【0016】本発明(請求項5)は、データベース検索
手段20において、ユーザのキーワード、検索項目、検
索条件からなる問い合わせ文の該キーワードに対し、キ
ーワードツリーの指定キーワード配下のすべてのキーワ
ードのドメイングループをキーワードツリーテーブル1
5から探索し、該ドメイングループに含まれるドメイン
をローカルドメインテーブル12から探索し、該ドメイ
ンである列とレンジの組み合わせの集合である列レンジ
リストを列テーブル11から探索して生成する列レンジ
リスト生成手段21と、列レンジリスト生成手段21で
生成された列レンジリストの各組み合わせに対し、所定
の条件を満たすと共に、列のドメイングループが指定キ
ーワード配下のいずれかのキーワードのドメイングルー
プと一致する場合、各列毎に指定キーワードを該指定キ
ーワード配下かつ各列のレンジ内のドメインの値に展開
し、「OR」条件で接続した第1の検索条件を生成する
キーワード展開手段22と、キーワード展開手段22で
生成された第1の検索条件とユーザが指定した検索条件
を「AND」条件で接続し、第2の検索条件を生成する
検索条件結合手段23と、ユーザが検索項目を指定しな
かった場合には、指定キーワードのキーワードツリー検
索項目をキーワードツリー検索項目テーブル16から探
索する検索項目探索手段24と、検索項目探索手段24
で探索された検索項目または、ユーザが問い合わせ文で
指定した検索項目と、生成された第2の検索条件とを結
合し、データベース40を検索するための問い合わせ文
を生成する問い合わせ文生成手段25と、問い合わせ文
生成手段25で生成された問い合わせ文の検索項目と検
索条件の検索データが格納されているデータベース40
及び該検索データに対応するローカルドメインをローカ
ルドメインテーブル12から探索すると共に、グローバ
ルドメインを、該ローカルドメインが含まれるドメイン
グループに基づいてドメイングループテーブル13から
探索するドメイン探索手段26と、ドメイン探索手段2
6で探索されたグローバルドメインとローカルドメイン
とが異なる場合、該グローバルドメインをローカルドメ
インに変換する変換関数を変換関数テーブル14から取
得する変換関数探索手段27と、変換関数探索手段27
で取得された変換関数を用いて、検索項目、検索条件を
各データベース40に適合した問い合わせ文に翻訳し、
翻訳された問い合わせ文により各データベース40を検
索する検索手段28とを有する。
According to the present invention (claim 5), in the database search means 20, the domain group of all the keywords under the specified keyword in the keyword tree is compared with the keyword of the query sentence including the user's keyword, the search item, and the search condition. To Keyword Tree Table 1
5, a domain range included in the domain group is searched from the local domain table 12, and a column range list, which is a set of a combination of a column and a range as the domain, is searched from the column table 11 to generate a column range list. For each combination of the generation unit 21 and the column range list generated by the column range list generation unit 21, a predetermined condition is satisfied, and the domain group of the column matches the domain group of one of the keywords under the designated keyword. In this case, a keyword expanding unit 22 that expands a designated keyword for each column into domain values under the designated keyword and within a range of each column, and generates a first search condition connected by an “OR” condition; The first search condition generated by the means 22 and the search condition specified by the user are "AND" conditions A search condition combining means 23 for connecting and generating a second search condition; and a search item for searching a keyword tree search item table 16 for a keyword tree search item of a specified keyword when the user does not specify a search item. Search means 24 and search item search means 24
And a query sentence generating means 25 for combining the search item searched by the search item or the search item specified by the user with the query sentence and the generated second search condition to generate a query sentence for searching the database 40. And a database 40 storing search data of search items and search conditions of the query generated by the query generation unit 25.
A domain searching means for searching a local domain corresponding to the search data from the local domain table 12 and searching for a global domain from the domain group table 13 based on a domain group including the local domain; 2
If the global domain and the local domain searched in step 6 are different, a conversion function search unit 27 that obtains a conversion function for converting the global domain into a local domain from the conversion function table 14, and a conversion function search unit 27
Using the conversion function obtained in the above, the search item and the search condition are translated into a query sentence suitable for each database 40,
Search means 28 for searching each database 40 with the translated query sentence.

【0017】本発明(請求項6)は、キーワード展開手
段22において用いられる所定の条件は、「指定キーワ
ード配下のいずれかのキーワードをレンジとする列」、
「指定キーワードの直上のキーワードからルートまでの
いずれかのキーワードをレンジとする列」、「レンジが
設定されていないが指定キーワード配下のいずれかのキ
ーワードのドメイングループと一致する列」のいずれか
に該当するものとする。
According to the present invention (claim 6), the predetermined condition used in the keyword expanding means 22 is "a column having any keyword under the specified keyword as a range",
Either a column whose range is any keyword from the keyword directly above the specified keyword to the root, or a column where the range is not set but matches the domain group of any keyword under the specified keyword Shall be applicable.

【0018】本発明(請求項7)は、少なくとも、管理
する列テーブル11、ローカルドメインテーブル12、
ドメイングループテーブル13、変換関数テーブル1
4、キーワードツリーテーブル15及びキーワードツリ
ー検索項目テーブル16を設定するテーブル設定手段を
含む。本発明(請求項8)は、ネットワークに複数のデ
ータベースが接続された環境において、各データベース
のデータ構造、所在、データの表現形式、データの値の
範囲、データの分類レベルなどが異なっていてもその違
いを解消してデータ値に対するキーワードの木構造デー
タを定義し、ルートから辿るように階層的にキーワード
を検索し、キーワードの問い合わせに対し、関連するデ
ータをデータベースから検索する複数データベース意味
的階層検索装置に搭載される複数データ意味的階層検索
プログラムであって、各データベースの列の名称とその
値の範囲であるレンジを、列テーブルに設定させるプロ
セスと、検索を実行する前に、各データベースの列の値
の表現形式であるドメインをローカルドメインとしてロ
ーカルドメインテーブルに設定させるプロセスと、同じ
意味を有する各ドメインをドメイングループとして設定
させ、各ドメイングループ内において代表して標準的に
使用されるグローバルドメインをドメイングループテー
ブルに設定させるプロセスと、ドメイン間の変換を行う
変換関数を変換関数テーブルに設定させるプロセスと、
グローバルドメインの個々の値に平易な用語で表現した
キーワードを定義し、該キーワード間に意味的な上下関
係を定義して木構造データとして構成されるキーワード
ツリーをキーワードツリーテーブルに設定させるプロセ
スと、キーワードツリー毎に、ユーザの問い合わせで検
索項目が省略された場合に使用される検索項目であるキ
ーワードツリー検索項目をキーワードツリー検索項目テ
ーブルに設定させるプロセスとからなるテーブル設定プ
ロセスと、ユーザが、キーワードツリーをルートから1
段ずつ上や下に順に辿ることにより目的のキーワードを
検索させるキーワード検索プロセスと、ユーザから取得
したキーワード、検索項目、検索条件からなる問い合わ
せ文を取得して、テーブル設定過程において設定された
テーブルを探索して、取得した情報に基づいて該問い合
わせ文を変換し、データベースを検索するデータベース
検索プロセスからなる。
According to the present invention (claim 7), at least a managed column table 11, a local domain table 12,
Domain group table 13, conversion function table 1
4, a table setting means for setting the keyword tree table 15 and the keyword tree search item table 16 is included. According to the present invention (claim 8), in an environment in which a plurality of databases are connected to a network, even if the data structure, location, data expression format, data value range, data classification level, and the like of each database are different. Multi-database semantic hierarchy that resolves the difference, defines keyword tree structure data for data values, searches keywords hierarchically so as to follow from the root, and searches the database for related data in response to keyword queries A multi-data semantic hierarchical search program installed in a search device, comprising: a process of setting a column name and a range of a value of a column of each database in a column table; and executing each database before performing a search. Local domain table with the domain that is the format of the column value as the local domain The process of setting, the process of setting each domain having the same meaning as a domain group, the process of setting a global domain that is typically used as a representative in each domain group in the domain group table, and the conversion between domains A process for setting a conversion function in the conversion function table;
A process of defining keywords expressed in simple terms for individual values of the global domain, defining a semantic hierarchical relationship between the keywords, and setting a keyword tree configured as tree-structured data in a keyword tree table; A table setting process comprising, for each keyword tree, a process of setting a keyword tree search item, which is a search item used when a search item is omitted in a user inquiry, in a keyword tree search item table; Tree 1 from root
A keyword search process for searching for a target keyword by sequentially traversing up and down by rows, and a query sentence including a keyword, a search item, and a search condition obtained from a user are obtained, and the table set in the table setting process is obtained. It comprises a database search process for searching, converting the query sentence based on the acquired information, and searching the database.

【0019】本発明(請求項9)は、データベース検索
プロセスにおいて、ユーザのキーワード、検索項目、検
索条件からなる問い合わせ文の該キーワードに対し、キ
ーワードツリーの指定キーワード配下のすべてのキーワ
ードのドメイングループをキーワードツリーテーブルか
ら探索するプロセスと、該ドメイングループに含まれる
ドメインをローカルドメインテーブルから探索するプロ
セスと、ドメインである列とレンジの組み合わせの集合
である列レンジリストを列テーブルから探索して生成す
るプロセスと、生成された列レンジリストの各組み合わ
せに対し、所定の条件を満たすと共に、列のドメイング
ループが指定キーワード配下のいずれかのキーワードの
ドメイングループと一致する場合、各列毎に指定キーワ
ードを該指定キーワード配下かつ各列のレンジ内のドメ
インの値に展開し、「OR」条件で接続した第1の検索
条件を生成するプロセスと、生成した第1の検索条件と
ユーザが指定した検索条件を「AND」条件で接続し、
第2の検索条件を生成するプロセスと、ユーザが検索項
目を指定しなかった場合には、指定キーワードのキーワ
ードツリー検索項目をキーワードツリー検索項目テーブ
ルから探索するプロセスと、探索された検索項目また
は、ユーザが問い合わせ文で指定した検索項目と、生成
された第2の検索条件とを結合し、データベースを検索
するための問い合わせ文を生成するプロセスと、データ
ベースを検索するための問い合わせ文の検索項目と検索
条件の検索データが格納されているデータベース及び該
検索データに対応するローカルドメインをローカルドメ
インテーブルから探索すると共に、グローバルドメイン
を、該ローカルドメインが含まれるドメイングループに
基づいてドメイングループテーブルから探索するプロセ
スと、探索されたグローバルドメインとローカルドメイ
ンとが異なる場合、該グローバルドメインをローカルド
メインに変換する変換関数を変換関数テーブルから取得
するプロセスと、変換関数を用いて、検索項目、検索条
件を各データベースに適合した問い合わせ文に翻訳する
プロセスと、翻訳された問い合わせ文により各データベ
ースを検索するプロセスとを含む。
According to the present invention (claim 9), in a database search process, a domain group of all keywords under a specified keyword in a keyword tree is added to a keyword of a query sentence including a user's keyword, a search item, and a search condition. A process of searching from a keyword tree table, a process of searching for a domain included in the domain group from a local domain table, and a process of searching a column table for a column range list that is a set of combinations of columns and ranges that are domains. For each combination of the process and the generated column range list, if the specified condition is satisfied and the domain group of the column matches the domain group of one of the keywords under the specified keyword, the specified keyword is specified for each column. The designated key A process of generating a first search condition connected to an “OR” condition by expanding to a value of a domain under a mode and within a range of each column, and generating the first search condition and a search condition specified by a user. Connect with "AND" condition,
A process of generating a second search condition, a process of searching a keyword tree search item table for a keyword tree search item of a specified keyword when the user does not specify a search item, a process of searching for the searched search item or A process of generating a query sentence for searching a database by combining a search item specified by a user in a query sentence and a generated second search condition; and a search item of a query sentence for searching a database. A database storing search data of search conditions and a local domain corresponding to the search data are searched from a local domain table, and a global domain is searched from a domain group table based on a domain group including the local domain. Process and the searched When the global domain is different from the local domain, a process of obtaining a conversion function for converting the global domain into the local domain from the conversion function table, and using the conversion function, the search item and the search condition are converted into a query sentence suitable for each database. The process includes a process of translating and a process of searching each database with the translated query.

【0020】本発明(請求項10)は、第1の検索条件
を生成するプロセスにおいて用いられる所定の条件とし
て、「指定キーワード配下のいずれかのキーワードをレ
ンジとする列」、「指定キーワードの直上のキーワード
からルートまでのいずれかのキーワードをレンジとする
列」、「レンジが設定されていないが指定キーワード配
下のいずれかのキーワードのドメイングループと一致す
る列」のいずれかに該当するものとする。
According to the present invention (claim 10), as the predetermined conditions used in the process of generating the first search condition, "a column having any one of the keywords under the specified keyword as a range" and "directly above the specified keyword" Column that ranges from any keyword from the keyword to the root ”or“ a column that has no range but matches the domain group of any keyword under the specified keyword ” .

【0021】上記のように、ユーザがキーワードツリー
をルートから1段ずつ上や下に順に辿り、目的のキーワ
ードを探索する。さらに、ユーザのキーワード、検索項
目、検索条件からなる問い合わせ文のキーワードに対
し、キーワードツリーの指定のキーワード配下のすべて
のキーワードのドメイングループをキーワードツリーテ
ーブルから探索する。この探索されたドメイングループ
に含まれるドメインをローカルドメインテーブルから探
索し、この探索したドメインである列とレンジの組み合
わせの集合である列レンジリストを列テーブルから探索
して生成する。この生成された列レンジリストの各組み
合わせに対し、所定の条件を満たし、列のドメイングル
ープが指定キーワード配下のいずれかのキーワードのド
メイングループと一致する場合、各列毎に指定キーワー
ドを指定キーワード配下かつ各列のレンジ内のドメイン
の値に展開し、「OR」条件で接続した検索条件を生成
する。この検索条件とユーザが指定した検索条件を「A
ND」条件で接続し、検索条件を生成する。このとき、
ユーザが検索項目を指定しなかった場合、指定キーワー
ドのキーワードツリー検索項目をキーワードツリー検索
項目テーブルから探索し、この探索した検索項目また
は、ユーザ問い合わせ文で指定した検索項目と、生成さ
れた検索条件を結合し、問い合わせ文を生成する。
As described above, the user traverses the keyword tree one step at a time from the root upward and downward, and searches for a target keyword. Further, for a keyword of a query sentence including a user's keyword, a search item, and a search condition, a domain group of all keywords under the specified keyword in the keyword tree is searched from the keyword tree table. A domain included in the searched domain group is searched from the local domain table, and a column range list, which is a set of a combination of a column and a range as the searched domain, is searched and generated from the column table. For each combination of the generated column range list, if a predetermined condition is satisfied and the domain group of the column matches the domain group of any of the keywords under the specified keyword, the specified keyword is assigned to each column under the specified keyword. The search condition is expanded to domain values within the range of each column, and a search condition connected by an “OR” condition is generated. This search condition and the search condition specified by the user are referred to as “A
Connection is made under the “ND” condition, and a search condition is generated. At this time,
If the user does not specify a search item, the keyword tree search item of the specified keyword is searched from the keyword tree search item table, and the searched search item or the search item specified in the user query statement and the generated search condition To generate a query sentence.

【0022】この生成された問い合わせ文の検索項目と
検索条件の検索データが記憶されているデータベース及
び当該検索データに対応するローカルドメインをローカ
ルドメインテーブルから探索すると共に、グローバルド
メインを、ローカルドメインが含まれるドメイングルー
プに基づいてドメイングループテーブルから探索する。
この探索されたグローバルドメインとローカルドメイン
とが異なる場合、グローバルドメインをローカルドメイ
ンに変換する変換関数を変換関数テーブルから探索し、
探索された変換関数を用いて、検索項目、検索条件を各
データベースに適合した問い合わせ文に翻訳し、翻訳さ
れた問い合わせ文により各データベースを検索する。
A database storing search data of the generated query sentence and search data of search conditions and a local domain corresponding to the search data are searched from a local domain table, and the global domain includes the local domain. Search from the domain group table based on the domain group to be set.
If the searched global domain is different from the local domain, a conversion function for converting the global domain to the local domain is searched from the conversion function table,
The search item and the search condition are translated into a query sentence suitable for each database by using the searched conversion function, and each database is searched by the translated query sentence.

【0023】これにより、ネットワークに複数のデータ
ベースが接続された環境において、各データベースのデ
ータ構造、所在、データの表現形式、データの値の範
囲、データの分類レベルなどが異なっていても、その違
いを解消してデータ値に対するキーワードの木構造デー
タを容易に定義し、ルートから辿るように階層的にキー
ワードを検索し、当該キーワード問い合わせに対し、関
連するデータをデータベースから自由に検索することが
できる。
Thus, in an environment in which a plurality of databases are connected to a network, even if the data structure, location, data expression format, data value range, data classification level, and the like of each database are different, the differences are different. To easily define the tree structure data of the keyword for the data value, search the keyword hierarchically so as to follow from the root, and freely search the database for the related data in response to the keyword inquiry .

【0024】[0024]

【発明の実施の形態】図3は、本発明の複数データベー
ス意味的階層検索装置の構成を示す。同図に示す複数デ
ータベース意味的階層検索装置100には、データベー
ス管理部210とデータベース220を有する複数のデ
ータベースシステム200が接続され、また、通信網4
00を介してユーザの端末装置300が接続される。
FIG. 3 shows the configuration of a multiple database semantic hierarchical search apparatus according to the present invention. A plurality of database systems 200 having a database management unit 210 and a database 220 are connected to the multiple database semantic hierarchy search device 100 shown in FIG.
00, the user's terminal device 300 is connected.

【0025】複数データベース意味的階層検索装置10
0は、ユーザインタフェース部110、キーワード問い
合わせ部120、構文解析部130、問い合わせ処理部
140、メタデータ蓄積部150、メタデータ管理部1
60及びデータベースアクセス部170より構成され
る。ユーザインタフェース部110は、ユーザとの間で
キーワード問い合わせ文やデータベース問い合わせ文や
検索結果を送受信する。
Multiple Database Semantic Hierarchical Search Device 10
0 is a user interface unit 110, a keyword inquiry unit 120, a syntax analysis unit 130, an inquiry processing unit 140, a metadata storage unit 150, a metadata management unit 1
60 and a database access unit 170. The user interface unit 110 transmits and receives a keyword inquiry sentence, a database inquiry sentence, and a search result to and from a user.

【0026】キーワード問い合わせ部120は、ユーザ
からのキーワード問い合わせ文を処理し、該当するキー
ワードの一覧を返却する。構文解析部130は、ユーザ
からの問い合わせ文の構文を解析する。問い合わせ処理
部140は、問い合わせ処理制御部141、問い合わせ
変換部142、変換関数ライブラリ143、検索結果処
理部144から構成される。問い合わせ処理制御部14
1は、解析された問い合わせ文に対する処理の全体の流
れを制御する。問い合わせ変換部142は、問い合わせ
の変換を行う。変換関数ライブラリ143は、ドメイン
間のデータ変換を行う関数の集まりである。検索結果処
理部144は、検索されたデータのドメインを変換す
る。
The keyword inquiry section 120 processes a keyword inquiry sentence from the user and returns a list of applicable keywords. The syntax analyzer 130 analyzes the syntax of the query sentence from the user. The query processing unit 140 includes a query processing control unit 141, a query conversion unit 142, a conversion function library 143, and a search result processing unit 144. Inquiry processing control unit 14
1 controls the overall flow of processing for the analyzed query sentence. The inquiry conversion unit 142 converts an inquiry. The conversion function library 143 is a group of functions for performing data conversion between domains. The search result processing unit 144 converts the domain of the searched data.

【0027】メタデータ蓄積部150は、列、ドメイ
ン、レンジ、キーワードに関する情報を蓄積するための
図4に示すテーブルから構成される。同図に示すメタデ
ータ蓄積部150は、列テーブル151、ドメインテー
ブル152、ドメイングループテーブル153、キーワ
ードツリーテーブル155、キーワードツリー検索項目
テーブル156から構成される。
The metadata storage section 150 is composed of a table shown in FIG. 4 for storing information on columns, domains, ranges, and keywords. The metadata storage unit 150 shown in FIG. 3 includes a column table 151, a domain table 152, a domain group table 153, a keyword tree table 155, and a keyword tree search item table 156.

【0028】メタデータ管理部160は、管理者からの
メタデータを投入する。詳しくは、ドメイン、レンジ、
キーワードツリーについては、8つの設定、即ち、「ロ
ーカルドメインの設定」、「ドメイングループの設
定」、「変換関数の作成」、「ユーザドメインの設
定」、「キーワードの設定」、「キーワードツリーの設
定」、「キーワードツリー検索項目の設定」、「レンジ
の設定」がある。設定されたドメイン、レンジ、キーワ
ードなどの情報は、メタデータ蓄積部150に格納され
る。
The metadata management section 160 inputs metadata from an administrator. See Domain, Range,
For the keyword tree, there are eight settings: "Local domain settings", "Domain group settings", "Conversion function creation", "User domain settings", "Keyword settings", "Keyword tree settings" , "Keyword tree search item setting", and "range setting". Information such as the set domain, range, and keyword is stored in the metadata storage unit 150.

【0029】データベースアクセス部170は、分散し
たデータベースにアクセスする。当該データベースアク
セス部170は、それぞれデータベース220及びデー
タベース220を管理するデータベース管理部210か
らなる1つ以上のデータベースシステム200が接続さ
れている。なお、データベース220は、ローカルデー
タベースとも称する。
The database access unit 170 accesses a distributed database. The database access unit 170 is connected to one or more database systems 200 each including a database 220 and a database management unit 210 that manages the database 220. The database 220 is also called a local database.

【0030】図5は、本発明の動作の概要を示すフロー
チャートである。図3の構成において、システム管理者
がメタデータ管理部160からドメイン、レンジ、キー
ワード等の設定を行い(ステップ10)、設定された当
該ドメイン、レンジ、キーワード等の情報をメタデータ
蓄積部150に格納する(ステップ20)(このステッ
プ10及びステップ20を準備フェーズと呼ぶものとす
る)。
FIG. 5 is a flowchart showing an outline of the operation of the present invention. In the configuration of FIG. 3, the system administrator sets a domain, a range, a keyword, and the like from the metadata management unit 160 (step 10), and stores the information of the set domain, range, keyword, and the like in the metadata storage unit 150. It is stored (Step 20) (Steps 10 and 20 are referred to as a preparation phase).

【0031】この状態において、ユーザがアプリケーシ
ョンプログラム300よりキーワードを取得するための
キーワード問い合わせを入力すると通信網400を介し
て複数データベース意味的階層検索装置100のユーザ
インタフェース部110を介してキーワード問い合わせ
部120が取得し、このキーワード問い合わせに基づい
て、メタデータ蓄積部150を検索してキーワードツリ
ーテーブルからキーワードを取得するための検索を行う
(ステップ30)。また、ユーザからデータベースを検
索するためのドメイン、レンジ、キーワードツリー情報
を含む問い合わせ文がユーザインタフェース部110を
介して入力されると、構文解析部130は、当該問い合
わせ文を解析し、問い合わせ処理制御部141におい
て、メタデータ蓄積部150を検索してドメイン、レン
ジ、キーワードを取得して問い合わせ変換部142に渡
す。問い合わせ変換部142は、変換関数を変換関数ラ
イブラリ143から取得して、問い合わせ文を変換し、
データベースアクセス部170よりデータベースを検索
する(ステップ40)(ステップ30とステップ40の
処理を検索フェーズと呼ぶものとする)。
In this state, when the user inputs a keyword inquiry for acquiring a keyword from the application program 300, the keyword inquiry unit 120 via the user interface unit 110 of the multiple database semantic hierarchy search device 100 via the communication network 400. Is retrieved, and based on this keyword inquiry, a search is performed to retrieve the keyword from the keyword tree table by searching the metadata storage unit 150 (step 30). Also, when a query sentence including domain, range, and keyword tree information for searching the database from the user is input via the user interface unit 110, the syntax analysis unit 130 analyzes the query sentence and performs query processing control. The unit 141 searches the metadata storage unit 150 to obtain a domain, a range, and a keyword, and passes them to the inquiry conversion unit 142. The query conversion unit 142 acquires the conversion function from the conversion function library 143, converts the query sentence,
The database is searched by the database access unit 170 (step 40) (the processing of steps 30 and 40 is referred to as a search phase).

【0032】[0032]

【実施例】以下、図面と共に本発明の実施例を説明す
る。最初に、検索実行前の処理として、ドメイン、レン
ジ、キーワードツリーの定義などの準備を行う準備フェ
ーズについて説明する。 [準備フェーズ]準備フェーズでは、システム管理者が
メタデータ管理部160を介してドメイン、レンジ、キ
ーワードツリーの定義を行う。図6は、本発明の一実施
例のドメイン管理を説明するための図であり、図7は、
本発明の一実施例のレンジについて説明するための図で
あり、図8は、本発明の一実施例のキーワードツリーを
説明するための図である。
Embodiments of the present invention will be described below with reference to the drawings. First, as a process before executing a search, a preparation phase for preparing a domain, a range, a definition of a keyword tree, and the like will be described. [Preparation Phase] In the preparation phase, the system administrator defines a domain, a range, and a keyword tree via the metadata management unit 160. FIG. 6 is a diagram for explaining domain management according to an embodiment of the present invention, and FIG.
FIG. 8 is a diagram illustrating a range according to an embodiment of the present invention, and FIG. 8 is a diagram illustrating a keyword tree according to an embodiment of the present invention.

【0033】データベースにおける列のデータ値の表現
法であるドメインとして、例えば、図6に示すように、
価格を示す場合のドメインとしては、数字のみ円単位で
表す(15000)の場合、数字+「,」+「円」で表
す(15,000円)の場合、数字+「千円」で表す
(15.0千円)場合などのように種々の表現方法があ
る。このように種々の表現法の中で同じ意味を有するも
のをドメイングループとして定義し、この中からただ一
つのドメインをユーザに見えるドメインとして設定する
ことで、ユーザに対して単一な見方を提供することがで
きる。
As a domain which is a representation method of a data value of a column in a database, for example, as shown in FIG.
As a domain for indicating a price, in the case of expressing only numbers in yen units (15000), in the case of expressing numbers + “,” + “yen” (15,000 yen), expressing them in numbers + “1,000 yen” ( There are various expression methods such as the case of (15.0 thousand yen). In this way, the same meaning among various expressions is defined as a domain group, and only one domain is set as a domain that can be seen by the user, providing a single perspective to the user. can do.

【0034】なお、図6では、ドメイングループとし
て、年月日も挙げ、この中には年/月/日や月.日.年
などを種々のドメインとして示している。また、図6で
は、ユーザは価格には数字+「,」+「円」及び発売日
には年/月/日を使用しており、これらがユーザドメイ
ンとなる。列の取り得る値の範囲であるレンジを設定す
るには、列のドメインを定義し、当該ドメインのドメイ
ングループを定義し、当該ドメイングループのグローバ
ルドメインを定義し、当該グローバルドメインの個々の
値に平易な用語で表現したキーワードを定義し、当該キ
ーワードに意味的な上下関係を定義して木構造データと
したキーワードツリーを定義し、当該キーワードツリー
上において列の取り得る値の範囲を包含する1つ以上の
キーワードを抽出するという手順が必要となる。
In FIG. 6, the date is also listed as a domain group, and in this, year / month / day or month. Day. Year and the like are shown as various domains. Further, in FIG. 6, the user uses a number + “,” + “yen” for the price and year / month / day for the release date, and these are user domains. To set the range, which is the range of possible values for a column, define a domain for the column, define a domain group for that domain, define a global domain for that domain group, and set individual values for that global domain. Define a keyword expressed in plain terms, define a semantic hierarchical relationship to the keyword, define a keyword tree as tree-structured data, and include a range of possible values of a column on the keyword tree. A procedure for extracting one or more keywords is required.

【0035】必要に応じて、2つ以上のキーワードツリ
ーを1つのキーワードツリーに統合することも可能であ
る。また、1つのシステムに0個以上のキーワードツリ
ーを定義可能である。例えば、図7に示すようなデータ
ベースの取扱商品テーブルの商品種別コード列を「商品
種別分類コード」ドメインとし、当該ドメインのドメイ
ングループを「商品種別分類」ドメイングループとし、
当該ドメイングループのグローバルドメインを「商品種
別分類コード」ドメインとし、当該グローバルドメイン
の個々の値に平易な用語で表現したキーワードを定義
し、当該キーワードに意味的な上限関係を定義して木構
造データとしてキーワードツリーを定義した結果が図8
に示すパソコン商品種別キーワードツリーとなる。
[0035] If necessary, two or more keyword trees can be integrated into one keyword tree. Also, zero or more keyword trees can be defined in one system. For example, the product type code column of the product table handled in the database as shown in FIG. 7 is defined as a “product type classification code” domain, and the domain group of the domain is defined as a “product type classification” domain group.
The global domain of the domain group is defined as the "product type classification code" domain, and a keyword expressed in plain terms is defined for each value of the global domain, and a semantic upper limit relationship is defined for the keyword, and the tree structure data is defined. Figure 8 shows the result of defining a keyword tree as
The personal computer product type keyword tree shown in FIG.

【0036】なお、当該キーワードツリーには、木構造
データを構成させるために「商品種別大分類」ドメイン
グループを補完した。図8に示すデータベースの取扱商
品テーブルの商品種別コードの個々の値「11,12,
13,21,22」はそれぞれ「A社パソコン本体、B
社パソコン本体、C社パソコン本体、ディスプレイ、プ
リンタ」であり、これらを包含するように定義した当該
列レンジは、図8に示すように、 パソコン商品種別:パソコン本体; パソコン商品種別:周辺機器/ディスプレイ; パソコン商品種別:周辺機器/プリンタ; の3つである。
The keyword tree is supplemented with a "product type large classification" domain group in order to form tree structure data. Each value of the product type code “11, 12,
"13, 21, 22" are "Company A's personal computer, B
The personal computer main unit, the company C personal computer main unit, the display, and the printer ”, and the column ranges defined so as to include these are as shown in FIG. Display; PC product type: Peripheral device / Printer;

【0037】レンジ設定「パソコン商品種別:パソコ
ン本体」は、「パソコン商品種別:パソコン本体/A社
パソコン、パソコン商品種別:パソコン本体/B社パソ
コン、パソコン商品種別:パソコン本体/C社パソコ
ン」と個別に指定も同様なレンジを示すものとなる。ド
メイン、レンジ、キーワードツリーについては、8つの
設定、即ち、 ローカルドメインの設定 ドメイングループの設定 変換関数の作成 ユーザドメインの設定 キーワードの設定 キーワードツリーの設定 キーワードツリー検索項目の設定 レンジの設定 が必要であり、システム管理者はメタデータ管理部16
0を用いて、ドメイン、レンジ、キーワードなどの情報
の設定を行う。また、これらの情報はメタデータ蓄積部
150に保存される。
The range setting “PC product type: PC body” is “PC product type: PC body / Company A PC, PC product type: PC body / B company PC, PC product type: PC body / C company PC” Individual designations indicate the same range. For domain, range, and keyword tree, eight settings, ie, setting of local domain, setting of domain group, creation of conversion function, setting of user domain, setting of keyword, setting of keyword tree, setting of keyword tree search item, setting of range are required. Yes, the system administrator has the metadata management unit 16
Using 0, information such as a domain, a range, and a keyword is set. These pieces of information are stored in the metadata storage unit 150.

【0038】図9は、本発明の一実施例の準備フェーズ
のフローチャートである。 ステップ101) ローカルドメインの設定:ローカル
データベース220の列に対し、その表現形式を表す概
念である「ドメイン」を設定する。これをローカルドメ
インと呼ぶ。例えば、あるデータベースの列「価格」
(型はchar(16))に対し、これのドメインを
“Price”であると設定する。この“Price”
というドメインの表す意味は、単にchar(16)と
いう型だけではなく、「価格」のより細かい表現の形式
を表す。例えば、このPriceは、 ・円単位である。
FIG. 9 is a flowchart of the preparation phase according to one embodiment of the present invention. Step 101) Setting of a local domain: A "domain" which is a concept representing an expression form is set in a column of the local database 220. This is called a local domain. For example, the column "Price" in a database
(The type is char (16)), and the domain of the domain is set as “Price”. This “Price”
The meaning of the domain is not only a type of char (16), but also a more detailed expression form of “price”. For example, this Price: is in yen.

【0039】・数値とコンマ(,)と末尾が文字「円」
で構成される。 といった表現形式である。列に対するドメインの定義
は、図10に示すように、「列」テーブル151に保持
される。基本的には、この作業はローカルデータベース
の管理者が行う。その時、メタデータ管理部160を用
いて、すでに定義されているドメインを参照する。も
し、自分のデータベースの列のドメインとして使えるド
メインが既に定義されているようなら、それを用い、新
たにドメインを作成しない。
Numerical value, comma (,) and suffix "¥"
It consists of. It is an expression form. The definition of a domain for a column is held in a “column” table 151 as shown in FIG. Basically, this is done by the local database administrator. At that time, the already defined domain is referenced using the metadata management unit 160. If a domain that can be used as a domain for your database column is already defined, use it and do not create a new domain.

【0040】ステップ102) ドメイングループの設
定:表現形式は異なっているが、実際には同じ意味を表
しているドメインのグループをドメイングループと呼
ぶ。このグループに入るドメインは、すべて同じ意味の
異なった表現法である。本発明の装置100では、ユー
ザからは、このドメイングループに含まれるドメインは
全て1つのドメインに統一されて見える。
Step 102) Setting of a domain group: A group of domains that have different expressions but actually have the same meaning is called a domain group. The domains that fall into this group are all different representations of the same meaning. In the device 100 of the present invention, all the domains included in this domain group appear to be unified into one domain from the user.

【0041】ローカルデータベース220の管理者は、
自分が定義したドメインがどのドメイングループに入る
のかを判断し、そのドメイングループに入れる処理をす
る。適当なドメイングループが見つからない場合は、新
しいドメイングループを作成する。もし、既に定義され
ているドメインであれば、どれかのドメイングループを
作成する。もし、既に定義されているドメインであれ
ば、どれかのドメイングループに含まれているので設定
する必要はない。
The administrator of the local database 220
It determines which domain group the domain defined by itself belongs to, and performs processing to put it in that domain group. If no suitable domain group is found, create a new domain group. If the domain is already defined, create any domain group. If the domain is already defined, it does not need to be set because it is included in any domain group.

【0042】図11は、本発明の一実施例のドメインテ
ーブルの例を示す。ドメイングループの中には、1つの
代表して標準的に使われるドメインを設定しておく(こ
の設定は、基本的に本装置100のシステム管理者が行
う)。そのドメインをグローバルドメインと呼ぶ。この
グローバルドメインの例をを図12に示す。 ステップ103) 変換関数の作成:これは、既に変換
関数が定義されている場合は、必要ない。グローバルド
メインとローカルドメインの間の変換関数を一般のプロ
グラミング言語を用いて作成する。作成した関数は、コ
ンパイルし、ダイナミックにリンクできる形式にする。
FIG. 11 shows an example of a domain table according to an embodiment of the present invention. One representative and standard domain is set in the domain group (this setting is basically performed by the system administrator of the apparatus 100). The domain is called a global domain. FIG. 12 shows an example of this global domain. Step 103) Creation of a transformation function: This is not necessary if a transformation function has already been defined. Create a conversion function between the global domain and the local domain using a general programming language. Compile your function into a form that can be dynamically linked.

【0043】メタデータ管理部160を用いて、この変
換関数とドメインの関係を登録する。変換関数とドメイ
ンの対応、変換関数の所在は、変換関数ライブラリ14
3であり、その中の変換関数テーブルに保持される。図
13は、本発明の一実施例の変換関数テーブルの例であ
る。変換関数は、グローバルドメイン→ローカルドメイ
ン、ローカルドメイン→グローバルドメインというよう
に双方向の関数を作る。但し、変換によっては、双方向
に関数を作ることが不可能な場合もある(例:名前の変
換で「山田 太郎」→「山田太郎」という変換=空白の
削除は可能であるが、その逆は一般的には不可能であ
る)。その場合は、片方向のみの関数を作成する。双方
向の関数を作る理由は、直接変換する関数がない場合
に、関数を組み合わせて変換を行うためである。
The relationship between the conversion function and the domain is registered using the metadata management unit 160. The correspondence between the conversion function and the domain and the location of the conversion function can be found in the conversion function library 14
3, which is stored in the conversion function table therein. FIG. 13 is an example of a conversion function table according to an embodiment of the present invention. The conversion function creates a bidirectional function such as global domain → local domain, local domain → global domain. However, depending on the conversion, it may not be possible to create a function in both directions. Is generally not possible). In that case, create a function in only one direction. The reason for creating a bidirectional function is to perform conversion by combining functions when there is no function to directly convert.

【0044】ステップ104) ユーザドメインの設
定:ドメイングループの中から、ユーザに実際に見える
ドメインを(ユーザ毎に)選んでおく。これをユーザド
メインと呼ぶ。ユーザが本装置100に問い合わせを行
う場合、様々なドメインにより実現されている項目があ
っても、すべてこのユーザドメインによる表現に統一さ
れる。また、このユーザドメインを変更することによっ
て、ユーザからのデータの見え方を変更することができ
る。ドメイングループユーザテーブルの例を図14に示
す。
Step 104) Setting of user domain: A domain which is actually visible to the user is selected from the domain group (for each user). This is called a user domain. When the user makes an inquiry to the apparatus 100, even if there are items implemented by various domains, the expressions are all unified to the user domain. Further, by changing the user domain, it is possible to change the appearance of data from the user. FIG. 14 shows an example of the domain group user table.

【0045】ステップ105) キーワードの定義:グ
ローバルドメインの個々の値に平易な用語で表現したキ
ーワードを定義する。キーワードはデータベースに含ま
れるデータの内容を象徴するものであり、また、ユーザ
がデータベースの意味的階層検索を行う場合、選択の対
象となるので、容易に一意に識別可能な用語を設定す
る。この設定は、基本的に本装置100のシステム管理
者が行う。
Step 105) Definition of Keyword: A keyword expressed in simple terms for each value of the global domain is defined. The keywords represent the contents of the data contained in the database, and when the user performs a semantic hierarchical search of the database, the keywords are to be selected. Therefore, terms that can be easily and uniquely identified are set. This setting is basically performed by the system administrator of the apparatus 100.

【0046】ステップ106) キーワードツリーの設
定:キーワードに意味的な上下関係を定義して、木構造
データとしたキーワードツリーを設定する。キーワード
ツリーは、ユーザがデータベースから必要な情報を得る
ためのキーワードを検索する対象となるものであり、デ
ータ管理の観点よりユーザの一般的な概念に従った分類
により、ツリーを構成する必要がある。
Step 106) Setting a keyword tree: A meaningful hierarchical relationship is defined for keywords, and a keyword tree is set as tree structure data. The keyword tree is a target for a user to search for a keyword for obtaining necessary information from a database. From the viewpoint of data management, it is necessary to construct a tree by classification according to a general concept of the user. .

【0047】本装置100のシステム管理者は自分が定
義したキーワードがどのキーワードツリーに入るのかを
判断し、そのキーワードツリーテーブル155に追加処
理する。適合なキーワードツリーが見つからない場合
は、新たらしいキーワードツリーを作成する。必要に応
じて、2つ以上のキーワードを1つのキーワードに統合
することも可能である。また、1つのシステムに0個以
上のキーワードツリーを設定可能である。図15は、本
発明の一実施例のキーワードツリーテーブルの例であ
る。
The system administrator of the apparatus 100 determines which keyword tree contains the keyword defined by the user, and adds the keyword to the keyword tree table 155. If no suitable keyword tree is found, a new keyword tree is created. If necessary, two or more keywords can be integrated into one keyword. Further, zero or more keyword trees can be set in one system. FIG. 15 is an example of a keyword tree table according to an embodiment of the present invention.

【0048】ステップ107) キーワードツリー検索
項目の設定:キーワードツリー毎に、デフォルトで使用
する検索項目を予め設定する。キーワードツリー検索項
目は、ユーザの問い合わせにおいて、検索項目が省略さ
れた場合に限り、当該キーワードツリー検索項目をユー
ザの指定検索項目として使用する。この設定は、基本的
に本装置100のシステム管理者が行う。図16は、本
発明の一実施例のキーワードツリー検索項目テーブルの
例である。
Step 107) Setting of a keyword tree search item: A search item to be used by default is set in advance for each keyword tree. The keyword tree search item is used as the user's designated search item only when the search item is omitted in the user's inquiry. This setting is basically performed by the system administrator of the apparatus 100. FIG. 16 is an example of a keyword tree search item table according to one embodiment of the present invention.

【0049】ステップ108) レンジの設定:各デー
タベースの列の値の取り得る範囲であるレンジの設定
は、キーワードツリー上における取り得る値の範囲を包
含する1つ以上のキーワードを抽出する。ユーザのキー
ワード、検索項目、検索条件からなる問い合わせ文に対
し、問い合わせ先データベースの絞込を行うのに用い
る。
Step 108) Range setting: To set a range, which is a possible range of values in the column of each database, one or more keywords including a range of possible values on the keyword tree are extracted. It is used to narrow down an inquiry destination database for an inquiry sentence including a user keyword, a search item, and a search condition.

【0050】基本的に、レンジの設定は、ローカルデー
タベースの管理者が行う。レンジの設定は、前述の図1
0に示すように、「列」テーブル151で保持される。
次に、検索フェーズについて説明する。図17は、本発
明の一実施例の検索フェーズのフローチャートである。 [検索フェーズ]検索フェーズは、キーワードの問い合
わせを行うキーワード問い合わせフェーズと、キーワー
ド、検索項目、検索条件からなる問い合わせ文によりデ
ータベースへの問い合わせを行うデータベース問い合わ
せフェーズの2段階の処理を実施する。ユーザは一般に
アプリケーションプログラムから本装置100の機能を
ライブラリ等の形で呼出し、使用する。
Basically, the range is set by the administrator of the local database. The setting of the range is as shown in Fig. 1.
As shown at 0, it is held in the “column” table 151.
Next, the search phase will be described. FIG. 17 is a flowchart of the search phase according to one embodiment of the present invention. [Search Phase] The search phase executes a two-step process of a keyword inquiry phase for inquiring about a keyword, and a database inquiry phase for inquiring the database using an inquiry sentence including a keyword, a search item, and a search condition. The user generally calls and uses the functions of the apparatus 100 from an application program in the form of a library or the like.

【0051】最初に、ユーザインタフェース部110で
ユーザの端末装置300からキーワードの問い合わせ、
または、キーワード、検索項目、検索条件からなる問い
合わせ文のいずれかを取得すると、どちらの問い合わせ
であるかを判定し、キーワードの問い合わせである場合
にはステップ201に移行し、問い合わせ文である場合
にはステップ205に移行する。ステップ205以降の
データベース問い合わせフェーズでは、ドメイン、レン
ジ、キーワードツリーの情報を用いて以下のように検索
を行う。ユーザからのキーワード、検索項目、検索条件
からなる問い合わせは、関係データベースの検索言語で
あるSQLにKEYWORD文を追加した言語で作成す
るものとする。
First, the user interface unit 110 inquires a keyword from the user's terminal device 300,
Alternatively, when any of a query sentence including a keyword, a search item, and a search condition is obtained, it is determined which query is to be sent. Moves to step 205. In the database inquiry phase after step 205, a search is performed as follows using the information of the domain, range, and keyword tree. An inquiry from a user including a keyword, a search item, and a search condition is created in a language obtained by adding a KEYWORD statement to SQL, which is a search language of the relational database.

【0052】ステップ201)キーワード問い合わせフ
ェーズまず、キーワードの検索フェーズについて説明す
る。キーワードツリーテーブル155を用いて検索を行
う。ユーザからの問い合わせとしてキーワード検索で
は、「指定キーワードの直上のキーワードの取得」、
「指定キーワードの直下のキーワードの取得」の2種類
のオペレーションを提供する。
Step 201) Keyword inquiry phase First, the keyword search phase will be described. A search is performed using the keyword tree table 155. Inquiries from users by keyword search include "acquisition of keyword directly above specified keyword",
Two types of operations of “acquisition of a keyword immediately below a specified keyword” are provided.

【0053】ステップ202) 指定キーワード直上の
キーワードの取得:本オペレーションをキーワード問い
合わせ部120により受け付け、該キーワードの上位キ
ーワードをメタデータ蓄積部150の「キーワードツリ
ー」テーブル155を検索することによって取得する。 ステップ203) 指定キーワードの直下のキーワード
の取得:本オペレーションをキーワード問い合わせ部1
20により受け付け、指定キーワードを上位キーワード
に持つキーワードをメタデータ蓄積部150の「キーワ
ードツリー」テーブルを検索することによって取得す
る。
Step 202) Acquisition of the keyword immediately above the designated keyword: This operation is received by the keyword inquiry unit 120, and the upper keyword of the keyword is acquired by searching the “keyword tree” table 155 of the metadata storage unit 150. Step 203) Acquisition of keyword immediately below the designated keyword: This operation is performed by keyword inquiry unit 1
20, a keyword having the specified keyword as a higher-level keyword is obtained by searching the “keyword tree” table of the metadata storage unit 150.

【0054】ステップ204) ステップ202及びス
テップ203で取得したキーワードをユーザの端末装置
に返却する。これにより、ユーザは、当該2種類のオペ
レーションを組み合わせることにより、キーワードツリ
ーを上や下に対話的に辿りながら目的のキーワードを得
る。 ステップ205) 列レンジリストの生成:構文解析部
130により問い合わせ文を解析し、問い合わせに含ま
れるキーワードを抽出し、該キーワード配下のドメイン
グループを図15に示すキーワードツリーテーブル15
5を検索することによって知る。当該ドメイングループ
に含まれるドメインを図11に示すドメインテーブル1
55を検索することによって知る。当該ドメインと列と
レンジの組み合わせの集合である列レンジリストを図1
0に示す「列」テーブル151を検索することによって
知る。
Step 204) The keywords acquired in steps 202 and 203 are returned to the user's terminal device. Thus, the user obtains a target keyword by interactively following the keyword tree up or down by combining the two types of operations. Step 205) Generation of a column range list: The query sentence is analyzed by the syntax analysis unit 130, keywords included in the query are extracted, and domain groups under the keywords are identified in the keyword tree table 15 shown in FIG.
Find out by searching for 5. Domain table 1 shown in FIG. 11 shows the domains included in the domain group.
Know by searching 55. FIG. 1 shows a column range list, which is a set of combinations of the domain, column, and range.
It is known by searching the “column” table 151 shown in FIG.

【0055】ステップ206) キーワードを検索条件
に展開:問い合わせ処理制御部141は、列レンジリス
トの各組み合わせに対し、「指定キーワード配下のいず
れかのキーワードをレンジとする列」、「指定キーワー
ドの直上のキーワードからルートまでのいずれかのキー
ワードをレンジとする列」、「レンジが設定されていな
いが、指定キーワード配下のいずれかのキーワードのド
メイングループと一致する列」のいずれかに該当する列
を図15に示すキーワードツリーテーブル155を検索
することによって知る。キーワードを該列のレンジ内か
つ指定キーワードの配下のキーワードのドメイングルー
プであるキーワードに展開し、「OR」条件で接続した
検索条件を生成する。
Step 206) Expand keywords into search conditions: The query processing control unit 141 determines, for each combination in the column range list, "a column having any one of the keywords under the specified keyword as a range" and "directly above the specified keyword." Column that ranges from any keyword from the keyword to the root), or a column that does not have a range but matches the domain group of any keyword under the specified keyword. It is known by searching the keyword tree table 155 shown in FIG. The keywords are expanded into keywords that are domain groups of keywords within the range of the column and under the designated keyword, and a search condition connected by an “OR” condition is generated.

【0056】ステップ207) 検索条件を結合:問い
合わせ処理制御部141は、上記のステップ206で生
成した検索条件とユーザが指定した検索条件を「AN
D」条件で接続し、検索条件を生成する。なお、ユーザ
が検索条件を指定しなかった場合には、本処理は行わな
い。 ステップ208) 検索項目の補完:ユーザが検索項目
を指定しなかった場合、ユーザの指定のキーワードツリ
ーの検索項目を図16に示すキーワードツリー検索項目
テーブルを探索することにより知る。得られた検索項目
をユーザが指定した検索項目として、以降の処理で使用
する。なお、ユーザが検索項目を指定した場合には、本
処理は行わないものとする。
Step 207) Combine search conditions: The query processing control unit 141 compares the search condition generated in the above-described step 206 with the search condition specified by the user by “AN”.
Connection is made under the condition "D", and a search condition is generated. This processing is not performed when the user has not specified the search condition. Step 208) Complementation of search item: When the user has not specified a search item, the search item of the keyword tree specified by the user is known by searching the keyword tree search item table shown in FIG. The obtained search item is used in subsequent processing as a search item specified by the user. This processing is not performed when the user specifies a search item.

【0057】ステップ209) キーワード指定を展開
した問い合わせの生成:上記のステップ208で生成し
た検索条件と、上記ステップ207で生成した検索項目
を結合し、検索項目と検索条件のみから構成される問い
合わせ文を生成する。 ステップ210) 問い合わせデータベース決定:上記
のステップ209で生成された問い合わせに含まれるテ
ーブル・列を含むデータベースを図10に示す「列」テ
ーブル151を検索することによって知る。
Step 209) Generation of a query with keyword expansion: A query sentence composed of only the search item and the search condition by combining the search condition generated in step 208 and the search item generated in step 207 Generate Step 210) Query database determination: The database including the tables and columns included in the query generated in step 209 is known by searching the “column” table 151 shown in FIG.

【0058】ステップ211) 問い合わせに含まれる
列のドメインの検索:上記ステップ209で生成された
問い合わせに含まれる列のドメインを図10に示す
「列」テーブル151を検索することによって知る。 ステップ212) ユーザドメインの検索:問い合わせ
ているユーザとドメインから図11に示す「ドメイング
ループユーザ」テーブル153を検索することにより、
ユーザドメインを検索する。
Step 211) Search for the domain of the column included in the query: The domain of the column included in the query generated in step 209 is known by searching the "column" table 151 shown in FIG. Step 212) Search for user domain: By searching the "domain group user" table 153 shown in FIG.
Search for a user domain.

【0059】ステップ213) 変換関数の探索:次
に、問い合わせ変換部142では、ユーザドメインとス
テップ210で取得したドメイン間の変換関数を図13
に示す変換関数ライブラリ143の変換関数テーブルを
用いて調べる。A→Bと直接適用できる変換関数が見つ
からない場合、A→C、C→Bと組み合わせて変換でき
ないかを探索する。これは、ドメインをノード、ドメイ
ン間の変換関数の存在をエッジにしたグラフ上の探索問
題であり、グラフ理論で検討されているアルゴリズムを
用いて容易に実現することができる。
Step 213) Search for conversion function: Next, the query conversion unit 142 converts the conversion function between the user domain and the domain obtained in step 210 into the search function shown in FIG.
The conversion function table of the conversion function library 143 shown in FIG. If a conversion function that can be directly applied to A → B is not found, a search is made to see if conversion is possible in combination with A → C and C → B. This is a search problem on a graph in which a domain is a node and the existence of a transformation function between domains is an edge, and can be easily realized using an algorithm studied in graph theory.

【0060】ステップ214) 問い合わせの翻訳と実
行:以下のようにして問い合わせ変換部142におい
て、問い合わせに含まれる値をユーザドメインからロー
カルドメインに変換することにより、問い合わせの中に
含まれる値の変換を行い、データが変換されるとデータ
アクセス部170は、検索項目、検索条件などをパラメ
ータにデータベース管理システム200毎のデータベー
ス220にアクセスする。
Step 214) Translation and execution of the query: The query converter 142 converts the value included in the query from the user domain to the local domain in the following manner, thereby converting the value included in the query. Then, when the data is converted, the data access unit 170 accesses the database 220 of each database management system 200 using the search items, search conditions, and the like as parameters.

【0061】検索結果処理部144が、検索された結果
の値をローカルドメインからユーザドメインに変換す
る。複数のデータベースにアクセスを行うが、結果はそ
れぞれのデータベースへの検索結果の和をとることとす
る。次に、上記の動作を具体的な例を用いて説明する。
図18〜図20は、本発明の一実施例のサンプルデータ
ベースの例である。
The search result processing unit 144 converts the value of the searched result from the local domain to the user domain. The user accesses a plurality of databases, and the result is the sum of the search results for each database. Next, the above operation will be described using a specific example.
18 to 20 show examples of a sample database according to one embodiment of the present invention.

【0062】以下の説明において、ドメイン、レンジ、
キーワードツリー等のメタデータについては、図10〜
図16に示す値に基づくものとする。図18に示すデー
タベースAは、以下の形式である。 テーブル「取扱商品」 「取扱商品」の列=(商品種別、商品名、店名、価格) 「商品種別」の表現法=(A社パソコン、B社パソコ
ン、C社パソコン、ディスプレイ、プリンタ) 「商品名」の表現法=(商品の名称を示す任意の文字
列) 「価格」の表現法=(15,000円) 図19に示すデータベースBは以下の形式である。
In the following description, the domain, range,
For metadata such as keyword trees, see Figure 10
It is based on the values shown in FIG. The database A shown in FIG. 18 has the following format. Table "Handling products""Handlingproducts" column = (product type, product name, store name, price) Expression of "product type" = (A company computer, B company computer, C company computer, display, printer) "Product" Expression of “name” = (arbitrary character string indicating name of product) Expression of “price” = (15,000 yen) Database B shown in FIG. 19 has the following format.

【0063】テーブル「取扱商品」 「取扱商品」の列=(商品種別、商品名、店名、価格) 「商品種別」の表現法=(パソコン本体、周辺機器、パ
ーツ) 「商品名」の表現法(商品種別分類と商品の名称を示す
任意の文字列を全角空白文字で接続) 「価格」の表現法=(15.0千円) 図20に示すデータベースCは以下の形式である。
Table “Handling Products” Column of “Handling Products” = (Product Type, Product Name, Store Name, Price) Expression of “Product Type” = (PC, Peripheral Equipment, Parts) Expression of “Product Name” (Any character string indicating the product type classification and the product name is connected using double-byte space characters.) Expression of “price” = (15.0 thousand yen) The database C shown in FIG. 20 has the following format.

【0064】テーブル「取扱商品」 「取扱商品」の列=(商品種別、商品名、店名、価格) 「商品種別」の表現法=(ディスプレイ、プリンタ、デ
ィジタルカメラ) 「商品名」の表現法=(商品の名称を示す任意の文字
列) 「価格」の表現法=(15,000円) これらの3つのデータベースA,B,Cの差異は以下の
通りである。 ・データベースAとデータベースCが「商品種別」の分
類(A社パソコン、B社パソコン、C社パソコン、ディ
スプレイ、プリンタ)がデータベースBの「商品種別」
の分類(パソコン本体、周辺機器、パーツ)に対し、細
かい。
Table “Handling Products” Column of “Handling Products” = (Product Type, Product Name, Store Name, Price) Expression of “Product Type” = (Display, Printer, Digital Camera) Expression of “Product Name” = (Arbitrary character string indicating the name of the product) Expression of “price” = (15,000 yen) The differences between these three databases A, B, and C are as follows. -Database A and Database C are classified as "product type" (Company A's PC, Company B's PC, Company C's PC, display, printer) and are classified as Database B's "Product Type"
Classification (computer body, peripherals, parts) is fine.

【0065】・データベースBの商品名には、商品種別
分類が付加されている。 ・データベースAとデータベースCが「価格」の表現に
「15,000円」の形式を用いているのに対し、デー
タベースBが「価格」の表現に「15.0千円」の形式
を用いている。 まず、準備フェーズとして、上述したようにローカルド
メインの設定、ドメイングループの設定、変換関数の作
成、ユーザドメインの設定、キーワードの設定、キーワ
ードツリーの設定、キーワードツリー検索項目の設定、
レンジの設定がそれぞれ以下のように行われる。
A product type classification is added to the product name in the database B. -While database A and database C use the format of "15,000 yen" for the expression of "price", database B uses the format of "15.0 thousand yen" for the expression of "price" I have. First, as a preparation phase, as described above, a local domain setting, a domain group setting, a conversion function creation, a user domain setting, a keyword setting, a keyword tree setting, a keyword tree search item setting,
The range setting is performed as follows.

【0066】(1) ローカルドメインの設定(ステッ
プ101):データベースA,データベースB、データ
ベースCの管理者は、それぞれ自分のデータベースの列
に対してそのローカルドメインを設定する。データベー
スAの「商品種別」のドメインは商品種別分類の言葉に
よる表現であり、“PCGoodsKindWord ”とする。
(1) Setting of local domain (step 101): The administrators of the databases A, B, and C each set the local domain for their own database column. The domain of “product type” in the database A is an expression in words of the product type classification, and is “PCGoodsKindWord”.

【0067】データベースAの「商品名」のドメイン
は、まさに商品名のみであり、“PCGoodsNameWord ”と
する。データベースAの「価格」のドメインは、『価格
の数字+「,」+「円」』という形式での表現であり、
“PriceYen”とする。データベースBの「商品種別」の
ドメインは商品種別大分類の言葉による表現であり、
“PCGoodsKindClass”とする。
The domain of the “product name” in the database A is just the product name, and is assumed to be “PCGoodsNameWord”. The "price" domain of database A is expressed in the form of "price number +", "+" yen ".
“PriceYen”. The domain of the “product type” in the database B is an expression in words of a large classification of the product type,
“PCGoodsKindClass”.

【0068】データベースBの「商品名」のドメイン
は、商品種別分類と商品名を結合した表現であり“PCGo
odsNameKind&Word”とする。データベースBの「価格」
のドメインは、『価格の数字+「.」+「千円」』とい
う形式での表現であり、“PriceKYen ”とする。データ
ベースCの「商品種別」のドメインは商品種別分類の言
葉による表現であり、“PCGoodsKindWord ”とする。
The domain of the “product name” in the database B is an expression combining the product type classification and the product name,
odsNameKind & Word ”.“ Price ”in database B
Is expressed in the form of “price number +“. ”+“ 1,000 yen ”” and is “PriceKYen”. The domain of the “product type” in the database C is an expression in words of the product type classification, and is “PCGoodsKindWord”.

【0069】データベースCの「商品名」のドメイン
は、まさに商品名のみであり、“PCGoodsNameWord ”と
する。データベースCの「価格」のドメインは、『価格
の数字+「,」+「円」』という形式での表現であり、
“PriceYen”とする。上記以外の列については、特に表
現法を規定する必要がないと考え、ローカルドメインを
設定しない。
The domain of the “product name” in the database C is just the product name, and is assumed to be “PCGoodsNameWord”. The "price" domain in the database C is expressed in the form of "price number +", "+" yen ".
“PriceYen”. For the columns other than the above, we do not need to specify the expression method and do not set the local domain.

【0070】(2) ドメイングループの設定(ステッ
プ102):ここでは、ドメイングループとして、 ・PCGoodsKind (含まれるドメインは、PCGoodsKindWor
d, PCGoodsKindCode, グローバルドメインは、PCGoodsK
indWord)、 ・PCGoodsClass(含まれるドメインは、PCGoodsClassWo
rd,PCGoodsClassCode 、グローバルドメインはPCGoodsC
lassWord) 、 ・PCGoodsName (含まれるドメインは、PCGoodsNameWor
d,PCGoodsNameKind&Word、グローバルドメインは、PCGo
odsNameWord)、 ・Price (含まれるドメインは、PriceYen,PriceKYen、
グローバルドメインはPriceYen) の3つを設定する。
(2) Setting of domain group (step 102): Here, as a domain group, PCGoodsKind (the domain included is PCGoodsKindWor
d, PCGoodsKindCode, Global domain is PCGoodsK
indWord) ・ PCGoodsClass (included domain is PCGoodsClassWo
rd, PCGoodsClassCode, global domain is PCGoodsC
lassWord), PCGoodsName (included domain is PCGoodsNameWor
d, PCGoodsNameKind & Word, Global domain is PCGo
odsNameWord), ・ Price (included domains are PriceYen, PriceKYen,
Set three global domains: PriceYen).

【0071】(3) 変換関数の作成(ステップ10
3):それぞれのドメイングループについて、以下の変
換関数を定義する。 ドメイングループ:PCGoodsKind 変換関数:PCGoodsKindWord2PCGoodsKindCode() 商品種別分類を表す言葉を商品種別分類コードに1対1
変換を行う。 変換関数:PCGoodsKindCode2PCGoodsKindWord() 商品種別分類コードを商品種別分類を表す言葉に1対1
変換を行う。 ドメイングループ:PCGoodsClass 変換関数:PCGoodsClassWord2PCGoodsClassCode() 商品種別大分類を表す言葉を商品種別大分類コードに1
対1変換を行う。 変換関数:PCGoodsClassCode2PCGoodsClassWord() 商品種別大分類コードを商品種別大分類を表す言葉に1
対1変換を行う。 ドメイングループ:PCGoodsName 変換関数:PCGoodsNameWord2PCGoodsNameKind&Word() 商品名に商品分類種別と全角空白文字を付加する。 変換関数:PCGoodsNameKind&Word2PCGoodsNameWord() 指定文字列の先頭から全角空白文字までを削除する。 ドメイングループ:Price 変換関数:PriceYen2PriceKYen() 数値を1000で除算し、「円」を「千円」に置換す
る。 変換関数:PriceKYen2PriceYen() 数値に1000を乗算し、「千円」を「円」に置換す
る。
(3) Creation of a conversion function (step 10)
3): The following conversion function is defined for each domain group. Domain group: PCGoodsKind Conversion function: PCGoodsKindWord2PCGoodsKindCode () One-to-one word indicating product category classification to product category classification code
Perform the conversion. Conversion function: PCGoodsKindCode2PCGoodsKindWord () One-to-one conversion of product classification codes to words that represent product classifications
Perform the conversion. Domain group: PCGoodsClass Conversion function: PCGoodsClassWord2PCGoodsClassCode () The word that represents the product category major classification is 1 for the product category major classification code.
Perform one-to-one conversion. Conversion function: PCGoodsClassCode2PCGoodsClassWord () Converts the product type major classification code to a word that represents the product type major classification.
Perform one-to-one conversion. Domain group: PCGoodsName Conversion function: PCGoodsNameWord2PCGoodsNameKind & Word () Adds product classification type and double-byte space characters to the product name. Conversion function: PCGoodsNameKind & Word2PCGoodsNameWord () Deletes from the beginning of the specified character string to double-byte space characters. Domain group: Price Conversion function: PriceYen2PriceKYen () Divides the numerical value by 1000 and replaces "yen" with "1000 yen". Conversion function: PriceKYen2PriceYen () Multiplies the numerical value by 1000, and replaces “1,000 yen” with “yen”.

【0072】(4) ユーザドメイン設定(ステップ1
04):この例では、ユーザドメインはグローバルドメ
インと等しいとする(図14にあるユーザuser1 が使う
場合である) 。つまり、 (PCGoodKindのユーザドメイン)=PCGoodsKindWord (PCGoodClass のユーザドメイン)=PCGoodsKindWord (PcgoodsName のユーザドメイン)=PCGoodsNameWord (Price のユーザドメイン)=PriceYen とする。
(4) User domain setting (step 1
04): In this example, it is assumed that the user domain is equal to the global domain (this is a case where the user user1 in FIG. 14 uses it). That is, (PCGoodKind user domain) = PCGoodsKindWord (PCGoodClass user domain) = PCGoodsKindWord (PcgoodsName user domain) = PCGoodsNameWord (Price user domain) = PriceYen.

【0073】(5) キーワードの定義(ステップ10
5):この例では、「PCGoodsClassドメイングループ」
と「PCGoodKindドメイングループ」のグローバルドメイ
ン値をそのままキーワードとして使用することとする。
つまり、「PCGoodsClassドメイングループ」は、 ・「パソコン本体」は「パソコン本体」、 ・「周辺機器」は「周辺機器」、 ・「パーツ」は「パーツ」 とする。「PCGoodsKind ドメイングループ」は、 ・「A社パソコン本体」は「A社パソコン本体」、 ・「B社パソコン本体」は「B社パソコン本体」、 ・「C社パソコン本体」は「C社パソコン本体」、 ・「ディスプレイ」は「ディスプレイ」、 ・「プリンタ」は「プリンタ」、 ・「デジタルカメラ」は「デジタルカメラ」、 ・「CPU」は「CPU」、 ・「メモリ」は「メモリ」、 ・「マザーボード」は「マザーボード」、 ・「ビデオカード」は「ビデオカード」 とする。
(5) Definition of Keyword (Step 10)
5): In this example, "PCGoodsClass domain group"
And the global domain value of “PCGoodKind domain group” will be used as keywords.
In other words, "PCGoodsClass Domain Group" is: "PC" is "PC", "Peripheral" is "Peripheral", and "Parts" is "Parts". "PCGoodsKind Domain Group" is: "Company A PC" is "Company A PC", "PC B" is "Company B PC", and "PC C" is "Company C PC"-"Display" is "Display"-"Printer" is "Printer"-"Digital camera" is "Digital camera"-"CPU" is "CPU"-"Memory" is "Memory"- “Motherboard” is “Motherboard”, ・ “Video card” is “Video card”.

【0074】(6) キーワードツリー設定(ステップ
106):上記(5)で定義したキーワードを意味的な
上下関係を定義して木構造データベースとして設定した
パソコン商品種別キーワードツリーの概念が図8であ
る。当該キーワードツリーの情報を管理するためのテー
ブルが図15に示すような「キーワードツリー」テーブ
ル155となる。
(6) Keyword Tree Setting (Step 106): FIG. 8 shows the concept of a personal computer product type keyword tree in which the keywords defined in the above (5) are defined as a tree structure database by defining a meaningful hierarchical relationship. . A table for managing the information of the keyword tree is a “keyword tree” table 155 as shown in FIG.

【0075】(7) キーワードツリー検索項目の設定
(ステップ107):パソコン商品種別キーワードツリ
ーに対するキーワードツリー検索項目として、「商品
名」、「店名」、「価格」の3つを設定する。 (8) レンジの設定(ステップ108):キーワード
ツリーに含まれるドメイングループのドメインをもつ各
列に対し、以下のレンジを設定する。 データベースAの「取扱商品」テーブルの「商品種別」
列: ・パソコン商品種別/パソコン本体 ・パソコン商品種別/周辺機器/ディスプレイ ・パソコン商品種別/周辺機器/プリンタ データベースBの「取扱商品」テーブルの「商品種別」
列: ・パソコン商品種別 データベースCの「取扱商品」テーブルの「商品種別」
列: ・例示のため、レンジを設定しない。
(7) Setting of Keyword Tree Search Items (Step 107): Three “tree name”, “store name”, and “price” are set as keyword tree search items for the personal computer product type keyword tree. (8) Range setting (step 108): The following ranges are set for each column having the domain of the domain group included in the keyword tree. "Product type" in the "Products" table of Database A
Column: ・ PC product type / PC main unit ・ PC product type / peripheral device / display ・ PC product type / peripheral device / printer “Product type” in “Handling product” table of database B
Column: ・ PC product type “Product type” in “Handling product” table of database C
Column: ・ For illustration purposes, no range is set.

【0076】次に、検索フェーズのキーワード問い合わ
せフェーズについて説明する。ユーザは、キーワードツ
リーをルートから、 「ルート」→「パソコン商品種別」→「周辺機器」 と辿り、キーワード「周辺機器」を取得する(ステップ
201〜ステップ204)。
Next, the keyword inquiry phase of the search phase will be described. The user traces the keyword tree from the root in the order of “root” → “PC product type” → “peripheral device” to acquire the keyword “peripheral device” (step 201 to step 204).

【0077】最後に、検索フェーズのデータベース問い
合わせフェーズについて説明する。ユーザの問い合わせ
を次のようにSQLライクな文に変換する。 問い合わせ: SELECT 指定なし WHERE 価格 < 70,000円 KEYWORD “パソコン商品種別/周辺機器” (1) 列レンジリストの生成(ステップ205):キ
ーワード「パソコン商品種別/周辺機器」配下のすべて
のキーワードのドメイングループをキーワードツリーテ
ーブル155から探索する。まず、キーワード「パソコ
ン商品種別/周辺機器」のドメイングループである「PC
GoodsClass」が探索される。次に、キーワード「パソコ
ン商品種別/周辺機器」を上位キーワードにもつ「ディ
スプレイ」、「プリンタ」、「ディジタルカメラ」のド
メイングループである「PCGoodsKind 」が探索される。
その後、「パソコン商品種別/周辺機器/ディスプレ
イ」,「パソコン商品種別/周辺機器/プリンタ」,
「パソコン商品種別/周辺機器・デジタルカメラ」のい
ずれかを上位キーワードにもつキーワードを探索するが
存在しないため、探索を終了する。これにより、キーワ
ード「パソコン商品種別/周辺機器」配下の全てのキー
ワードのドメイングループは、以下であることが分か
る。
Finally, the database inquiry phase of the search phase will be described. The user's inquiry is converted into an SQL-like sentence as follows. Inquiry: SELECT No specification WHERE Price <70,000 yen KEYWORD “PC product type / peripheral device” (1) Generation of column range list (step 205): Domain of all keywords under the keyword “PC product type / peripheral device” The group is searched from the keyword tree table 155. First, "PC product type / peripheral device" domain group "PC
GoodsClass ”is searched. Next, "PCGoodsKind" which is a domain group of "display", "printer", and "digital camera" having the keyword "personal computer product type / peripheral device" as a higher keyword is searched.
After that, "PC product type / peripheral device / display", "PC product type / peripheral device / printer",
A search is performed for a keyword having any one of “PC product type / peripheral device / digital camera” as a higher keyword, but the search is terminated because there is no keyword. Thus, it is understood that the domain groups of all keywords under the keyword “PC product type / peripheral device” are as follows.

【0078】・PCGoodsClass ・PCGoodKind 次に、「PCGoodsClass」または「PCGoodsKind 」をドメ
イングループにもつドメインをドメインテーブル152
から探索する。その結果、以下を探索する。 ・PCGoodsKindWord ・PCGoodsKindCode ・PCGoodsClassWord ・PCGoodsClassCode それから、「PCGoodsKindWord 」、「PCGoodsKindCode
」、「PCGoodsClassWord」または、「PCGoodsClassCod
e」をドメインにもつ列とレンジのリストを列テーブル
151から探索する。その結果、以下の列レンジリスト
を得る。
PCGoodsClass PCGoodKind Next, domains having “PCGoodsClass” or “PCGoodsKind” in the domain group are stored in the domain table 152.
Search from. As a result, the following is searched.・ PCGoodsKindWord ・ PCGoodsKindCode ・ PCGoodsClassWord ・ PCGoodsClassCode And “PCGoodsKindWord”, “PCGoodsKindCode”
"," PCGoodsClassWord "or" PCGoodsClassCod
A column and range list having a domain “e” is searched from the column table 151. As a result, the following column range list is obtained.

【0079】 (列レンジ1)列名:商品種別、テーブル名:取扱商品、データベース名:デ ータベースA レンジ:・パソコン商品種別/パソコン本体 ・パソコン商品種別/周辺機器/ディスプレイ ・パソコン商品種別/周辺機器/プリンタ (列レンジ2)列名:商品種別、テーブル名:取扱商品、データベース名:デ ータベースB レンジ:パソコン商品種別 (列レンジ3)列名:商品種別、テーブル名:取扱商品、データベース名:デ ータベースC レンジ:設定なし (2) キーワードを検索条件に展開(ステップ20
6):(1)で生成した列レンジリストの各組み合わせ
に対し、「指定キーワード配下のいずれかのキーワード
をレンジとする列」、「指定キーワードの直上のキーワ
ードからルートまでのいずれかのキーワードをレンジと
する列」、「レンジが設定されていないが指定キーワー
ド配下のいずれかのキーワードのドメイングループと一
致する列」のいずれかに該当し、列のドメイングループ
が指定キーワード配下のいずれかのキーワードと一致す
る場合、各列毎に指定キーワードを指定キーワード配下
で各列のレンジ内のドメインの値に展開し、「OR」条
件で接続した検索条件を生成する。
(Column Range 1) Column Name: Product Type, Table Name: Product, Database Name: Database A Range: PC Product Type / PC Body PC Product Type / Peripheral Equipment / Display PC Product Type / Peripheral Device / Printer (Column Range 2) Column Name: Product Type, Table Name: Product, Database Name: Database B Range: PC Product Type (Column Range 3) Column Name: Product Type, Table Name: Product, Database Name : Database C range: No setting (2) Expand keywords into search conditions (Step 20)
6): For each combination of the column range list generated in (1), “a column having any keyword under the specified keyword as a range” and “a keyword from the keyword immediately above the specified keyword to the root” Column that is a range ”or“ a column that has no range but matches the domain group of one of the keywords under the specified keyword ”, and the domain group of the column is one of the keywords under the specified keyword If it matches, the specified keyword is expanded for each column under the specified keyword into domain values within the range of each column, and a search condition connected by an "OR" condition is generated.

【0080】(列レンジ1) レンジ「パソコン商品種
別/周辺機器/ディスプレイ」と「パソコン商品種別/
周辺機器/プリンタ」がキーワード「パソコン商品種別
/周辺機器」を含むことから、本列レンジは、「指定キ
ーワード配下のいずれかのキーワードをレンジとする
列」と判断する。また、列のドメイン「PCGoodsKindWor
d 」を列テーブルから探索し、当該ドメイン「PCGoodsK
indWord 」のドメイングループ「PCGoodsKind 」をドメ
インテーブル152から探索する。ドメイングループ
「PCGoodsKind 」は上記(1)で求めたキーワード配下
のドメイングループ「PCGoodsKind 」と一致する。この
ため、指定キーワード「パソコン商品種別/周辺機器」
配下でレンジ「パソコン商品種別/周辺機器/ディスプ
レイ」と「パソコン商品種別/周辺機器/プリンタ」
内、つまり、「パソコン商品種別/周辺機器/ディスプ
レイ」と「パソコン商品種別/周辺機器/プリンタ」内
のドメイングループ「PCGoodsKind 」の値「ディスプレ
イ」と「プリンタ」に展開する。その結果、以下のよう
に、なる。
(Column range 1) The ranges "PC product type / peripheral device / display" and "PC product type /
Since the “peripheral device / printer” includes the keyword “personal computer product type / peripheral device”, this column range is determined to be “a column having any keyword under the specified keyword as a range”. Also, the column domain "PCGoodsKindWor
d) from the column table and find the domain "PCGoodsK
The domain group “PCGoodsKind” of “indWord” is searched from the domain table 152. The domain group “PCGoodsKind” matches the domain group “PCGoodsKind” under the keyword obtained in the above (1). Therefore, the specified keyword "PC product type / peripheral device"
Under the range, "PC product type / peripheral device / display" and "PC product type / peripheral device / printer"
In other words, the values are expanded to the values “display” and “printer” of the domain group “PCGoodsKind” in “PC product type / peripheral device / display” and “PC product type / peripheral device / printer”. The result is as follows.

【0081】(商品種別=“ディスプレイ” OR 商
品種別=“プリンタ”) (列レンジ2) キーワード「パソコン商品種別/周辺
機器」がレンジ「パソコン商品種別」を含むことから、
本列レンジは、「指定キーワードの直上のキーワードか
らルートまでのいずれかのキーワードをレンジとする
列」と判断する。また、列のドメイン「PCGoodsClassWo
rd」を列テーブルから探索し、当該ドメイン「PCGoodsC
lassWord」のドメイングループ「PCGoodsClass」をドメ
インテーブルから探索する。ドメイングループ「PCGood
sClass」は上記(1)で求めたキーワード配下のドメイ
ングループ「PCGoodsClass」と一致する。このため、指
定キーワード「パソコン商品種別/周辺機器」配下でレ
ンジ「パソコン商品種別」内、つまり、「パソコン商品
種別/周辺機器」内のドメイングループ「PCGoodsClas
s」の値「周辺機器」に展開する。
(Product Type = “Display” OR Product Type = “Printer”) (Column Range 2) Since the keyword “PC product type / peripheral device” includes the range “PC product type”,
This column range is determined as "a column in which any keyword from the keyword immediately above the designated keyword to the root is set as a range". Also, the column domain "PCGoodsClassWo"
rd ”from the column table and find the domain“ PCGoodsC
Search "lassWord" domain group "PCGoodsClass" from the domain table. Domain group "PCGood
“sClass” matches the domain group “PCGoodsClass” under the keyword obtained in (1) above. Therefore, the domain group “PCGoodsClas” in the range “PC product type” under the specified keyword “PC product type / peripheral device”, that is, “PC product type / peripheral device”
s "to" peripheral equipment ".

【0082】その結果、以下の通りとなる。 (商品種別=“周辺機器”) (列レンジ3) 本列レンジは、レンジを持たないの
で、列のドメイングループを探索する。つまり、列のド
メイン「PCGoodsKindWord 」を列テーブル151から探
索し、当該ドメイン「PCGoodsKindWord 」のドメイング
ループ「PCGoodsKind 」をドメインテーブル152から
探索する。ドメイングループ「PCGoodsKind 」は、上記
(1)で求めたキーワード配下のドメイングループ(PC
GoodsKind,PCGoodsClass)に含まれることから、本列レ
ンジは、「レンジが設定されていないが指定キーワード
配下のいずれかのキーワードのドメイングループと一致
する列」と判断する。このため、指定キーワード「パソ
コン商品種別/周辺機器」配下でドメイングループ「PC
GoodsClass」の値「ディスプレイ」、「プリンタ」及び
「ディタルカメラ」に展開する。その結果、以下とな
る。 (商品種別=“ディスプレイ” OR 商品種別=“プ
リンタ” OR 商品種別=“デジタルカメラ”) (3) 検索条件を結合(ステップ207):各データ
ベース毎に上記(2)で生成した検索条件とユーザが指
定した検索条件を統合した結果は、次のようになる。
As a result, the following is obtained. (Product type = "peripheral device") (Column range 3) Since this column range has no range, a domain group in the column is searched. That is, the domain “PCGoodsKindWord” of the column is searched from the column table 151, and the domain group “PCGoodsKind” of the domain “PCGoodsKindWord” is searched from the domain table 152. The domain group “PCGoodsKind” is a domain group (PC) under the keyword determined in (1) above.
GoodsKind, PCGoodsClass), it is determined that this column range is “a column that has no range but matches the domain group of any keyword under the specified keyword”. Therefore, the domain group “PC” under the specified keyword “PC product type / peripheral device”
Expands the value of "GoodsClass" to "display", "printer" and "digital camera". The result is: (Product type = “Display” OR Product type = “Printer” OR Product type = “Digital camera”) (3) Combining search conditions (Step 207): For each database, the search conditions generated in (2) above and the user The result of integrating the search conditions specified by is as follows.

【0083】(列レンジ1)列名:商品種別、テーブル
名:取扱商品,データベース名:データベースA (商品種別=“ディスプレイ” OR “商品種別=
“プリンタ”) AND価格 < 70,000円 (列レンジ2)列名:商品種別、テーブル名:取扱商
品、データベース名:データベースB (商品種別=“周辺機器”) AND 価格 <70,
000円 (列レンジ3)列名:商品種別、テーブル名:取扱商
品、データベース名:データベースC (商品種別=“ディスプレイ” OR 商品種別=“プ
リンタ” OR 商品種別=“デジタルカメラ”) A
ND 価格 < 70,000円 (4) 検索項目の補完(ステップ208):ユーザが
検索項目を指定しなかったため、キーワードツリー名
「パソコン商品種別」である検索項目をキーワードツリ
ー検索項目テーブルから探索する。その結果は、以下の
通りである。
(Column range 1) Column name: product type, table name: handled product, database name: database A (product type = “display” OR “product type =
“Printer”) AND price <70,000 yen (column range 2) Column name: product type, table name: product, database name: database B (product type = “peripheral device”) AND price <70,
000 yen (column range 3) column name: product type, table name: product, database name: database C (product type = “display” OR product type = “printer” OR product type = “digital camera”) A
ND price <70,000 yen (4) Completion of search item (step 208): Since the user did not specify a search item, search for a search item with the keyword tree name "PC product type" from the keyword tree search item table. . The results are as follows.

【0084】「商品名、店名、価格」 (5) キーワード指定を展開した問い合わせの生成
(ステップ209):各データベース毎に上記(3)で
生成した検索条件と上記(4)で生成した検索項目を統
合した結果は、次の問い合わせになる。 (列レンジ1)列名:商品種別、テーブル名:取扱商
品、データベース名:データベースA SELECT 商品名、店名、価格 WHERE (商品名=“ディスプレイ” OR 商品
種別=“プリンタ”)AND 価格 < 70,000
円 (列レンジ2)列名:商品種別、テーブル名:取扱商
品、データベース名:データベースB SELECT 商品名、店名、価格 WHERE (商品種別=“周辺機器”) AND 価格 <70,000円 (列レンジ3)列名:商品種別、テーブル名:取扱商
品、 データベース名:データベースC SELECT 商品名、店名、価格 WHERE (商品種別=“ディスプレイ” OR 商
品種別=“プリンタ” OR 商品種別=“デジタルカメラ”) AND 価格 < 70,000円 (6) 問い合わせデータベースの決定(ステップ21
0):「列」テーブルを検索して、商品名、店名、価格
という列を含むテーブルを列テーブルから探索し、以下
の組み合わせを発見する。
“Product Name, Store Name, Price” (5) Generation of Inquiry Expanding Keyword Specification (Step 209): Search Condition Generated in (3) and Search Item Generated in (4) for Each Database Will result in the following query: (Column range 1) column name: product type, table name: product name, database name: database A SELECT product name, store name, price WHERE (product name = “display” OR product type = “printer”) AND price <70, 000
Yen (column range 2) Column name: product type, table name: product, database name: database B SELECT Product name, store name, price WHERE (product type = "peripheral device") AND price <70,000 yen (column range 3) Column name: product type, table name: product, database name: database C SELECT Product name, store name, price WHERE (product type = “display” OR product type = “printer” OR product type = “digital camera”) AND price <70,000 yen (6) Determination of inquiry database (step 21)
0): The "column" table is searched, and a table including columns of product name, store name, and price is searched from the column table, and the following combinations are found.

【0085】 データベースA:テーブル名:取扱商品 データベースB:テーブル名:取扱商品 データベースC:テーブル名:取扱商品(7) 問い合
わせに含まれる列のドメインの検索(ステップ21
1): (8)ユーザドメインの検索(ステップ212):それ
ぞれのドメインが含まれるグループのユーザドメインの
検索。 (9) 変換関数の探索(ステップ213):当該処理
は、「条件式に含まれる値」について、「ユーザドメイ
ン→ローカルドメインへの変換関数」を探す。
Database A: Table name: Product line-up Database B: Table name: Product line-up Database C: Table name: Product line-up (7) Search for domain of column included in query (step 21)
1): (8) Search for user domains (step 212): Search for user domains of groups that include each domain. (9) Search for a conversion function (step 213): The process searches for a “user domain → local domain conversion function” for “value included in conditional expression”.

【0086】 データベースB:価格→PriceYen2PricekYen() (10) 値の変換(ステップ214):変換関数を実
行し、値の変換を行った結果を以下に示す。 データベースB:PriceYen2PriceKYen(70,000
円)の結果は、70.0千円となる。
Database B: Price → PriceYen2PricekYen () (10) Value conversion (step 214): The result of executing the conversion function and converting the value is shown below. Database B: PriceYen2PriceKYen (70,000
The result of (yen) is 70.0 thousand yen.

【0087】(11) 問い合わせの翻訳(ステップ2
14):問い合わせの翻訳を行う。 データベースA:SELECT 商品名,価格 FROM 取扱商品 WHERE (商品種別=“ディスプレイ” OR 商品種 別=“プリンタ) AND 価格 < 70,000円 データベースB:SELECT 商品名、価格 FROM 取扱商品 WHERE (商品種別=“周辺機器”) AND 価格 < 70.0千円 データベースC:SELECT 商品名、価格 FROM 取扱商品 WHERE (商品種別=“ディスプレイ” OR 商品種 別=“プリンタ”OR 商品種別=“デジタルカメラ”) AND 価格 < 70,000円 (12) 各データベースへの問い合わせの実行(ステ
ップ214):各データベースA,B,Cに問い合わせ
を実行する。
(11) Translation of Inquiry (Step 2)
14): Translate the inquiry. Database A: SELECT Product Name, Price FROM Product WHERE (Product Type = “Display” OR Product Type = “Printer” AND Price <70,000 Database B: SELECT Product Name, Price FROM Product WHERE (Product Type = "Peripheral equipment") AND Price <70.0 thousand yen Database C: SELECT Product name, price FROM Handling product WHERE (Product type = "Display" OR Product type = "Printer" OR Product type = "Digital camera") AND Price <70,000 yen (12) Executing an inquiry to each database (step 214): Execute an inquiry to each database A, B, C.

【0088】・データベースA: 商品名:DSP−
1,店名:ショップA,価格:50,000円 ・データベースB: 商品名:デジタルカメラ、DC−
1,店名:ショップE、価格56.0千円 ・データベースC: 商品名:DSP−1,店名:ショ
ップF,価格:49,8000円 ・データベースC: 商品名:DC−1,店名:ショッ
プF,価格56,800円 (13) 検索結果の変換(ステップ214): データベースB:価格は、ユーザドメインとローカルド
メインが異なっているので、値を変換する。
Database A: Product name: DSP-
1, Store name: Shop A, Price: 50,000 yen ・ Database B: Product name: Digital camera, DC-
1, Store name: Shop E, price 56.0 thousand yen ・ Database C: Product name: DSP-1, Store name: Shop F, Price: 49,8000 yen ・ Database C: Product name: DC-1, Store name: Shop F , Price 56,800 yen (13) Conversion of search result (step 214): Database B: The price is converted since the user domain and the local domain are different.

【0089】・データベースB:商品名PCGoodsNameKin
d&Word2PCGoodsNameWork(デジタルカメラ DC−1)
の結果は、「DC−1」となる。価格PriceKYen2PriceY
en(56.0 千円) の結果は、「56,000円」となる。 (14) 検索結果の和の生成(ステップ214):検
索結果の和をとる。最終的な検索結果は、 商品名:DSP−1、店名:ショップA,価格:50,000
円 商品名:DC−1、店名:ショップE,価格:56,000円 商品名:DSP−1、店名:ショップF,価格:49,800
円 商品名:DC−1、店名:ショップF,価格:56,800円 また、上記の実施例に限定されることなく、図3に示す
検索装置をプログラムとして構築し、当該検索装置とし
て動作するコンピュータに接続されるディスク装置や、
フロッピーディスク、CD−ROM等の可搬記憶媒体に
格納しておき、本発明を実施する際にインストールする
ことにより容易に本発明を実現できる。
Database B: Product name PCGoodsNameKin
d & Word2PCGoodsNameWork (Digital camera DC-1)
Is "DC-1". Price PriceKYen2PriceY
The result of en (56.0 thousand yen) is “56,000 yen”. (14) Generation of sum of search results (step 214): Sum of search results. The final search result is: Product name: DSP-1, Store name: Shop A, Price: 50,000
Yen Product name: DC-1, Store name: Shop E, Price: 56,000 yen Product name: DSP-1, Store name: Shop F, Price: 49,800
Yen Product name: DC-1, Store name: Shop F, Price: 56,800 yen Also, without being limited to the above embodiment, a search device shown in FIG. Connected disk devices,
The present invention can be easily realized by storing it in a portable storage medium such as a floppy disk, a CD-ROM, or the like, and installing it when implementing the present invention.

【0090】なお、本発明は、上記の実施例に限定され
ることなく、特許請求の範囲内で種々変更・応用が可能
である。
The present invention is not limited to the above embodiments, but can be variously modified and applied within the scope of the claims.

【0091】[0091]

【発明の効果】上述のように、本発明によれば、ネット
ワークに複数のデータベースが接続された環境におい
て、各データベースのデータ構造、所在、データの表現
形式、データの値の範囲、データの分類レベルなどが異
なっていても、その違いを解消してデータ値に対するキ
ーワードの木構造データを容易に定義し、ルートから辿
るように階層的にキーワードを検索し、当該キーワード
問い合わせに対し、関連するデータをデータベースから
自由に検索することができる。
As described above, according to the present invention, in an environment in which a plurality of databases are connected to a network, the data structure, location, data expression format, data value range, and data classification of each database are provided. Even if the levels are different, it is easy to define the tree structure data of the keyword for the data value by resolving the difference, search the keyword hierarchically so as to follow from the root, and retrieve the relevant data in response to the keyword inquiry. Can be freely searched from the database.

【0092】また、グローバルスキーマの定義を必要と
せず、データ分類の違いを解消することができる。ま
た、既存マルチデータベースと階層検索技術において
は、すべてのデータベースのデータ構造、所在、データ
の表現形式、データの値の範囲、データの分類レベルを
知らなければ、それらの違いを解消できないのに対し
て、本発明では、ローカルデータベースの管理者が自分
のもっているデータベースのデータ構造、所在、データ
の表現形式、データの値の範囲、データの分類レベル
と、標準的な表現形式であるグローバルドメインと、キ
ーワードツリーのみを意識すればよく、他のデータベー
スのデータ構造、所在、データの表現形式、データの値
の範囲、データの分類レベルを意識する必要がない。
Further, it is not necessary to define a global schema, and it is possible to eliminate a difference in data classification. In addition, in the existing multi-database and hierarchical search technology, differences cannot be eliminated without knowing the data structure, location, data representation format, data value range, and data classification level of all databases. Thus, in the present invention, the local database administrator has a database data structure, location, data representation format, data value range, data classification level, and global domain which is a standard representation format. It is only necessary to be aware of the keyword tree, and it is not necessary to be aware of the data structure, location, data expression format, data value range, and data classification level of other databases.

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

【図1】本発明の原理を説明するための図である。FIG. 1 is a diagram for explaining the principle of the present invention.

【図2】本発明の原理構成図である。FIG. 2 is a principle configuration diagram of the present invention.

【図3】本発明の複数データベース意味的階層検索装置
の構成図である。
FIG. 3 is a configuration diagram of a multiple database semantic hierarchical search device of the present invention.

【図4】本発明のメタデータ蓄積部のテーブルの構成を
示す図である。
FIG. 4 is a diagram illustrating a configuration of a table of a metadata storage unit according to the present invention.

【図5】本発明の動作の概要を示すフローチャートであ
る。
FIG. 5 is a flowchart showing an outline of the operation of the present invention.

【図6】本発明の一実施例のドメイン管理を説明するた
めの図である。
FIG. 6 is a diagram illustrating domain management according to an embodiment of the present invention.

【図7】本発明の一実施例のレンジについて説明するた
めの図である。
FIG. 7 is a diagram for explaining a range according to an embodiment of the present invention.

【図8】本発明の一実施例のキーワードツリーを説明す
るための図である。
FIG. 8 is a diagram illustrating a keyword tree according to an embodiment of the present invention.

【図9】本発明の一実施例の準備フェーズのフローチャ
ートである。
FIG. 9 is a flowchart of a preparation phase according to an embodiment of the present invention.

【図10】本発明の一実施例の列テーブルの例である。FIG. 10 is an example of a column table according to an embodiment of the present invention.

【図11】本発明の一実施例のドメインテーブルの例で
ある。
FIG. 11 is an example of a domain table according to an embodiment of the present invention.

【図12】本発明の一実施例のドメイングループのテー
ブルの例である。
FIG. 12 is an example of a domain group table according to an embodiment of the present invention.

【図13】本発明の一実施例の変換関数テーブルの例で
ある。
FIG. 13 is an example of a conversion function table according to an embodiment of the present invention.

【図14】本発明の一実施例のドメイングループユーザ
テーブルの例である。
FIG. 14 is an example of a domain group user table according to an embodiment of the present invention.

【図15】本発明の一実施例のキーワードツリーテーブ
ルの例である。
FIG. 15 is an example of a keyword tree table according to an embodiment of the present invention.

【図16】本発明の一実施例のキーワードツリー検索項
目テーブルの例である。
FIG. 16 is an example of a keyword tree search item table according to an embodiment of the present invention.

【図17】本発明の一実施例の検索フェーズのフローチ
ャートである。
FIG. 17 is a flowchart of a search phase according to an embodiment of the present invention.

【図18】本発明の一実施例のサンプルデータベースA
の例である。
FIG. 18 shows a sample database A according to an embodiment of the present invention.
This is an example.

【図19】本発明の一実施例のサンプルデータベースB
の例である。
FIG. 19 is a sample database B according to one embodiment of the present invention.
This is an example.

【図20】本発明の一実施例のサンプルデータベースC
の例である。
FIG. 20 is a sample database C according to one embodiment of the present invention.
This is an example.

【符号の説明】[Explanation of symbols]

10 記憶手段 11 列テーブル 12 ローカルドメインテーブル 13 ドメイングループテーブル 14 変換関数テーブル 15 キーワードツリーテーブル 16 キーワードツリー検索項目テーブル 20 データベース検索手段 21 列レンジリスト生成手段 22 キーワード展開手段 23 検索条件結合手段 24 検索項目探索手段 25 問い合わせ文生成手段 26 ドメイン探索手段 27 変換関数探索手段 28 検索手段 30 キーワード検索手段 40 データベース 100 複数データベース意味的階層検索装置 110 ユーザインタフェース部 120 キーワード問い合わせ部 130 構文解析部 140 問い合わせ処理部 141 問い合わせ処理制御部 142 問い合わせ変換部 143 変換関数ライブラリ 144 検索結果処理部 150 メタデータ蓄積部 151 列テーブル 152 ドメインテーブル 153 ドメイングループテーブル 155 キーワードツリーテーブル 156 キーワードツリー検索項目テーブル 160 メタデータ管理部 170 データベースアクセス部 200 データベースシステム 210 データベース管理部 220 データベース 300 端末装置 400 通信網 DESCRIPTION OF SYMBOLS 10 Storage means 11 Column table 12 Local domain table 13 Domain group table 14 Conversion function table 15 Keyword tree table 16 Keyword tree search item table 20 Database search means 21 Column range list generation means 22 Keyword expansion means 23 Search condition combination means 24 Search items Search means 25 query sentence generation means 26 domain search means 27 conversion function search means 28 search means 30 keyword search means 40 database 100 multiple database semantic hierarchy search apparatus 110 user interface section 120 keyword query section 130 syntax analysis section 140 query processing section 141 Query processing control unit 142 Query conversion unit 143 Conversion function library 144 Search result processing unit 150 Metadata Data storage unit 151 Column table 152 Domain table 153 Domain group table 155 Keyword tree table 156 Keyword tree search item table 160 Metadata management unit 170 Database access unit 200 Database system 210 Database management unit 220 Database 300 Terminal device 400 Communication network

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークに複数のデータベースが接
続された環境において、各データベースのデータ構造、
所在、データの表現形式、データの値の範囲、データの
分類レベルなどが異なっていてもその違いを解消してデ
ータ値に対するキーワードの木構造データを定義し、ル
ートから辿るように階層的にキーワードを検索し、キー
ワードの問い合わせに対し、関連するデータをデータベ
ースから検索する複数データベース意味的階層検索方法
において、 各データベースの列の名称とその値の範囲であるレンジ
を、列テーブルに設定し、 検索を実行する前に、各データベースの列の値の表現形
式であるドメインをローカルドメインとしてローカルド
メインテーブルに設定し、 同じ意味を有する各ドメインをドメイングループとして
設定し、各ドメイングループ内において代表して標準的
に使用されるグローバルドメインをドメイングループテ
ーブルに設定し、 前記ドメイン間の変換を行う変換関数を変換関数テーブ
ルに設定し、 前記グローバルドメインの個々の値に平易な用語で表現
したキーワードを定義し、該キーワード間に意味的な上
下関係を定義して木構造データとして構成されるキーワ
ードツリーをキーワードツリーテーブルに設定し、 前記キーワードツリー毎に、ユーザの問い合わせで検索
項目が省略された場合に使用される検索項目であるキー
ワードツリー検索項目をキーワードツリー検索項目テー
ブルに設定するテーブル設定過程と、 ユーザが、前記キーワードツリーをルートから1段ずつ
上や下に順に辿ることにより目的のキーワードを検索す
るキーワード検索過程と、 前記ユーザから取得したキーワード、検索項目、検索条
件からなる問い合わせ文を取得して、前記テーブル設定
過程において設定されたテーブルを探索して、取得した
情報に基づいて該問い合わせ文を変換し、前記データベ
ースを検索するデータベース検索過程からなることを特
徴とする複数データベース意味的階層検索方法。
In an environment in which a plurality of databases are connected to a network, a data structure of each database,
Even if the location, data expression format, data value range, data classification level, etc. are different, resolve the differences to define the tree structure data of the keyword for the data value, and hierarchically define the keyword so that it can be traced from the root In a multi-database semantic hierarchical search method that searches the database for related data in response to keyword inquiries, the name of each database column and the range of its value are set in the column table, and the search is performed. Before executing, set the domain that is the expression format of the column value of each database as a local domain in the local domain table, set each domain having the same meaning as a domain group, and represent each domain group as a representative. Global group domain table used as standard Setting, setting a conversion function for performing the conversion between the domains in a conversion function table, defining keywords expressed in plain terms in individual values of the global domain, and defining a semantic hierarchical relationship between the keywords. A keyword tree configured as tree-structured data is set in a keyword tree table. For each of the keyword trees, a keyword tree search item, which is a search item used when a search item is omitted by a user inquiry, is defined as a keyword. A table setting step of setting a tree search item table; a keyword search step of a user searching for a target keyword by sequentially traversing the keyword tree one step up or down from the root; a keyword obtained from the user; Obtain a query sentence consisting of search items and search conditions, and A method for retrieving a semantic hierarchy of a plurality of databases, comprising searching a table set in a table setting process, converting the query sentence based on the acquired information, and searching the database.
【請求項2】 前記データベース検索過程において、 ユーザのキーワード、検索項目、検索条件からなる問い
合わせ文の該キーワードに対し、前記キーワードツリー
の指定キーワード配下のすべてのキーワードのドメイン
グループを前記キーワードツリーテーブルから探索し、 該ドメイングループに含まれるドメインを前記ローカル
ドメインテーブルから探索し、 前記ドメインである列とレンジの組み合わせの集合であ
る列レンジリストを前記列テーブルから探索して生成
し、 生成された前記列レンジリストの各組み合わせに対し、
所定の条件を満たすと共に、列のドメイングループが指
定キーワード配下のいずれかのキーワードのドメイング
ループと一致する場合、各列毎に指定キーワードを該指
定キーワード配下かつ各列のレンジ内のドメインの値に
展開し、「OR」条件で接続した第1の検索条件を生成
し、 生成した前記第1の検索条件とユーザが指定した検索条
件を「AND」条件で接続し、第2の検索条件を生成
し、 ユーザが検索項目を指定しなかった場合には、指定キー
ワードのキーワードツリー検索項目を前記キーワードツ
リー検索項目テーブルから探索し、 探索された前記検索項目または、ユーザが問い合わせ文
で指定した検索項目と、生成された前記第2の検索条件
とを結合し、データベースを検索するための問い合わせ
文を生成し、 前記データベースを検索するための問い合わせ文の検索
項目と検索条件の検索データが格納されているデータベ
ース及び該検索データに対応するローカルドメインを前
記ローカルドメインテーブルから探索すると共に、グロ
ーバルドメインを該ローカルドメインが含まれるドメイ
ングループに基づいて前記ドメイングループテーブルか
ら探索し、 探索された前記グローバルドメインと前記ローカルドメ
インとが異なる場合、該ローカルドメインをグローバル
ドメインに変換する変換関数を前記変換関数テーブルか
ら取得し、 前記変換関数を用いて、検索項目、検索条件を各データ
ベースに適合した問い合わせ文に翻訳し、 翻訳された前記問い合わせ文により前記各データベース
を検索する請求項1記載の複数データベース意味的階層
検索方法。
2. In the database search process, a domain group of all keywords under a specified keyword in the keyword tree is retrieved from the keyword tree table for the keyword of a query sentence including a user's keyword, a search item, and a search condition. Searching, searching the local domain table for domains included in the domain group, searching and generating from the column table a column range list that is a set of combinations of columns and ranges that are the domains. For each combination in the column range list,
When the predetermined condition is satisfied and the domain group of the column matches the domain group of any keyword under the designated keyword, the designated keyword is changed to the value of the domain under the designated keyword and within the range of each column for each column. Expand, generate a first search condition connected by an "OR" condition, connect the generated first search condition and a search condition specified by a user by an "AND" condition, and generate a second search condition If the user does not specify a search item, a keyword tree search item of the specified keyword is searched from the keyword tree search item table, and the searched search item or a search item specified by the user in a query sentence And the generated second search condition to generate a query sentence for searching a database, A database storing search data of a query sentence and search data of a search condition for searching for a query, and a local domain corresponding to the search data are searched from the local domain table, and a global domain is included in the local domain. Searching from the domain group table based on the domain group to be searched, and if the searched global domain and the local domain are different, obtain a conversion function for converting the local domain into a global domain from the conversion function table; 2. The multiple database semantic hierarchical search method according to claim 1, wherein the search item and the search condition are translated into a query sentence suitable for each database by using a conversion function, and each database is searched by the translated query sentence.
【請求項3】 前記第1の検索条件を生成する際に、 前記所定の条件として、 「指定キーワード配下のいずれかのキーワードをレンジ
とする列」、 「指定キーワードの直上のキーワードからルートまでの
いずれかのキーワードをレンジとする列」、 「レンジが設定されていないが指定キーワード配下のい
ずれかのキーワードのドメイングループと一致する列」
のいずれかに該当するものとする請求項2記載の複数デ
ータベース意味的階層検索方法。
3. The method according to claim 1, wherein when the first search condition is generated, as the predetermined condition, “a column having a range of any keyword under the specified keyword”; A column whose range is any keyword "," A column whose range is not set but matches the domain group of any keyword under the specified keyword "
3. The method according to claim 2, wherein the method corresponds to any one of the following.
【請求項4】 ネットワークに複数のデータベースが接
続された環境において、各データベースのデータ構造、
所在、データの表現形式、データの値の範囲、データの
分類レベルなどが異なっていてもその違いを解消してデ
ータ値に対するキーワードの木構造データを定義し、ル
ートから辿るように階層的にキーワードを検索し、キー
ワードの問い合わせに対し、関連するデータをデータベ
ースから検索する複数データベース意味的階層検索装置
であって、 各データベースの列の名称とその値の範囲であるレンジ
を管理する、列テーブルと、 検索を実行する前に、各データベースの列の値の表現形
式であるドメインをローカルドメインとして管理するロ
ーカルドメインテーブルと、 同じ意味を有する各ドメインをドメイングループとして
設定し、各ドメイングループ内において代表して標準的
に使用されるグローバルドメインを管理するドメイング
ループテーブルと、 ドメイン間の変換を行う変換関数を管理する変換関数テ
ーブルと、 前記グローバルドメインの個々の値に平易な用語で表現
したキーワードを定義し、該キーワード間に意味的な上
下関係を定義して木構造データとして構成されるキーワ
ードツリーを管理するキーワードツリーテーブルと、 前記キーワードツリー毎に、ユーザの問い合わせで検索
項目が省略された場合に使用される検索項目であるキー
ワードツリー検索項目を管理するキーワードツリー検索
項目テーブルとを有する記憶手段と、 ユーザが、前記キーワードツリーをルートから1段ずつ
上や下に順に辿ることにより目的のキーワードを検索す
るキーワード検索手段と、 前記ユーザから取得したキーワード、検索項目、検索条
件からなる問い合わせ文を取得して、前記記憶手段を探
索して、取得した情報に基づいて該問い合わせ文を変換
し、前記データベースを検索するデータベース検索手段
とを有することを特徴とする複数データベース意味的階
層検索装置。
4. In an environment in which a plurality of databases are connected to a network, a data structure of each database,
Even if the location, data expression format, data value range, data classification level, etc. are different, resolve the differences to define the tree structure data of the keyword for the data value, and hierarchically define the keyword so that it can be traced from the root A multi-database semantic hierarchical search device that searches for relevant data from a database in response to a query for a keyword, and manages a column name of each database and a range that is a range of values thereof, a column table and Before executing the search, set the local domain table that manages the domain that is the expression format of the column value of each database as a local domain, and set each domain having the same meaning as a domain group, and represent each domain group as a representative. Domain group that manages global domains used as standard Table, a conversion function table for managing a conversion function for performing conversion between domains, and defining keywords expressed in simple terms in individual values of the global domain, and defining a semantic hierarchical relationship between the keywords. A keyword tree table that manages a keyword tree configured as tree-structured data, and manages, for each of the keyword trees, a keyword tree search item that is a search item used when a search item is omitted in a user inquiry Storage means having a keyword tree search item table for performing a search; a keyword search means for searching for a target keyword by a user sequentially traversing the keyword tree one step up or down from the root; and a keyword obtained from the user Get a query sentence consisting of And a database search unit that searches the storage unit, converts the query sentence based on the acquired information, and searches the database.
【請求項5】 前記データベース検索手段は、 ユーザのキーワード、検索項目、検索条件からなる問い
合わせ文の該キーワードに対し、前記キーワードツリー
の指定キーワード配下のすべてのキーワードのドメイン
グループを前記キーワードツリーテーブルから探索し、
該ドメイングループに含まれるドメインを前記ローカル
ドメインテーブルから探索し、該ドメインである列とレ
ンジの組み合わせの集合である列レンジリストを前記列
テーブルから探索して生成する列レンジリスト生成手段
と、 前記列レンジリスト生成手段で生成された前記列レンジ
リストの各組み合わせに対し、所定の条件を満たし、列
のドメイングループが指定キーワード配下のいずれかの
キーワードのドメイングループと一致する場合、各列毎
に指定キーワードを該指定キーワード配下かつ各列のレ
ンジ内のドメインの値に展開し、「OR」条件で接続し
た第1の検索条件を生成するキーワード展開手段と、 前記キーワード展開手段で生成された前記第1の検索条
件とユーザが指定した検索条件を「AND」条件で接続
し、第2の検索条件を生成する検索条件結合手段と、 ユーザが検索項目を指定しなかった場合には、指定キー
ワードのキーワードツリー検索項目を前記キーワードツ
リー検索項目テーブルから探索する検索項目探索手段
と、 前記検索項目探索手段で探索された前記検索項目また
は、ユーザが問い合わせ文で指定した検索項目と、生成
された前記第2の検索条件とを結合し、データベースを
検索するための問い合わせ文を生成する問い合わせ文生
成手段と、 前記問い合わせ文生成手段で生成された前記問い合わせ
文の検索項目と検索条件の検索データが格納されている
データベース及び該検索データに対応するローカルドメ
インを前記ローカルドメインテーブルから探索すると共
に、グローバルドメインを該ローカルドメインが含まれ
るドメイングループに基づいて前記ドメイングループテ
ーブルから探索するドメイン探索手段と、 前記ドメイン探索手段で探索された前記グローバルドメ
インと前記ローカルドメインとが異なる場合、該グロー
バルドメインをローカルドメインに変換する変換関数を
前記変換関数テーブルから取得する変換関数探索手段
と、 前記変換関数探索手段で取得された前記変換関数を用い
て、検索項目、検索条件を各データベースに適合した問
い合わせ文に翻訳し、翻訳された前記問い合わせ文によ
り前記各データベースを検索する検索手段とを有する請
求項4記載の複数データベース意味的階層検索装置。
5. The database search means, for a keyword of a query sentence including a user's keyword, a search item, and a search condition, retrieves a domain group of all keywords under a specified keyword in the keyword tree from the keyword tree table. Explore,
A column range list generating unit that searches the local domain table for a domain included in the domain group, and searches and generates a column range list, which is a set of combinations of columns and ranges that are the domains, from the column table; For each combination of the column range list generated by the column range list generating unit, if a predetermined condition is satisfied and the domain group of the column matches the domain group of any of the keywords under the designated keyword, Keyword expansion means for expanding the specified keyword into domain values under the specified keyword and within the range of each column, and generating a first search condition connected by an "OR"condition; The first search condition and the search condition specified by the user are connected by an “AND” condition, and the second search condition is connected. Search condition combination means for generating a condition; search item search means for searching a keyword tree search item table for a specified keyword from the keyword tree search item table when the user does not specify a search item; Means for generating a query sentence for searching a database by combining the search item searched by the means or the search item specified by the user with the query sentence and the generated second search condition A database storing search data of the query sentence and search data of the search condition generated by the query sentence generating means and a local domain corresponding to the search data from the local domain table; To the domain group containing the local domain Domain search means for searching from the domain group table based on the domain group table, and a conversion function for converting the global domain into a local domain when the global domain searched by the domain search means is different from the local domain. Using a conversion function search unit obtained from the conversion function obtained by the conversion function search unit, a search item and a search condition are translated into a query sentence suitable for each database. 5. The multiple database semantic hierarchy search device according to claim 4, further comprising search means for searching each database.
【請求項6】 前記キーワード展開手段において用いら
れる前記所定の条件は、 「指定キーワード配下のいずれかのキーワードをレンジ
とする列」、 「指定キーワードの直上のキーワードからルートまでの
いずれかのキーワードをレンジとする列」、 「レンジが設定されていないが指定キーワード配下のい
ずれかのキーワードのドメイングループと一致する列」
のいずれかに該当するものとする請求項5記載の複数デ
ータベース意味的階層検索装置。
6. The predetermined condition used in the keyword expanding means includes: “a column having a range of any one of the keywords under the specified keyword”; Column to be set as a range ”,“ Column that has no range but matches the domain group of one of the keywords under the specified keyword ”
6. The multiple database semantic hierarchical search device according to claim 5, wherein the device corresponds to any one of the following.
【請求項7】 少なくとも、前記管理する列テーブル、
前記ローカルドメインテーブル、前記ドメイングループ
テーブル、前記変換関数テーブル、前記キーワードツリ
ーテーブル及び前記キーワードツリー検索項目テーブル
を設定するテーブル設定手段を含む請求項4記載の複数
データベース意味的階層検索装置。
7. at least a column table to be managed;
5. The multiple database semantic hierarchy search device according to claim 4, further comprising table setting means for setting the local domain table, the domain group table, the conversion function table, the keyword tree table, and the keyword tree search item table.
【請求項8】 ネットワークに複数のデータベースが接
続された環境において、各データベースのデータ構造、
所在、データの表現形式、データの値の範囲、データの
分類レベルなどが異なっていてもその違いを解消してデ
ータ値に対するキーワードの木構造データを定義し、ル
ートから辿るように階層的にキーワードを検索し、キー
ワードの問い合わせに対し、関連するデータをデータベ
ースから検索する複数データベース意味的階層検索装置
に搭載される複数データ意味的階層検索プログラムであ
って、 各データベースの列の名称とその値の範囲であるレンジ
を、列テーブルに設定させるプロセスと、 検索を実行する前に、各データベースの列の値の表現形
式であるドメインをローカルドメインとしてローカルド
メインテーブルに設定させるプロセスと、 同じ意味を有する各ドメインをドメイングループとして
設定させ、各ドメイングループ内において代表して標準
的に使用されるグローバルドメインをドメイングループ
テーブルに設定させるプロセスと、 ドメイン間の変換を行う変換関数を変換関数テーブルに
設定させるプロセスと、 前記グローバルドメインの個々の値に平易な用語で表現
したキーワードを定義し、該キーワード間に意味的な上
下関係を定義して木構造データとして構成されるキーワ
ードツリーをキーワードツリーテーブルに設定させるプ
ロセスと、 前記キーワードツリー毎に、ユーザの問い合わせで検索
項目が省略された場合に使用される検索項目であるキー
ワードツリー検索項目を、キーワードツリー検索項目テ
ーブルに設定させるプロセスとからなるテーブル設定プ
ロセスと、 ユーザが、前記キーワードツリーをルートから1段ずつ
上や下に順に辿ることにより目的のキーワードを検索さ
せるキーワード検索プロセスと、 前記ユーザから取得したキーワード、検索項目、検索条
件からなる問い合わせ文を取得して、前記テーブル設定
過程において設定されたテーブルを探索して、取得した
情報に基づいて該問い合わせ文を変換し、前記データベ
ースを検索するデータベース検索プロセスからなること
を特徴とする複数データベース意味的階層検索プログラ
ムを格納した記憶媒体。
8. In an environment in which a plurality of databases are connected to a network, a data structure of each database,
Even if the location, data expression format, data value range, data classification level, etc. are different, resolve the differences to define the tree structure data of the keyword for the data value, and hierarchically define the keyword so that it can be traced from the root Is a multi-data semantic hierarchy search program installed in a multi-database semantic hierarchy search device that searches for relevant data from a database in response to a query for a keyword. It has the same meaning as the process of setting the range that is the range in the column table and the process of setting the domain that is the expression format of the column value of each database as the local domain in the local domain table before executing the search. Set each domain as a domain group, and within each domain group A process of setting a global domain that is typically used as a representative in the domain group table, a process of setting a conversion function for performing conversion between domains in the conversion function table, and a process of setting individual values of the global domain in a simple manner. A process of defining keywords expressed in terms of terms, defining a semantic hierarchical relationship between the keywords, and setting a keyword tree configured as tree-structured data in a keyword tree table; A table setting process including a process of setting a keyword tree search item, which is a search item used when the search item is omitted in the keyword tree search item table, and a user moves the keyword tree one stage from the root. To go up and down one by one A keyword search process for searching for a target keyword, acquiring a query sentence including a keyword, a search item, and a search condition obtained from the user, searching the table set in the table setting process, and obtaining the obtained information. A storage medium storing a multi-database semantic hierarchy search program, comprising a database search process for converting the query sentence based on the database and searching the database.
【請求項9】 前記データベース検索プロセスは、 ユーザのキーワード、検索項目、検索条件からなる問い
合わせ文の該キーワードに対し、前記キーワードツリー
の指定キーワード配下のすべてのキーワードのドメイン
グループを前記キーワードツリーテーブルから探索する
プロセスと、 該ドメイングループに含まれるドメインを前記ローカル
ドメインテーブルから探索するプロセスと、 前記ドメインである列とレンジの組み合わせの集合であ
る列レンジリストを前記列テーブルから探索して生成す
るプロセスと、 生成された前記列レンジリストの各組み合わせに対し、
所定の条件を満たし、列のドメイングループが指定キー
ワード配下のいずれかのキーワードのドメイングループ
と一致する場合、各列毎に指定キーワードを該指定キー
ワード配下かつ各列のレンジ内のドメインの値に展開
し、「OR」条件で接続した第1の検索条件を生成する
プロセスと、 生成した前記第1の検索条件とユーザが指定した検索条
件を「AND」条件で接続し、第2の検索条件を生成す
るプロセスと、 ユーザが検索項目を指定しなかった場合には、指定キー
ワードのキーワードツリー検索項目を前記キーワードツ
リー検索項目テーブルから探索するプロセスと、 探索された前記検索項目または、ユーザが問い合わせ文
で指定した検索項目と、生成された前記第2の検索条件
とを結合し、データベースを検索するための問い合わせ
文を生成するプロセスと、 前記データベースを検索するための問い合わせ文の検索
項目と検索条件の検索データが格納されているデータベ
ース及び該検索データに対応するローカルドメインを前
記ローカルドメインテーブルから探索すると共に、グロ
ーバルドメイン該ローカルドメインが含まれるドメイン
グループに基づいてを前記ドメイングループテーブルか
ら探索するプロセスと、 探索された前記グローバルドメインと前記ローカルドメ
インとが異なる場合、該グローバルメインをローカルド
メインに変換する変換関数を前記変換関数テーブルから
取得するプロセスと、 前記変換関数を用いて、検索項目、検索条件を各データ
ベースに適合した問い合わせ文に翻訳するプロセスと、 翻訳された前記問い合わせ文により前記各データベース
を検索するプロセスとを含む請求項8記載の複数データ
ベース意味的階層検索プログラムを格納した記憶媒体。
9. The database search process includes, for a keyword in a query sentence including a user's keyword, a search item, and a search condition, a domain group of all keywords under a specified keyword in the keyword tree from the keyword tree table. A process of searching; a process of searching for a domain included in the domain group from the local domain table; and a process of searching for and generating a column range list, which is a set of combinations of columns and ranges, being the domain, from the column table. And For each combination of the generated column range list,
If the specified condition is satisfied and the domain group of the column matches the domain group of any keyword under the specified keyword, the specified keyword is expanded to the value of the domain under the specified keyword and within the range of each column for each column. Generating a first search condition connected by an “OR” condition; connecting the generated first search condition to a search condition specified by a user by an “AND” condition; A process of generating a keyword tree search item of a specified keyword from the keyword tree search item table when the user has not specified a search item; and a process of searching the searched search item or the user Query for combining the search item specified in step 2 with the generated second search condition and searching the database A process of generating a set sentence; searching a database storing search data of a query sentence and search data of a search condition for searching the database and a local domain corresponding to the search data from the local domain table; A process of searching the domain group table for a global domain based on a domain group including the local domain; and converting the global main to the local domain if the searched global domain and the local domain are different. A process of acquiring a function from the conversion function table; a process of using the conversion function to translate a search item and a search condition into a query sentence suitable for each database; Storage medium storing a plurality database semantic hierarchy search program as recited in claim 8, including a process to search over scan.
【請求項10】 前記第1の検索条件を生成するプロセ
スにおいて用いられる前記所定の条件として、 「指定キーワード配下のいずれかのキーワードをレンジ
とする列」、 「指定キーワードの直上のキーワードからルートまでの
いずれかのキーワードをレンジとする列」、 「レンジが設定されていないが指定キーワード配下のい
ずれかのキーワードのドメイングループと一致する列」
のいずれかに該当するものとする請求項9記載の複数デ
ータベース意味的階層検索プログラムを格納した記憶媒
体。
10. The predetermined condition used in the process of generating the first search condition includes: “a column having any keyword under the specified keyword as a range”; “from a keyword immediately above the specified keyword to a root”. Column with any of the keywords in the range "," column with no range set but matching the domain group of any of the keywords under the specified keyword "
10. A storage medium storing the multiple database semantic hierarchy search program according to claim 9, which corresponds to any one of the above.
JP10045772A 1998-02-26 1998-02-26 Method and device for retrieving semantic hierarchy of plural databases and medium for storing program therefor Pending JPH11250073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10045772A JPH11250073A (en) 1998-02-26 1998-02-26 Method and device for retrieving semantic hierarchy of plural databases and medium for storing program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10045772A JPH11250073A (en) 1998-02-26 1998-02-26 Method and device for retrieving semantic hierarchy of plural databases and medium for storing program therefor

Publications (1)

Publication Number Publication Date
JPH11250073A true JPH11250073A (en) 1999-09-17

Family

ID=12728594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10045772A Pending JPH11250073A (en) 1998-02-26 1998-02-26 Method and device for retrieving semantic hierarchy of plural databases and medium for storing program therefor

Country Status (1)

Country Link
JP (1) JPH11250073A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002082982A (en) * 2000-09-06 2002-03-22 Nippon Telegr & Teleph Corp <Ntt> Device and method for providing information and recording medium with information providing program recorded thereon
WO2003042869A1 (en) * 2001-11-14 2003-05-22 Jam Corporation Information search support apparatus, computer program, medium containing the program
JP2004227237A (en) * 2003-01-22 2004-08-12 Ns Solutions Corp Educational facility support system, educational facility support method, and recording medium and program therefor
JP2007306609A (en) * 2000-10-30 2007-11-22 Koninkl Philips Electronics Nv Method and apparatus for automatic generation of query search terms for program recommender
US8234294B2 (en) 2002-07-26 2012-07-31 Datatrak International, Inc. Method and system of unifying data
KR20160007057A (en) * 2014-07-10 2016-01-20 네이버 주식회사 Method and system for providing information conforming to the intention of natural language query
KR20160007040A (en) * 2014-07-10 2016-01-20 네이버 주식회사 Method and system for searching by using natural language query
CN112632107A (en) * 2020-12-31 2021-04-09 恒安嘉新(北京)科技股份公司 Retrieval method, retrieval device, storage medium and electronic equipment
CN113590791A (en) * 2021-07-30 2021-11-02 北京壹心壹翼科技有限公司 Method, device, equipment and storage medium for optimizing underwriting inquiry strategy

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002082982A (en) * 2000-09-06 2002-03-22 Nippon Telegr & Teleph Corp <Ntt> Device and method for providing information and recording medium with information providing program recorded thereon
JP2007306609A (en) * 2000-10-30 2007-11-22 Koninkl Philips Electronics Nv Method and apparatus for automatic generation of query search terms for program recommender
WO2003042869A1 (en) * 2001-11-14 2003-05-22 Jam Corporation Information search support apparatus, computer program, medium containing the program
JPWO2003042869A1 (en) * 2001-11-14 2005-03-10 株式会社ジャム Information search support device, computer program, program storage medium
US8234294B2 (en) 2002-07-26 2012-07-31 Datatrak International, Inc. Method and system of unifying data
US8856172B2 (en) 2002-07-26 2014-10-07 Datatrak International, Inc. Method and system of unifying data
JP2004227237A (en) * 2003-01-22 2004-08-12 Ns Solutions Corp Educational facility support system, educational facility support method, and recording medium and program therefor
KR20160007057A (en) * 2014-07-10 2016-01-20 네이버 주식회사 Method and system for providing information conforming to the intention of natural language query
KR20160007040A (en) * 2014-07-10 2016-01-20 네이버 주식회사 Method and system for searching by using natural language query
CN112632107A (en) * 2020-12-31 2021-04-09 恒安嘉新(北京)科技股份公司 Retrieval method, retrieval device, storage medium and electronic equipment
CN113590791A (en) * 2021-07-30 2021-11-02 北京壹心壹翼科技有限公司 Method, device, equipment and storage medium for optimizing underwriting inquiry strategy
CN113590791B (en) * 2021-07-30 2023-11-24 北京壹心壹翼科技有限公司 Nuclear insurance query strategy optimization method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US6233578B1 (en) Method and system for information retrieval
JP4264118B2 (en) How to configure information from different sources on the network
US6199059B1 (en) System and method for classifying and retrieving information with virtual object hierarchy
JP4965088B2 (en) Relationship management in data abstraction model
US7634478B2 (en) Metadata driven intelligent data navigation
US7401064B1 (en) Method and apparatus for obtaining metadata from multiple information sources within an organization in real time
US7734657B2 (en) Containment hierarchy in a database system
US7401095B2 (en) Method and system for composing a query for a database and traversing the database
US20070185826A1 (en) Configurable search graphical user interface and engine
US6519588B1 (en) System and method for representing related concepts
US7613715B2 (en) Map and data location provider
KR100525072B1 (en) Ontology system
US20040015511A1 (en) Query services for database system
US20100017378A1 (en) Enhanced use of tags when storing relationship information of enterprise objects
US7373350B1 (en) Virtual metadata analytics and management platform
Wu et al. Design of data warehouses using metadata
JP3438805B2 (en) Database heterogeneity resolution search device
US20040243575A1 (en) Information searching system
EP1492030B1 (en) System and method for online analytical processing using dimension attributes and multiple hierarchies per dimension
JPH11250073A (en) Method and device for retrieving semantic hierarchy of plural databases and medium for storing program therefor
US20080059429A1 (en) Integrated search processing method and device
JP3671765B2 (en) Heterogeneous information source query conversion method and apparatus, and storage medium storing heterogeneous information source query conversion program
JP3565117B2 (en) Access method for multiple different information sources, client device, and storage medium storing multiple different information source access program
US7769750B2 (en) Metadata based hypermedia management system
Rishe et al. Knowledge Management for Database Interoperability