# US 2022/0292087 A1 · Decision support system for data retrieval

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292087 A1
- Document ID: US20220292087A1
- Status: Published application
- Kind: A1
- Application number: 17/753,216
- Filed: 2020-08-26
- Published: 2022-09-15
- Earliest claimed: 2019-08-30
- Assignees: ServiceNow Canada Inc.
- Applicants: ServiceNow Canada Inc.
- Inventors: Eric LAUFER; Francois MAILLET
- Web page: https://patentgrep.com/patent/US20220292087A1

## CPC

- G06F 16/245: Query processing
- G06F 16/243: {Natural language query formulation}
- G06F 16/248: Presentation of query results
- G06F 16/258: {Data format conversion from or to a database}
- G06F 16/285: {Clustering or classification}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems for use in data retrieval. A natural language processing module is used in conjunction with a classifier module to analyze and decompose a user query into its elements, and to determine a type of query. These modules are also used to determine the parameters for the query. The type of query and the parameters are then used to find a suitable function that creates a structured database query with the fields in the database query being populated using the parameters and query elements found by the NLP module. The completed structured database query is then used to retrieve relevant data records in response to the query. The retrieved records are then further processed and formatted as necessary to result in a suitable response to the query.

## Claims

### Claim 1

A system for retrieving data, the system comprising:
a query reception module for receiving a query from a user;
a natural language processing (NLP) module for receiving an output of said query reception module and for processing said query into query elements;
a parameter/classifier module for receiving said query elements from said NLP module and for determining a query type and parameters for said query based on said query elements;
a function module for receiving an output from said parameter/classifier module and for selecting a suitable function for said query based on said query type and on said parameters for said query;
a data retrieval module for retrieving data from a set of data based on a result from said function module and on said parameters;
a data processing module for processing data retrieved from said set of data to thereby determine a response to said query;
a data formatting module for receiving an output of said data processing module and for formatting said output such that said output responds to said query from said user.

### Claim 2 (depends on 1)

The system according to claim 1, wherein said NLP module comprises a submodule implementing a machine learning model.

### Claim 3 (depends on 1)

The system according to claim 1, wherein said parameter/classifier module comprises a submodule implementing at least one machine learning model.

### Claim 4 (depends on 1)

The system according to claim 1, wherein said query type comprises at least one of: an identification query, an amount query, a strategy query, a counting query, a listing query, a grouping query, a time query, and a calculation query.

### Claim 5 (depends on 4)

The system according to claim 4, wherein each query type corresponds to at least one function used by said function module.

### Claim 6 (depends on 1)

The system according to claim 1, wherein said function module outputs at least one structured database query based on said query type and on parameters for said query.

### Claim 7 (depends on 1)

The system according to claim 1, wherein said parameter/classifier module classifies said query based on said query type to thereby determine one or more functions to be used by said functions module.

### Claim 8

A system for retrieving data, the system comprising:
a natural language processing module for processing a user query into query elements;
a parameter/classifier module for receiving said query elements from said NLP module and for determining parameters for said query based on said query elements;
a function module for selecting a suitable function for said query based on said parameters for said query;
a data retrieval module for retrieving data based on an output of said function module;
a data processing module for processing retrieved data to thereby determine a response to said query.

### Claim 9 (depends on 8)

The system according to claim 8, wherein said function module outputs a structured database query for use by said data retrieval module.

### Claim 10 (depends on 8)

The system according to claim 8, wherein said function module populates a structured database query as said output using said parameters.

### Claim 11 (depends on 8)

The system according to claim 8, wherein said function module creates a structured database query for use by said data retrieval module based on a query type as determined by said parameter/classifier module.
