JP2006313501A - Common query graph pattern generation device and method, program for generation and common subgraph retrieving device and method using the same and program for retrieval - Google Patents

Common query graph pattern generation device and method, program for generation and common subgraph retrieving device and method using the same and program for retrieval Download PDF

Info

Publication number
JP2006313501A
JP2006313501A JP2005136706A JP2005136706A JP2006313501A JP 2006313501 A JP2006313501 A JP 2006313501A JP 2005136706 A JP2005136706 A JP 2005136706A JP 2005136706 A JP2005136706 A JP 2005136706A JP 2006313501 A JP2006313501 A JP 2006313501A
Authority
JP
Japan
Prior art keywords
common
search
query graph
subgraph
graph pattern
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
JP2005136706A
Other languages
Japanese (ja)
Other versions
JP4547300B2 (en
Inventor
Hiroyuki Sato
宏之 佐藤
Kyoshi Iizuka
京士 飯塚
Takeya Mukaikakiuchi
岳弥 向垣内
Takahiko Murayama
隆彦 村山
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 JP2005136706A priority Critical patent/JP4547300B2/en
Publication of JP2006313501A publication Critical patent/JP2006313501A/en
Application granted granted Critical
Publication of JP4547300B2 publication Critical patent/JP4547300B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a common query graph pattern generation device and method and a program for generation for generating a query graph pattern for acquiring information with a structure having common implications relevant to information input by a user or preset information when retrieving information with which a query graph pattern is matched from among a large amount of data having the graph structure. <P>SOLUTION: A common query graph pattern generating device acquires a retrieval subgraph matched with a retrieval query graph pattern for retrieving a path existing among a plurality of nodes or property acquired from a graph structure database 30 based on information input from a user terminal 20 or preset information. Then, the graph structure included in the retrieval subgraph which appears several times in the combination of property names is extracted, and arbitrary node names and property names included in the extracted graph structure are made variable, so that a common query graph pattern is generated. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、膨大なデータの中からユーザが必要とする情報を検索するために用いる共通クエリグラフパターン生成装置、生成方法、生成用プログラム、およびこれらを用いた共通サブグラフ検索装置、検索方法、検索用プログラムに関する。   The present invention relates to a common query graph pattern generation device, a generation method, a generation program, and a common subgraph search device, a search method, and a search using the same, which are used for searching information required by a user from a large amount of data. Related to the program.

近年、コンピュータネットワーク上には大量のデータが存在しており、ユーザはその中から所望のデータを検索することが困難になってきている。そのため、大量のデータから所望のデータを簡易に入手するための精度の高い検索技術が注目を集めている。   In recent years, a large amount of data exists on a computer network, and it has become difficult for a user to search for desired data. Therefore, a highly accurate search technique for easily obtaining desired data from a large amount of data has attracted attention.

このような精度の高い検索を行うために用いられる技術にセマンティックWebがある。このセマンティックWebは、Webサイト上にメタデータとしてセマンティクス(意味情報)を付与し、人の手を使わずにデータを機械的に処理できる空間を創出するものである。   The Semantic Web is a technique used to perform such a high-precision search. This Semantic Web adds semantics (semantic information) as metadata on a Web site and creates a space where data can be processed mechanically without using human hands.

このセマンティックWebを利用した技術が非特許文献1に記載されている。この文献には、セマンティックWebを利用し、メタデータの記述方法を定めたResource Description Framework(RDF)により表現されたグラフ構造のデータから、グラフパターンをクエリとしてマッチングさせて必要なデータを検索する技術が記載されている。またこの文献では、マッチした部分をサブグラフとして取得するための仕様が規定されている。
SPARQL Query Language for RDF URL:http://www.w3.org/TR/RDF-sparql-query/ gSpan: Graph-Based Substructure Pattern Mining, Proceedings of the 2002 IEEE International Conference on Data Mining(ICDM’02),IEEE Computer Society,Washington,DC,USA
Non-Patent Document 1 describes a technique using the Semantic Web. This document uses the Semantic Web to search the necessary data by matching the graph pattern as a query from the data of the graph structure expressed by the Resource Description Framework (RDF) that defines the metadata description method. Is described. In this document, a specification for acquiring a matched portion as a subgraph is defined.
SPARQL Query Language for RDF URL: http://www.w3.org/TR/RDF-sparql-query/ gSpan: Graph-Based Substructure Pattern Mining, Proceedings of the 2002 IEEE International Conference on Data Mining (ICDM'02), IEEE Computer Society, Washington, DC, USA

しかし、この非特許文献1に記載の技術では、グラフ構造を持つ大量のデータの中から所望のサブグラフを抽出する際、予め抽出したいサブグラフの構造が分かっていなければならなかった。これは、ユーザの検索履歴データやユーザプロファイルデータの情報があってもこれらの情報からクエリグラフパターンを作成する方法については明示されていないため、ユーザ自身がそのグラフパターンをクエリとして入力しなければならないからである。そのため、ユーザによって異なる興味や関心に応じてクエリグラフパターンを変更する場合も、ユーザ自身が変更するグラフパターンを直接指定しなければならず、手間がかかるという問題があった。   However, in the technique described in Non-Patent Document 1, when a desired subgraph is extracted from a large amount of data having a graph structure, the structure of the subgraph to be extracted must be known in advance. This is because it is not specified how to create a query graph pattern from user search history data and user profile data information, so the user must input the graph pattern as a query. Because it will not be. Therefore, even when the query graph pattern is changed according to different interests or interests depending on the user, the user himself / herself has to directly specify the graph pattern to be changed.

また、非特許文献2には、グラフ集合から頻出部分のサブグラフを検出するアルゴリズムが記載されている。しかしこの技術は、グラフ構造を持った膨大な情報の中から頻出のサブグラフ構造を検出することはできるが、その際ユーザの興味対象に関連づけられた構造に基づいて検出することはできない。   Non-Patent Document 2 describes an algorithm for detecting a subgraph of a frequent portion from a graph set. However, this technique can detect a frequent subgraph structure from an enormous amount of information having a graph structure, but cannot detect it based on the structure associated with the user's interest.

本発明は、上記事情に鑑みてなされたものであり、グラフ構造を持つ大量のデータの中からクエリグラフパターンが一致する情報を検索する際、ユーザにより入力された情報または予め設定された情報に関連し且つ共通の意味合いの構造を持つ情報を取得することができるクエリグラフパターンを自動的に生成できる共通クエリグラフパターン生成装置、生成方法、生成用プログラム、およびこれらを用いた共通サブグラフ検索装置、検索方法、検索用プログラムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and when searching for information matching a query graph pattern from a large amount of data having a graph structure, information input by a user or preset information is used. A common query graph pattern generation device, a generation method, a generation program, and a common subgraph search device using them, which can automatically generate a query graph pattern capable of acquiring information having a structure of related and common meanings, It is an object to provide a search method and a search program.

上記目的を達成するための本発明は、グラフグラフ構造を持つデータが格納されているグラフ構造データベースに接続され、ユーザから入力された情報または予め設定された情報を基に、グラフ構造データベースから取得した複数のノードまたはプロパティ間に存在するパスを検索するための検索クエリグラフパターンを生成する検索クエリグラフパターン生成手段と、生成された検索クエリグラフパターンにマッチする検索サブグラフをグラフ構造データベースから取得する検索サブグラフ取得手段と、取得された検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを抽出し、この抽出されたグラフ構造に含まれる任意のノード名およびプロパティ名を変数にすることにより、ユーザにより入力された情報または予め設定された情報に関連する情報が追加されたデータを検索するための共通クエリグラフパターンを生成する共通クエリグラフパターン生成手段とを備える。   In order to achieve the above object, the present invention is connected to a graph structure database in which data having a graph graph structure is stored, and is acquired from the graph structure database based on information input from a user or preset information. Search query graph pattern generating means for generating a search query graph pattern for searching for a path existing between a plurality of nodes or properties, and a search subgraph matching the generated search query graph pattern is acquired from the graph structure database A search subgraph acquisition means, a graph structure included in the acquired search subgraph, and a combination of property names in the graph structure are extracted multiple times, and an arbitrary node included in the extracted graph structure By making the name and property name variable , And a common query graph pattern generating means for generating a common query graph pattern for information related to the input information or preset information by a user searches for additional data.

また、共通クエリグラフパターン生成手段において、検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを、オントロジを用いて抽出するようにしてもよい。   Further, in the common query graph pattern generation means, a graph structure included in the search subgraph and a combination of property names in the graph structure that appear multiple times may be extracted using an ontology.

また、共通クエリグラフパターン生成手段において生成された共通クエリグラフパターンの変数であるノードのいずれかに、ユーザ端末から入力された情報または予め設定された情報を代入した共通クエリグラフパターンを生成するようにしてもよい。   Further, a common query graph pattern is generated by substituting information input from a user terminal or preset information into any of the nodes that are variables of the common query graph pattern generated by the common query graph pattern generation unit. It may be.

また、この共通クエリグラフパターンによりグラフ構造データベースから取得されたユーザにより入力された情報または予め設定された情報に関連する情報が追加された共通サブグラフのデータを、表形式で表示させるためのデータに変換する表示データ変換手段を備えるようにしてもよい。   Moreover, the data input by the user acquired from the graph structure database by this common query graph pattern or the data of the common subgraph to which information related to the preset information is added is displayed as data for displaying in a tabular format. You may make it provide the display data conversion means to convert.

本発明によれば、グラフ構造を持つ大量のデータの中からクエリグラフパターンが一致する情報を検索する際に、ユーザによりキーワードまたは概念などの情報が入力されることにより、これらの情報に関連し且つ共通の意味合いの構造を持つ情報を取得することができるクエリグラフパターンを自動的に生成することができるため、所望の情報を効率よく取得することができる。   According to the present invention, when searching for information having a matching query graph pattern from a large amount of data having a graph structure, information such as a keyword or a concept is input by the user, and the information is related to the information. In addition, since a query graph pattern that can acquire information having a structure with a common meaning can be automatically generated, desired information can be efficiently acquired.

本発明の共通クエリグラフパターン生成装置の一実施形態を、図1〜図19を用いて説明する。   An embodiment of the common query graph pattern generation apparatus of the present invention will be described with reference to FIGS.

《一実施形態による検索システム1の構成》
図1は、本発明の一実施形態による共通クエリグラフパターン生成装置としての共通クエリグラフ生成部13を有する検索装置10を用いた検索システム1の構成を示す全体図である。
<< Configuration of Search System 1 According to One Embodiment >>
FIG. 1 is an overall view showing a configuration of a search system 1 using a search device 10 having a common query graph generation unit 13 as a common query graph pattern generation device according to an embodiment of the present invention.

本実施形態における検索システム1は、検索装置10と、ユーザ端末20と、グラフ構造データベース30と、オントロジデータベース40とを有する。   The search system 1 in the present embodiment includes a search device 10, a user terminal 20, a graph structure database 30, and an ontology database 40.

検索装置10は、ユーザ端末20、グラフ構造データベース30、およびオントロジデータベース40にアクセス可能な状態で接続されている。   The search device 10 is connected to the user terminal 20, the graph structure database 30, and the ontology database 40 in an accessible state.

また、検索装置10は、ユーザに検索内容の情報を入力させるための入力用GUIを生成する入力用GUI生成部11と、この入力用GUIに入力された情報に基づいて共通クエリグラフパターンを生成してこの共通クエリグラフパターンにマッチする情報をグラフ構造データベースから取得する共通クエリグラフパターン生成部12と、生成された共通クエリグラフパターンを蓄積する共通クエリグラフパターン蓄積部13と、ユーザに検索結果を提示するための出力用GUIを生成する出力用GUI生成部14とを有する。   In addition, the search device 10 generates an input GUI generation unit 11 that generates an input GUI for allowing the user to input search content information, and generates a common query graph pattern based on information input to the input GUI. The common query graph pattern generation unit 12 that acquires information that matches the common query graph pattern from the graph structure database, the common query graph pattern storage unit 13 that stores the generated common query graph pattern, and the search result to the user An output GUI generation unit 14 for generating an output GUI for presenting the

グラフ構造データベース30は、図2に示すようなグラフ構造を持つデータが格納されている。本実施形態におけるグラフ構造データはラベル付き有向グラフデータであり、データのアーク(ノード間を結ぶ矢印)をRDFの仕様に基づいてプロパティと称する。   The graph structure database 30 stores data having a graph structure as shown in FIG. The graph structure data in this embodiment is directed directed graph data, and an arc of data (an arrow connecting nodes) is referred to as a property based on RDF specifications.

図3は、これらのグラフ構造データがどのように既存のリレーショナルデータベースなどで管理されているデータから生成され、グラフ化されているかを示す説明図である。図3は図2のデータの一部を示したものであり、ドキュメント「T-041」とそのドキュメントの著者「山田太郎」と、そのドキュメントの題名「セマンティックWeb入門」と、そのドキュメントのキーワード「セマンティックWeb」とが与えられているデータを、XML形式およびグラフ形式を用いてRDFで表現したものである。   FIG. 3 is an explanatory diagram showing how these graph structure data are generated from data managed in an existing relational database and are graphed. FIG. 3 shows a part of the data shown in FIG. 2. The document “T-041”, the author “Taro Yamada” of the document, the title of the document “Introduction to Semantic Web”, and the keyword “ Data given "Semantic Web" is expressed in RDF using XML format and graph format.

オントロジデータベース40は、図4に示すようなWeb Ontology Language(OWL)を用いて表現される、言葉の意味や分類体系を定義するためのオントロジデータが格納されている。図4では、プロパティ「rm:キーワード」とプロパティ「ms:用語」とは等価であり、プロパティ「rm:著者」とプロパティ「ms:著者」とは等価であることが示されている。   The ontology database 40 stores ontology data for defining the meaning of words and the classification system expressed using Web Ontology Language (OWL) as shown in FIG. FIG. 4 shows that the property “rm: keyword” and the property “ms: term” are equivalent, and the property “rm: author” and the property “ms: author” are equivalent.

《一実施形態による検索システム1の動作》
次に、上記のように構成された検索システム1の動作を、図5のシーケンス図を用いて説明する。
<< Operation of Search System 1 According to One Embodiment >>
Next, the operation of the search system 1 configured as described above will be described with reference to the sequence diagram of FIG.

まず、入力用GUI生成部11において入力用GUIが生成される(S1)。本実施形態において生成される入力用GUIには、図6に示すように、キーワードを入力するスペースと、概念(クラス)を選択する欄が設けられている。   First, the input GUI generation unit 11 generates an input GUI (S1). In the input GUI generated in the present embodiment, as shown in FIG. 6, a space for inputting a keyword and a column for selecting a concept (class) are provided.

そして、生成された入力用GUIがユーザ端末20に表示され、ユーザによりキーワードの入力および概念が選択される(S2)。本実施形態においては、ユーザによりキーワードとして「セマンティックWeb」が入力され、概念(クラス)として「人」が選択されている。入力されたキーワードおよび選択された概念のデータは共通クエリグラフパターン生成部12に出力される。   Then, the generated input GUI is displayed on the user terminal 20, and the keyword input and concept are selected by the user (S2). In the present embodiment, “Semantic Web” is input as a keyword by the user, and “person” is selected as a concept (class). The input keyword and the selected concept data are output to the common query graph pattern generation unit 12.

共通クエリグラフパターン生成部12では、取得したキーワードを基にグラフ構造データベース30にアクセスが行われる(S3)。   In the common query graph pattern generation unit 12, the graph structure database 30 is accessed based on the acquired keyword (S3).

そして、グラフ構造データベース30において、このキーワード「セマンティックWeb」につながるプロパティが抽出される(S4)。抽出されたプロパティのアークが太線で示され、プロパティ名に下線が引かれたグラフ構造データの例を図7に示す。   Then, a property connected to the keyword “Semantic Web” is extracted from the graph structure database 30 (S4). FIG. 7 shows an example of the graph structure data in which the extracted property arc is indicated by a bold line and the property name is underlined.

さらにグラフ構造データベース30において、これらの太線で示されたプロパティ「rm:キーワード」または「ms:用語」を基に、このプロパティ「rm:キーワード」または「ms:用語」と、ユーザにより選択されたクラス「Person:人」のインスタンス「Person:山田太郎」、「Person:田中一郎」、または「Person:鈴木花子」との間にあるパスをグラフ構造データベース30から抽出することが可能な検索クエリグラフパターンが全て生成される(S5)。   Further, in the graph structure database 30, the property “rm: keyword” or “ms: term” is selected by the user based on the property “rm: keyword” or “ms: term” indicated by these bold lines. A search query graph that can extract a path between the instance “Person: Taro Yamada”, “Person: Ichiro Tanaka”, or “Person: Hanako Suzuki” of the class “Person: People” from the graph structure database 30. All patterns are generated (S5).

図8は、生成された検索クエリグラフパターンを示す説明図である。本実施形態においては図8に示すように、ステップS4で抽出されたプロパティ「rm:キーワード」または「ms:用語」と、ユーザにより選択されたクラス「Person:人」と、このクラス「Person:人」のインスタンス「Person:山田太郎」、「Person:田中一郎」、または「Person:鈴木花子」からクラス「Person:人」につながるプロパティ「rdf:type」とが固定された2種類の検索クエリグラフパターンが生成されている。図8において、名称の先頭に「?」マークが記載されているノードは、任意の値が入る可能性がある変数であることを示している。   FIG. 8 is an explanatory diagram showing the generated search query graph pattern. In this embodiment, as shown in FIG. 8, the property “rm: keyword” or “ms: term” extracted in step S4, the class “Person: person” selected by the user, and the class “Person: Two types of search queries with fixed property "rdf: type" from "Person: Taro Yamada", "Person: Ichiro Tanaka", or "Person: Hanako Suzuki" to class "Person: Person" A graph pattern has been generated. In FIG. 8, a node having a “?” Mark at the beginning of the name indicates a variable that may have an arbitrary value.

次に、生成された2種類の検索クエリグラフパターンを基に、共通クエリグラフパターン生成部12からグラフ構造データベース30にアクセスされる(S6)。   Next, the common query graph pattern generation unit 12 accesses the graph structure database 30 based on the two types of generated search query graph patterns (S6).

そして、グラフ構造データベース30においてこの検索クエリグラフパターンにマッチする検索サブグラフ(変数ノード「?keyword」と変数ノード「?Person」との間にパスが存在するサブグラフ)が抽出される(S7)。   Then, a search subgraph (subgraph having a path between the variable node “? Keyword” and the variable node “? Person”) that matches the search query graph pattern is extracted in the graph structure database 30 (S7).

図9は、グラフ構造データベース30から抽出された検索サブグラフの一例である第1検索サブグラフを示す説明図である。この第1検索サブグラフでは、変数ノード「?keyword」としてノード「XML」がマッチした検索サブグラフを示す。このとき、変数ノード「?Person」の値が同一のデータについては同一ノードを1つのみ表示するようにする。   FIG. 9 is an explanatory diagram showing a first search subgraph that is an example of a search subgraph extracted from the graph structure database 30. This first search subgraph shows a search subgraph in which the node “XML” is matched as the variable node “? Keyword”. At this time, only one identical node is displayed for data having the same value of the variable node “? Person”.

このように、変数ノード「?keyword」がノード「XML」であり同一の変数ノード「?Person」ごとに示された第1検索サブグラフは、図9に示すとおり(1)変数ノード「?Person」がノード「Person:山田太郎」の場合、(2)変数ノード「?Person」がノード「Person:鈴木花子」の場合、(3)変数ノード「?Person」がノード「Person:中村二郎」の場合の3種類である。   Thus, the variable node “? Keyword” is the node “XML”, and the first search subgraph shown for each identical variable node “? Person” is (1) variable node “? Person” as shown in FIG. Is the node “Person: Taro Yamada”, (2) the variable node “? Person” is the node “Person: Hanako Suzuki”, (3) the variable node “? Person” is the node “Person: Jiro Nakamura” There are three types.

次に、これら3種類の第1検索サブグラフの中から、2点(ノード「XML」および変数ノード「?Person」)のノード間が2個以上の複数のパスで構成され、この複数のパスで構成されたグラフの構造およびこのパスのプロパティが一致し、且つこの一致した複数のパスで構成されたグラフの構造およびこのパスのプロパティが複数の検索結果の中に存在する部分第1検索サブグラフが抽出される(S8)。   Next, among these three types of first search subgraphs, two nodes (node “XML” and variable node “? Person”) are composed of two or more paths. A partial first search sub-graph in which the structure of the constructed graph and the property of the path match, and the structure of the graph constructed by the matched plurality of paths and the property of the path exist in the plurality of search results Extracted (S8).

図10は、第1検索サブグラフから抽出された部分第1検索サブグラフのプロパティを太線で示した状態を示す説明図である。本実施形態においては、ノード「XML」に2本のプロパティ「rm:キーワード」がつながり、変数ノード「?Person」にプロパティ「pj:担当者」とプロパティ「rm:著者」とがつながっている構造の部分検索サブグラフが抽出されている。   FIG. 10 is an explanatory diagram illustrating a state in which the properties of the partial first search subgraph extracted from the first search subgraph are indicated by bold lines. In the present embodiment, two properties “rm: keyword” are connected to the node “XML”, and the property “pj: person” and the property “rm: author” are connected to the variable node “? Person”. The partial search subgraph is extracted.

そして、この部分第1検索サブグラフにおいて、共通した構造およびプロパティ以外のノード「XML」、「Aプロジェクト」、「rm:T-041」、「Bプロジェクト」、「rm:T-057」、「Person:山田太郎」、および「Person:鈴木花子」を変数ノードとした第1共通クエリグラフパターンが共通クエリグラフパターン生成部12において生成される(S9)。   In this partial first search subgraph, nodes other than the common structure and properties "XML", "A project", "rm: T-041", "B project", "rm: T-057", "Person The common query graph pattern generation unit 12 generates a first common query graph pattern having “: Taro Yamada” and “Person: Hanako Suzuki” as variable nodes (S9).

生成された第1共通クエリグラフパターンは、共通クエリグラフパターン生成部12から共通クエリグラフパターン蓄積部13に送出され蓄積される(S10)。   The generated first common query graph pattern is transmitted from the common query graph pattern generation unit 12 to the common query graph pattern storage unit 13 and stored (S10).

図11は、生成された第1共通クエリグラフパターンを示す説明図である。本実施形態においては図11に示すように、ステップS8で抽出されたプロパティ「rm:キーワード」、「pj:担当者」、および「tm:著者」が固定された第1共通クエリグラフパターンが生成されている。   FIG. 11 is an explanatory diagram showing the generated first common query graph pattern. In the present embodiment, as shown in FIG. 11, the first common query graph pattern in which the properties “rm: keyword”, “pj: person”, and “tm: author” extracted in step S8 are fixed is generated. Has been.

一方、ステップS7において、変数ノード「?keyword」としてノード「セマンティックWeb」がマッチした第2検索サブグラフについて説明する。   On the other hand, the second search subgraph in which the node “Semantic Web” is matched as the variable node “? Keyword” in step S7 will be described.

図12は、変数ノード「?keyword」としてノード「セマンティックWeb」がマッチした第2検索サブグラフを示す説明図である。ここでも、変数ノード「?Person」の値が同一のデータについては同一ノードを1つのみ表示するようにする。   FIG. 12 is an explanatory diagram showing a second search subgraph in which the node “Semantic Web” is matched as the variable node “? Keyword”. Again, for data with the same variable node “? Person” value, only one identical node is displayed.

このように、変数ノード「?keyword」がノード「セマンティックWeb」であり同一の変数ノード「?Person」ごとに示された第2検索サブグラフは、図12に示すとおり(1)変数ノード「?Person」がノード「Person:山田太郎」の場合、(2)変数ノード「?Person」がノード「Person:田中一郎」の場合、(3)変数ノード「?Person」がノード「Person: 鈴木花子」の場合の3種類である。   Thus, the second search subgraph shown for each variable node “? Person” with the variable node “? Keyword” being the node “Semantic Web” is as shown in FIG. ”Is the node“ Person: Taro Yamada ”, (2) the variable node“? Person ”is the node“ Person: Ichiro Tanaka ”, (3) the variable node“? Person ”is the node“ Person: Hanako Suzuki ” There are three types of cases.

次に、この第2検索サブグラフに含まれるプロパティを基に、共通クエリグラフパターン生成部12からオントロジデータベース40にアクセスされる(S11)。   Next, the ontology database 40 is accessed from the common query graph pattern generation unit 12 based on the properties included in the second search subgraph (S11).

そして、オントロジデータベース40において、これらの第2検索サブグラフに含まれるプロパティの中に同じ意味に分類されているものがあるかどうか検索される。ここでは、第2検索サブグラフのプロパティに含まれ、同じ意味に分類されている「キーワード」と「用語」とが抽出され、共通クエリグラフパターン生成部12に送出される(S12)。   Then, the ontology database 40 is searched for whether any of the properties included in these second search subgraphs are classified into the same meaning. Here, “keyword” and “term” included in the properties of the second search subgraph and classified in the same meaning are extracted and sent to the common query graph pattern generation unit 12 (S12).

次に、3種類の第2検索サブグラフの中から、2点(ノード「セマンティックWeb」および変数ノード「?Person」)のノード間が2個以上の複数のパスで構成され、この複数のパスで構成されたグラフの構造およびこのパスのプロパティが一致し、且つこの一致した複数のパスで構成されたグラフの構造およびこのパスのプロパティが複数の検索結果の中に存在する部分第2検索サブグラフが抽出される。このとき、ステップS14で抽出された単語は同一とみなされ、部分第2検索サブグラフが抽出される(S8)。   Next, two points (node “Semantic Web” and variable node “? Person”) are composed of two or more paths from the three types of second search subgraphs. A partial second search subgraph in which the structure of the constructed graph and the property of this path match, and the structure of the graph composed of the matched plurality of paths and the property of this path exist in the plurality of search results Extracted. At this time, the words extracted in step S14 are regarded as the same, and the partial second search subgraph is extracted (S8).

図13は、第2検索サブグラフから抽出された部分第2検索サブグラフのプロパティを太線で示した状態を示す説明図である。本実施形態においては、ノード「セマンティックWeb」に2本のプロパティ「rm:キーワード」または「ms:用語」がつながり、変数ノード「?Person」にプロパティ「rm:著者」またはプロパティ「ms:著者」とがつながっている構造の部分第2検索サブグラフが抽出されている。   FIG. 13 is an explanatory diagram showing a state in which the properties of the partial second search subgraph extracted from the second search subgraph are indicated by bold lines. In this embodiment, two properties “rm: keyword” or “ms: term” are connected to the node “Semantic Web”, and the property “rm: author” or the property “ms: author” is connected to the variable node “? Person”. A partial second search subgraph having a structure connected to is extracted.

そして、この部分第2検索サブグラフにおいて、共通した構造およびプロパティ以外のノード「セマンティックWeb」、「rm:T-041」、「ms:PF1-14」、「rm:T-053」、「rm:T-048」「Person:山田太郎」、および「Person:田中一郎」を変数ノードとした第2共通クエリグラフパターンが共通クエリグラフパターン生成部12において生成される(S9)。   In this partial second search subgraph, nodes “semantic web”, “rm: T-041”, “ms: PF1-14”, “rm: T-053”, “rm: A second common query graph pattern having variable nodes “T-048”, “Person: Taro Yamada”, and “Person: Ichiro Tanaka” is generated in the common query graph pattern generation unit 12 (S9).

生成された第2共通クエリグラフパターンも、共通クエリグラフパターン生成部12から共通クエリグラフパターン蓄積部13に送出され蓄積される(S10)。   The generated second common query graph pattern is also transmitted from the common query graph pattern generation unit 12 to the common query graph pattern storage unit 13 and stored (S10).

図14は、生成された第2共通クエリグラフパターンを示す説明図である。本実施形態においては図14に示すように、ステップS8で抽出されたプロパティ「rm:キーワード」、「rm:キーワード」もしくは「ms:用語」、「rm:著者」、「rm:著者」もしくは「ms:著者」が固定された第2共通クエリグラフパターンが生成されている。   FIG. 14 is an explanatory diagram showing the generated second common query graph pattern. In this embodiment, as shown in FIG. 14, the properties “rm: keyword”, “rm: keyword” or “ms: term”, “rm: author”, “rm: author” or “ A second common query graph pattern in which “ms: author” is fixed is generated.

次に、図15に示すように、ステップS9で生成された第1クエリグラフパターンの変数ノード「?keyword」にユーザにより入力されたキーワード「セマンティックWeb」を代入し、この第1クエリグラフパターンを基に、共通クエリグラフパターン生成部12からグラフ構造データベース30にアクセスされる(S13)。   Next, as shown in FIG. 15, the keyword “Semantic Web” input by the user is substituted into the variable node “? Keyword” of the first query graph pattern generated in step S9, and this first query graph pattern is Based on this, the common query graph pattern generation unit 12 accesses the graph structure database 30 (S13).

そして、グラフ構造データベース30においてこのキーワード「セマンティックWeb」が代入された第1クエリグラフパターンにマッチする第1共通サブグラフが抽出される(S14)。   Then, a first common subgraph that matches the first query graph pattern in which the keyword “Semantic Web” is substituted in the graph structure database 30 is extracted (S14).

図16は、グラフ構造データベース30から抽出された第1共通サブグラフを示す説明図である。本実施形態においては抽出された第1共通サブグラフは1件のみであり、これはユーザにより入力されたキーワード「セマンティックWeb」以外の技術(ここでは「XML」)においてみられたクラス「人」とクラス「技術」との間に共通して存在する強い関連性のある情報が、キーワード「セマンティックWeb」に関しては1件しかなかったことを示している。   FIG. 16 is an explanatory diagram showing the first common sub-graph extracted from the graph structure database 30. In the present embodiment, there is only one extracted first common subgraph, which is the class “people” found in technologies (here “XML”) other than the keyword “Semantic Web” input by the user. This indicates that there is only one piece of strongly related information that exists in common with the class “technology” for the keyword “Semantic Web”.

次に、図17に示すように、ステップS9で生成された第2クエリグラフパターンの変数ノード「?keyword」にユーザにより入力されたキーワード「セマンティックWeb」を代入し、この第2クエリグラフパターンを基に、共通クエリグラフパターン生成部12からグラフ構造データベース30にアクセスされる(S13)。   Next, as shown in FIG. 17, the keyword “Semantic Web” input by the user is substituted into the variable node “? Keyword” of the second query graph pattern generated in step S9, and this second query graph pattern is substituted. Based on this, the common query graph pattern generation unit 12 accesses the graph structure database 30 (S13).

そして、グラフ構造データベース30においてこのキーワード「セマンティックWeb」が代入された第2クエリグラフパターンにマッチする第2共通サブグラフが抽出される(S14)。   Then, a second common subgraph that matches the second query graph pattern in which the keyword “Semantic Web” is substituted in the graph structure database 30 is extracted (S14).

本実施形態においては抽出された第2共通サブグラフは2件であり、これはクラス「人」とクラス「技術」との間に共通して存在する強い関連性のある情報が、キーワード「セマンティックWeb」に関しては2件存在するとともに、この2件の中のノード「Person:」に示される「山田太郎」と「田中一郎」とは、キーワード「セマンティックWeb」に関して類似した情報を持つことを示している。   In this embodiment, there are two extracted second common subgraphs. This is because the strongly related information that exists between the class “person” and the class “technology” is the keyword “Semantic Web”. "Taro Yamada" and "Ichiro Tanaka" shown in the node "Person:" in these two cases have similar information regarding the keyword "Semantic Web" Yes.

抽出された2件の第2共通サブグラフは、共通クエリグラフパターン生成部12において、同一のノードを1つのノードとして表すように2つのグラフがマージされる(S15)。   The two extracted second common subgraphs are merged in the common query graph pattern generation unit 12 so that the same node is represented as one node (S15).

図18は、2件の第2共通サブグラフがマージされた状態を示す説明図である。   FIG. 18 is an explanatory diagram showing a state where two second common subgraphs are merged.

さらに、このマージされた第2共通サブグラフは、出力用GUI生成部14において図19に示すような表形式の出力用GUIが生成され(S16)、ユーザ端末20において表示される(S17)。この際、グラフ構造データベースのデータよりドキュメントの題名がわかっているものについては併せて表示される。図19においては、ドキュメント「rm:T-041」とともにこのタイトル「セマンティックWeb入門」が表示されている。   Further, the merged second common subgraph is generated in a tabular output GUI as shown in FIG. 19 in the output GUI generation unit 14 (S16) and displayed on the user terminal 20 (S17). At this time, the document whose title is known from the data of the graph structure database is also displayed. In FIG. 19, the title “Introduction to Semantic Web” is displayed together with the document “rm: T-041”.

以上の実施形態によれば、グラフ構造を持つ大量のデータの中からクエリグラフパターンが一致する情報を検索する際に、ユーザにより入力されたキーワード「セマンティックWeb」および概念「人」に関連し意味的に共通の構造を持つ情報を自動的に取得し、ユーザに見やすい形式で提供することができる。   According to the above embodiment, when searching for information that matches the query graph pattern from a large amount of data having a graph structure, the meaning is related to the keyword “Semantic Web” and the concept “people” input by the user. In general, information having a common structure can be automatically acquired and provided in a format that is easy for the user to see.

また、ステップ11において共通クエリグラフパターンが蓄積されることにより、グラフ構造データベース30にデータが追加された際にも、蓄積されている共通クエリグラフパターンを基にグラフ構造データベース30を再度検索すれば追加されたデータも含まれた情報を取得することができる。   Further, when the common query graph pattern is accumulated in step 11, even when data is added to the graph structure database 30, if the graph structure database 30 is searched again based on the accumulated common query graph pattern. Information including the added data can be acquired.

本実施形態では、ステップS5において検索クエリグラフパターンを生成する際、2点のノード間のノードが1個の検索サブクエリを検索するための検索クエリグラフパターンを生成しているが、これには限定されず、2個以上のノードが存在する検索クエリグラフパターンを生成することも可能である。また、キーワードにつながるプロパティによって制約されるノードのみ、もしくはクラスによって制約されるノードのみで2点を構成して検索クエリグラフパターンを生成することも可能である。さらには、プロパティの矢印の向きに応じて複数の検索クエリグラフパターンを生成することも可能である。   In this embodiment, when a search query graph pattern is generated in step S5, a node between two nodes generates a search query graph pattern for searching for one search subquery. Alternatively, it is possible to generate a search query graph pattern in which two or more nodes exist. It is also possible to generate a search query graph pattern by configuring two points with only nodes restricted by properties connected to keywords or nodes restricted by classes. Furthermore, it is possible to generate a plurality of search query graph patterns according to the direction of the property arrow.

また、本実施形態では、ステップS8において部分第1検索サブグラフを抽出する際、2点のノード間が2個以上の複数のパスで構成されていることを条件としているが、これには限定されず、このパスの個数については可変とすることができる。その際、検索結果の中にどれだけの個数の同じ構造があれば抽出するかといった条件についても可変とすることができる。   Further, in the present embodiment, when extracting the partial first search subgraph in step S8, the condition is that the two nodes are composed of two or more paths, but the present invention is not limited to this. Instead, the number of paths can be made variable. At that time, it is possible to change the condition of how many identical structures are extracted in the search result.

また、本実施形態では、ステップS9において部分第1検索サブグラフに含まれるノードを変数にすることにより共通クエリグラフパターンを生成したが、この方法には限定されず、一部のプロパティ名を変数とした共通クエリグラフパターンを生成することも可能である。   In this embodiment, the common query graph pattern is generated by making the node included in the partial first search subgraph a variable in step S9. However, the present invention is not limited to this method. It is also possible to generate a common query graph pattern.

本発明の一実施形態による共通クエリグラフパターン生成装置が用いられている検索システム1の構成を示す全体図である。1 is an overall view showing a configuration of a search system 1 in which a common query graph pattern generation device according to an embodiment of the present invention is used. 本発明の一実施形態による共通クエリグラフパターン生成装置に接続されているグラフ構造データベース内のデータを示す説明図である。It is explanatory drawing which shows the data in the graph structure database connected to the common query graph pattern generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置に接続されているグラフ構造データベース内のデータの一部であり、元のリレーショナルデータベースにおけるデータと、このデータをXML形式およびグラフ形式を用いてRDFで表現した状態を示す説明図である。FIG. 2 is a portion of data in a graph structure database connected to a common query graph pattern generation device according to an embodiment of the present invention, and the data in the original relational database and the RDF using the XML format and the graph format. It is explanatory drawing which shows the state expressed by. 本発明の一実施形態による共通クエリグラフパターン生成装置に接続されているオントロジデータベース内のデータの一部を示す説明図である。It is explanatory drawing which shows a part of data in the ontology database connected to the common query graph pattern generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置が用いられている検索システムの動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of the search system in which the common query graph pattern generation apparatus by one Embodiment of this invention is used. 本発明の一実施形態による共通クエリグラフパターン生成装置に入力される入力GUIを示す説明図である。It is explanatory drawing which shows the input GUI input into the common query graph pattern generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で取得された、入力キーワードにつながるプロパティを太線で示したグラフ構造データを示す説明図である。It is explanatory drawing which shows the graph structure data which showed the property connected with the input keyword with the thick line acquired with the common query graph pattern generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で生成された検索クエリグラフパターン示す説明図である。It is explanatory drawing which shows the search query graph pattern produced | generated with the common query graph pattern production | generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で取得された検索クエリグラフパターンにマッチした検索サブグラフの例を示す説明図である。It is explanatory drawing which shows the example of the search subgraph matched with the search query graph pattern acquired with the common query graph pattern generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で取得された検索サブグラフにおいて共通する構造およびプロパティを太線で示した状態を示す説明図である。It is explanatory drawing which shows the state which showed the structure and property which are common in the search subgraph acquired with the common query graph pattern generation apparatus by one Embodiment of this invention with the thick line. 本発明の一実施形態による共通クエリグラフパターン生成装置で生成された共通クエリグラフパターンの一例を示す説明図である。It is explanatory drawing which shows an example of the common query graph pattern produced | generated by the common query graph pattern production | generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で取得された検索クエリグラフパターンにマッチした検索サブグラフの例を示す説明図である。It is explanatory drawing which shows the example of the search subgraph matched with the search query graph pattern acquired with the common query graph pattern generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で取得された検索サブグラフにおいて共通する構造およびプロパティを太線で示した状態を示す説明図である。It is explanatory drawing which shows the state which showed the structure and property which are common in the search subgraph acquired with the common query graph pattern generation apparatus by one Embodiment of this invention with the thick line. 本発明の一実施形態による共通クエリグラフパターン生成装置で生成された共通クエリグラフパターンの一例を示す説明図である。It is explanatory drawing which shows an example of the common query graph pattern produced | generated by the common query graph pattern production | generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で生成された共通クエリグラフパターンにユーザにより入力されたキーワードを代入した状態の一例を示す説明図である。It is explanatory drawing which shows an example of the state which substituted the keyword input by the user into the common query graph pattern produced | generated with the common query graph pattern production | generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で取得された共通クエリグラフパターンにマッチした共通サブグラフの一例を示す説明図である。It is explanatory drawing which shows an example of the common subgraph matched with the common query graph pattern acquired with the common query graph pattern generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で生成された共通クエリグラフパターンにユーザにより入力されたキーワードを代入した状態の一例を示す説明図である。It is explanatory drawing which shows an example of the state which substituted the keyword input by the user into the common query graph pattern produced | generated with the common query graph pattern production | generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置で取得された共通クエリグラフパターンにマッチした共通サブグラフの一例を示す説明図である。It is explanatory drawing which shows an example of the common subgraph matched with the common query graph pattern acquired with the common query graph pattern generation apparatus by one Embodiment of this invention. 本発明の一実施形態による共通クエリグラフパターン生成装置に接続されているユーザ端末で表示された表形式のデータを示す説明図である。It is explanatory drawing which shows the data of the table format displayed on the user terminal connected to the common query graph pattern generation apparatus by one Embodiment of this invention.

符号の説明Explanation of symbols

1…検索システム
10…検索装置
11…入力用GUI生成部
12…共通クエリグラフパターン生成部
13…共通クエリグラフパターン蓄積部
14…出力用GUI生成部
20…ユーザ端末
30…グラフ構造データベース
40…オントロジデータベース

DESCRIPTION OF SYMBOLS 1 ... Search system 10 ... Search apparatus 11 ... Input GUI production | generation part 12 ... Common query graph pattern production | generation part 13 ... Common query graph pattern storage part 14 ... Output GUI production | generation part 20 ... User terminal 30 ... Graph structure database 40 ... Ontology The database

Claims (21)

グラフ構造を持つデータが格納されているグラフ構造データベースに接続され、
ユーザから入力された情報または予め設定された情報を基に、前記グラフ構造データベースから取得した複数のノードまたはプロパティ間に存在するパスを検索するための検索クエリグラフパターンを生成する検索クエリグラフパターン生成手段と、
生成された検索クエリグラフパターンにマッチする検索サブグラフを前記グラフ構造データベースから取得する検索サブグラフ取得手段と、
取得された検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを抽出し、この抽出されたグラフ構造に含まれる任意のノード名およびプロパティ名を変数にすることにより、前記ユーザにより入力された情報または予め設定された情報に関連する情報が追加されたデータを検索するための共通クエリグラフパターンを生成する共通クエリグラフパターン生成手段と、
を備えることを特徴とする共通クエリグラフパターン生成装置。
Connected to a graph structure database that stores data with a graph structure,
Search query graph pattern generation for generating a search query graph pattern for searching a path existing between a plurality of nodes or properties acquired from the graph structure database based on information input from a user or preset information Means,
Search subgraph acquisition means for acquiring from the graph structure database a search subgraph that matches the generated search query graph pattern;
The graph structure included in the retrieved search subgraph and the combinations of property names in this graph structure that appear multiple times are extracted, and any node name and property name included in this extracted graph structure are variables A common query graph pattern generating means for generating a common query graph pattern for searching for data added with information input by the user or information related to preset information;
A common query graph pattern generation device comprising:
前記共通クエリグラフパターン生成手段において、前記検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを、オントロジを用いて抽出する
ことを特徴とする請求項1に記載の共通クエリグラフパターン生成装置。
The common query graph pattern generation means extracts, using an ontology, a graph structure included in the search subgraph and a combination of property names in the graph structure that appear multiple times. The common query graph pattern generation device according to 1.
前記共通クエリグラフパターン生成手段において生成された共通クエリグラフパターンの変数であるノードのいずれかに、前記ユーザから入力された情報または予め設定された情報を代入した共通クエリグラフパターンを生成する
ことを特徴とする請求項1または2に記載の共通クエリグラフパターン生成装置。
Generating a common query graph pattern obtained by substituting information input from the user or preset information into any of the nodes that are variables of the common query graph pattern generated by the common query graph pattern generation unit. The common query graph pattern generation device according to claim 1, wherein the common query graph pattern generation device is a feature of the common query graph pattern generation device.
ユーザから入力された情報または予め設定された情報を基に、グラフ構造を持つデータが格納されているグラフ構造データベースから取得した複数のノードまたはプロパティ間に存在するパスを検索するための検索クエリグラフパターンを生成する検索クエリグラフパターン生成ステップと、
生成された検索クエリグラフパターンにマッチする検索サブグラフを前記グラフ構造データベースから取得する検索サブグラフ取得ステップと、
取得された検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを抽出し、この抽出されたグラフ構造に含まれる任意のノード名およびプロパティ名を変数にすることにより、前記ユーザにより入力された情報または予め設定された情報に関連する情報が追加されたデータを検索するための共通クエリグラフパターンを生成する共通クエリグラフパターン生成ステップと、
を備えることを特徴とする共通クエリグラフパターン生成方法。
Search query graph for searching paths existing between multiple nodes or properties acquired from graph structure database that stores data with graph structure based on information input by user or preset information A search query graph pattern generation step for generating a pattern;
A search subgraph acquisition step of acquiring from the graph structure database a search subgraph that matches the generated search query graph pattern;
The graph structure included in the retrieved search subgraph and the combination of property names in this graph structure that occur multiple times are extracted, and any node name and property name included in this extracted graph structure are variable A common query graph pattern generating step for generating a common query graph pattern for searching for data added with information input by the user or information related to preset information;
A common query graph pattern generation method comprising:
前記共通クエリグラフパターン生成ステップにおいて、前記検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを、オントロジを用いて抽出する
ことを特徴とする請求項4に記載の共通クエリグラフパターン生成方法。
The ontology is used to extract a graph structure included in the search subgraph and a combination of property names in the graph structure that appear multiple times in the common query graph pattern generation step. 5. The common query graph pattern generation method according to 4.
前記共通クエリグラフパターン生成ステップにおいて生成された共通クエリグラフパターンの変数であるノードのいずれかに、前記ユーザから入力された情報または予め設定された情報を代入した共通クエリグラフパターンを生成する
ことを特徴とする請求項4または5に記載の共通クエリグラフパターン生成方法。
Generating a common query graph pattern by substituting information input from the user or preset information into any of the nodes that are variables of the common query graph pattern generated in the common query graph pattern generation step. 6. The common query graph pattern generation method according to claim 4, wherein the common query graph pattern is generated.
ユーザから入力された情報または予め設定された情報を基に、グラフ構造を持つデータが格納されているグラフ構造データベースから取得した複数のノードまたはプロパティ間に存在するパスを検索するための検索クエリグラフパターンを生成する検索クエリグラフパターン生成機能と、
生成された検索クエリグラフパターンにマッチする検索サブグラフを前記グラフ構造データベースから取得する検索サブグラフ取得機能と、
取得された検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを抽出し、この抽出されたグラフ構造に含まれる任意のノード名およびプロパティ名を変数にすることにより、前記ユーザにより入力された情報または予め設定された情報に関連する情報が追加されたデータを検索するための共通クエリグラフパターンを生成する共通クエリグラフパターン生成機能と、
をコンピュータに実現させるための共通クエリグラフパターン生成用プログラム。
Search query graph for searching paths existing between multiple nodes or properties acquired from graph structure database that stores data with graph structure based on information input by user or preset information Search query graph pattern generation function to generate patterns,
A search subgraph acquisition function for acquiring a search subgraph that matches the generated search query graph pattern from the graph structure database;
The graph structure included in the retrieved search subgraph and the combination of property names in this graph structure that occur multiple times are extracted, and any node name and property name included in this extracted graph structure are variable A common query graph pattern generation function for generating a common query graph pattern for searching for data added with information input by the user or information related to preset information;
Common query graph pattern generation program for causing a computer to realize
前記共通クエリグラフパターン生成機能において、前記検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを、オントロジを用いて抽出する
ことを特徴とする請求項7に記載の共通クエリグラフパターン生成用プログラム。
The common query graph pattern generation function extracts an occurrence of a plurality of combinations of graph structures included in the search subgraph and property names in the graph structure using an ontology. The common query graph pattern generation program according to claim 7.
前記共通クエリグラフパターン生成機能において生成された共通クエリグラフパターンの変数であるノードのいずれかに、前記ユーザから入力された情報または予め設定された情報を代入した共通クエリグラフパターンを生成する
ことを特徴とする請求項7または8に記載の共通クエリグラフパターン生成用プログラム。
Generating a common query graph pattern by substituting information input from the user or preset information into any of the nodes that are variables of the common query graph pattern generated by the common query graph pattern generation function. 9. The common query graph pattern generation program according to claim 7, wherein the common query graph pattern generation program is provided.
グラフ構造を持つデータが格納されているグラフ構造データベースに接続され、
ユーザから入力された情報または予め設定された情報を基に、前記グラフ構造データベースから取得した複数のノードまたはプロパティ間に存在するパスを検索するための検索クエリグラフパターンを生成する検索クエリグラフパターン生成手段と、
生成された検索クエリグラフパターンにマッチする検索サブグラフを前記グラフ構造データベースから取得する検索サブグラフ取得手段と、
取得された検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを抽出し、この抽出されたグラフ構造に含まれる任意のノード名およびプロパティ名を変数にすることにより、前記ユーザにより入力された情報または予め設定された情報に関連する情報が追加されたデータを検索するための共通クエリグラフパターンを生成する共通クエリグラフパターン生成手段と、
生成された共通クエリグラフパターンにマッチする共通サブグラフを前記グラフ構造データベースから取得する共通サブグラフ取得手段と、
を備えることを特徴とする共通サブグラフ検索装置。
Connected to a graph structure database that stores data with a graph structure,
Search query graph pattern generation for generating a search query graph pattern for searching a path existing between a plurality of nodes or properties acquired from the graph structure database based on information input from a user or preset information Means,
Search subgraph acquisition means for acquiring from the graph structure database a search subgraph that matches the generated search query graph pattern;
The graph structure included in the retrieved search subgraph and the combination of property names in this graph structure that occur multiple times are extracted, and any node name and property name included in this extracted graph structure are variable A common query graph pattern generating means for generating a common query graph pattern for searching for data added with information input by the user or information related to preset information;
A common subgraph acquisition means for acquiring a common subgraph that matches the generated common query graph pattern from the graph structure database;
A common subgraph search device comprising:
前記共通クエリグラフパターン生成手段において、前記検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを、オントロジを用いて抽出する
ことを特徴とする請求項10に記載の共通サブグラフ検索装置。
The common query graph pattern generation means extracts, using an ontology, a graph structure included in the search subgraph and a combination of property names in the graph structure that appear multiple times. The common subgraph search device according to 10.
前記共通クエリグラフパターン生成手段において生成された共通クエリグラフパターンの変数であるノードのいずれかに、前記ユーザから入力された情報または予め設定された情報を代入した共通クエリグラフパターンを生成する
ことを特徴とする請求項10または11に記載の共通サブグラフ検索装置。
Generating a common query graph pattern obtained by substituting information input from the user or preset information into any of the nodes that are variables of the common query graph pattern generated by the common query graph pattern generation unit. The common subgraph search device according to claim 10, wherein the common subgraph search device is characterized in that:
前記共通サブグラフのデータを表形式で表示させるためのデータに変換する表示データ変換手段
を備えることを特徴とする請求項10〜12何れか1項に記載の共通サブグラフ検索装置。
The common subgraph search device according to any one of claims 10 to 12, further comprising display data conversion means for converting the data of the common subgraph into data for displaying in tabular form.
ユーザから入力された情報または予め設定された情報を基に、グラフ構造を持つデータが格納されているグラフ構造データベースから取得した複数のノードまたはプロパティ間に存在するパスを検索するための検索クエリグラフパターンを生成する検索クエリグラフパターン生成ステップと、
生成された検索クエリグラフパターンにマッチする検索サブグラフを前記グラフ構造データベースから取得する検索サブグラフ取得ステップと、
取得された検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを抽出し、この抽出されたグラフ構造に含まれる任意のノード名およびプロパティ名を変数にすることにより、前記ユーザにより入力された情報または予め設定された情報に関連する情報が追加されたデータを検索するための共通クエリグラフパターンを生成する共通クエリグラフパターン生成ステップと、
生成された共通クエリグラフパターンにマッチする共通サブグラフを前記グラフ構造データベースから取得する共通サブグラフ取得ステップと、
を備えることを特徴とする共通サブグラフ検索方法。
Search query graph for searching paths existing between multiple nodes or properties acquired from graph structure database that stores data with graph structure based on information input by user or preset information A search query graph pattern generation step for generating a pattern;
A search subgraph acquisition step of acquiring from the graph structure database a search subgraph that matches the generated search query graph pattern;
The graph structure included in the retrieved search subgraph and the combination of property names in this graph structure that occur multiple times are extracted, and any node name and property name included in this extracted graph structure are variable A common query graph pattern generating step for generating a common query graph pattern for searching for data added with information input by the user or information related to preset information;
A common subgraph acquisition step of acquiring from the graph structure database a common subgraph that matches the generated common query graph pattern;
A common subgraph search method comprising:
前記共通クエリグラフパターン生成ステップにおいて、前記検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを、オントロジを用いて抽出する
ことを特徴とする請求項14に記載の共通サブグラフ検索方法。
The ontology is used to extract a graph structure included in the search subgraph and a combination of property names in the graph structure that appear multiple times in the common query graph pattern generation step. 14. The common subgraph search method according to 14.
前記共通クエリグラフパターン生成ステップにおいて生成された共通クエリグラフパターンの変数であるノードのいずれかに、前記ユーザから入力された情報または予め設定された情報を代入した共通クエリグラフパターンを生成する
ことを特徴とする請求項14または15に記載の共通サブグラフ検索方法。
Generating a common query graph pattern by substituting information input from the user or preset information into any of the nodes that are variables of the common query graph pattern generated in the common query graph pattern generation step. The common subgraph search method according to claim 14, wherein the common subgraph search method is characterized in that:
前記拡張サブグラフのデータを表形式で表示させるためのデータに変換する表示データ変換ステップ
を備えることを特徴とする請求項14〜16何れか1項に記載の共通サブグラフ検索方法。
The common subgraph search method according to any one of claims 14 to 16, further comprising a display data conversion step of converting the data of the extended subgraph into data for display in a tabular format.
ユーザから入力された情報または予め設定された情報を基に、グラフ構造を持つデータが格納されているグラフ構造データベースから取得した複数のノードまたはプロパティ間に存在するパスを検索するための検索クエリグラフパターンを生成する検索クエリグラフパターン生成機能と、
生成された検索クエリグラフパターンにマッチする検索サブグラフを前記グラフ構造データベースから取得する検索サブグラフ取得機能と、
取得された検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを抽出し、この抽出されたグラフ構造に含まれる任意のノード名およびプロパティ名を変数にすることにより、前記ユーザにより入力された情報または予め設定された情報に関連する情報が追加されたデータを検索するための共通クエリグラフパターンを生成する共通クエリグラフパターン生成機能と、
生成された共通クエリグラフパターンにマッチする共通サブグラフを前記グラフ構造データベースから取得する共通サブグラフ取得機能と、
をコンピュータに実現させるための共通サブグラフ検索用プログラム。
Search query graph for searching paths existing between multiple nodes or properties acquired from graph structure database that stores data with graph structure based on information input by user or preset information Search query graph pattern generation function to generate patterns,
A search subgraph acquisition function for acquiring a search subgraph that matches the generated search query graph pattern from the graph structure database;
The graph structure included in the retrieved search subgraph and the combination of property names in this graph structure that occur multiple times are extracted, and any node name and property name included in this extracted graph structure are variable A common query graph pattern generating function for generating a common query graph pattern for searching for data added with information input by the user or information related to preset information;
A common subgraph acquisition function for acquiring a common subgraph that matches the generated common query graph pattern from the graph structure database;
Common subgraph search program for realizing on a computer.
前記共通クエリグラフパターン生成機能において、前記検索サブグラフに含まれるグラフ構造およびこのグラフ構造中のプロパティ名の組み合わせの中で複数回出現するものを、オントロジを用いて抽出する
ことを特徴とする請求項18に記載の共通サブグラフ検索用プログラム。
The common query graph pattern generation function extracts an occurrence of a combination of a graph structure included in the search subgraph and a property name in the graph structure a plurality of times using an ontology. The common subgraph search program according to claim 18.
前記共通クエリグラフパターン生成機能において生成された共通クエリグラフパターンの変数であるノードのいずれかに、前記ユーザから入力された情報または予め設定された情報を代入した共通クエリグラフパターンを生成する
ことを特徴とする請求項18または19に記載の共通サブグラフ検索用プログラム。
Generating a common query graph pattern by substituting information input from the user or preset information into any of the nodes that are variables of the common query graph pattern generated by the common query graph pattern generation function. 20. The common subgraph search program according to claim 18 or 19, characterized in that:
前記拡張サブグラフのデータを表形式で表示させるためのデータに変換する表示データ変換手段
を備えることを特徴とする請求項18〜20何れか1項に記載の共通サブグラフ検索用プログラム。

The common subgraph search program according to any one of claims 18 to 20, further comprising display data conversion means for converting the data of the extended subgraph into data for display in a tabular format.

JP2005136706A 2005-05-09 2005-05-09 Common query graph pattern generation device, generation method, generation program, and common subgraph search device, search method, and search program using the same Active JP4547300B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005136706A JP4547300B2 (en) 2005-05-09 2005-05-09 Common query graph pattern generation device, generation method, generation program, and common subgraph search device, search method, and search program using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005136706A JP4547300B2 (en) 2005-05-09 2005-05-09 Common query graph pattern generation device, generation method, generation program, and common subgraph search device, search method, and search program using the same

Publications (2)

Publication Number Publication Date
JP2006313501A true JP2006313501A (en) 2006-11-16
JP4547300B2 JP4547300B2 (en) 2010-09-22

Family

ID=37534960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005136706A Active JP4547300B2 (en) 2005-05-09 2005-05-09 Common query graph pattern generation device, generation method, generation program, and common subgraph search device, search method, and search program using the same

Country Status (1)

Country Link
JP (1) JP4547300B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008181333A (en) * 2007-01-24 2008-08-07 Nippon Telegr & Teleph Corp <Ntt> Cluster generation device and cluster generation method
JP2008181332A (en) * 2007-01-24 2008-08-07 Nippon Telegr & Teleph Corp <Ntt> Apparatus and method for calculating centricity value
JP2008181331A (en) * 2007-01-24 2008-08-07 Nippon Telegr & Teleph Corp <Ntt> Relation extraction method, relation extraction system
JP2010277322A (en) * 2009-05-28 2010-12-09 Nippon Telegr & Teleph Corp <Ntt> Common query graph pattern generation device, common query graph pattern generation method, and program for common query graph pattern generation
JP2010277553A (en) * 2009-06-01 2010-12-09 Nippon Telegr & Teleph Corp <Ntt> Retrieval device, retrieval program and retrieval method
JP2010277332A (en) * 2009-05-28 2010-12-09 Nippon Telegr & Teleph Corp <Ntt> Method, device and program for generating common query graph pattern
WO2011142134A1 (en) * 2010-05-14 2011-11-17 日本電気株式会社 Information retrieval device, information retrieval method, computer program, and data structure
JP2012073787A (en) * 2010-09-28 2012-04-12 Toshiba Corp Information retrieval device
JP2012128479A (en) * 2010-12-13 2012-07-05 Fuji Xerox Co Ltd Retrieval device and program
JP2013054640A (en) * 2011-09-06 2013-03-21 Fuji Xerox Co Ltd Search device and program
CN103020096A (en) * 2011-09-22 2013-04-03 富士施乐株式会社 Search apparatus and search method
US11238961B2 (en) 2016-12-09 2022-02-01 International Business Machines Corporation Automatic knowledge-based feature extraction from electronic medical records

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225771A (en) * 1993-10-30 1995-08-22 Fuji Xerox Co Ltd Retrieval expression preparation support system
JP2003099469A (en) * 2001-09-26 2003-04-04 Fujitsu Ltd Retrieval display device
JP2003228580A (en) * 2002-02-04 2003-08-15 Celestar Lexico-Sciences Inc Controller and method for controlling document knowledge, program, and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225771A (en) * 1993-10-30 1995-08-22 Fuji Xerox Co Ltd Retrieval expression preparation support system
JP2003099469A (en) * 2001-09-26 2003-04-04 Fujitsu Ltd Retrieval display device
JP2003228580A (en) * 2002-02-04 2003-08-15 Celestar Lexico-Sciences Inc Controller and method for controlling document knowledge, program, and recording medium

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008181333A (en) * 2007-01-24 2008-08-07 Nippon Telegr & Teleph Corp <Ntt> Cluster generation device and cluster generation method
JP2008181332A (en) * 2007-01-24 2008-08-07 Nippon Telegr & Teleph Corp <Ntt> Apparatus and method for calculating centricity value
JP2008181331A (en) * 2007-01-24 2008-08-07 Nippon Telegr & Teleph Corp <Ntt> Relation extraction method, relation extraction system
JP4698619B2 (en) * 2007-01-24 2011-06-08 日本電信電話株式会社 Centrality value calculation apparatus and centrality value calculation method
JP4698618B2 (en) * 2007-01-24 2011-06-08 日本電信電話株式会社 Relationship extraction method and relationship extraction system
JP2010277322A (en) * 2009-05-28 2010-12-09 Nippon Telegr & Teleph Corp <Ntt> Common query graph pattern generation device, common query graph pattern generation method, and program for common query graph pattern generation
JP2010277332A (en) * 2009-05-28 2010-12-09 Nippon Telegr & Teleph Corp <Ntt> Method, device and program for generating common query graph pattern
JP2010277553A (en) * 2009-06-01 2010-12-09 Nippon Telegr & Teleph Corp <Ntt> Retrieval device, retrieval program and retrieval method
WO2011142134A1 (en) * 2010-05-14 2011-11-17 日本電気株式会社 Information retrieval device, information retrieval method, computer program, and data structure
JP4947245B2 (en) * 2010-05-14 2012-06-06 日本電気株式会社 Information retrieval apparatus, information retrieval method, computer program, and data structure
US9141727B2 (en) 2010-05-14 2015-09-22 Nec Corporation Information search device, information search method, computer program, and data structure
JP2012073787A (en) * 2010-09-28 2012-04-12 Toshiba Corp Information retrieval device
JP2012128479A (en) * 2010-12-13 2012-07-05 Fuji Xerox Co Ltd Retrieval device and program
JP2013054640A (en) * 2011-09-06 2013-03-21 Fuji Xerox Co Ltd Search device and program
CN103020096A (en) * 2011-09-22 2013-04-03 富士施乐株式会社 Search apparatus and search method
CN103020096B (en) * 2011-09-22 2017-07-18 富士施乐株式会社 Retrieve device and search method
US11238961B2 (en) 2016-12-09 2022-02-01 International Business Machines Corporation Automatic knowledge-based feature extraction from electronic medical records

Also Published As

Publication number Publication date
JP4547300B2 (en) 2010-09-22

Similar Documents

Publication Publication Date Title
JP4547300B2 (en) Common query graph pattern generation device, generation method, generation program, and common subgraph search device, search method, and search program using the same
JP5271808B2 (en) Common query graph pattern generation device, common query graph pattern generation method, and common query graph pattern generation program
KR101646754B1 (en) Apparatus and Method of Mobile Semantic Search
US8620941B2 (en) Apparatus and method of searching and visualizing instance path
JP4547298B2 (en) Extended query graph pattern generation device, generation method, generation program, and extended subgraph search device, search method, and search program using them
Liu et al. Answering Structured Queries on Unstructured Data.
JPWO2011142134A1 (en) Information retrieval apparatus, information retrieval method, computer program, and data structure
JP2011517499A (en) Multiple entity centric integrated search system and method
JP5844824B2 (en) SPARQL query optimization method
JP4698618B2 (en) Relationship extraction method and relationship extraction system
JP2013054602A (en) Graph pattern matching system and graph pattern matching method
US8965910B2 (en) Apparatus and method of searching for instance path based on ontology schema
JP4547299B2 (en) Inverted query graph pattern generation device, generation method, generation program, and inverted subgraph search device, search method, and search program using the same
JP5210970B2 (en) Common query graph pattern generation method, common query graph pattern generation device, and common query graph pattern generation program
US9886497B2 (en) Indexing presentation slides
KR20100070084A (en) Apparatus and method for in real time retrieving knowledge relevant to user&#39;s query from a large-scale ontology
Dorn et al. Structuring meta-search research by design patterns
JP2007140707A (en) Graph retrieval device
KR102042896B1 (en) System and method for searching electronic information using visualization of related terms with user interaction and storage means
JP2012226697A (en) Wbs creation system and wbs creation method
JP2011100206A (en) Common query graph pattern generating device, common query graph pattern generating method, and computer program
Er et al. Set of tuples expansion by example with reliability
Taveekarn et al. Data++: An automated tool for intelligent data augmentation using wikidata
KR20170088466A (en) A method of partial matching for graph data
KR101541299B1 (en) Method and apparatus of generating contents semantic network based on the user description

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100323

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100524

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100622

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100705

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130709

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4547300

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350