JPH06124304A - Retrieving method using overlap code for extended item - Google Patents

Retrieving method using overlap code for extended item

Info

Publication number
JPH06124304A
JPH06124304A JP3035172A JP3517291A JPH06124304A JP H06124304 A JPH06124304 A JP H06124304A JP 3035172 A JP3035172 A JP 3035172A JP 3517291 A JP3517291 A JP 3517291A JP H06124304 A JPH06124304 A JP H06124304A
Authority
JP
Japan
Prior art keywords
attribute
value
term
index
extension
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3035172A
Other languages
Japanese (ja)
Other versions
JPH0738195B2 (en
Inventor
Tsutomu Tanaka
田中  勉
Kohaku Morita
幸伯 森田
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.)
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Agency of Industrial Science and Technology
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 Agency of Industrial Science and Technology filed Critical Agency of Industrial Science and Technology
Priority to JP3035172A priority Critical patent/JPH0738195B2/en
Publication of JPH06124304A publication Critical patent/JPH06124304A/en
Publication of JPH0738195B2 publication Critical patent/JPH0738195B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To enable high-speed retrieval by introducing an encoding mean for the extended item and finding a matching item when the extended item is applied to a wild card or variable as index retrieval by pattern matching. CONSTITUTION:In an index generating process 10, hash values are found for pairs of respective attribute names and values of extended items and a function element are found and the index value 15-1 of a set to be retrieved and an index value 15-2 for inquiry are previously generated by OR operation 14 based upon those hash values. An extended item deciding process 20 for deciding extended items with possibility of pattern collating performed according to the logical operation result between the index value 15-1 of the set and the index value 15-2 for inquiry which are generated by the index generating process 10, and then a pattern collating process 30 is carried out.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、構造をもったデータを
対象とした情報検索を高速処理する拡張項のための重ね
合わせ符号を用いた検索方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a search method using a superposition code for an expansion term for high speed processing of information search for structured data.

【0002】[0002]

【従来の技術】従来、このような分野の技術としては、
例えば次のような文献に記載されるものがあった。
2. Description of the Related Art Conventionally, as a technique in such a field,
For example, some documents were described in the following documents.

【0003】文献1;情報処理学会第35回(昭和62
年後期)全国大会予稿集、森田他「MPPMを用いた知
識ベースマシン(3)」2C−7 文献2;情報処理学会第36回(昭和63年前期)全国
大会予稿集、仲瀬等「知識ベースマシンMu−X
(4)」5E−7 文献3;情報処理学会第78回データベース・システム
研究会誌(1990−7−20)横田「演繹・オブジェ
クト指向データベース言語 Juanの概要(The
Outline of a Deductive an
d Object−Oriented Databas
e Language Juan)」 一般に、演繹データベース、知識ベース等のシステムで
は、通常、変数を含む項を知識表現の基本要素として用
いている。
Reference 1: The 35th Information Processing Society of Japan (Showa 62)
Second semester) Proceedings of National Convention, Morita et al., "Knowledge Base Machine Using MPPM (3)" 2C-7 Reference 2; Base machine Mu-X
(4) ”5E-7 Reference 3; IPSJ 78th Database System Research Group (1990-7-20) Yokota“ Outline of deduction / object-oriented database language Juan (The)
Outlook of a Destructive an
d Object-Oriented Databases
e Language Juan) ”Generally, in a system such as a deduction database or a knowledge base, a term including a variable is usually used as a basic element of a knowledge expression.

【0004】近年、Prolog等で用いられている単
純な項だけでなく、ψ項、素性構造、拡張項等、引数を
その位置ではなく、属性名等を用いて順不同で不定数個
記述できるように拡張された項が広く用いられるように
なってきた。この拡張項を要素とする集合から、パター
ン照合する拡張項を検索する処理は、演繹データベー
ス、知識ベース等のシステムにおいて基本処理として頻
繁に用いられる。しかし、この拡張項に対して、検索処
理の高速化を行う技法は知られていない。
In recent years, not only simple terms used in Prolog etc. but also ψ terms, feature structures, extension terms, etc. can be described in random order and in an indefinite number of arguments by using attribute names instead of their positions. The term expanded to has become widely used. The process of searching for an extension term for pattern matching from a set having the extension term as an element is frequently used as a basic process in a system such as a deductive database or a knowledge base. However, there is no known technique for accelerating the search process for this extended term.

【0005】もっとも近いものとして、従来、前記文献
に記載されているように、項の単一化検索における高速
化技法がある。この単一化検索とは、知識の中にある項
集合から単一化可能である項を検索することであるが、
知識の規模が大きくなるにつれ、その単一化をすべての
知識に対して行うのではなく、予め単一化の可能性のあ
る検索候補を選択することが行われる。この項の単一化
検索で扱う項は、通常の定数と異なり、構造を持ち、し
かもその構造が可変である。このため、構造体内の各デ
ータのハッシュ値(符号)を構造に従って重ね合わせた
符号(SSCW;Structural Superi
mposed Code Word)や、符号に位置情
報を加えて重ね合わせる符号等の符号化を行い、符号の
上で予め単一化の可能性を検査することにより、高速に
単一化処理を行う方法が知られている。以下、その方法
を図2及び図3を参照しつつ説明する。
[0005] The closest one is a speed-up technique in term unification search as described in the above-mentioned document. This unification search is to search for a term that can be unified from the term set in the knowledge.
As the scale of knowledge increases, unification is not performed for all knowledge, but search candidates that have the possibility of unification are selected in advance. The term handled in the unification search of this term has a structure and is variable, unlike an ordinary constant. Therefore, a hash value (code) of each data in the structure is superposed according to the structure (SSCW: Structural Superi).
a coded code word) or a code that adds position information to a code and superimposes the code, and inspects the possibility of unification on the code in advance, thereby performing a high-speed unification process. Are known. Hereinafter, the method will be described with reference to FIGS. 2 and 3.

【0006】図2は従来の索引(索引値集合)の作成を
説明する図、及び図3は従来の検索処理を説明する図で
ある。
FIG. 2 is a diagram for explaining the creation of a conventional index (index value set), and FIG. 3 is a diagram for explaining a conventional search process.

【0007】まず始めに、項を定義する。項は、次のよ
うに定義される。
First, terms are defined. The terms are defined as follows.

【0008】項:=関数子(項1,項2,…,項n) 但し、0引数の場合、項は関数子(定数)のみとなる
が、この場合も関数子(定数)は項である。
Term: = functor (term 1, term 2, ..., Term n) However, in the case of 0 argument, the term is only a functor (constant), but in this case also, the functor (constant) is a term. is there.

【0009】この項に対して、変数に適当な項を割り当
てた場合、同一となる項(単一化可能な項)を検索す
る。処理方法は、以下のようである。
When an appropriate term is assigned to a variable for this term, the same term (term that can be unified) is searched for. The processing method is as follows.

【0010】検索対象となる項集合中のすべての項及び
被検索対象となる項(問い合わせである項)に対して索
引値を生成する。項の索引値は、関数子のハッシュ値の
ビットフィールドで、項1,項2,…,項nのSSCW
によるビットフィールドを覆うように配置して、両者を
論理和演算(OR演算)することにより生成する。ここ
で、検索対象となる項及び問い合わせである項の索引値
を求める際、検索対象となる項に出現する変数について
は全ビット“1”、問い合わせである項に現れる変数に
ついては全ビット“0”のハッシュ値を与える。
Index values are generated for all the terms in the term set to be searched and the terms to be searched (terms that are inquiries). The index value of the term is a bit field of the hash value of the functor, and is the SSCW of term 1, term 2, ..., Term n.
It is generated by arranging so as to cover the bit field by and performing an OR operation (OR operation) on both. Here, when the index value of the term to be searched and the index value of the term to be queried are obtained, all bits are "1" for variables appearing in the term to be searched and all bits are "0" for variables appearing in the term to be queried. Gives the hash value of ".

【0011】検索対象となる項集合中のすべての項の索
引値と、問い合わせである項の索引値とを比較すること
で、単一化可能な候補項を抽出する。検索対象となる項
の索引値をS、問い合わせの索引値をQとすると、Q∧
S=Qを満足する項が候補項である。候補項に関して、
問い合わせの項と単一化可能かどうか調べる。
By comparing the index values of all the terms in the term set to be searched with the index values of the term that is the query, unification candidate items are extracted. Let S be the index value of the item to be searched and Q be the index value of the query, then Q ∧
A term satisfying S = Q is a candidate term. Regarding the candidate term,
Check whether it is possible to unify with the term of the query.

【0012】例えば、検索対象となる項を図2の(a)
の(1)〜(5)、問い合わせの項を図3の(a)とし
て与えた場合の検索処理は次のようになる。
For example, the item to be searched is shown in FIG.
(1) to (5), the search processing when the inquiry term is given as (a) in FIG. 3 is as follows.

【0013】項の関数子及び引数1,引数2をそれぞれ
8ビット,4ビット,4ビットでハッシュ化(符号化)
する。ハッシュした結果は、図1の(b)のようにな
る。但し、検索対象となる項の引数に存在する変数につ
いては、全ビット“1”のハッシュ値を与える。引数1
と引数2のハッシュ値の並び(8ビット)を関数子のハ
ッシュ値(8ビット)にOR演算することで、項の索引
値を生成する。図2(a)の検索対象となる項(1)〜
(5)に関して各項の索引値は図2の(c)となる。
Hashing (encoding) the functor and argument 1 and argument 2 of the term with 8 bits, 4 bits and 4 bits, respectively.
To do. The result of hashing is as shown in FIG. However, the hash value of all bits “1” is given to the variable existing in the argument of the item to be searched. Argument 1
And the hash value sequence (8 bits) of the argument 2 is ORed with the hash value (8 bits) of the functor to generate the index value of the term. Item (1) to be searched in FIG.
Regarding (5), the index value of each item is (c) in FIG.

【0014】次に、問い合わせである項について索引値
を作成する。結果は、図3の(b)となる。但し、問い
合わせの引数に存在する変数については、全ビット
“0”のハッシュ値を与える。検索対象の索引値S、及
び問い合わせの索引値Qにおいて、Q∧S=Qを満足す
る項が検索候補であり、この場合、図3の(c)に示す
ように、検索候補として項(2),(4)が挙げられ、
その内、項(2)が単一化可能な項である。
Next, an index value is created for the term that is the inquiry. The result is shown in FIG. However, the hash value of all bits “0” is given to the variable existing in the argument of the inquiry. In the index value S of the search target and the index value Q of the inquiry, terms satisfying Q∧S = Q are search candidates. In this case, as shown in (c) of FIG. ), (4),
Among them, the term (2) is a term that can be unified.

【0015】このように、比較的、単純(高速)な論理
演算で候補を絞り込むことにより、高速な検索が行え
る。
Thus, by narrowing down the candidates by a relatively simple (high speed) logical operation, a high speed search can be performed.

【0016】[0016]

【発明が解決しようとする課題】しかしながら、従来の
方法では、次のような課題があった。
However, the conventional method has the following problems.

【0017】近年、Prolog等で用いられている単
純な項だけでなく、ψ項、素性構造、拡張項等、引数を
その位置ではなく、属性名等を用いて順不同で不定数個
記述できるように拡張された項が、広く用いられるよう
になってきた。これら、拡張項を要素とする集合から、
同一である拡張項を検索する処理は重要である。ところ
が、従来、この拡張項に対しては、検索の高速化を行う
技法が知られていない。
In recent years, not only simple terms used in Prolog etc. but also ψ terms, feature structures, extension terms, etc. can be described in random order and in an indefinite number of arguments by using attribute names instead of their positions. The term expanded to has become widely used. From these sets with extension terms as elements,
The process of searching for the same extension term is important. However, conventionally, no technique has been known for increasing the search speed for the expansion term.

【0018】構造体の検索方法としては、前述の項に対
する単一化検索用のSSCWを用いた方法が知られてい
る。しかし、SSCWを用いた方法では、対象とするも
のが、Prologでいう項であり、引数の数及び位置
が固定されており、拡張項等に適用できないため、技術
的に充分満足のゆく検索方法を得ることが困難であっ
た。
As a structure search method, a method using SSCW for unifying search for the above-mentioned terms is known. However, in the method using SSCW, the target is the term in Prolog, the number and position of the arguments are fixed, and it cannot be applied to the expansion term etc., so the search method is technically satisfactory. Was difficult to obtain.

【0019】本発明は前記従来技術が持っていた課題と
して、拡張項に対して検索の高速化を行うことが困難な
点について解決した拡張項のための重ね合わせ符号を用
いた検索方法を提供するものである。
The present invention provides a search method using a superposition code for an expansion term, which solves the problem that it is difficult to speed up the search for the expansion term as a problem that the above-mentioned prior art has. To do.

【0020】[0020]

【課題を解決するための手段】本発明は前記課題を解決
するために、データ/知識を構造体である拡張項で表現
するシステムにおける該拡張項は、任意の個数からなる
属性名、及び属性値の組を含み、該属性名及び属性値の
部分に該拡張項を記述したネスト構造が扱え、検索条件
としては、前記属性名、属性値及び関数子に対してワイ
ルドカードまたは変数を与え、その属性名、属性値及び
関数子と照合する拡張項の項集合を検索する検索方法に
おいて、索引値を次のように構成する。
In order to solve the above-mentioned problems, the present invention provides a system for expressing data / knowledge by an extension term which is a structure, wherein the extension term is an attribute name consisting of an arbitrary number and an attribute. A nest structure that includes a set of values and describes the extension term in the attribute name and attribute value parts can be handled, and as a search condition, a wildcard or variable is given to the attribute name, attribute value and functor, In the search method for searching the term set of the extension term that matches the attribute name, the attribute value, and the functor, the index value is configured as follows.

【0021】即ち、前記関数子、属性名及び属性値のビ
ットフィールドを定め、該属性名と属性値のビットフィ
ールドの並びを該関数子のビットフィールドで覆うよう
に配置してそれぞれのビットフィールド中へのハッシュ
を行い、該属性名または属性値が拡張項でかつそのビッ
トフィールドが十分な大きさである場合には、該属性名
または属性値のビットフィールドを、該属性名または属
性値の関数子と属性名と属性値とのビットフィールドに
より索引値を構成する。
That is, the bit field of the function element, the attribute name and the attribute value is determined, and the arrangement of the bit field of the attribute name and the attribute value is arranged so as to be covered by the bit field of the function element, If the attribute name or attribute value is an extension term and the bit field is large enough, the bit field of the attribute name or attribute value is changed to a function of the attribute name or attribute value. An index value is constructed by a bit field of a child, an attribute name, and an attribute value.

【0022】そして、索引作成処理により、前記拡張項
の各属性名と属性値の組及び関数子に対してハッシュ値
を求め、それらのハッシュ値の論理和演算により、検索
対象となる集合に対する前記構成の索引値と問い合わせ
に対する前記構成の索引値とを予め作成しておく。次
に、前記索引作成処理で作成された集合の索引値と問い
合わせの索引値との論理演算結果により、パターン照合
の可能性のある前記拡張項を判定する拡張項判定処理を
行った後、パターン照合を行うようにしている。
Then, a hash value is obtained for each attribute name / attribute value pair and functor of the extension term by the index creation process, and the logical sum operation of the hash values is performed to obtain the hash value for the set to be searched. The configuration index value and the configuration index value for the inquiry are created in advance. Next, after performing expansion term determination processing for determining the expansion term that has a possibility of pattern matching based on the logical operation result of the index value of the set created in the index creation processing and the index value of the inquiry, the pattern I try to collate.

【0023】[0023]

【作用】本発明によれば、以上のように検索方法を構成
したので、索引作成処理により、予め集合の索引値と問
い合わせの索引値を作成しておき、その作成結果を拡張
項判定処理へ与える。拡張項判定処理では、パターン照
合の可能性のある拡張項を判定して該拡張項の個数を絞
り込んだ後、パターン照合を行わせる。
According to the present invention, since the search method is configured as described above, a set index value and a query index value are created in advance by the index creation process, and the created result is sent to the extension term determination process. give. In the extension term determination processing, the extension term having a possibility of pattern matching is determined, the number of the extension terms is narrowed down, and then the pattern matching is performed.

【0024】つまり、拡張項に対して符号化の手段を導
入し、パターン照合による索引検索として、ワイルドカ
ードまたは変数に適当な拡張項をあてはめた際に、一致
するものを求めることにより、検索の高速化を図る。従
って、前記課題を解決できるのである。
That is, by introducing a coding means for the extension term and performing an index search by pattern matching, when a suitable extension term is applied to a wildcard or a variable, a matching one is obtained to search. Speed up. Therefore, the above problem can be solved.

【0025】[0025]

【実施例】図1は、本発明の実施例を示すもので、拡張
項のための重ね合わせ符号を用いた検索方法の概略のフ
ローチャートである。
FIG. 1 shows an embodiment of the present invention and is a schematic flow chart of a search method using a superposition code for an expansion term.

【0026】まず、本実施例で扱う拡張項のシンタック
ス(Syntax)を示す。拡張項は、引数をその位置
でなく、属性名等を用いて、順不同、複数個記述できる
ように拡張された項であり、拡張項を次のシンタックス
として定義する。
First, the syntax of the extension term (Syntax) used in this embodiment will be shown. The extension term is an extension of the argument so that a plurality of arguments can be described in any order by using the attribute name or the like instead of the position, and the extension term is defined as the following syntax.

【0027】<拡張項>::= <関数子>[“[”<
属性>リスト“]”] <属性>::= <属性名>“=”<属性値> <属性名>::= <拡張項> <属性値>::= <拡張項> |“{”<属性値>リスト“}” 但し、<拡張項>において、<属性>リストがない場合
(0引数の場合)、<関数子>のみとなるが、この<関
数子>は定数を含む。
<Extended term> :: = <function element>["["<
Attribute> list “]”] <attribute> :: = <attribute name> “=” <attribute value><attributename> :: = <extended item><attributevalue> :: = <extended item> | “{” <Attribute value> list “}” However, in <extended item>, if there is no <attribute> list (in the case of 0 argument), only <function element> is included, but this <function element> includes a constant.

【0028】このシンタックスからわかるように、本拡
張項では、次の特徴がある。
As can be seen from this syntax, this extended term has the following features.

【0029】(1) <属性>リストにより、順不同、
不定数個の引数の記述が可能である。 (2) 属性の属性名及び属性値の部分に拡張項が記述
できるので、拡張項をネスト(nest,組込み)した
構造が扱える。 (3) 拡張項を用いてルール等を記述する場合、関数
子、属性名、及び属性値として変数が用いられる。
(1) According to the <attribute> list, the order is
It is possible to describe an indefinite number of arguments. (2) Since the extension term can be described in the attribute name and attribute value portion of the attribute, a structure in which the extension term is nested can be handled. (3) When a rule or the like is described by using the extension term, variables are used as the functor, the attribute name and the attribute value.

【0030】本実施例では、図1に示すように、索引作
成処理10により、予め検索対象となる拡張項の集合及
びその拡張項の属性名、属性値、及び関数子の部分にワ
イルドカードまたは変数を与えた問い合わせに対して索
引を作成する。そして、拡張項判定処理20により、索
引同士がパターン照合する拡張項を検索した後、パター
ン照合処理30を行う。
In the present embodiment, as shown in FIG. 1, a set of extension terms to be searched and the attribute names, attribute values, and functor parts of the extension terms to be searched are wildcarded or Create an index for queries given variables. Then, the expansion term determination processing 20 searches for an expansion term in which the indexes perform pattern matching, and then the pattern matching processing 30 is performed.

【0031】索引作成処理10では、ステップ11で、
関数子、属性名、及び属性値のビットフィールドの割り
当てを行い、各属性名のハッシュ値の計算(ステップ1
2−1)、各属性値のハッシュ値の計算(ステップ12
−2)、及び関数子のハッシュ値の計算(ステップ12
−3)を行う。
In the index creating process 10, in step 11,
Allocates the bit field of the function, attribute name, and attribute value, and calculates the hash value of each attribute name (step 1
2-1), calculation of hash value of each attribute value (step 12)
-2), and calculation of the hash value of the functor (step 12)
-3) is performed.

【0032】各属性名のハッシュ値の計算を行った後、
ステップ13−1において、属性名が拡張項か否かの判
定を行う(ステップ13a)。拡張項ならば、属性名の
ビットフィールドに対する索引値の計算を行い(ステッ
プ13b)、拡張項でないならば、属性名のハッシュを
行う(ステップ13c)。各属性値のハッシュ値の計算
後の処理は、ステップ13−1の属性名と同じ処理を行
う。
After the hash value of each attribute name is calculated,
In step 13-1, it is determined whether the attribute name is an extension term (step 13a). If it is an extension term, the index value for the bit field of the attribute name is calculated (step 13b), and if it is not an extension term, the attribute name is hashed (step 13c). The process after the calculation of the hash value of each attribute value is the same as the process of the attribute name in step 13-1.

【0033】ステップ12−3,13−1,13−2の
各処理結果は、ステップ14で、論理和演算が行われ、
集合の索引値(ステップ15−1)と、問い合わせの索
引値(ステップ15−2)とが求められる。
Each of the processing results of steps 12-3, 13-1, 13-2 is subjected to the logical sum operation in step 14,
The index value of the set (step 15-1) and the index value of the inquiry (step 15-2) are obtained.

【0034】このような索引作成処理10の処理結果に
基づき、拡張項判定処理20をした後、パターン照合処
理30による索引検索を行うことにより、高速な検索が
可能となる。
Based on the processing result of the index creation processing 10, the expansion term determination processing 20 is performed, and then the index search is performed by the pattern matching processing 30, which enables high-speed search.

【0035】以下、図4〜図12を参照しつつ、図1に
おける各処理10,20,30の内容を詳細に説明す
る。
The contents of each of the processes 10, 20, 30 in FIG. 1 will be described in detail below with reference to FIGS.

【0036】例えば、検索対象及び問い合わせの拡張項
を示す図4において、(1)〜(8)の検索対象となる
拡張項に対して、(9)に示す問い合わせである拡張項
とパターン照合する拡張項を検索する処理は、以下のよ
うになる。
For example, in FIG. 4 showing the search target and the extension term of the inquiry, the extension terms to be searched of (1) to (8) are pattern-matched with the extension term which is the inquiry shown in (9). The process of searching for an extension term is as follows.

【0037】まず、図4に示す検索対象である拡張項
(1)〜(8)について、各々の索引値を求める。ある
拡張項が、前記のシンタックスに従い、 拡張項:=関数子(属性名1=属性値1,属性名2=属
性値2,…,属性名n=属性値n) で定義されているとする。この索引値は、図5の索引値
の構成に示すように、関数子及び各引数の属性名、及び
属性値(属性名1,属性値1,属性名2,属性値2,
…,属性名n,属性値n)をその索引値のビットフィー
ルド中にハッシュし、そのハッシュ値をOR演算するこ
とで、求められる。
First, each index value is obtained for the expansion terms (1) to (8) which are the retrieval targets shown in FIG. According to the above syntax, an extension term is defined by extension term: = function element (attribute name 1 = attribute value 1, attribute name 2 = attribute value 2, ..., Attribute name n = attribute value n) To do. This index value is, as shown in the structure of the index value of FIG. 5, the attribute name of the function and each argument, and the attribute value (attribute name 1, attribute value 1, attribute name 2, attribute value 2,
.., attribute name n, attribute value n) is hashed into the bit field of the index value, and the hash value is ORed to obtain.

【0038】図4に示す(1)〜(8)の索引値の構成
については、関数子、属性名、及び属性値のビットフィ
ールドをそれぞれ18ビット、8ビット、8ビットのハ
ッシュ値とし、属性名と属性値のビットフィールドの並
びを関数子のビットフィールドで覆うように配置する。
In the structure of index values (1) to (8) shown in FIG. 4, the bit fields of the functor, the attribute name, and the attribute value are 18-bit, 8-bit, and 8-bit hash values, respectively, and the attribute is Arrange so that the sequence of the name and attribute value bit fields is covered by the functor bit field.

【0039】属性名(属性値)は、拡張項のシンタック
スで示したように、次の2つの形式、(a)値が唯一で
ある属性名(属性値)、及び(b)値が拡張項である属
性名(属性値)が存在し、さらに属性値についてのみ、
(c)値が属性値リスト(集合)である属性値、が存在
するため、それぞれ次のようにハッシュする。
The attribute name (attribute value) is, as shown in the syntax of the extension term, the following two formats: (a) an attribute name (attribute value) whose value is unique, and (b) an extended value. There is an attribute name (attribute value) that is a term, and only for the attribute value,
(C) Since there is an attribute value whose value is an attribute value list (set), hashing is performed as follows.

【0040】(a) 値が唯一である場合には、その値
を8ビットでハッシュし、そのハッシュ値を属性名(属
性値)のビットフィールドへ割り当てる。
(A) When the value is unique, the value is hashed with 8 bits, and the hash value is assigned to the bit field of the attribute name (attribute value).

【0041】(b) 値が拡張項である場合は、その属
性名(属性値)のビットフィールドとして、さらにその
属性名(属性値)の関数子、属性名と属性値のビットフ
ィールドを割り当てる。例えば、図4の(1)の属性w
orks=cs[dname=“CS”,manage
r=phil]中の属性値cs[dname=“C
S”,manager=phil]については、csの
ビットフィールドを8ビット、dname,“CS”,
manager,philのビットフィールドをそれぞ
れ3ビットとし、それぞれをハッシュする。
(B) If the value is an extension term, a bit field of the attribute name (attribute value) and a bit field of the attribute name and the attribute value are further allocated as the bit field of the attribute name (attribute value). For example, the attribute w in (1) of FIG.
orks = cs [dname = "CS", management
The attribute value cs [dname = "C" in r = phil]
S ", manager = phil], the bit field of cs is 8 bits, dname," CS ",
Each of the bit fields of manager and phil is set to 3 bits, and each is hashed.

【0042】(c) 値が属性値リスト(集合)である
場合には、各属性値の要素を8ビットでハッシュし、各
要素のハッシュ値のOR演算の結果を属性値のビットフ
ィールドへ割り当てる。例えば、図4の(1)の属性h
obby={music,sport}のハッシュ値h
(hobby={music,sport})は、h
(music)とh(sport)のOR演算の結果で
ある。
(C) When the value is the attribute value list (set), the element of each attribute value is hashed with 8 bits, and the result of the OR operation of the hash value of each element is assigned to the bit field of the attribute value. . For example, the attribute h in (1) of FIG.
obby = {music, sport} hash value h
(Hobby = {music, sport}) is h
It is the result of the OR operation of (music) and h (sport).

【0043】検索対象である拡張項の関数子、属性名、
属性値に存在する変数のハッシュ値については、それぞ
れのビットフィールドの長さを持つ、全ビット“1”の
ビット列を与える。
Function of extension term to be searched, attribute name,
For the hash value of the variable existing in the attribute value, a bit string of all bits “1” having the length of each bit field is given.

【0044】図6に、拡張項(1)〜(8)に存在する
関数子のハッシュ値を示す。図7に、拡張項(1)〜
(8)に存在する属性名のハッシュ値を(a)値が唯一
である属性名と、(b)値が拡張項である属性名の2つ
に場合分けして求めた結果を示す。図8に、拡張項
(1)〜(8)に存在する属性値のハッシュ値を(a)
値が唯一である属性値、(b)値が拡張項である属性
値、及び(c)値が属性値リスト(集合)である属性
値、の3つに場合分けして求めた結果を示す。図9及び
図10に、図6〜図8を用いて求めた拡張項(1)〜
(8)についての索引値を示す。
FIG. 6 shows hash values of the function elements existing in the extension terms (1) to (8). In FIG. 7, the expansion term (1)-
The hash value of the attribute name existing in (8) is shown as the result obtained by dividing into two cases, the attribute name having the unique value (a) and the attribute name having the expansion term (b). FIG. 8 shows the hash values of the attribute values existing in the extended terms (1) to (8) in (a).
The following shows the results obtained by dividing into three cases: an attribute value having a unique value, (b) an attribute value whose value is an extension term, and (c) an attribute value whose value is an attribute value list (set). . In FIG. 9 and FIG. 10, the expansion term (1) to be obtained by using FIG. 6 to FIG.
The index value for (8) is shown.

【0045】次に、問い合わせである拡張項について索
引値を作成する。
Next, an index value is created for the extended term that is the inquiry.

【0046】図4の(9)に示すように、問い合わせに
存在する関数子を18ビット、属性名及び属性値を8ビ
ットでハッシュした値を求める。その結果を図11の
(a)に示す。但し、問い合わせである拡張項の関数
子、属性名及び属性値に存在する変数のハッシュ値につ
いては、それぞれのビットフィールドの長さを持つ、全
ビット“0”のビット列を与える。問い合わせである拡
張項の索引値を求める。その結果を図11の(b)に示
す。
As shown in (9) of FIG. 4, the hash value of the functor existing in the inquiry is calculated in 18 bits, and the attribute name and the attribute value are calculated in 8 bits. The result is shown in FIG. However, for the hash value of the variable existing in the function of the extension term which is the inquiry, the attribute name and the attribute value, a bit string of all bits “0” having the length of each bit field is given. Find the index value of the extended term that is a query. The result is shown in FIG.

【0047】検索対象の索引値S、問い合わせの索引値
Qにおいて、Q∧S=Qを満足する項がパターン照合の
可能性のある(検索候補である)項である。この場合、
図12の検索処理に示すように、この検索候補として、
(1),(8)が挙げられ、その内、(1)がパターン
照合可能な項である。Q∧S≠Qを満たす項について
は、パターン照合できないとしてパターン照合を試みな
いので、その分の検索時間の短縮が図れ、高速な検索が
可能となる。
In the index value S to be searched and the index value Q to be inquired, the term satisfying Q∧S = Q is a term (which is a search candidate) having a possibility of pattern matching. in this case,
As shown in the search process of FIG. 12, as the search candidates,
(1) and (8) are mentioned, and among them, (1) is a term for which pattern matching is possible. For terms that satisfy Q∧S ≠ Q, pattern matching is not attempted because pattern matching cannot be performed, so the search time can be shortened and high-speed search can be performed.

【0048】なお、本発明は図示の実施例に限定され
ず、例えば図1の索引作成処理10を他のステップで実
行したり、図4〜図12に示す拡張項を他の内容にする
等、種々の変形が可能である。
The present invention is not limited to the illustrated embodiment. For example, the index creation processing 10 of FIG. 1 may be executed in another step, or the expansion term shown in FIGS. Various modifications are possible.

【0049】[0049]

【発明の効果】以上詳細に説明したように、本発明によ
れば、索引作成処理により、予め集合の索引値及び問い
合わせの索引値を作成しておき、拡張項判定処理を行っ
た後にパターン照合を行う。このように、索引を用いる
ことで、パターン照合の可能性のある拡張項の個数を絞
り込むことができるため、絞り込まれない項については
パターン照合可能かどうかの試みを行わない。従って、
その分の検索時間の短縮が図れ、高速な検索が可能とな
る。
As described above in detail, according to the present invention, the index value of the set and the index value of the inquiry are created in advance by the index creating process, and the pattern matching is performed after the expansion term determining process is performed. I do. In this way, since the number of extension terms that have the possibility of pattern matching can be narrowed down by using the index, no attempt is made to determine whether or not pattern matching is possible for terms that are not narrowed down. Therefore,
The search time can be shortened by that amount, and high-speed search can be performed.

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

【図1】本発明の実施例の検索方法を示す概略のフロー
チャートである。
FIG. 1 is a schematic flowchart showing a search method according to an embodiment of the present invention.

【図2】従来の索引(索引値集合)の作成を説明する図
である。
FIG. 2 is a diagram illustrating the creation of a conventional index (index value set).

【図3】従来の検索処理を説明する図である。FIG. 3 is a diagram illustrating a conventional search process.

【図4】本実施例の検索対象及び問い合わせの拡張項を
示す図である。
FIG. 4 is a diagram showing search items and extended items of an inquiry according to the present embodiment.

【図5】本実施例の索引値の構成を説明する図である。FIG. 5 is a diagram illustrating a configuration of index values according to the present embodiment.

【図6】本実施例の関数子のハッシュ値を示す図であ
る。
FIG. 6 is a diagram showing a hash value of a function element according to the present embodiment.

【図7】本実施例の属性名のハッシュ値を説明する図で
ある。
FIG. 7 is a diagram illustrating a hash value of an attribute name according to this embodiment.

【図8】本実施例の属性値のハッシュ値を説明する図で
ある。
FIG. 8 is a diagram illustrating a hash value of an attribute value according to this embodiment.

【図9】本実施例の各拡張項(1)〜(6)の索引値を
説明する図である。
FIG. 9 is a diagram illustrating index values of extension items (1) to (6) of the present embodiment.

【図10】本実施例の各拡張項(7)〜(8)の索引値
を説明する図である。
FIG. 10 is a diagram illustrating index values of extension items (7) to (8) of the present embodiment.

【図11】本実施例の問い合わせである拡張項の索引値
を説明する図である。
FIG. 11 is a diagram illustrating an index value of an extension term that is an inquiry in this embodiment.

【図12】本実施例の検索処理を説明する図である。FIG. 12 is a diagram illustrating a search process according to the present embodiment.

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

10 索引作成処理 11 関数子、属性名及び属性値のビットフィール
ドの割り当て 12−1 各属性名のハッシュ値の計算 12−2 各属性値のハッシュ値の計算 12−3 関数子のハッシュ値の計算 14 論理和演算 15−1 集合の索引値 15−2 問い合わせの索引値 20 拡張項判定処理 30 パターン照合処理
10 Index Creation Processing 11 Allocation of Bit Field of Function Element, Attribute Name and Attribute Value 12-1 Calculation of Hash Value of Each Attribute Name 12-2 Calculation of Hash Value of Each Attribute Value 12-3 Calculation of Hash Value of Function Child 14 OR operation 15-1 Set index value 15-2 Query index value 20 Extended term determination process 30 Pattern matching process

【手続補正書】[Procedure amendment]

【提出日】平成4年7月8日[Submission date] July 8, 1992

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0035[Correction target item name] 0035

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0035】以下、図4〜図13を参照しつつ、図1に
おける各処理10,20,30の内容を詳細に説明す
る。
The contents of each processing 10, 20, 30 in FIG. 1 will be described in detail below with reference to FIGS. 4 to 13.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0044[Correction target item name] 0044

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0044】図6に、拡張項(1)〜(8)に存在する
関数子のハッシュ値を示す。図7に、拡張項(1)〜
(8)に存在する属性名のハッシュ値を(a)値が唯一
である属性名と、(b)値が拡張項である属性名の2つ
に場合分けして求めた結果を示す。図8に、拡張項
(1)〜(8)に存在する属性値のハッシュ値を(a)
値が唯一である属性値、(b)値が拡張項である属性
値、及び(c)値が属性値リスト(集合)である属性
値、の3つに場合分けして求めた結果を示す。図9及び
図11に、図6〜図8を用いて求めた拡張項(1)〜
(8)についての索引値を示す。
FIG. 6 shows hash values of the function elements existing in the extension terms (1) to (8). In FIG. 7, the expansion term (1)-
The hash value of the attribute name existing in (8) is shown as the result obtained by dividing into two cases, the attribute name having the unique value (a) and the attribute name having the expansion term (b). FIG. 8 shows the hash values of the attribute values existing in the extended terms (1) to (8) in (a).
The following shows the results obtained by dividing into three cases: an attribute value having a unique value, (b) an attribute value whose value is an extension term, and (c) an attribute value whose value is an attribute value list (set). . In FIG. 9 and FIG. 11, the expansion term (1) to be obtained by using FIGS.
The index value for (8) is shown.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0046[Correction target item name] 0046

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0046】図4の(9)に示すように、問い合わせに
存在する関数子を18ビット、属性名及び属性値を8ビ
ットでハッシュした値を求める。その結果を図12の
(a)に示す。但し、問い合わせである拡張項の関数
子、属性名及び属性値に存在する変数のハッシュ値につ
いては、それぞれのビットフィールドの長さを持つ、全
ビット“0”のビット列を与える。問い合わせである拡
張項の索引値を求める。その結果を図12の(b)に示
す。
As shown in (9) of FIG. 4, the hash value of the functor existing in the inquiry is calculated in 18 bits, and the attribute name and the attribute value are calculated in 8 bits. The result is shown in FIG. However, for the hash value of the variable existing in the function of the extension term which is the inquiry, the attribute name and the attribute value, a bit string of all bits “0” having the length of each bit field is given. Find the index value of the extended term that is a query. The result is shown in FIG.

【手続補正6】[Procedure correction 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0047[Correction target item name] 0047

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0047】検索対象の索引値S、問い合わせの索引値
Qにおいて、Q∧S=Qを満足する項がパターン照合の
可能性のある(検索候補である)項である。この場合、
図13の検索処理に示すように、この検索候補として、
(1),(8)が挙げられ、その内、(1)がパターン
照合可能な項である。Q∧S≠Qを満たす項について
は、パターン照合できないとしてパターン照合を試みな
いので、その分の検索時間の短縮が図れ、高速な検索が
可能となる。
In the index value S to be searched and the index value Q to be inquired, the term satisfying Q∧S = Q is a term (which is a search candidate) having a possibility of pattern matching. in this case,
As shown in the search process of FIG. 13, as the search candidates,
(1) and (8) are mentioned, and among them, (1) is a term for which pattern matching is possible. For terms that satisfy Q∧S ≠ Q, pattern matching is not attempted because pattern matching cannot be performed, so the search time can be shortened and high-speed search can be performed.

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0048[Correction target item name] 0048

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0048】なお、本発明は図示の実施例に限定され
ず、例えば図1の索引作成処理10を他のステップで実
行したり、図4〜図13に示す拡張項を他の内容にする
等、種々の変形が可能である。
It should be noted that the present invention is not limited to the illustrated embodiment, and for example, the index creation processing 10 of FIG. 1 is executed in another step, or the expansion term shown in FIGS. Various modifications are possible.

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Name of item to be corrected] Brief description of the drawing

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

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

【図1】本発明の実施例の検索方法を示す概略のフロー
チャートである。
FIG. 1 is a schematic flowchart showing a search method according to an embodiment of the present invention.

【図2】従来の索引(索引値集合)の作成を説明する図
である。
FIG. 2 is a diagram illustrating the creation of a conventional index (index value set).

【図3】従来の検索処理を説明する図である。FIG. 3 is a diagram illustrating a conventional search process.

【図4】本実施例の検索対象及び問い合わせの拡張項を
示す図である。
FIG. 4 is a diagram showing search items and extended items of an inquiry according to the present embodiment.

【図5】本実施例の索引値の構成を説明する図である。FIG. 5 is a diagram illustrating a configuration of index values according to the present embodiment.

【図6】本実施例の関数子のハッシュ値を示す図であ
る。
FIG. 6 is a diagram showing a hash value of a function element according to the present embodiment.

【図7】本実施例の属性名のハッシュ値を説明する図で
ある。
FIG. 7 is a diagram illustrating a hash value of an attribute name according to this embodiment.

【図8】本実施例の属性値のハッシュ値を説明する図で
ある。
FIG. 8 is a diagram illustrating a hash value of an attribute value according to this embodiment.

【図9】本実施例の各拡張項(1)〜(3)の索引値を
説明する図である。
FIG. 9 is a diagram illustrating index values of extension items (1) to (3) of the present embodiment.

【図10】本実施例の各拡張項(4)〜(6)の索引値
を説明する図である。
FIG. 10 is a diagram illustrating index values of extension items (4) to (6) of the present embodiment.

【図11】本実施例の各拡張項(7)〜(8)の索引値
を説明する図である。
FIG. 11 is a diagram illustrating index values of extension items (7) to (8) of the present embodiment.

【図12】本実施例の問い合わせである拡張項の索引値
を説明する図である。
FIG. 12 is a diagram illustrating an index value of an extension term which is an inquiry in this embodiment.

【図13】本実施例の検索処理を説明する図である。FIG. 13 is a diagram illustrating a search process according to this embodiment.

【符号の説明】 10 索引作成処理 11 関数子、属性名及び属性値のビットフィール
ドの割り当て 12−1 各属性名のハッシュ値の計算 12−2 各属性値のハッシュ値の計算 12−3 関数子のハッシュ値の計算 14 論理和演算 15−1 集合の索引値 15−2 問い合わせの索引値 20 拡張項判定処理 30 パターン照合処理
[Explanation of Codes] 10 Index Creation Processing 11 Function Element, Attribute Name and Bit Field Allocation of Attribute Value 12-1 Calculation of Hash Value of Each Attribute Name 12-2 Calculation of Hash Value of Each Attribute Value 12-3 Function Child Hash value calculation 14 OR operation 15-1 Set index value 15-2 Query index value 20 Extended term determination process 30 Pattern matching process

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図9[Correction target item name] Figure 9

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図9】 [Figure 9]

【手続補正10】[Procedure Amendment 10]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図10[Name of item to be corrected] Fig. 10

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図10】 [Figure 10]

【手続補正11】[Procedure Amendment 11]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図11[Name of item to be corrected] Figure 11

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図11】 FIG. 11

【手続補正12】[Procedure Amendment 12]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図12[Name of item to be corrected] Fig. 12

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図12】 [Fig. 12]

【手続補正13】[Procedure Amendment 13]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図13[Name of item to be corrected] Fig. 13

【補正方法】追加[Correction method] Added

【補正内容】[Correction content]

【図13】 [Fig. 13]

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データ/知識を構造体である拡張項で表
現するシステムにおける該拡張項は、任意の個数からな
る属性名、及び属性値の組を含み、該属性名及び属性値
の部分に該拡張項を記述したネスト構造が扱え、検索条
件としては、前記属性名、属性値及び関数子に対してワ
イルドカードまたは変数を与え、その属性名、属性値及
び関数子と照合する拡張項の項集合を検索する検索方法
において、 前記関数子、属性名及び属性値のビットフィールドを定
め、該属性名と属性値のビットフィールドの並びを該関
数子のビットフィールドで覆うように配置してそれぞれ
のビットフィールド中へのハッシュを行い、該属性名ま
たは属性値が拡張項でかつそのビットフィールドが十分
な大きさである場合には、該属性名または属性値のビッ
トフィールドを、該属性名または属性値の関数子と属性
名と属性値とのビットフィールドにより索引値を構成
し、 索引作成処理により、前記拡張項の各属性名と属性値の
組及び関数子に対してハッシュ値を求め、それらのハッ
シュ値の論理和演算により、検索対象となる集合に対す
る前記構成の索引値と問い合わせに対する前記構成の索
引値とを予め作成しておき、 前記索引作成処理で作成された集合の索引値と問い合わ
せの索引値との論理演算結果により、パターン照合の可
能性のある前記拡張項を判定する拡張項判定処理を行っ
た後、 パターン照合を行うことを特徴とする拡張項のための重
ね合わせ符号を用いた検索方法。
1. In the system for expressing data / knowledge by an extension term which is a structure, the extension term includes an arbitrary number of attribute name and attribute value pairs, and the attribute name and the attribute value are included in the portion. A nested structure that describes the extension term can be handled, and as a search condition, a wildcard or variable is given to the attribute name, attribute value, and functor, and the extension term that matches the attribute name, attribute value, and functor In a search method for searching a term set, a bit field of the functor, the attribute name and the attribute value is defined, and the arrangement of the bit field of the attribute name and the attribute value is arranged so as to be covered by the bit field of the functor. If the attribute name or attribute value is an extension term and the bit field is large enough, the bit field of the attribute name or attribute value is The index value is constructed by a bit field of the attribute name or attribute value and a function field of the attribute name or attribute value, and by the index creation process, each attribute name and attribute value pair and functor of the extension term On the other hand, a hash value is obtained, and by the logical sum operation of those hash values, the index value of the configuration for the set to be searched and the index value of the configuration for the inquiry are created in advance, and created by the index creation processing. An extension characterized by performing pattern comparison after performing extension term determination processing for determining the extension term having a possibility of pattern matching based on the logical operation result of the index value of the set and the index value of the inquiry Search method using superposition codes for terms.
JP3035172A 1991-02-05 1991-02-05 Retrieval Method Using Superposition Codes for Extended Terms Expired - Lifetime JPH0738195B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3035172A JPH0738195B2 (en) 1991-02-05 1991-02-05 Retrieval Method Using Superposition Codes for Extended Terms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3035172A JPH0738195B2 (en) 1991-02-05 1991-02-05 Retrieval Method Using Superposition Codes for Extended Terms

Publications (2)

Publication Number Publication Date
JPH06124304A true JPH06124304A (en) 1994-05-06
JPH0738195B2 JPH0738195B2 (en) 1995-04-26

Family

ID=12434440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3035172A Expired - Lifetime JPH0738195B2 (en) 1991-02-05 1991-02-05 Retrieval Method Using Superposition Codes for Extended Terms

Country Status (1)

Country Link
JP (1) JPH0738195B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101331946B1 (en) * 2011-10-05 2013-11-21 주식회사 와이즈넛 Search method using wildcard matching

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01232436A (en) * 1988-03-14 1989-09-18 Agency Of Ind Science & Technol Selecting device for unifying candidate term
JPH01232426A (en) * 1988-03-14 1989-09-18 Agency Of Ind Science & Technol Index generating device for unifying candidate selection
JPH01276237A (en) * 1988-04-27 1989-11-06 Agency Of Ind Science & Technol Selector for candidate term to be unified

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01232436A (en) * 1988-03-14 1989-09-18 Agency Of Ind Science & Technol Selecting device for unifying candidate term
JPH01232426A (en) * 1988-03-14 1989-09-18 Agency Of Ind Science & Technol Index generating device for unifying candidate selection
JPH01276237A (en) * 1988-04-27 1989-11-06 Agency Of Ind Science & Technol Selector for candidate term to be unified

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101331946B1 (en) * 2011-10-05 2013-11-21 주식회사 와이즈넛 Search method using wildcard matching

Also Published As

Publication number Publication date
JPH0738195B2 (en) 1995-04-26

Similar Documents

Publication Publication Date Title
CN103282902B (en) Suffix array candidate selects and index data structure
US7627613B1 (en) Duplicate document detection in a web crawler system
Giugno et al. Graphgrep: A fast and universal method for querying graphs
US7827181B2 (en) Click distance determination
JP2022535792A (en) Discovery of data field semantic meaning from data field profile data
JP3849279B2 (en) Index creation method and search method
JP2638307B2 (en) How to search the database directory
US6212525B1 (en) Hash-based system and method with primary and secondary hash functions for rapidly identifying the existence and location of an item in a file
US7412444B2 (en) Efficient indexing of hierarchical relational database records
US20040093329A1 (en) Database system and query optimiser
EP1349081A1 (en) Method and apparatus for querying relational databases
US8296279B1 (en) Identifying results through substring searching
US20080215564A1 (en) Query rewrite
JP2005519370A (en) Effective storage of indented threads in threaded discussion applications
JP2006185408A (en) Database construction device, database retrieval device, and database device
CN107239549A (en) Method, device and the terminal of database terminology retrieval
EP1349082A1 (en) Method and apparatus for querying relational databases
WO1998049632A1 (en) System and method for entity-based data retrieval
Malhotra et al. An ingenious pattern matching approach to ameliorate web page rank
JPH06124304A (en) Retrieving method using overlap code for extended item
Wellenzohn et al. Dynamic interleaving of content and structure for robust indexing of semi-structured hierarchical data (extended version)
JPH10187739A (en) Information retrieving device
JP3859044B2 (en) Index creation method and search method
JPH0773187A (en) Retrieving system
JP2000207409A (en) Structured document managing device and structured document retrieving method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term