Query response using mapping to parameterized report
First Claim
1. A system comprising:
- a dataset having a plurality of data elements;
a plurality of parameterized reports that are constructed from structured data based on at least the dataset, the structured data for each of the plurality of parameterized reports having a corresponding set of data elements;
a natural language processing engine configured to apply a linguistic parsing to natural language queries to generate corresponding language elements;
a mapping component that, for each respective report of at least some of the plurality of parameterized reports;
maps some of the language elements to at least some of the data elements of the respective parameterized report; and
assigns a mapping score to the respective parameterized report;
a report selection component that, for each of at least some natural language queries and based on the mapping scores of the mapping component, selects one or more of the plurality of parameterized reports to respond to the natural language query;
a report modification component that, when it is determined the selected one or more of the plurality of parameterized reports is insufficient to fully respond to the natural language query, generates a derived report based on at least one of the selected parameterized reports; and
a structuring component that uses at least the selected one or more of the plurality of parameterized reports, and any derived reports necessary to respond to the natural language query, to generate structured data to respond to the natural language query.
1 Assignment
0 Petitions
Accused Products
Abstract
A mechanism for responding to a natural language query. Linguistic parsing is applied to the natural language query to generate a set of language element(s). One or more of those language elements are mapped to parameters and/or data elements of a parameterized report, which is selected for use in responding to the query based on the mapping. The selection of the parameterized report and/or mapping to the parameterized report may use the schema of the underlying dataset that the parameterized report uses in order to perform more precise mapping and selection. The selected parameterized report is then used to construct structured data that is responsive to the query. For instance, the structured data could include visualizations. In this manner, already existing parameterized reports that were previously used to generated structured data in the form of reports, may again be used in order to respond to natural language queries.
-
Citations
18 Claims
-
1. A system comprising:
-
a dataset having a plurality of data elements; a plurality of parameterized reports that are constructed from structured data based on at least the dataset, the structured data for each of the plurality of parameterized reports having a corresponding set of data elements; a natural language processing engine configured to apply a linguistic parsing to natural language queries to generate corresponding language elements; a mapping component that, for each respective report of at least some of the plurality of parameterized reports; maps some of the language elements to at least some of the data elements of the respective parameterized report; and assigns a mapping score to the respective parameterized report; a report selection component that, for each of at least some natural language queries and based on the mapping scores of the mapping component, selects one or more of the plurality of parameterized reports to respond to the natural language query; a report modification component that, when it is determined the selected one or more of the plurality of parameterized reports is insufficient to fully respond to the natural language query, generates a derived report based on at least one of the selected parameterized reports; and a structuring component that uses at least the selected one or more of the plurality of parameterized reports, and any derived reports necessary to respond to the natural language query, to generate structured data to respond to the natural language query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 16)
-
-
12. A method for responding to a natural language query, the method comprising:
-
obtaining a dataset having a plurality of data elements; obtaining a plurality of parameterized reports that are constructed from structured data based on at least the dataset, the structured data for each of the plurality of parameterized reports having a corresponding set of data elements; accessing a natural language query; apply computerized linguistic parsing to the natural language query to generate a set of natural language elements; for each of at least some of the plurality of parameterized reports; mapping some of the natural language elements to at least some of the data elements of the parameterized report; and assigning a mapping score to the parameterized report; based on the assigned mapping scores, selecting one of the plurality of parameterized reports for use in responding to the natural language query; determining that the selected one of the plurality of parameterized reports is insufficient to fully respond to the natural language query; generating a derived report based on at least the selected one of the plurality of parameterized reports; and using the selected one of the plurality of parameterized reports, and any derived reports necessary to respond to the natural language query, to generated structured data that responds to the natural language query. - View Dependent Claims (13, 14, 15, 17)
-
-
18. A computer program product comprising one or more computer-readable storage media having thereon computer-executable instructions that are structured such that, when executed by one or more processors of a computing system, the computing system is configured to instantiate and/or operate the following:
-
a natural language processing engine configured to apply a linguistic parsing to natural language queries to generate corresponding sets of language elements; a mapping component that performs the following for each respective report of a plurality of parameterized reports, wherein each parameterized report includes a set of data elements corresponding to a set of data elements of a dataset; maps some of the generated language elements to at least some of the data elements of the respective parameterized report; and assigns a mapping score to the respective parameterized report; a report selection component that, based on the assigned mapping scores, selects a parameterized report to use to respond to the natural language query; a report modification component that, when it is determined the selected parameterized report is insufficient to fully respond to the natural language query, generates a derived report based at least on the selected parameterized report; and a structuring component that uses at least the selected parameterized report, and the derived report, to generate structured data to respond to the natural language query.
-
Specification