Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7590645B2 - Output program and information processing device - Google Patents
[go: Go Back, main page]

JP7590645B2 - Output program and information processing device - Google Patents

Output program and information processing device Download PDF

Info

Publication number
JP7590645B2
JP7590645B2 JP2020201645A JP2020201645A JP7590645B2 JP 7590645 B2 JP7590645 B2 JP 7590645B2 JP 2020201645 A JP2020201645 A JP 2020201645A JP 2020201645 A JP2020201645 A JP 2020201645A JP 7590645 B2 JP7590645 B2 JP 7590645B2
Authority
JP
Japan
Prior art keywords
data
level
entities
search
information
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.)
Active
Application number
JP2020201645A
Other languages
Japanese (ja)
Other versions
JP2022089321A (en
Inventor
紀之 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2020201645A priority Critical patent/JP7590645B2/en
Publication of JP2022089321A publication Critical patent/JP2022089321A/en
Application granted granted Critical
Publication of JP7590645B2 publication Critical patent/JP7590645B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、出力プログラムおよび情報処理装置に関する。 The present invention relates to an output program and an information processing apparatus.

データベースシステムは、リンクトデータ(Linked Data)を記憶することがある。Lined Dataは、リンクトオープンデータ(LOD:Linked Open Data)と呼ばれることがある。Linked Dataは、情報処理に適したデータ形式をもち、再利用性が高い。Linked Dataは、一般的に、RDF(Resource Description Framework)に従って記述される。 Database systems may store linked data, which is sometimes called linked open data (LOD). Linked data has a data format suitable for information processing and is highly reusable. Linked data is generally described according to the Resource Description Framework (RDF).

Linked Dataは、それぞれURI(Uniform Resource Identifier)によって識別される複数のエンティティを含む。エンティティは、リソースまたはノードと呼ばれることがある。エンティティは、人、組織、イベントなどの実体を表す。Linked Dataは、1つの事実を、主語、述語および目的語の3つ組(トリプル)で表現する。主語および目的語はそれぞれエンティティに対応し、述語は2つのエンティティの間のリンクに対応する。述語は、主語であるエンティティから見て属性と呼ばれることがある。複数のエンティティおよび複数のリンクを含むLinked Dataは、グラフとして表現されることがある。Linked Dataは、ノード(エンティティ)とノード間の関係(エッジ)とを示すトリプルで記述されるグラフデータ(ナレッジグラフ)の一例と言える。 Linked Data includes multiple entities, each identified by a Uniform Resource Identifier (URI). An entity may be called a resource or a node. An entity represents an entity such as a person, organization, or event. Linked Data expresses a fact as a triple of a subject, predicate, and object. The subject and object each correspond to an entity, and the predicate corresponds to a link between two entities. The predicate is sometimes called an attribute of the subject entity. Linked Data, which includes multiple entities and multiple links, may be represented as a graph. Linked Data is an example of graph data (knowledge graph) described by triples that indicate nodes (entities) and relationships (edges) between the nodes.

データベースシステムは、Linked Dataから特定の条件を満たすエンティティを検索することがある。例えば、データベースシステムは、SPARQL(SPARQL Protocol and RDF Query Language)などのクエリ言語を用いて記述されたクエリを実行する。Linked Dataの検索処理は、基点のエンティティを選択し、クエリが示す検索条件を満たす1以上のリンクを辿って他のエンティティを抽出する処理を含むことがある。 A database system may search Linked Data for entities that meet certain criteria. For example, the database system may execute a query written in a query language such as SPARQL (SPARQL Protocol and RDF Query Language). A Linked Data search may involve selecting a base entity and following one or more links that meet the search criteria specified by the query to extract other entities.

なお、異なる種類のRDFデータを組み合わせて地理情報サービスを提供する地理情報システム(GIS:Geographic Information System)が提案されている。組み合わせられるRDFデータは、地形データ、道路データ、行政区画データ、地名データ、建造物データおよび商業データを含む。提案の地理情報システムは、例えば、ユーザの現在位置を検出し、現在位置に近い観光地を検索し、観光地の説明をユーザに提示する。 A geographic information system (GIS) has been proposed that combines different types of RDF data to provide geographic information services. The RDF data that can be combined includes topographical data, road data, administrative district data, place name data, building data, and commercial data. The proposed geographic information system, for example, detects the user's current location, searches for tourist attractions close to the current location, and presents the user with descriptions of the tourist attractions.

清水昇、三島和恵、山口章平、津田宏、粂照宣、「Linked Dataと地理空間情報」、情報処理、Vol.52 No.3、pp.318-325、2011年3月Noboru Shimizu, Kazue Mishima, Shohei Yamaguchi, Hiroshi Tsuda, and Terunobu Kume, "Linked Data and Geospatial Information," Information Processing, Vol. 52, No. 3, pp. 318-325, March 2011.

グラフデータに含まれる1つのエンティティが、同一種類の属性として複数の他のエンティティと関係をもつことがある。エンティティの型や属性などの文法的観点からは、これら複数の他のエンティティを互いに区別して検索することは難しい。そのため、あるクエリに対して、これら複数の他のエンティティの全てが抽出される場合がある。 One entity included in graph data may have relationships with multiple other entities as attributes of the same type. From a grammatical perspective, such as entity type and attributes, it is difficult to distinguish between these multiple other entities when searching. As a result, all of these multiple other entities may be extracted for a given query.

しかし、同一種類の属性として接続される複数のエンティティの間に、実質的に上下関係が存在することがある。その場合、検索時にユーザが置かれた状況から見て、上位レベルのエンティティがユーザにとって不要であることがある。そのため、ユーザにとって不要なデータがグラフデータから抽出されるという問題がある。 However, there may be a hierarchical relationship between multiple entities that are connected as attributes of the same type. In such cases, the higher-level entities may not be necessary for the user, given the situation the user is in when searching. This creates the problem of data that is unnecessary for the user being extracted from the graph data.

例えば、知識データベースが、障害と原因と解決策の間の関係を示すグラフデータを含むことがある。知識データベースでは、1つの障害に対して複数の原因が接続されることがあり、1つの障害に対して複数の解決策が接続されることがある。しかし、その障害が発生したときに、全ての原因の情報または全ての解決策の情報がユーザにとって有用であるとは限らない。ユーザの業務が下位レベルの要求を満たしていない場合、ユーザは、上位レベルの原因または上位レベルの解決策を業務に適用できないことがある。 For example, a knowledge database may contain graph data showing the relationships between problems, causes, and solutions. In the knowledge database, multiple causes may be connected to one problem, and multiple solutions may be connected to one problem. However, when the problem occurs, information on all causes or information on all solutions may not be useful to the user. If the user's work does not meet the lower-level requirements, the user may not be able to apply the higher-level causes or higher-level solutions to the work.

1つの側面では、本発明は、検索結果からユーザにとって不要なデータを削減する出力プログラムおよび情報処理装置を提供することを目的とする。 In one aspect, the present invention has an object to provide an output program and an information processing device that reduce data unnecessary for a user from a search result.

1つの態様では、第1のデータを特定する情報を受け付けると、第1の複数のデータと第1の複数のデータ間の関係を示す情報とを含むデータ群を参照し、第1のデータに関連付いた同一の属性を有する第2の複数のデータを特定し、上下関係を有する複数のレベルに含まれる第1のレベルの指定に基づいて、第2の複数のデータのうち、第1のレベル以下のレベルと関連付いた第2のデータを選択し、第2のデータを出力する、処理をコンピュータに実行させることを特徴とする出力プログラムが提供される。また、1つの態様では、記憶部と制御部とを有することを特徴とする情報処理装置が提供される。 In one aspect, an output program is provided that causes a computer to execute a process of receiving information identifying a first piece of data, referencing a data group including a first plurality of pieces of data and information indicating a relationship between the first plurality of pieces of data, identifying a second plurality of pieces of data having the same attribute associated with the first piece of data, selecting a second piece of data associated with a level lower than the first level from among the second plurality of pieces of data based on a designation of a first level included in a plurality of levels having a hierarchical relationship, and outputting the second piece of data. In another aspect, an information processing device is provided that has a storage unit and a control unit.

1つの側面では、検索結果からユーザにとって不要なデータが削減される。 On one hand, it reduces data that is unnecessary for users from search results.

第1の実施の形態の情報処理装置を説明するための図である。FIG. 1 is a diagram illustrating an information processing apparatus according to a first embodiment. 第2の実施の形態の情報処理装置を説明するための図である。FIG. 11 is a diagram illustrating an information processing apparatus according to a second embodiment. 情報処理装置のハードウェア例を示すブロック図である。FIG. 2 is a block diagram showing an example of hardware of an information processing device. 事象と解決策の関係を表すデータ例を示す図である。FIG. 13 is a diagram illustrating an example of data representing a relationship between an event and a solution. データファイルとテンプレートの第1の記載例を示す図である。FIG. 11 is a diagram showing a first example of a data file and a template. 事象と原因の関係を表すデータ例を示す図である。FIG. 13 is a diagram showing an example of data indicating a relationship between an event and a cause. データファイルとテンプレートの第2の記載例を示す図である。FIG. 13 is a diagram showing a second example of a data file and a template. 解決策を表すエンティティのレイヤ分けの例を示す図である。FIG. 1 illustrates an example of layering of entities representing solutions. データファイルへのレイヤ情報の第1の追加例を示す図である。FIG. 13 is a diagram showing a first example of adding layer information to a data file. 原因を表すエンティティのレイヤ分けの例を示す図である。FIG. 13 is a diagram illustrating an example of layering of entities representing causes. データファイルへのレイヤ情報の第2の追加例を示す図である。FIG. 13 is a diagram showing a second example of adding layer information to a data file. データベース検索と検索結果フィルタの例を示す図である。FIG. 1 illustrates an example of a database search and search result filter. 情報処理装置のソフトウェア例を示すブロック図である。FIG. 2 is a block diagram showing an example of software of the information processing device. データ登録の手順例を示すフローチャートである。13 is a flowchart showing an example of a data registration procedure. データ検索の手順例を示すフローチャートである。13 is a flowchart showing an example of a data search procedure. 基準レベル選択画面の例を示す図である。FIG. 13 is a diagram showing an example of a reference level selection screen.

以下、本実施の形態を、図面を参照して説明する。まず、第1の実施の形態を説明する。図1は、第1の実施の形態の情報処理装置を説明するための図である。第1の実施の形態の情報処理装置10は、データベースからデータを検索するコンピュータである。情報処理装置10は、サーバ装置でもよいしクライアント装置でもよい。 The present embodiment will be described below with reference to the drawings. First, the first embodiment will be described. FIG. 1 is a diagram for explaining an information processing device of the first embodiment. The information processing device 10 of the first embodiment is a computer that searches for data from a database. The information processing device 10 may be a server device or a client device.

情報処理装置10は、記憶部11および制御部12を有する。記憶部11は、RAM(Random Access Memory)などの揮発性半導体メモリでもよい。また、記憶部11は、フラッシュメモリやHDD(Hard Disk Drive)などの不揮発性ストレージでもよい。制御部12は、CPU(Central Processing Unit)、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)などのプロセッサでもよい。また、制御部12は、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などの電子回路を含んでもよい。プロセッサは、RAMなどのメモリに記憶されたプログラムを実行する。複数のプロセッサの集合が、「マルチプロセッサ」または単に「プロセッサ」と呼ばれることがある。 The information processing device 10 has a storage unit 11 and a control unit 12. The storage unit 11 may be a volatile semiconductor memory such as a random access memory (RAM). The storage unit 11 may also be a non-volatile storage such as a flash memory or a hard disk drive (HDD). The control unit 12 may be a processor such as a central processing unit (CPU), a graphics processing unit (GPU), or a digital signal processor (DSP). The control unit 12 may also include an electronic circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The processor executes a program stored in a memory such as a RAM. A set of multiple processors may be called a "multiprocessor" or simply a "processor."

記憶部11は、データ群13を記憶する。データ群13は、データベースに格納されている。データ群13は、第1の複数のデータと、それら第1の複数のデータの間の関係を示す情報とを含む。データ群13は、複数のエンティティと、それら複数のエンティティの間の関係を示す複数のリンクとを含むグラフデータであってもよい。エンティティは、リソースまたはノードと呼ばれることがある。エンティティは、人、組織、事象などの実体を表してもよい。リンクは、一方のエンティティから見て他方のエンティティが特定の属性に相当することを表してもよい。データ群13は、有向グラフとして表現されてもよい。また、データ群13は、Lined DataやRDFデータであってもよい。 The storage unit 11 stores the data group 13. The data group 13 is stored in a database. The data group 13 includes a first plurality of data and information indicating the relationship between the first plurality of data. The data group 13 may be graph data including a plurality of entities and a plurality of links indicating the relationship between the plurality of entities. The entities may be called resources or nodes. The entities may represent real entities such as people, organizations, and events. The links may represent that one entity corresponds to a specific attribute from the perspective of the other entity. The data group 13 may be expressed as a directed graph. The data group 13 may also be lined data or RDF data.

データ群13に含まれる第1の複数のデータのうち少なくとも一部のデータに、レベル情報が関連付けられている。レベル情報は、データ群13の中に含まれてもよいし、データ群13の外に保存されてもよい。あるデータに関連付けられるレベル情報は、上下関係を有する複数のレベルのうちの1つのレベルを示す。例えば、データ群13がデータベースに登録されるときに、併せてレベル情報が登録される。 Level information is associated with at least some of the first plurality of data included in data group 13. The level information may be included in data group 13, or may be stored outside data group 13. Level information associated with certain data indicates one level among multiple levels having a hierarchical relationship. For example, when data group 13 is registered in a database, the level information is also registered.

一例として、データ群13は、データ14a,14b,14c,14dを含む。データ14a,14b,14cは、同一の属性によってデータ14dと関連付いている。データ14aには、レベル情報15aが関連付けられている。データ14bには、レベル情報15bが関連付けられている。データ14cには、レベル情報15cが関連付けられている。レベル情報15aは、データ14aがレベル1であることを示す。レベル情報15bは、データ14bがデータ14aより高いレベル2であることを示す。レベル情報15cは、データ14cがデータ14bより高いレベル3であることを示す。 As an example, data group 13 includes data 14a, 14b, 14c, and 14d. Data 14a, 14b, and 14c are associated with data 14d by the same attribute. Level information 15a is associated with data 14a. Level information 15b is associated with data 14b. Level information 15c is associated with data 14c. Level information 15a indicates that data 14a is at level 1. Level information 15b indicates that data 14b is at level 2, which is higher than data 14a. Level information 15c indicates that data 14c is at level 3, which is higher than data 14b.

データ群13は、事象と事象の原因または解決策を示すデータ群であってもよい。例えば、データ14aが事象を示すデータであり、データ14a,14b,14cが事象の原因または解決策を示すデータである。このように、1つの事象に対して、複数の原因または複数の解決策が存在することがある。また、例えば、レベル情報15a,15b,15cが示す上下関係は、上位のレベルほど原因または解決策を適用するための前提条件が多い関係である。下位のレベルの原因が解決されていない状況では、ユーザは上位のレベルの原因を検討できないことがある。また、下位のレベルの解決策が実行されていない状況では、ユーザは上位のレベルの解決策を実行できないことがある。 Data group 13 may be a data group indicating an event and a cause or solution of the event. For example, data 14a is data indicating an event, and data 14a, 14b, and 14c are data indicating the cause or solution of the event. In this way, there may be multiple causes or multiple solutions for one event. Also, for example, the hierarchical relationship indicated by level information 15a, 15b, and 15c is a relationship in which the higher the level, the more prerequisites there are for applying the cause or solution. In a situation where the cause of a lower level has not been resolved, the user may not be able to consider the cause of a higher level. Also, in a situation where the solution of a lower level has not been implemented, the user may not be able to implement the solution of a higher level.

制御部12は、データ群13からデータを検索する。データ検索において、制御部12は、第1のデータを特定する情報を受け付ける。第1のデータは、検索の基点を示すデータである。第1のデータは、URIなどの識別子によって特定されてもよい。第1のデータを特定する情報は、ユーザから入力されてもよい。第1のデータを特定する情報を受け付けると、制御部12は、記憶部11に記憶されたデータ群13を参照し、第1のデータに関連付いた同一の属性を有する第2の複数のデータを特定する。 The control unit 12 searches for data from the data group 13. In the data search, the control unit 12 accepts information that identifies the first data. The first data is data that indicates the starting point of the search. The first data may be identified by an identifier such as a URI. The information that identifies the first data may be input by a user. Upon accepting the information that identifies the first data, the control unit 12 refers to the data group 13 stored in the memory unit 11, and identifies a second plurality of data that have the same attribute associated with the first data.

第2の複数のデータの特定において、制御部12は、属性の指定を含む検索条件を示すテンプレートを用いて、第1のデータを基点に、検索条件を満たすデータをデータ群13から検索してもよい。制御部12は、第1のデータを特定する情報とテンプレートから検索クエリを生成し、生成された検索クエリをデータ群13に対して実行してもよい。一例として、制御部12は、データ14dを特定する情報を受け付け、データ14dに関連付いた同一の属性を有するデータ14a,14b,14cを特定する。 In identifying the second plurality of data, the control unit 12 may use a template indicating search conditions including attribute specification to search the data group 13 for data that satisfies the search conditions, starting from the first data. The control unit 12 may generate a search query from the information identifying the first data and the template, and execute the generated search query on the data group 13. As an example, the control unit 12 accepts information identifying data 14d, and identifies data 14a, 14b, and 14c that are associated with data 14d and have the same attribute.

制御部12は、複数のレベルのうち第1のレベルの指定を受け付ける。第1のレベルの指定は、ユーザから入力されてもよい。また、第1のレベルの指定は、ユーザに関してセンサによりセンシングされた値を取得することで行われてもよい。例えば、温度計から取得される温度測定値に基づいて、第1のレベルが指定されていもよい。制御部12は、第1のレベルの指定を、第2の複数のデータを特定する前に受け付けてもよいし、第2の複数のデータを特定した後に受け付けてもよい。また、制御部12は、特定された第2の複数のデータの中にレベル情報と関連付けられたデータが含まれている場合に、第1のレベルを指定させてもよい。 The control unit 12 accepts the designation of a first level from among the multiple levels. The designation of the first level may be input by the user. The designation of the first level may also be performed by acquiring a value sensed by a sensor regarding the user. For example, the first level may be designated based on a temperature measurement value acquired from a thermometer. The control unit 12 may accept the designation of the first level before identifying the second plurality of data, or may accept the designation after identifying the second plurality of data. The control unit 12 may also cause the first level to be designated when the identified second plurality of data includes data associated with level information.

第1のレベルの指定に基づいて、制御部12は、第2の複数のデータのうち、指定された第1のレベル以下のレベルと関連付いた第2のデータを選択する。そして、制御部12は、選択された第2のデータを出力する。制御部12は、情報処理装置10に接続された表示装置に第2のデータを表示してもよい。また、制御部12は、他の情報処理装置に第2のデータを送信してもよい。一例として、制御部12は、レベル1~3のうちレベル2の指定を受け付ける。そして、制御部12は、データ14a,14b,14cのうち、レベル2以下のレベル情報が関連付けられたデータ14a,14bを選択する。このとき、制御部12は、レベル3を示すレベル情報が関連付けられたデータ14cを除外する。 Based on the designation of the first level, the control unit 12 selects, from the second plurality of data, second data associated with a level equal to or lower than the designated first level. Then, the control unit 12 outputs the selected second data. The control unit 12 may display the second data on a display device connected to the information processing device 10. The control unit 12 may also transmit the second data to another information processing device. As an example, the control unit 12 accepts a designation of level 2 from levels 1 to 3. Then, the control unit 12 selects, from the data 14a, 14b, and 14c, data 14a and 14b associated with level information equal to or lower than level 2. At this time, the control unit 12 excludes data 14c associated with level information indicating level 3.

このように、第1の実施の形態の情報処理装置10は、第1のデータと同一の属性関係をもつ第2の複数のデータを特定する。そして、情報処理装置10は、第2の複数のデータのうち、指定されたレベル以下のレベルをもつ第2のデータを選択して出力する。これにより、情報処理装置10は、属性のみでは検索結果に含まれるデータを十分に絞り込めない場合であっても、データ間の上下関係に着目してデータを絞り込むことができる。よって、検索時のユーザの状況から見てレベルの高すぎるデータが検索結果から除外され、ユーザにとって不要なデータが検索結果から削減される。例えば、ユーザの現在の業務に適用できないようなレベルの高すぎる原因や解決策が検索結果から削減される。 In this way, the information processing device 10 of the first embodiment identifies a second plurality of data having the same attribute relationship as the first data. Then, the information processing device 10 selects and outputs the second plurality of data having a level equal to or lower than the specified level. This allows the information processing device 10 to narrow down the data by focusing on the hierarchical relationship between the data, even when the data included in the search results cannot be sufficiently narrowed down by attributes alone. Therefore, data that is too high-level considering the user's situation at the time of the search is excluded from the search results, and data that is unnecessary for the user is reduced from the search results. For example, causes and solutions that are too high-level to be applied to the user's current work are reduced from the search results.

次に、第2の実施の形態を説明する。前述の第1の実施の形態と同様の内容については説明を省略することがある。図2は、第2の実施の形態の情報処理装置を説明するための図である。第2の実施の形態の情報処理装置20は、データベースにデータを登録するコンピュータである。情報処理装置20は、サーバ装置でもよいしクライアント装置でもよい。情報処理装置20は、第1の実施の形態の情報処理装置10と同一でもよい。 Next, a second embodiment will be described. Descriptions of contents similar to those of the first embodiment described above may be omitted. FIG. 2 is a diagram for explaining an information processing device of the second embodiment. The information processing device 20 of the second embodiment is a computer that registers data in a database. The information processing device 20 may be a server device or a client device. The information processing device 20 may be the same as the information processing device 10 of the first embodiment.

情報処理装置20は、記憶部21および制御部22を有する。記憶部21は、第1の実施の形態の記憶部11に対応する。制御部22は、第1の実施の形態の制御部12に対応する。記憶部21は、データ群23を記憶する。データ群23は、第1の実施の形態のデータ群13に対応する。ただし、データ群23に含まれる第1の複数のデータの何れにも、まだレベル情報が関連付けられていない。一例として、データ群23は、データ24a,24b,24c,24dを含む。データ24a,24b,24cは、同一の属性によってデータ24dと関連付いている。 The information processing device 20 has a storage unit 21 and a control unit 22. The storage unit 21 corresponds to the storage unit 11 of the first embodiment. The control unit 22 corresponds to the control unit 12 of the first embodiment. The storage unit 21 stores a data group 23. The data group 23 corresponds to the data group 13 of the first embodiment. However, level information has not yet been associated with any of the first plurality of data included in the data group 23. As an example, the data group 23 includes data 24a, 24b, 24c, and 24d. The data 24a, 24b, and 24c are associated with the data 24d by the same attribute.

制御部22は、データ群23を受け付けると、データ群23に含まれる第1の複数のデータの中から、第1のデータに関連付いた同一の属性を有する第2の複数のデータを選択する。属性を含む検索条件を示すテンプレートが存在する場合、制御部22は、テンプレートが示す検索条件を満たすデータであって、その検索条件では分離して検索することができない2以上のデータを、第2の複数のデータとして選択してもよい。一例として、制御部22は、データ群23からデータ24a,24b,24cを選択する。 When the control unit 22 receives the data group 23, it selects, from the first plurality of data included in the data group 23, a second plurality of data having the same attribute associated with the first data. When a template indicating search conditions including an attribute exists, the control unit 22 may select, as the second plurality of data, two or more pieces of data that satisfy the search conditions indicated by the template and cannot be separately searched using the search conditions. As an example, the control unit 22 selects data 24a, 24b, and 24c from the data group 23.

制御部22は、選択された第2の複数のデータそれぞれに対して、上下関係を有する複数のレベルのうちの1つのレベルの指定に基づいて、指定された1つのレベルを示すレベル情報を関連付ける。1つのレベルの指定は、ユーザから入力されてもよい。また、制御部22は、選択肢である複数のレベルを示す情報をユーザに提示してもよい。そして、制御部22は、データ群23と対応付けてレベル情報をデータベースに登録する。制御部22は、データ群23の登録時に併せてレベル情報を登録してもよいし、データ群23が登録された後に追加的にレベル情報を登録してもよい。また、レベル情報は、データ群23の中に組み込まれてもよいし、データ群23の外に保存されてもよい。 The control unit 22 associates level information indicating one specified level with each of the selected second multiple data, based on the designation of one level among multiple levels having a hierarchical relationship. The designation of one level may be input by the user. Furthermore, the control unit 22 may present information indicating multiple levels as options to the user. The control unit 22 then registers the level information in the database in association with the data group 23. The control unit 22 may register the level information at the same time as registering the data group 23, or may additionally register the level information after the data group 23 is registered. Furthermore, the level information may be incorporated into the data group 23, or may be stored outside the data group 23.

一例として、制御部22は、データ24aにレベル情報25aを関連付け、データ24bにレベル情報25bを関連付け、データ24cにレベル情報25cを関連付ける。レベル情報25aは、データ24aがレベル1であることを示す。レベル情報25bは、データ24bがデータ24aより高いレベル2であることを示す。レベル情報25cは、データ24cがデータ24bより高いレベル3であることを示す。 As an example, the control unit 22 associates level information 25a with data 24a, level information 25b with data 24b, and level information 25c with data 24c. Level information 25a indicates that data 24a is at level 1. Level information 25b indicates that data 24b is at level 2, which is higher than data 24a. Level information 25c indicates that data 24c is at level 3, which is higher than data 24b.

このように、第2の実施の形態の情報処理装置20は、データ群23から、あるデータと同一の属性関係をもつ第2の複数のデータを選択する。そして、情報処理装置20は、選択された第2の複数のデータそれぞれに対してレベル情報を関連付ける。これにより、少なくとも一部のデータにレベル情報が関連付けられたデータ群23が、データベースに登録される。よって、情報処理装置20は、属性のみでは十分にデータを絞り込むことができない場合であってもデータ間の上下関係に着目してデータを絞り込むことが可能なデータベースを作成することができる。その結果、検索の際にユーザにとって不要なデータを検索結果から削減することが可能な効率的なデータベースが作成される。 In this way, the information processing device 20 of the second embodiment selects, from the data group 23, a second plurality of data that have the same attribute relationship as a certain data. Then, the information processing device 20 associates level information with each of the selected second plurality of data. As a result, the data group 23 in which at least some of the data is associated with level information is registered in the database. Therefore, the information processing device 20 can create a database that can narrow down data by focusing on the hierarchical relationships between data, even when the data cannot be sufficiently narrowed down by attributes alone. As a result, an efficient database is created that can reduce data that is unnecessary for the user when searching from the search results.

なお、上記の第2の実施の形態の説明では、レベル情報を付与する対象のデータ群23は、データペアを示す関係を3個含んでいるが、データペアを示す関係を1個のみ含むこともあり得る。その場合、制御部22は以下のような処理を実行し得る。制御部22は、第1のデータと、第2のデータと、第1のデータと第2のデータとの間の関係を示す情報とを含むデータを受け付けると、第1のデータと第2のデータとのうちの少なくとも1つのデータを選択する。制御部22は、上下関係を有する複数のレベルのうちの第1のレベルの指定に基づいて、第1のレベルを示すレベル情報を当該1つのデータに関連付けて、複数のデータと複数のデータの間の関係を示す情報とを含むデータベースに登録する。 In the above description of the second embodiment, the data group 23 to which level information is assigned includes three relationships indicating a data pair, but it may also include only one relationship indicating a data pair. In this case, the control unit 22 may execute the following process. When the control unit 22 receives data including first data, second data, and information indicating the relationship between the first data and the second data, it selects at least one of the first data and the second data. Based on the designation of the first level among multiple levels having a hierarchical relationship, the control unit 22 associates level information indicating the first level with the one piece of data and registers it in a database including multiple data and information indicating the relationship between the multiple data.

例えば、制御部22は、データ24aとデータ24dとデータ24a,24d間の関係を示す情報とを含むデータを受け付けると、データ24aを選択する。制御部22は、上下関係を有する複数のレベルのうちの1つのレベルの指定に基づいて、当該1つのレベルを示すレベル情報25aをデータ24aに関連付けてデータベースに登録する。 For example, when the control unit 22 receives data including data 24a, data 24d, and information indicating the relationship between data 24a and 24d, the control unit 22 selects data 24a. Based on the designation of one level among a plurality of levels having a hierarchical relationship, the control unit 22 associates level information 25a indicating the one level with data 24a and registers the level information in the database.

次に、第3の実施の形態を説明する。第3の実施の形態の情報処理装置100は、ユーザの要求に応じて、データを登録しデータを検索するデータベース管理装置である。情報処理装置100は、サーバ装置でもよいしクライアント装置でもよい。なお、第3の実施の形態では情報処理装置100がデータの登録とデータの検索の両方を実行しているが、異なる情報処理装置がデータの登録とデータの検索を実行してもよい。また、複数の情報処理装置が分散して1つのデータベースを管理してもよい。 Next, a third embodiment will be described. The information processing device 100 of the third embodiment is a database management device that registers and searches for data in response to a user request. The information processing device 100 may be a server device or a client device. Note that, although the information processing device 100 executes both data registration and data search in the third embodiment, different information processing devices may execute data registration and data search. Also, a single database may be managed by multiple information processing devices in a distributed manner.

図3は、情報処理装置のハードウェア例を示すブロック図である。情報処理装置100は、CPU101、RAM102、HDD103、画像インタフェース104、入力インタフェース105、媒体リーダ106および通信インタフェース107を有する。CPU101、RAM102、HDD103、画像インタフェース104、入力インタフェース105、媒体リーダ106および通信インタフェース107は、バスに接続されている。CPU101は、第1の実施の形態の制御部12および第2の実施の形態の制御部22に対応する。RAM102またはHDD103は、第1の実施の形態の記憶部11および第2の実施の形態の記憶部21に対応する。 Figure 3 is a block diagram showing an example of hardware of an information processing device. The information processing device 100 has a CPU 101, a RAM 102, a HDD 103, an image interface 104, an input interface 105, a media reader 106, and a communication interface 107. The CPU 101, the RAM 102, the HDD 103, the image interface 104, the input interface 105, the media reader 106, and the communication interface 107 are connected to a bus. The CPU 101 corresponds to the control unit 12 of the first embodiment and the control unit 22 of the second embodiment. The RAM 102 or the HDD 103 corresponds to the memory unit 11 of the first embodiment and the memory unit 21 of the second embodiment.

CPU101は、プログラムの命令を実行するプロセッサである。CPU101は、HDD103に記憶されたプログラムおよびデータの少なくとも一部をRAM102にロードし、プログラムを実行する。情報処理装置100は、複数のプロセッサを有してもよい。プロセッサの集合が、マルチプロセッサまたは単に「プロセッサ」と呼ばれてもよい。 The CPU 101 is a processor that executes program instructions. The CPU 101 loads at least a portion of the programs and data stored in the HDD 103 into the RAM 102 and executes the programs. The information processing device 100 may have multiple processors. A collection of processors may be called a multiprocessor or simply a "processor."

RAM102は、CPU101が実行するプログラムおよびCPU101が演算に使用するデータを一時的に記憶する揮発性半導体メモリである。情報処理装置100は、RAM以外の種類のメモリを有してもよい。 RAM 102 is a volatile semiconductor memory that temporarily stores programs executed by CPU 101 and data used by CPU 101 for calculations. Information processing device 100 may have a type of memory other than RAM.

HDD103は、ソフトウェアのプログラムおよびデータを記憶する不揮発性ストレージである。ソフトウェアには、OS(Operating System)、ミドルウェアおよびアプリケーションソフトウェアが含まれてもよい。情報処理装置100は、フラッシュメモリなどの他の種類の不揮発性ストレージを有してもよい。 The HDD 103 is a non-volatile storage that stores software programs and data. The software may include an operating system (OS), middleware, and application software. The information processing device 100 may also have other types of non-volatile storage, such as flash memory.

画像インタフェース104は、CPU101からの命令に従って、情報処理装置100に接続された表示装置111に画像を出力する。表示装置111は、CRT(Cathode Ray Tube)ディスプレイ、液晶ディスプレイ(LCD:Liquid Crystal Display)または有機EL(OEL:Organic Electro-Luminescence)ディスプレイであってもよい。情報処理装置100に、プリンタなどの他の種類の出力デバイスが接続されてもよい。 The image interface 104 outputs images to a display device 111 connected to the information processing device 100 in accordance with instructions from the CPU 101. The display device 111 may be a CRT (Cathode Ray Tube) display, a liquid crystal display (LCD: Liquid Crystal Display), or an organic EL (OEL: Organic Electro-Luminescence) display. Other types of output devices, such as a printer, may also be connected to the information processing device 100.

入力インタフェース105は、情報処理装置100に接続された入力デバイス112から入力信号を受け付ける。入力デバイス112は、マウス、キーボードまたはタッチパッドであってもよい。情報処理装置100に、複数の入力デバイスが接続されてもよい。 The input interface 105 receives an input signal from an input device 112 connected to the information processing device 100. The input device 112 may be a mouse, a keyboard, or a touchpad. Multiple input devices may be connected to the information processing device 100.

媒体リーダ106は、記録媒体113に記録されたプログラムおよびデータを読み取る読み取り装置である。記録媒体113は、磁気ディスク、光ディスクまたは半導体メモリであってもよい。磁気ディスクには、フレキシブルディスク(FD:Flexible Disk)およびHDDが含まれてもよい。光ディスクには、CD(Compact Disc)およびDVD(Digital Versatile Disc)が含まれてもよい。媒体リーダ106は、例えば、記録媒体113から読み取ったプログラムおよびデータを、HDD103などのストレージにコピーする。記録媒体113は、可搬型記録媒体でもよい。記録媒体113は、プログラムおよびデータの配布に用いられることがある。記録媒体113およびHDD103が、コンピュータ読み取り可能な記録媒体と呼ばれてもよい。 The media reader 106 is a reading device that reads the program and data recorded on the recording medium 113. The recording medium 113 may be a magnetic disk, an optical disk, or a semiconductor memory. The magnetic disk may include a flexible disk (FD) and a HDD. The optical disk may include a compact disc (CD) and a digital versatile disc (DVD). For example, the media reader 106 copies the program and data read from the recording medium 113 to a storage such as the HDD 103. The recording medium 113 may be a portable recording medium. The recording medium 113 may be used for distributing the program and data. The recording medium 113 and the HDD 103 may be called computer-readable recording media.

通信インタフェース107は、ネットワーク114に接続される。通信インタフェース107は、ネットワーク114を介して他の情報処理装置と通信する。通信インタフェース107は、スイッチやルータなどの有線通信装置に接続される有線通信インタフェースでもよい。また、通信インタフェース107は、基地局やアクセスポイントなどの無線通信装置に接続される無線通信インタフェースでもよい。 The communication interface 107 is connected to the network 114. The communication interface 107 communicates with other information processing devices via the network 114. The communication interface 107 may be a wired communication interface connected to a wired communication device such as a switch or a router. The communication interface 107 may also be a wireless communication interface connected to a wireless communication device such as a base station or an access point.

次に、データベースの構造を説明する。情報処理装置100は、事象と原因と解決策との間の関係を示す知識データベースを保持する。知識データベースに含まれるデータは、Linked Dataである。Linked Dataは、RDFに従って記述される。 Next, the structure of the database will be explained. The information processing device 100 holds a knowledge database that shows the relationships between events, causes, and solutions. The data contained in the knowledge database is Linked Data. Linked Data is described according to RDF.

知識データベースは、事象、原因および解決策を示す複数のエンティティと、これら複数のエンティティの間の関係を示す複数のリンクとを含む。エンティティは、URIによって識別される。リンクは、一方のエンティティと他方のエンティティとの関係の種類を示す属性をもつ。関係の種類は、URIによって識別される。知識データベースは、関係の種類として、一方のエンティティの原因の1つが他方のエンティティであることを示す原因の関係を含む。また、知識データベースは、関係の種類として、一方のエンティティに対する解決策の1つが他方のエンティティであることを示す解決策の関係を含む。 The knowledge database includes multiple entities that indicate events, causes, and solutions, and multiple links that indicate relationships between the multiple entities. The entities are identified by URIs. The links have attributes that indicate the type of relationship between one entity and the other entity. The type of relationship is identified by the URI. The knowledge database includes as a relationship type a cause relationship that indicates that one of the causes of one entity is the other entity. The knowledge database also includes as a relationship type a solution relationship that indicates that one of the solutions for one entity is the other entity.

Linked Dataは、主語、述語および目的語のトリプルによって1つの事実を表現する。Linked Dataは、トリプルの集合である。主語および目的語は、それぞれエンティティに相当する。述語は、リンクに相当する。Linked Dataは、エンティティに相当するノードとリンクに相当するエッジとを含む有向グラフとして表現されることがある。1つの事象に対して、2以上の原因が存在することがあり、2以上の解決策が存在することがある。 Linked Data expresses a fact using a triple with a subject, predicate, and object. Linked Data is a collection of triples. The subject and object each correspond to an entity. The predicate corresponds to a link. Linked Data is sometimes represented as a directed graph with nodes that correspond to entities and edges that correspond to links. There may be two or more causes for one event, and two or more solutions.

図4は、事象と解決策の関係を表すデータ例を示す図である。一例として、Linked Dataは、エンティティ31~39を含む。エンティティ31は、事象を示す。エンティティ32~39は、解決策を示す。エンティティ32~39はそれぞれ、解決策の関係を示すリンクによってエンティティ31と接続されている。よって、エンティティ32~39が示す解決策は、エンティティ31が示す事象に対する解決策の候補である。 Figure 4 is a diagram showing an example of data that indicates the relationship between an event and a solution. As an example, the Linked Data includes entities 31 to 39. Entity 31 indicates an event. Entities 32 to 39 indicate solutions. Entities 32 to 39 are each connected to entity 31 by links that indicate a solution relationship. Therefore, the solutions indicated by entities 32 to 39 are candidate solutions for the event indicated by entity 31.

エンティティ31は、「空腹」という事象を示す。エンティティ32は、「可食物を探す」という解決策を示す。エンティティ33は、「水で腹を満たす」という解決策を示す。エンティティ34は、「洗う」という解決策を示す。エンティティ35は、「消費期限を確認する」という解決策を示す。エンティティ36は、「好きな食べ物がある店を探す」という解決策を示す。エンティティ37は、「友人を食事に誘う」という解決策を示す。エンティティ38は、「流行の食べ物を探す」という解決策を示す。エンティティ39は、「おすすめ料理を食べる」という解決策を示す。 Entity 31 represents the event "hunger". Entity 32 represents the solution "find edible food". Entity 33 represents the solution "fill your stomach with water". Entity 34 represents the solution "wash". Entity 35 represents the solution "check the expiration date". Entity 36 represents the solution "find a restaurant that has your favorite food". Entity 37 represents the solution "invite a friend to dinner". Entity 38 represents the solution "find trendy foods". Entity 39 represents the solution "eat recommended dishes".

図5は、データファイルとテンプレートの第1の記載例を示す図である。データファイル131は、図4のLinked Dataを表すRDFデータを含む。データファイル131は、エンティティ31とエンティティ32~39との間の関係を示す8個のトリプルを含む。データファイル131のLinked Dataから所望のエンティティを検索するため、テンプレート132が使用される。テンプレート132は、検索条件を示すトリプルを含む。トリプルの主語は、検索の基点を示すパラメータである。トリプルの述語は、解決策の関係を示すURIである。トリプルの目的語は、抽出されるエンティティを示す変数である。 Figure 5 is a diagram showing a first example of a data file and a template. Data file 131 contains RDF data representing the Linked Data of Figure 4. Data file 131 contains eight triples indicating relationships between entity 31 and entities 32 to 39. Template 132 is used to search for a desired entity from the Linked Data of data file 131. Template 132 contains triples indicating search conditions. The subject of the triple is a parameter indicating the base point of the search. The predicate of the triple is a URI indicating the solution relationship. The object of the triple is a variable indicating the entity to be extracted.

情報処理装置100は、基点のエンティティのURIを受け付ける。すると、情報処理装置100は、受け付けたURIをテンプレート132のパラメータに代入することで、クエリ133を生成する。クエリ133は、着目するエンティティとの間に解決策の関係が存在するエンティティを検索することを示す検索クエリである。情報処理装置100は、クエリ133を実行することで、Linked Dataから検索条件を満たすエンティティを抽出する。エンティティ31のURIが指定された場合、情報処理装置100は、Linked Dataからエンティティ32~39を抽出する。なお、テンプレート132に、基点のエンティティのURIが埋め込まれていてもよい。 The information processing device 100 receives the URI of the base entity. The information processing device 100 then generates a query 133 by substituting the received URI into the parameters of the template 132. The query 133 is a search query indicating a search for entities that have a solution relationship with the entity of interest. The information processing device 100 executes the query 133 to extract entities that satisfy the search conditions from the Linked Data. When the URI of the entity 31 is specified, the information processing device 100 extracts entities 32 to 39 from the Linked Data. Note that the URI of the base entity may be embedded in the template 132.

このように、1つの事象を示すエンティティに対して、解決策の候補を示す複数のエンティティが関連付けられていることがある。基点のエンティティおよび属性が指定されても、これら複数のエンティティの全てが検索条件を満たす。そのため、情報処理装置100は、これら複数のエンティティの全てを含む検索結果を出力する。しかし、検索結果に含まれる複数のエンティティが同一レベルの解決策を示すとは限らない。そのため、検索結果に含まれる全てのエンティティがユーザにとって有用であるとは限らない。 In this way, multiple entities indicating potential solutions may be associated with an entity indicating one event. Even if a base entity and attributes are specified, all of these multiple entities satisfy the search conditions. Therefore, the information processing device 100 outputs search results that include all of these multiple entities. However, multiple entities included in the search results do not necessarily indicate the same level of solution. Therefore, all entities included in the search results are not necessarily useful to the user.

例えば、エンティティ32,33は、「常に飢餓状態」というユーザの状況に対して好適な解決策を示す。エンティティ34,35は、「空腹状態が続く」というユーザの状況に対して好適な解決策を示す。ただし、エンティティ34,35は、「常に飢餓状態」という状況が解決されていないユーザに対しては好適な解決策を示さない。よって、エンティティ34,35は、エンティティ32,33よりも高レベルの解決策を示す。 For example, entities 32 and 33 provide suitable solutions to the user's situation of "constant hunger." Entities 34 and 35 provide suitable solutions to the user's situation of "persistent hunger." However, entities 34 and 35 do not provide suitable solutions to a user whose "constant hunger" situation has not been resolved. Thus, entities 34 and 35 provide higher-level solutions than entities 32 and 33.

同様に、エンティティ36,37は、「普段食欲が満たされている」というユーザの状況に対して好適な解決策を示す。ただし、エンティティ36,37は、「空腹状態が続く」という状況が解決されていないユーザに対しては好適な解決策を示さない。よって、エンティティ36,37は、エンティティ34,35よりも高レベルの解決策を示す。エンティティ38,39は、「普段好きな料理を食べている」というユーザの状況に対して好適な解決策を示す。ただし、エンティティ38,39は、「普段食欲が満たされている」という程度の状況にあるユーザに対しては好適な解決策を示さない。よって、エンティティ38,39は、エンティティ36,37よりも高レベルの解決策を示す。 Similarly, entities 36 and 37 show suitable solutions for the user's situation of "usually satisfying appetite." However, entities 36 and 37 do not show suitable solutions for a user whose situation of "prolonged hunger" has not been resolved. Thus, entities 36 and 37 show a higher level of solution than entities 34 and 35. Entities 38 and 39 show suitable solutions for the user's situation of "usually eating favorite food." However, entities 38 and 39 do not show suitable solutions for a user whose situation is at the level of "usually satisfying appetite." Thus, entities 38 and 39 show a higher level of solution than entities 36 and 37.

このように、テンプレート132を用いて生成される検索結果は、レベルの異なる解決策を示す複数のエンティティを含むことがある。一方、現在のユーザの状況から見てレベルが高すぎる解決策を示すエンティティは、ユーザにとって不要な情報である。 In this way, search results generated using template 132 may contain multiple entities that represent solutions at different levels. On the other hand, entities that represent solutions that are too high level for the user's current situation are unnecessary information for the user.

図6は、事象と原因の関係を表すデータ例を示す図である。他の例として、Linked Dataは、エンティティ41~47を含む。エンティティ41は、事象を示す。エンティティ42~47は、原因を示す。エンティティ42~47はそれぞれ、原因の関係を示すリンクによってエンティティ41と接続されている。よって、エンティティ42~47が示す原因は、エンティティ41が示す事象に対する原因の候補である。 Figure 6 is a diagram showing an example of data that indicates the relationship between an event and its cause. As another example, Linked Data includes entities 41 to 47. Entity 41 indicates an event. Entities 42 to 47 indicate causes. Entities 42 to 47 are each connected to entity 41 by links that indicate causal relationships. Therefore, the causes indicated by entities 42 to 47 are candidate causes for the event indicated by entity 41.

エンティティ41は、「モデル精度の低下」という事象を示す。エンティティ42は、「一部組織のデータ欠如」という原因を示す。エンティティ43は、「表現の揺れ」という原因を示す。エンティティ44は、「データ整備ミス」という原因を示す。エンティティ45は、「組織変化への未対応」という原因を示す。エンティティ46は、「流行の変化」という原因を示す。エンティティ47は、「新製品の発売」という原因を示す。 Entity 41 indicates the event of "decline in model accuracy." Entity 42 indicates the cause of "lack of data for some organizations." Entity 43 indicates the cause of "variation in expression." Entity 44 indicates the cause of "data preparation errors." Entity 45 indicates the cause of "failure to respond to organizational changes." Entity 46 indicates the cause of "changes in trends." Entity 47 indicates the cause of "release of new products."

図7は、データファイルとテンプレートの第2の記載例を示す図である。データファイル135は、図6のLinked Dataを表すRDFデータを含む。データファイル135は、エンティティ41とエンティティ42~47との間の関係を示す6個のトリプルを含む。データファイル135のLinked Dataから所望のエンティティを検索するため、テンプレート136が使用される。テンプレート136は、検索条件を示すトリプルを含む。トリプルの主語は、検索の基点を示すパラメータである。トリプルの述語は、原因の関係を示すURIである。トリプルの目的語は、抽出されるエンティティを示す変数である。 Figure 7 is a diagram showing a second example of a data file and a template. Data file 135 contains RDF data representing the Linked Data of Figure 6. Data file 135 contains six triples indicating the relationships between entity 41 and entities 42 to 47. Template 136 is used to search for a desired entity from the Linked Data of data file 135. Template 136 contains triples indicating search conditions. The subject of the triple is a parameter indicating the base point of the search. The predicate of the triple is a URI indicating a causal relationship. The object of the triple is a variable indicating the entity to be extracted.

情報処理装置100は、基点のエンティティのURIを受け付ける。すると、情報処理装置100は、受け付けたURIをテンプレート136のパラメータに代入することで、クエリ137を生成する。クエリ137は、着目するエンティティとの間に原因の関係が存在するエンティティを検索することを示す検索クエリである。情報処理装置100は、クエリ137を実行することで、Linked Dataから検索条件を満たすエンティティを抽出する。エンティティ41のURIが指定された場合、情報処理装置100は、Linked Dataからエンティティ42~47を抽出する。なお、テンプレート136に、基点のエンティティのURIが埋め込まれていてもよい。 The information processing device 100 receives the URI of the base entity. The information processing device 100 then generates a query 137 by substituting the received URI into the parameters of the template 136. The query 137 is a search query indicating a search for an entity that has a causal relationship with the entity of interest. The information processing device 100 executes the query 137 to extract entities that satisfy the search conditions from the Linked Data. When the URI of the entity 41 is specified, the information processing device 100 extracts entities 42 to 47 from the Linked Data. Note that the URI of the base entity may be embedded in the template 136.

なお、説明を簡単にするため図4~7のLinked Dataは、1つの事象と複数の解決策または複数の原因との間の簡単な関係を記述している。ただし、Linked Dataは、様々な事象、原因および解決策の間のより複雑な関係を記述することが可能である。 For simplicity, the Linked Data in Figures 4 to 7 describe a simple relationship between one event and multiple solutions or multiple causes. However, Linked Data can describe more complex relationships between various events, causes, and solutions.

このように、1つの事象を示すエンティティに対して、原因の候補を示す複数のエンティティが関連付けられていることがある。基点のエンティティおよび属性が指定されても、これら複数のエンティティの全てが検索条件を満たす。そのため、情報処理装置100は、これら複数のエンティティの全てを含む検索結果を出力する。しかし、検索結果に含まれる複数のエンティティが同一レベルの原因を示すとは限らない。そのため、検索結果に含まれる全てのエンティティがユーザにとって有用であるとは限らない。 In this way, multiple entities indicating possible causes may be associated with an entity indicating one event. Even if a base entity and attribute are specified, all of these multiple entities satisfy the search conditions. Therefore, the information processing device 100 outputs search results that include all of these multiple entities. However, multiple entities included in the search results do not necessarily indicate causes at the same level. Therefore, all entities included in the search results may not be useful to the user.

例えば、エンティティ42,43は、「データ不備」という業務の状況に対して可能性の高い原因を示す。データ不備は、機械学習にとって十分な量のデータが収集されていない状況を示す。エンティティ44,45は、「人為的問題」という業務の状況に対して可能性の高い原因を示す。人為的問題は、データ収集の運用の不備によって収集されたデータの質が低い状況を示す。ただし、エンティティ44,45は、「データ不備」が解決されていない業務に対しては可能性の高い原因を示さない。よって、エンティティ44,45は、エンティティ42,43よりも高レベルの原因を示す。 For example, entities 42 and 43 indicate likely causes for a business situation called "data deficiency." Data deficiency indicates a situation where not enough data is collected for machine learning. Entities 44 and 45 indicate likely causes for a business situation called "human problem." Human problem indicates a situation where the quality of collected data is low due to operational deficiencies in data collection. However, entities 44 and 45 do not indicate likely causes for business where the "data deficiency" has not been resolved. Thus, entities 44 and 45 indicate a higher level of cause than entities 42 and 43.

同様に、エンティティ46,47は、「コンセプトドリフト」という業務の状況に対して好適な解決策を示す。コンセプトドリフトは、社会的経済的理由により、収集されるデータの特徴がモデル生成時から変化した状況を示す。ただし、エンティティ46,47は、「人為的問題」が解決されていない業務に対しては可能性の高い原因を示さない。よって、エンティティ46,47は、エンティティ44,45よりも高レベルの原因を示す。 Similarly, entities 46 and 47 indicate suitable solutions to a business situation called "concept drift." Concept drift indicates a situation in which the characteristics of collected data have changed since the model was generated due to social and economic reasons. However, entities 46 and 47 do not indicate likely causes for business where the "human problem" has not been resolved. Thus, entities 46 and 47 indicate a higher level of cause than entities 44 and 45.

このように、テンプレート136を用いて生成される検索結果は、レベルの異なる原因を示す複数のエンティティを含むことがある。一方、現在のユーザの状況から見てレベルが高すぎる原因を示すエンティティは、ユーザにとって不要な情報である。そこで、情報処理装置100は、Linked Dataに含まれる一部のエンティティを、レベルの異なる複数のレイヤに振り分けて配置する。情報処理装置100は、ユーザの現在の状況を示す基準レベルより高いレベルのレイヤに配置されたエンティティを、検索結果から除外する。 In this way, search results generated using template 136 may include multiple entities indicating causes at different levels. On the other hand, entities indicating causes that are too high in level given the user's current situation are unnecessary information for the user. Therefore, information processing device 100 allocates and places some of the entities included in Linked Data into multiple layers at different levels. Information processing device 100 excludes entities placed in layers at a level higher than the reference level indicating the user's current situation from the search results.

図8は、解決策を表すエンティティのレイヤ分けの例を示す図である。図4のLinked Dataに含まれるエンティティ32~39が、レイヤ51~54に分けて配置される。レイヤ51は、「常に飢餓状態」というユーザの状況を示す。レイヤ51のレベルは、レベル1である。レイヤ52は、「空腹状態が続く」というユーザの状況を示す。レイヤ52のレベルは、レイヤ51よりも高いレベル2である。レイヤ53は、「普段食欲が満たされている」というユーザの状況を示す。レイヤ53のレベルは、レイヤ52よりも高いレベル3である。レイヤ54は、「普段好きな料理を食べている」というユーザの状況を示す。レイヤ54のレベルは、レイヤ53よりも高いレベル4である。 Figure 8 is a diagram showing an example of layering of entities representing solutions. Entities 32 to 39 included in the Linked Data in Figure 4 are arranged in layers 51 to 54. Layer 51 indicates the user's situation of "always hungry". The level of layer 51 is level 1. Layer 52 indicates the user's situation of "prolonged hunger". The level of layer 52 is level 2, higher than layer 51. Layer 53 indicates the user's situation of "usually satisfied appetite". The level of layer 53 is level 3, higher than layer 52. Layer 54 indicates the user's situation of "usually eating favorite food". The level of layer 54 is level 4, higher than layer 53.

エンティティ32,33は、レイヤ51に配置される。よって、エンティティ32,33には、レベル1を示すレイヤ情報が関連付けられる。エンティティ34,35は、レイヤ52に配置される。よって、エンティティ34,35には、レベル2を示すレイヤ情報が関連付けられる。エンティティ36,37は、レイヤ53に配置される。よって、エンティティ36,37には、レベル3を示すレイヤ情報が関連付けられる。エンティティ38,39は、レイヤ54に配置される。よって、エンティティ38,39には、レベル4を示すレイヤ情報が関連付けられる。 Entities 32 and 33 are placed in layer 51. Therefore, entities 32 and 33 are associated with layer information indicating level 1. Entities 34 and 35 are placed in layer 52. Therefore, entities 34 and 35 are associated with layer information indicating level 2. Entities 36 and 37 are placed in layer 53. Therefore, entities 36 and 37 are associated with layer information indicating level 3. Entities 38 and 39 are placed in layer 54. Therefore, entities 38 and 39 are associated with layer information indicating level 4.

図9は、データファイルへのレイヤ情報の第1の追加例を示す図である。データファイル134は、図5に示すデータファイル131に対してレイヤ情報が追加されたデータファイルである。データファイル134には、「おなかが空いた」という名前のレイヤ群が規定されている。このレイヤ群は、レベル1~4に対応するレイヤ51~54を含む。エンティティ32~39にはそれぞれ、レイヤ群名が「おなかが空いた」であり、レベルが1~4の何れか1つであることを示すラベルが付与されている。Linked Dataにおいては、このラベルは各エンティティの属性として規定される。 Figure 9 is a diagram showing a first example of adding layer information to a data file. Data file 134 is a data file in which layer information has been added to data file 131 shown in Figure 5. A layer group named "I'm hungry" is defined in data file 134. This layer group includes layers 51 to 54, which correspond to levels 1 to 4. Entities 32 to 39 are each assigned a label indicating that the layer group name is "I'm hungry" and that the level is one of 1 to 4. In Linked Data, this label is defined as an attribute of each entity.

図10は、原因を表すエンティティのレイヤ分けの例を示す図である。図6のLinked Dataに含まれるエンティティ42~47が、レイヤ55~57に分けて配置される。レイヤ55は、「データ不備」という業務の状況を示す。レイヤ55のレベルは、レベル1である。レイヤ56は、「人為的問題」という業務の状況を示す。レイヤ56のレベルは、レイヤ55よりも高いレベル2である。レイヤ57は、「コンセプトドリフト」という業務の状況を示す。レイヤ57のレベルは、レイヤ56よりも高いレベル3である。 Figure 10 is a diagram showing an example of layering of entities that represent causes. Entities 42 to 47 included in the Linked Data in Figure 6 are arranged in layers 55 to 57. Layer 55 indicates the business situation of "data deficiency." The level of layer 55 is level 1. Layer 56 indicates the business situation of "human-made problem." The level of layer 56 is level 2, which is higher than layer 55. Layer 57 indicates the business situation of "concept drift." The level of layer 57 is level 3, which is higher than layer 56.

エンティティ42,43は、レイヤ55に配置される。よって、エンティティ42,43には、レベル1を示すレイヤ情報が関連付けられる。エンティティ44,45は、レイヤ56に配置される。よって、エンティティ44,45には、レベル2を示すレイヤ情報が関連付けられる。エンティティ46,47は、レイヤ57に配置される。よって、エンティティ46,47には、レベル3を示すレイヤ情報が関連付けられる。 Entities 42 and 43 are placed in layer 55. Therefore, entities 42 and 43 are associated with layer information indicating level 1. Entities 44 and 45 are placed in layer 56. Therefore, entities 44 and 45 are associated with layer information indicating level 2. Entities 46 and 47 are placed in layer 57. Therefore, entities 46 and 47 are associated with layer information indicating level 3.

図11は、データファイルへのレイヤ情報の第2の追加例を示す図である。データファイル138は、図7に示すデータファイル135に対してレイヤ情報が追加されたデータファイルである。データファイル138には、「精度が落ちた」という名前のレイヤ群が規定されている。このレイヤ群は、レベル1~3に対応するレイヤ55~57を含む。エンティティ42~47にはそれぞれ、レイヤ群名が「精度が落ちた」であり、レベルが1~3の何れか1つであることを示すラベルが付与されている。Linked Dataにおいては、このラベルは各エンティティの属性として規定される。 Figure 11 is a diagram showing a second example of adding layer information to a data file. Data file 138 is a data file in which layer information has been added to data file 135 shown in Figure 7. A layer group named "reduced accuracy" is defined in data file 138. This layer group includes layers 55 to 57, which correspond to levels 1 to 3. Entities 42 to 47 are each assigned a label indicating that the layer group name is "reduced accuracy" and that the level is one of 1 to 3. In Linked Data, this label is defined as an attribute of each entity.

なお、図9,11の例では、情報処理装置100は、Linked Dataの中にレイヤ情報を挿入している。これに対して、情報処理装置100は、Linked Dataの外部にレイヤ情報を保存してもよい。また、図8,10の例では、情報処理装置100は、Linked Dataに対して1つのレイヤ群を規定している。これに対して、情報処理装置100は、異なる検索の観点に対応する複数のレイヤ群を規定してもよい。例えば、情報処理装置100は、異なるテンプレートに対応する複数のレイヤ群を規定してもよい。 In the examples of Figures 9 and 11, the information processing device 100 inserts layer information into the Linked Data. Alternatively, the information processing device 100 may store layer information outside the Linked Data. Also, in the examples of Figures 8 and 10, the information processing device 100 defines one layer group for the Linked Data. Alternatively, the information processing device 100 may define multiple layer groups corresponding to different search perspectives. For example, the information processing device 100 may define multiple layer groups corresponding to different templates.

この場合、同一のエンティティが異なるレイヤ群に属することがある。また、同一のエンティティに対して異なるレベルが付与されることがある。例えば、ある解決策が、ある事象にとってはレベル1の解決策であるのに対し、別の事象にとってはレベル2の解決策であることがある。また、例えば、ある原因が、ある事象にとってはレベル1の原因であるのに対し、別の事象にとってはレベル2の原因であることがある。 In this case, the same entity may belong to different layers. Also, different levels may be assigned to the same entity. For example, a solution may be a level 1 solution for one event, but a level 2 solution for another event. Also, a cause may be a level 1 cause for one event, but a level 2 cause for another event.

図12は、データベース検索と検索結果フィルタの例を示す図である。図12に示すLinked Dataは、図4,6よりも複雑なLinked Dataである。このLinked Dataは、エンティティ#1~#31という31個のエンティティを含む。エンティティ#15~#20は、レベル1のレイヤ61に属する。エンティティ#21~#26は、レベル2のレイヤ62に属する。エンティティ#27~#31は、レベル3のレイヤ63に属する。 Figure 12 is a diagram showing an example of a database search and a search result filter. The Linked Data shown in Figure 12 is more complex than that shown in Figures 4 and 6. This Linked Data includes 31 entities, entities #1 to #31. Entities #15 to #20 belong to layer 61, level 1. Entities #21 to #26 belong to layer 62, level 2. Entities #27 to #31 belong to layer 63, level 3.

例えば、情報処理装置100は、基点のエンティティとしてエンティティ#1の指定を受け付け、あるテンプレートに従って関連するエンティティを検索する。すると、情報処理装置100は、エンティティ#5,#15を含むパスと、エンティティ#7,#17を含むパスと、エンティティ#8,#21を含むパスと、エンティティ#9,#22を含むパスと、エンティティ#11,#27を含むパスとを抽出する。 For example, the information processing device 100 accepts the specification of entity #1 as the base entity and searches for related entities according to a certain template. The information processing device 100 then extracts a path including entities #5 and #15, a path including entities #7 and #17, a path including entities #8 and #21, a path including entities #9 and #22, and a path including entities #11 and #27.

このとき、情報処理装置100は、基準レベルとしてユーザからレベル1の指定を受け付ける場合がある。その場合、情報処理装置100は、5個のパスのうち、エンティティ#8,#21を含むパスと、エンティティ#9,#22を含むパスと、エンティティ#11,#27を含むパスとを、検索結果から除外する。その結果、2個のパスが残る。また、情報処理装置100は、基準レベルとしてユーザからレベル2の指定を受け付ける場合がある。その場合、情報処理装置100は、5個のパスのうち、エンティティ#11,#27を含むパスを検索結果から除外する。その結果、4個のパスが残る。このように、基準レベルを超えるレベルのエンティティを含むパスが検索結果から除外される。 At this time, the information processing device 100 may accept level 1 as the reference level from the user. In that case, the information processing device 100 excludes from the search results, of the five paths, the paths that include entities #8 and #21, the paths that include entities #9 and #22, and the paths that include entities #11 and #27. As a result, two paths remain. The information processing device 100 may also accept level 2 as the reference level from the user. In that case, the information processing device 100 excludes from the search results, of the five paths, the paths that include entities #11 and #27. As a result, four paths remain. In this way, paths that include entities at a level exceeding the reference level are excluded from the search results.

次に、情報処理装置100の機能および処理手順について説明する。図13は、情報処理装置のソフトウェア例を示すブロック図である。情報処理装置100は、データ記憶部121、テンプレート記憶部122、クエリ実行部123、データフィルタ部124およびデータ登録部125を有する。データ記憶部121およびテンプレート記憶部122は、例えば、RAM102またはHDD103の記憶領域に対応する。クエリ実行部123、データフィルタ部124およびデータ登録部125は、例えば、CPU101が実行するプログラムに対応する。 Next, the functions and processing procedures of the information processing device 100 will be described. FIG. 13 is a block diagram showing an example of software of the information processing device. The information processing device 100 has a data storage unit 121, a template storage unit 122, a query execution unit 123, a data filter unit 124, and a data registration unit 125. The data storage unit 121 and the template storage unit 122 correspond to, for example, the storage areas of the RAM 102 or the HDD 103. The query execution unit 123, the data filter unit 124, and the data registration unit 125 correspond to, for example, the programs executed by the CPU 101.

データ記憶部121は、レイヤ情報を含むLinked Dataを記憶する。例えば、データ記憶部121は、前述のデータファイル134,138を記憶する。ただし、情報処理装置100が、レイヤ情報を記憶するための別の記憶部を有してもよい。その場合、データ記憶部121は、レイヤ情報を含まないLinked Dataを記憶する。テンプレート記憶部122は、検索クエリを生成するためのテンプレートを記憶する。 The data storage unit 121 stores Linked Data that includes layer information. For example, the data storage unit 121 stores the above-mentioned data files 134 and 138. However, the information processing device 100 may have another storage unit for storing layer information. In that case, the data storage unit 121 stores Linked Data that does not include layer information. The template storage unit 122 stores templates for generating search queries.

クエリ実行部123は、ユーザから検索要求を受け付ける。検索要求は、基点のエンティティを示すキーURIと、検索に用いるテンプレートを指定するための情報とを含む。検索要求を受け付けると、クエリ実行部123は、キーURIとテンプレートから検索クエリを生成し、データ記憶部121に対して検索クエリを実行して検索結果を生成する。検索結果は、検索クエリが示す検索条件を満たすエンティティのURIを含む。 The query execution unit 123 receives a search request from a user. The search request includes a key URI indicating a base entity and information for specifying a template to be used in the search. Upon receiving a search request, the query execution unit 123 generates a search query from the key URI and the template, and executes the search query on the data storage unit 121 to generate search results. The search results include the URIs of entities that satisfy the search conditions indicated by the search query.

データフィルタ部124は、クエリ実行部123が生成した検索結果のフィルタリングを行い、修正された検索結果を出力する。フィルタリングにおいて、データフィルタ部124は、検索結果の中からレイヤ情報が付与されたエンティティを抽出する。レイヤ情報が付与されたエンティティが存在する場合、データフィルタ部124は、基準レベルを選択するための選択情報をユーザに提示する。そして、データフィルタ部124は、基準レベルより高いレベルのエンティティを検索結果から除外する。 The data filter unit 124 filters the search results generated by the query execution unit 123 and outputs the modified search results. In filtering, the data filter unit 124 extracts entities to which layer information has been assigned from the search results. If an entity to which layer information has been assigned is present, the data filter unit 124 presents the user with selection information for selecting a reference level. Then, the data filter unit 124 excludes entities at a level higher than the reference level from the search results.

ユーザに提示される選択情報は、レイヤ群名と、ユーザが基準レベルとして選択可能な複数のレベルを示す情報とを含んでもよい。また、選択情報は、レイヤ群に応じた質問であって、ユーザの現在の状況に関する質問を含んでもよい。質問は、データ検索の前に情報処理装置100の管理者によって作成される。その場合、情報処理装置100は、質問に対するユーザの回答に基づいて、ユーザの現在の状況を示す基準レベルを推定してもよい。検索結果の出力において、データフィルタ部124は、修正された検索結果を表示装置111に表示してもよいし、他の情報処理装置に送信してもよい。 The selection information presented to the user may include a layer group name and information indicating a plurality of levels that the user can select as a reference level. The selection information may also include a question corresponding to the layer group, which is related to the user's current situation. The question is created by an administrator of the information processing device 100 before the data search. In this case, the information processing device 100 may estimate a reference level indicating the user's current situation based on the user's answer to the question. In outputting the search results, the data filter unit 124 may display the modified search results on the display device 111, or may transmit them to another information processing device.

データ登録部125は、ユーザからデータファイルを受け付ける。データ登録部125は、受け付けたデータファイルが示すLinked Dataをデータ記憶部121に追加する。このとき、データ登録部125は、追加のLinked Dataに関連するテンプレートを、テンプレート記憶部122から抽出する。関連するテンプレートは、追加のLinked Dataに含まれる少なくとも1つのエンティティが抽出され得る検索条件を示すテンプレートである。 The data registration unit 125 accepts a data file from a user. The data registration unit 125 adds the Linked Data indicated by the accepted data file to the data storage unit 121. At this time, the data registration unit 125 extracts a template related to the added Linked Data from the template storage unit 122. The related template is a template indicating search conditions from which at least one entity included in the added Linked Data can be extracted.

関連するテンプレートが存在する場合、データ登録部125は、関連するテンプレートに基づいて、レイヤ情報を付与すべきエンティティを追加のLinked Dataから検索する。レイヤ情報を付与すべきエンティティは、同一エンティティから同一種類のリンクを辿ることで到達される2以上のエンティティである。これら2以上のエンティティは、関連するテンプレートが示す検索条件に基づいて検索される。 If a related template exists, the data registration unit 125 searches the additional Linked Data for entities to which layer information should be assigned, based on the related template. The entities to which layer information should be assigned are two or more entities that can be reached by following the same type of link from the same entity. These two or more entities are searched for based on the search criteria indicated by the related template.

テンプレートは、レイヤ情報が付与されていることが期待されるエンティティを示す変数を含むことがあり、そのエンティティがレイヤ群名を示す属性(exp:layerName)またはレベルを示す属性(exp:layerLevel)をもつことを検索条件として規定することがある。例えば、前述のテンプレート132,136に、目的語に相当する変数がレイヤ群名の属性をもつことを示す検索条件が追加されることがある。その場合、データ登録部125は、その変数に当てはまるエンティティを追加のLinked Dataから検索してもよい。 The template may include a variable indicating an entity that is expected to have layer information attached, and may specify as a search condition that the entity has an attribute indicating a layer group name (exp:layerName) or an attribute indicating a level (exp:layerLevel). For example, a search condition indicating that the variable corresponding to the object has a layer group name attribute may be added to the above-mentioned templates 132 and 136. In that case, the data registration unit 125 may search for an entity that matches the variable from the additional Linked Data.

レイヤ情報を付与すべきエンティティが存在する場合、データ登録部125は、該当するエンティティのURIをユーザに提示し、そのエンティティのレベルの指定をユーザから受け付ける。データ登録部125は、指定されたレベルを含むレイヤ情報を生成してそのエンティティに付与する。このとき、データ登録部125は、複数のエンティティのURIを一括でユーザに提示してもよく、それら複数のエンティティに対するレベルの指定をユーザから一括で受け付けてもよい。また、データ登録部125は、エンティティのURIの提示およびレベルの指定の受け付けを、エンティティ1つずつ実行してもよい。 If there is an entity to which layer information should be assigned, the data registration unit 125 presents the URI of the corresponding entity to the user and accepts the level designation of the entity from the user. The data registration unit 125 generates layer information including the designated level and assigns it to the entity. At this time, the data registration unit 125 may present the URIs of multiple entities to the user all at once, or may accept the level designation for the multiple entities all at once from the user. The data registration unit 125 may also present the URIs of the entities and accept the level designation for each entity one by one.

また、データ記憶部121は、1以上のレイヤ群および各レイヤ群で選択可能なレベルを既に定義していることがある。そこで、データ登録部125は、エンティティの情報と併せて、選択可能なレイヤ群および選択可能なレベルの情報をユーザに提示してもよい。なお、ユーザへの情報の提示は、表示装置111への情報の表示であってもよく、ユーザが使用するクライアント装置への情報の送信であってもよい。 The data storage unit 121 may already define one or more layer groups and selectable levels for each layer group. The data registration unit 125 may then present information on the selectable layer groups and selectable levels to the user along with the entity information. The presentation of information to the user may be by displaying the information on the display device 111, or by transmitting the information to a client device used by the user.

図14は、データ登録の手順例を示すフローチャートである。(S10)データ登録部125は、Linked Dataである新規データを含むデータファイルを受け付ける。データ登録部125は、データファイルに含まれる新規データをデータベースに登録する。(S11)データ登録部125は、既存のテンプレート群の中から、新規データに関連するテンプレートを抽出する。関連するテンプレートは、新規データに含まれる少なくとも1つのエンティティが抽出される可能性がある検索条件を示すテンプレートである。 Figure 14 is a flowchart showing an example of a procedure for registering data. (S10) The data registration unit 125 accepts a data file including new data that is Linked Data. The data registration unit 125 registers the new data included in the data file in a database. (S11) The data registration unit 125 extracts templates related to the new data from a group of existing templates. A related template is a template that indicates search conditions that may result in the extraction of at least one entity included in the new data.

(S12)データ登録部125は、新規データに関連するテンプレートが存在するか判断する。関連するテンプレートが存在する場合は処理がステップS13に進み、関連するテンプレートが存在しない場合はデータ登録の処理が終了する。 (S12) The data registration unit 125 determines whether a template related to the new data exists. If a related template exists, the process proceeds to step S13, and if a related template does not exist, the data registration process ends.

(S13)データ登録部125は、関連するテンプレートに基づいて、レイヤ情報を付与するエンティティを新規データから検索する。例えば、データ登録部125は、テンプレートが示す検索条件を満たしており、その検索条件では互いに分離して検索することができない2以上のエンティティを、新規データから検索する。テンプレートが、レイヤ群名の属性またはレベルの属性をもつエンティティであるという条件が既定された変数を含む場合、データ登録部125は、その変数に該当するエンティティを検索してもよい。 (S13) The data registration unit 125 searches the new data for an entity to which layer information is to be assigned, based on the associated template. For example, the data registration unit 125 searches the new data for two or more entities that satisfy the search conditions indicated by the template and cannot be searched separately from each other using the search conditions. If the template includes a variable with a predefined condition that the entity is one that has a layer group name attribute or a level attribute, the data registration unit 125 may search for an entity that matches the variable.

(S14)データ登録部125は、ステップS13で抽出されたエンティティのリストをユーザに提示する。リストは、各エンティティのURIを含む。ユーザへの提示は、例えば、表示装置111へのエンティティのリストの表示である。(S15)データ登録部125は、ステップS14のリストの提示に応答して、リストに含まれる各エンティティに対するレイヤ群名およびレベルの指定をユーザから受け付ける。レイヤ群名およびレベルは、例えば、入力デバイス112を用いて入力される。データ登録部125は、リストに含まれる各エンティティに、レイヤ群名の造成およびレベルの属性を付与する。 (S14) The data registration unit 125 presents the list of entities extracted in step S13 to the user. The list includes the URI of each entity. The list is presented to the user, for example, by displaying the list of entities on the display device 111. (S15) In response to the presentation of the list in step S14, the data registration unit 125 accepts from the user a designation of a layer group name and level for each entity included in the list. The layer group name and level are input, for example, using the input device 112. The data registration unit 125 assigns the attributes of layer group name creation and level to each entity included in the list.

図15は、データ検索の手順例を示すフローチャートである。(S20)クエリ実行部123は、ユーザからキーURIとテンプレートの指定を受け付ける。キーURIとテンプレートの指定は、例えば、入力デバイス112を用いて入力される。(S21)クエリ実行部123は、テンプレートに含まれるパラメータにキーURIを代入してクエリを生成し、クエリを実行してデータベースを検索する。 Figure 15 is a flowchart showing an example of a data search procedure. (S20) The query execution unit 123 accepts a key URI and a template specification from the user. The key URI and the template specification are input using, for example, the input device 112. (S21) The query execution unit 123 generates a query by substituting the key URI for a parameter included in the template, and executes the query to search the database.

(S22)データフィルタ部124は、ステップS21で得られた検索結果の中から、レイヤ情報が付与されたエンティティを抽出する。レイヤ情報が付与されたエンティティは、レイヤ群名の属性およびレベルの属性をもつエンティティである。(S23)データフィルタ部124は、レイヤ情報が付与されたエンティティが存在するか判断する。レイヤ情報が付与されたエンティティが存在する場合は処理がステップS24に進み、レイヤ情報が付与されたエンティティが存在しない場合は処理がステップS26に進む。 (S22) The data filter unit 124 extracts entities to which layer information has been assigned from the search results obtained in step S21. Entities to which layer information has been assigned are entities that have a layer group name attribute and a level attribute. (S23) The data filter unit 124 determines whether an entity to which layer information has been assigned exists. If an entity to which layer information has been assigned exists, the process proceeds to step S24; if an entity to which layer information has been assigned does not exist, the process proceeds to step S26.

(S24)データフィルタ部124は、複数のレベルのうちの1つである基準レベルを選択するための選択情報をユーザに提示する。選択情報の提示は、例えば、表示装置111への選択情報の表示である。基準レベルの候補である複数のレベルは、ステップS22で抽出されたエンティティがもつレイヤ群名に関連付けて、データベースに定義されている。選択情報は、例えば、選択可能なレベルのリストである。 (S24) The data filter unit 124 presents the user with selection information for selecting a reference level, which is one of the multiple levels. The presentation of the selection information is, for example, displaying the selection information on the display device 111. The multiple levels that are candidates for the reference level are defined in the database in association with the layer group names of the entities extracted in step S22. The selection information is, for example, a list of selectable levels.

(S25)データフィルタ部124は、ステップS24の選択情報の提示に応答して、基準レベルを決定するための情報をユーザから受け付ける。基準レベルを決定するための情報は、例えば、入力デバイス112を用いて入力される。データフィルタ部124は、ユーザからの応答に従って基準レベルを決定する。基準レベルを決定するための情報は、例えば、複数のレベルの中からユーザが選択したレベルを示す情報である。 (S25) In response to the presentation of the selection information in step S24, the data filter unit 124 receives information for determining the reference level from the user. The information for determining the reference level is input, for example, using the input device 112. The data filter unit 124 determines the reference level according to the response from the user. The information for determining the reference level is, for example, information indicating a level selected by the user from among multiple levels.

データフィルタ部124は、ステップS22のエンティティのうち、レベルが基準レベルを超えるエンティティを検索結果から除外する。データフィルタ部124は、レベルが規定されていないエンティティについては検索結果から除外しなくてよい。よって、修正された検索結果は、レベルが基準レベル以下であるエンティティと、レベルが規定されていないエンティティとを含む。(S26)データフィルタ部124は、検索結果を出力する。ただし、ステップS24,S25が実行された場合、データフィルタ部124は、ステップS21の検索結果ではなく修正された検索結果を出力する。例えば、データフィルタ部124は、検索結果を表示装置111に表示する。 The data filter unit 124 excludes from the search results those entities in step S22 whose levels exceed the reference level. The data filter unit 124 does not need to exclude entities whose levels are not specified from the search results. Thus, the corrected search results include entities whose levels are equal to or below the reference level and entities whose levels are not specified. (S26) The data filter unit 124 outputs the search results. However, if steps S24 and S25 are executed, the data filter unit 124 outputs the corrected search results instead of the search results of step S21. For example, the data filter unit 124 displays the search results on the display device 111.

図16は、基準レベル選択画面の例を示す図である。基準レベル選択画面141は、上記のステップS24において表示装置111に表示される。基準レベル選択画面141は、レイヤ群名の表示欄と、基準レベルの選択欄とを含む。一例として、基準レベルの選択欄は、レベル1~4の中から何れか1つのレベルをユーザに選択させる選択欄である。各レベルの情報は、想定されるユーザの状況を示す簡潔な説明文を含む。例えば、ユーザは、入力デバイス112を用いて、レベル1~4の何れか1つを選択する。ユーザが選択すべきレベルは、ユーザの現在の状況に適合する説明文をもつレベルのうち最も高いレベルである。これにより、基準レベルが指定される。 Figure 16 is a diagram showing an example of a reference level selection screen. The reference level selection screen 141 is displayed on the display device 111 in step S24 above. The reference level selection screen 141 includes a display field for layer group names and a selection field for a reference level. As an example, the reference level selection field is a selection field that allows the user to select one of levels 1 to 4. The information for each level includes a brief description that indicates the expected situation of the user. For example, the user selects one of levels 1 to 4 using the input device 112. The level that the user should select is the highest level among the levels having a description that matches the user's current situation. This specifies the reference level.

このように、第3の実施の形態の情報処理装置100は、事象と原因と解決策の間の関係を示す知識データベースを管理し、知識データベースに対する検索サービスを提供する。よって、ユーザ間でのノウハウの共有が促進される。また、情報処理装置100は、知識データベースのデータをLinked Dataとして保持する。よって、他のデータベースとの連携が容易であり、知識データベースの利活用が促進される。また、情報処理装置100は、基点のエンティティおよびテンプレートの指定に基づいてクエリを生成し、クエリを実行してLinked Dataを検索する。よって、情報処理装置100は、頻繁に行われるデータ検索の類型をテンプレートに規定することで、データ検索を効率的に実行できる。 In this way, the information processing device 100 of the third embodiment manages a knowledge database that shows the relationships between events, causes, and solutions, and provides a search service for the knowledge database. This promotes the sharing of know-how between users. Furthermore, the information processing device 100 holds the data of the knowledge database as Linked Data. This facilitates linking with other databases, and promotes the use of the knowledge database. Furthermore, the information processing device 100 generates a query based on the specification of a base entity and a template, and executes the query to search the Linked Data. Thus, the information processing device 100 can efficiently perform data searches by defining the types of frequently performed data searches in templates.

また、Linked Dataの登録時に、情報処理装置100は、同一エンティティと同一種類の属性で関連付いた複数のエンティティを検出し、ユーザへの問い合わせを通じて、検出された複数のエンティティをレベルの異なる複数のレイヤに振り分けて配置する。これにより、検出された複数のエンティティそれぞれに、レイヤのレベルを示すレイヤ情報が付与される。Linked Dataの検索時に、情報処理装置100は、ユーザへの問い合わせを通じて、基準レベルより高いレベルのエンティティを検索結果から除外する。 When registering Linked Data, the information processing device 100 detects multiple entities associated with the same entity through the same type of attribute, and allocates and places the detected multiple entities into multiple layers of different levels through user queries. As a result, each of the detected multiple entities is given layer information indicating the layer level. When searching Linked Data, the information processing device 100 excludes entities with a level higher than a reference level from the search results through user queries.

よって、ユーザの現在の状況から見てレベルが高すぎる原因または解決策を示すエンティティが検索結果から除外される。このように、情報処理装置100は、属性の種類では検索結果を十分に絞り込めない場合であっても、エンティティ間の上下関係に着目して検索結果を絞り込むことが可能となる。その結果、ユーザにとって不要な情報が検索結果から削減され、Linked Dataの検索結果の有用性が向上する。 Therefore, entities that indicate causes or solutions that are too high level from the perspective of the user's current situation are excluded from the search results. In this way, the information processing device 100 can narrow down the search results by focusing on the hierarchical relationships between entities, even if the search results cannot be sufficiently narrowed down based on the attribute types. As a result, information that is unnecessary for the user is reduced from the search results, improving the usefulness of Linked Data search results.

10,20 情報処理装置
11,21 記憶部
12,22 制御部
13,23 データ群
14a,14b,14c,14d,24a,24b,24c,24d データ
15a,15b,15c,25a,25b,25c レベル情報
10, 20 Information processing device 11, 21 Storage unit 12, 22 Control unit 13, 23 Data group 14a, 14b, 14c, 14d, 24a, 24b, 24c, 24d Data 15a, 15b, 15c, 25a, 25b, 25c Level information

Claims (5)

複数のデータを含むデータ群であって、属性をそれぞれもつ複数のリンクで前記複数のデータ間の関係を表しており、上下関係を有する複数のレベルのうちの何れかのレベルを示すレベル情報が前記複数のデータのうちの少なくとも一部のデータに付与されたデータ群から、前記複数のデータのうちの検索の基点を示す第1のデータと前記属性に対する検索条件とを指定したクエリを用いて、前記複数のデータのうちの前記検索条件を満たすデータであって、同一の属性をもつリンクで前記第1のデータとそれぞれ関連付いた複数の第2のデータを検索し、
前記複数のレベルのうちの何れかのレベルの指定を受け付け、前記複数の第2のデータのうち、前記指定されたレベル以下のレベルを示すレベル情報が付与された第2のデータを選択し、
前記選択した第2のデータを出力する、
処理をコンピュータに実行させることを特徴とする出力プログラム。
a data group including a plurality of data, the relationships between the plurality of data being represented by a plurality of links each having an attribute, and level information indicating any one of a plurality of levels having a hierarchical relationship being assigned to at least some of the plurality of data, using a query specifying first data indicating a base point of a search among the plurality of data and a search condition for the attribute, to search for a plurality of second data which satisfy the search condition among the plurality of data and are each associated with the first data by links having the same attribute;
accepting a designation of any one of the plurality of levels, and selecting, from the plurality of second data, second data to which level information indicating a level equal to or lower than the designated level is assigned ;
outputting the selected second data;
An output program that causes a computer to execute a process.
記選択する処理は、前記複数の第2のデータの中に前記レベル情報が付与された第2のデータが含まれる場合に、前記何れかのレベルの指定を受け付ける処理を含む、
ことを特徴とする請求項1に記載の出力プログラム。
the selecting process includes a process of accepting designation of one of the levels when the second data to which the level information is assigned is included in the plurality of second data.
2. The output program according to claim 1 .
前記検索する処理は、前記検索条件を示すテンプレートを用いて、前記第1のデータを基点に前記検索条件を満たす前記複数の第2のデータを検索する処理を含む、
ことを特徴とする請求項1に記載の出力プログラム。
the searching process includes a process of searching the plurality of second data items that satisfy the search condition, based on the first data item, by using a template indicating the search condition;
2. The output program according to claim 1 .
前記第1のデータは、事象を示すエンティティであり、前記複数の第2のデータは、それぞれ前記事象の原因または解決策を示すエンティティであり、前記上下関係は、上位のレベルほど前記原因または解決策を適用するための前提条件が多い関係を示す、
ことを特徴とする請求項1に記載の出力プログラム。
The first data is an entity indicating an event, and the plurality of second data are entities indicating a cause or a solution of the event, respectively, and the hierarchical relationship indicates a relationship in which a higher level has more prerequisites for applying the cause or the solution.
2. The output program according to claim 1 .
複数のデータを含むデータ群であって、属性をそれぞれもつ複数のリンクで前記複数のデータ間の関係を表しており、上下関係を有する複数のレベルのうちの何れかのレベルを示すレベル情報が前記複数のデータのうちの少なくとも一部のデータに付与されたデータ群を記憶する記憶部と、
前記データ群から、前記複数のデータのうちの検索の基点を示す第1のデータと前記属性に対する検索条件とを指定したクエリを用いて、前記複数のデータのうちの前記検索条件を満たすデータであって、同一の属性をもつリンクで前記第1のデータとそれぞれ関連付いた複数の第2のデータを検索し、前記複数のレベルのうちの何れかのレベルの指定を受け付け、前記複数の第2のデータのうち、前記指定されたレベル以下のレベルを示すレベル情報が付与された第2のデータを選択し、前記選択した第2のデータを出力する制御部と、
を有することを特徴とする情報処理装置。
a storage unit that stores a data group including a plurality of data, the plurality of data being represented by a plurality of links each having an attribute, and level information indicating one of a plurality of levels having a hierarchical relationship being assigned to at least some of the plurality of data ;
a control unit that searches the data group for a plurality of second data items that satisfy the search conditions among the plurality of data items and are associated with the first data items by links having the same attribute, using a query that specifies first data items indicating a search base point among the plurality of data items and search conditions for the attribute, accepts a specification of any one of the plurality of levels, selects, from the plurality of second data items, second data items that are assigned level information indicating a level equal to or lower than the specified level , and outputs the selected second data items;
13. An information processing device comprising:
JP2020201645A 2020-12-04 2020-12-04 Output program and information processing device Active JP7590645B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020201645A JP7590645B2 (en) 2020-12-04 2020-12-04 Output program and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020201645A JP7590645B2 (en) 2020-12-04 2020-12-04 Output program and information processing device

Publications (2)

Publication Number Publication Date
JP2022089321A JP2022089321A (en) 2022-06-16
JP7590645B2 true JP7590645B2 (en) 2024-11-27

Family

ID=81989255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020201645A Active JP7590645B2 (en) 2020-12-04 2020-12-04 Output program and information processing device

Country Status (1)

Country Link
JP (1) JP7590645B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018194944A (en) 2017-05-15 2018-12-06 富士通株式会社 Display program, display method and display device
JP2020129266A (en) 2019-02-08 2020-08-27 本田技研工業株式会社 Design support device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018194944A (en) 2017-05-15 2018-12-06 富士通株式会社 Display program, display method and display device
JP2020129266A (en) 2019-02-08 2020-08-27 本田技研工業株式会社 Design support device

Also Published As

Publication number Publication date
JP2022089321A (en) 2022-06-16

Similar Documents

Publication Publication Date Title
US12306844B2 (en) User interfaces for database visualizations
US9141683B1 (en) Distributed computer system snapshot instantiation with variable depth
US8688680B2 (en) System and method for preferred services in nomadic environments
US20080082574A1 (en) Ontology-integration-position specifying apparatus, ontology-integration supporting method, and computer program product
JP7587781B2 (en) Program, method, information processing device, and system
CN115442428A (en) Automatic media asset suggestion for presentation of selected user media items
US20080313107A1 (en) Data management apparatus and method
JP2008243033A (en) SEARCH SYSTEM, SEARCH METHOD, PROGRAM, AND STORAGE MEDIUM
Li et al. A case-based reasoning approach for task-driven spatial–temporally aware geospatial data discovery through geoportals
JP7590645B2 (en) Output program and information processing device
Folmer et al. Linked data viewing as part of the spatial data platform of the future
JP2005107937A (en) Product information management program, computer-readable medium storing the program, and product classification master database data structure handled by the program
JP2009059026A (en) File retrieval device and file retrieval program
JP4630480B2 (en) Summary extraction program, document analysis support program, summary extraction method, document analysis support method, document analysis support system
US12222950B2 (en) Search in a data marketplace
JP2005044259A (en) Personnel affairs support system, personal affairs support method and program thereof
JP2016126420A (en) Data management device, data management method, and data management program
JP4899428B2 (en) Information sharing analysis system
JP2004280416A (en) Software component management system, software component management method, and software component management program
JP7828316B2 (en) Computer system and data provision method
US12099625B2 (en) Organizing, discovering and evaluating marketplace datasets and services by industry business needs
JP6959513B2 (en) Analytical device and analysis method
US20210103385A1 (en) Information processing device and non-transitory computer readable medium
JP2002024231A (en) Information providing method, system, and recording medium recording information providing program
JP2011232987A (en) Management server and information management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240806

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240930

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: 20241015

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241028

R150 Certificate of patent or registration of utility model

Ref document number: 7590645

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150