UNSTRUCTURED DATA GUIDED QUERY MODIFICATION
First Claim
1. A method for unstructured data guided query modification, the method comprising:
- identifying, using a processor and a memory, a set of parameters in a structured database query;
identifying, using a Natural language processing (NLP) engine, a set of tokens in an unstructured data;
obtaining, using the NLP engine, corresponding to a subset of the set of parameters, sets of variations, wherein a particular set of variations corresponds to a particular parameter in the subset of parameters;
finding a fit between a first token from the set of tokens and a first variant of a first parameter, the first variant of the first parameter being a member of a first set of variations corresponding to the first parameter; and
substituting the first parameter in the structured database query with the first variant to produce a substituted query, wherein the substituted query produces a result set that is related to the unstructured data.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product for unstructured data guided query modification are provided in the illustrative embodiments. A set of parameters is identified in a structured database query. Using a Natural language processing (NLP) engine, a set of tokens is identified in an unstructured data. Using the NLP engine, corresponding to a subset of the set of parameters, sets of variations are obtained. A fit is found between a first token from the set of tokens and a first variant of a first parameter, the first variant of the first parameter being a member of a first set of variations corresponding to the first parameter. The first parameter in the structured database query is substituted with the first variant to produce a substituted query, wherein the substituted query produces a result set that is related to the unstructured data.
25 Citations
20 Claims
-
1. A method for unstructured data guided query modification, the method comprising:
-
identifying, using a processor and a memory, a set of parameters in a structured database query; identifying, using a Natural language processing (NLP) engine, a set of tokens in an unstructured data; obtaining, using the NLP engine, corresponding to a subset of the set of parameters, sets of variations, wherein a particular set of variations corresponds to a particular parameter in the subset of parameters; finding a fit between a first token from the set of tokens and a first variant of a first parameter, the first variant of the first parameter being a member of a first set of variations corresponding to the first parameter; and substituting the first parameter in the structured database query with the first variant to produce a substituted query, wherein the substituted query produces a result set that is related to the unstructured data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product for unstructured data guided query modification, the computer program product comprising:
-
one or more computer-readable tangible storage devices; program instructions, stored on at least one of the one or more storage devices, to identify, using a processor and a memory, a set of parameters in a structured database query; program instructions, stored on at least one of the one or more storage devices, to identify, using a Natural language processing (NLP) engine, a set of tokens in an unstructured data; program instructions, stored on at least one of the one or more storage devices, to obtain, using the NLP engine, corresponding to a subset of the set of parameters, sets of variations, wherein a particular set of variations corresponds to a particular parameter in the subset of parameters; program instructions, stored on at least one of the one or more storage devices, to find a fit between a first token from the set of tokens and a first variant of a first parameter, the first variant of the first parameter being a member of a first set of variations corresponding to the first parameter; and program instructions, stored on at least one of the one or more storage devices, to substitute the first parameter in the structured database query with the first variant to produce a substituted query, wherein the substituted query produces a result set that is related to the unstructured data. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A computer system for unstructured data guided query modification, the computer system comprising:
-
one or more processors, one or more computer-readable memories and one or more computer-readable tangible storage devices; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to identify, using a processor and a memory, a set of parameters in a structured database query; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to identify, using a Natural language processing (NLP) engine, a set of tokens in an unstructured data; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to obtain, using the NLP engine, corresponding to a subset of the set of parameters, sets of variations, wherein a particular set of variations corresponds to a particular parameter in the subset of parameters; program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to find a fit between a first token from the set of tokens and a first variant of a first parameter, the first variant of the first parameter being a member of a first set of variations corresponding to the first parameter; and program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to substitute the first parameter in the structured database query with the first variant to produce a substituted query, wherein the substituted query produces a result set that is related to the unstructured data. - View Dependent Claims (18, 19, 20)
-
Specification