PRE-CONSTRUCTED QUERY RECOMMENDATIONS FOR DATA ANALYTICS
20230141506 · 2023-05-11
Assignee
Inventors
Cpc classification
G06F16/252
PHYSICS
G06F16/2428
PHYSICS
International classification
G06F16/28
PHYSICS
Abstract
A process for recommending pre-constructed queries in data analytics includes writing different records to a correlation data structure correlating different data classifications of data to different queries and, subsequent to the writing, establishing a communicative connection by a data analytics application to an underlying database. Thereafter, a data model for data in the database may be constructed in the data analytics application and at least one of the different queries may be selected in the correlation data structure that correlates to the classification of the data in the data model. Finally, the selected one of the different queries may be displayed in the data analytics application to an end user so as to provide an intelligent recommendation for the addition of the selected one of the different queries without requiring the end user to alone and without assistance discover the suitability of the selected one of the different queries.
Claims
1. A computer-implemented method executed by data processing hardware that causes the data processing hardware to perform operations comprising: obtaining a plurality of directives, each directive of the plurality of directives corresponding to respective data from a respective database; for each respective directive of the plurality of directives, determining a respective classification of the respective data from the respective database corresponding to the respective directive; constructing, using a data analytics application, a data model for underlying data in an underlying database; determining, based on the data model, a classification of the underlying data; determining that the classification of at least one of the plurality of directives matches the classification of the underlying data; and based on determining that the classification of at least one of the plurality of directives matches the classification of the underlying data, displaying, to a user, the at least one of the plurality of directives.
2. The method of claim 1, wherein each directive of the plurality of directives comprises a query.
3. The method of claim 1, wherein each directive of the plurality of directives comprises a markup language statement.
4. The method of claim 1, wherein the operations further comprise, for each of the plurality of directives, determining a respective correlation of the respective directive with the respective classification of the respective data from the respective database corresponding to the respective directive.
5. The method of claim 4, wherein the operations further comprise, for each of the plurality of directives, adding, to a correlation data structure, the respective correlation of the respective directive with the respective classification of the respective data from the respective database corresponding to the respective directive.
6. The method of claim 5, wherein determining that the classification of the at least one of the plurality of directives matches the classification of the underlying data comprises selecting, in the correlation data structure, the at least one of the plurality of directives based on the classification of the underlying data matching the respective classification of the at least one of the plurality of directives.
7. The method of claim 6, wherein selecting the at least one of the plurality of directives comprises selecting the at least one of the directives correlated to a combination of classifications of data in the data model.
8. The method of claim 6, wherein selecting the at least one of the plurality of directives comprises selecting a user interface view that is a visualization of a portion of the data model.
9. The method of claim 6, wherein selecting the at least one of the plurality of directives comprises selecting of a report of data from a portion of the data model.
10. The method of claim 1, wherein determining that the classification of the at least one of the plurality of directives matches the classification of the underlying data comprises: determining that the classification of the at least one of the plurality of directives is a partial match to the classification of the underlying; and determining that the partial match satisfies a threshold.
11. A system comprising: data processing hardware; and memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising: obtaining a plurality of directives, each directive of the plurality of directives corresponding to respective data from a respective database; for each respective directive of the plurality of directives, determining a respective classification of the respective data from the respective database corresponding to the respective directive; constructing, using a data analytics application, a data model for underlying data in an underlying database; determining, based on the data model, a classification of the underlying data; determining that the classification of at least one of the plurality of directives matches the classification of the underlying data; and based on determining that the classification of at least one of the plurality of directives matches the classification of the underlying data, displaying, to a user, the at least one of the plurality of directives.
12. The system of claim 11, wherein each directive of the plurality of directives comprises a query.
13. The system of claim 11, wherein each directive of the plurality of directives comprises a markup language statement.
14. The system of claim 11, wherein the operations further comprise, for each of the plurality of directives, determining a respective correlation of the respective directive with the respective classification of the respective data from the respective database corresponding to the respective directive.
15. The system of claim 14, wherein the operations further comprise, for each of the plurality of directives, adding, to a correlation data structure, the respective correlation of the respective directive with the respective classification of the respective data from the respective database corresponding to the respective directive.
16. The system of claim 15, wherein determining that the classification of the at least one of the plurality of directives matches the classification of the underlying data comprises selecting, in the correlation data structure, the at least one of the plurality of directives based on the classification of the underlying data matching the respective classification of the at least one of the plurality of directives.
17. The system of claim 16, wherein selecting the at least one of the plurality of directives comprises selecting the at least one of the directives correlated to a combination of classifications of data in the data model.
18. The system of claim 16, wherein selecting the at least one of the plurality of directives comprises selecting a user interface view that is a visualization of a portion of the data model.
19. The system of claim 16, wherein selecting the at least one of the plurality of directives comprises selecting of a report of data from a portion of the data model.
20. The system of claim 11, wherein determining that the classification of the at least one of the plurality of directives matches the classification of the underlying data comprises: determining that the classification of the at least one of the plurality of directives is a partial match to the classification of the underlying; and determining that the partial match satisfies a threshold.
Description
DESCRIPTION OF DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute part of this specification, illustrate examples of the disclosure and together with the description, serve to explain the principles of the disclosure. The examples illustrated herein are presently preferred, it being understood, however, that the disclosure is not limited to the precise arrangements and instrumentalities shown, wherein:
[0019]
[0020]
[0021]
[0022] Like reference symbols in the various drawings indicate like elements.
DETAILED DESCRIPTION
[0023] Examples of the disclosure provide for recommending pre-constructed queries in data analytics. In accordance with an example of the disclosure, data in different data models for different databases may be classified according to one or more classifications such as data type. Each of the classifications of corresponding classified data in the data model may then be associated in a correlation table with one or more different data model queries or query blocks established for the classified data. Thereafter, a data analytics application establishes a communicative connection to an underlying database from over a computer communications network and constructs a data model for data in the database. As well, the data analytics application classifies the data in the data model. Consequently, the data analytics application may then select in the correlation data structure at least one of the different queries correlated to the classification of the data in the data model so as to display in the data analytics application to an end user, an intelligent recommendation for adding the selected one of the different queries to a set of queries to be executed against the data in the data model.
[0024] In further illustration,
[0025] The correlations are then stored in a correlation data structure 130 such as a table, list or flat file document, to name three examples. Thereafter, with respect to a contemporaneous data model 170 generated from a database 160, the data in the data model 170 may be characterized for cross-reference with the characterizations 150 of the correlation data structure 130 in order to identify a matching entry in the correlation data structure 130. By matching, while a complete match may be preferred, it is to be recognized that a partial match beyond a threshold amount may be considered matching. In particular, to the extent that a combination of data each of different classification partially matches a single entry in the correlation data structure 130 which entry consists of a combination of characterizations of data specified in connection with a previously asserted directive, a threshold number of matching characterizations may be considered matching.
[0026] In any event, corresponding directive 190 for the matching entry may then be retrieved and subsequently proposed for use in respect to the contemporaneous data model 170 in a user interface prompt 180 of a BI tool. In this way, one or more customized enhancements to the BI tool may be discovered on behalf of the end user so as to achieve the desired “actionable insights” into the data model 170 without requiring the end user to master the skill set necessary to create a block of queries sufficient to achieve such “actionable insights”.
[0027] The process described in connection with
[0028] The recommendation engine module 300 includes computer program instructions that, when executing in the memory 220 of the host computing platform 210, are enabled to monitor directives issued against the data models 280. The program instructions are further enabled to identify, for each of the directives, data implicated by the corresponding directive. The program instructions yet further are enabled to characterize the data and to create a record for each directive in a correlation table 290 correlating the directive with the corresponding characterization or a corresponding combination of characterizations of multiple data implicated by the directive.
[0029] Finally, the program instructions are enabled to process a newly generated one of the data models 280 for a corresponding one of the databases 270 by characterizing the data in the newly generated one of the data models 280, and also combinations of the data in the newly generated one of the data models 280, and to locate in the correlation table 290 matching entries for selected ones of the characterizations. For each matching entry in the correlation table, the program instructions are enabled to retrieve a corresponding directive and to present a user interface prompt in the data analytics application 250 to add the corresponding directive as an enhancement to the data analytics application 250.
[0030] In even yet further illustration of the operation of the recommendation engine module 300,
[0031] Turning now to
[0032] The present disclosure may be included within a system, a method, a computer program product or any combination thereof. The computer program product may include a computer readable storage medium or media having computer readable program instructions thereon for causing a processor to carry out aspects of the present disclosure. The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
[0033] Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to examples of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
[0034] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein includes an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
[0035] The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
[0036] The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various examples of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which includes one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
[0037] Finally, the terminology used herein is for the purpose of describing particular examples only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “includes” and/or “including,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
[0038] The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present disclosure has been presented for purposes of illustration and description; but, is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the disclosure. The example was chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various examples with various modifications as are suited to the particular use contemplated.
[0039] A number of implementations have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the disclosure. Accordingly, other implementations are within the scope of the following claims.