IP Library › Granted Patent US 10,831,746
Granted Patent B2
US 10,831,746 · App. 16/204,269 · Granted Nov 10, 2020

Query generation method, query generation apparatus, and computer-readable recording medium

Inventors: Seiji Okajima (Kawasaki, JP); Hiroaki Morikawa (Kawasaki, JP); Fumihito Nishino (Koto, JP)
Assignee: FUJITSU LIMITED
G06F16/2423G06F16/211G06F16/285G06F17/10
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,831,746
App. No.
16/204,269
Granted
Nov 10, 2020
Kind
B2
Abstract

A non-transitory computer-readable recording medium stores therein a query generation program that causes a computer to execute a process including: determining, from a plurality of category schemas each being a set of attribute schemas, a main category schema to be associated with an output target table that defines acquisition target data, based on attribute names of a plurality of output items contained in the output target table; determining a subcategory schema to be associated with an un-associated item, which is an output item that is not associated with the main category schema among the plurality of output items, from category schemas that are associated with respective features of a plurality of attribute schemas contained in the main category schema; and generating queries with respect to the plurality of category schemas based on the main category schema and the subcategory schema.

Claims (24)

1. A non-transitory computer-readable recording medium storing therein a query generation program that causes a computer to execute a process comprising:

determining, from a plurality of category schemas each being a set of attribute schemas, a main category schema to be associated with an output target table that defines acquisition target data, based on attribute names of a plurality of output items contained in the output target table;

determining a subcategory schema to be associated with an un-associated item, which is an output item that is not associated with the main category schema among the plurality of output items, from category schemas that are associated with respective features of a plurality of attribute schemas contained in the main category schema;

generating queries with respect to the plurality of category schemas based on the main category schema and the subcategory schema;

calculating, when a plurality of category schemas associated with a predetermined feature that is designated in advance among features of the plurality of attribute schemas contained in the main category schema are present, similarities between the attribute names of the attribute schemas contained in each of the category schemas and an attribute name of the un-associated item of the output target table; and

determining a category schema with a highest similarity as the subcategory schema.

2. The non-transitory computer-readable recording medium according to claim 1 , wherein the process further includes:

calculating similarities between attribute names of the attribute schemas contained in each of the category schemas and the attribute names of the output target table, for each of the category schemas; and

determining a category schema with a highest similarity as the main category schema.

3. The non-transitory computer-readable recording medium according to claim 1 , wherein the process further includes determining, when a category schema with a similarity equal to or higher than a threshold is not present, the subcategory schema from a category schema that has an inheritance relationship to inherit a feature of the main category schema.

4. The non-transitory computer-readable recording medium according to claim 1 , wherein the process further includes generating the query for reading data corresponding to each of the output items contained in the output target table from among a plurality of pieces of data stored in the main category schema and a plurality of pieces of data stored in the subcategory schema.

5. A query generation method comprising:

determining, from a plurality of category schemas each being a set of attribute schemas, a main category schema to be associated with an output target table that defines acquisition target data, based on attribute names of a plurality of output items contained in the output target table;

determining a subcategory schema to be associated with an un-associated item, which is an output item that is not associated with the main category schema among the plurality of output items, from category schemas that are associated with respective features of a plurality of attribute schemas contained in the main category schema, by a processor;

generating queries with respect to the plurality of category schemas based on the main category schema and the subcategory schema;

calculating, when a plurality of category schemas associated with a predetermined feature that is designated in advance among features of the plurality of attribute schemas contained in the main category schema are present, similarities between the attribute names of the attribute schemas contained in each of the category schemas and an attribute name of the un-associated item of the output target table; and

determining a category schema with a highest similarity as the subcategory schema.

6. A query generation apparatus comprising:

a processor configured to:

determine, from a plurality of category schemas each being a set of attribute schemas, a main category schema to be associated with an output target table that defines acquisition target data, based on attribute names of a plurality of output items contained in the output target table;

determine a subcategory schema to be associated with an un-associated item, which is an output item that is not associated with the main category schema among the plurality of output items, from category schemas that are associated with respective features of a plurality of attribute schemas contained in the main category schema;

generate queries with respect to the plurality of category schemas based on the main category schema and the subcategory schema;

calculating, when a plurality of category schemas associated with a predetermined feature that is designated in advance among features of the plurality of attribute schemas contained in the main category schema are present, similarities between the attribute names of the attribute schemas contained in each of the category schemas and an attribute name of the un-associated item of the output target table; and

determining a category schema with a highest similarity as the subcategory schema.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 3, 2018
From: OKAJIMA, SEIJI; MORIKAWA, HIROAKI; NISHINO, FUMIHITO
To: FUJITSU LIMITED
Reel/Frame 048259/0442 →
Priority Claims (1)
JP 2017-243104 · Dec 19, 2017 · national
Continuity (1)
Related Publication 20190188198A1 · Jun 20, 2019