# US 2025/0147955 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 2025/0147955 A1
- Document ID: US20250147955A1
- Status: Published application
- Kind: A1
- Application number: 19/013,712
- Filed: 2025-01-08
- Published: 2025-05-08
- Earliest claimed: 2019-08-30
- Assignees: ServiceNow Canada Inc.
- Applicants: ServiceNow Canada Inc.
- Inventors: Eric LAUFER; Francois MAILLET
- Web page: https://patentgrep.com/patent/US20250147955A1

## 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

There is provided a method for retrieving data, the method being executed by at least one processor, the method comprising: receiving a natural language query; decomposing the natural language query into query elements; generating, by providing the query elements to at least one classifier, a query type characterizing the natural language query; identifying a subset of the query elements based on the query type; generating a structured database query including the subset of the query elements; and retrieving data based on the structured database query.

## Claims

### Claim 1

A method for retrieving data, the method being executed by at least one processor, the method comprising:
receiving a natural language query;
decomposing the natural language query into query elements;
generating, by providing the query elements to at least one classifier, a query type characterizing the natural language query;
identifying a subset of the query elements based on the query type;
generating a structured database query including the subset of the query elements; and
retrieving data based on the structured database query.

### Claim 2 (depends on 1)

The method of claim 1, wherein said identifying the subset of the query elements is performed further based on one or more parameters associated with the query elements.

### Claim 3 (depends on 1)

The method of claim 1, wherein the structured database query includes fewer elements than the natural language query.

### Claim 4 (depends on 1)

The method of claim 1, further comprising processing the retrieved data for presentation based on the natural language query, thereby obtaining processed data.

### Claim 5 (depends on 4)

The method of claim 4, wherein said processing the retrieved data comprises formatting the retrieved data.

### Claim 6 (depends on 4)

The method of claim 4, further comprising generating a graphical representation of the processed data.

### Claim 7 (depends on 1)

The method of claim 1, wherein said generating the structured database query comprises selecting a suitable function from a set of functions based on the query type.

### Claim 8 (depends on 7)

The method of claim 7, wherein said selecting the suitable function is performed further based on at least one query parameters and relationships between the subset of the query elements.

### Claim 9 (depends on 1)

The method of claim 1, wherein said retrieving the data comprises retrieving the data from at least one knowledge graph database operatively connected to the at least one processor using the structured database query.

### Claim 10 (depends on 1)

The method of claim 1, wherein the query type comprises 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 11

A system for retrieving data, the system comprising:
a non-transitory storage medium storing computer-readable instructions thereon; and
at least one processor operatively connected to the non-transitory storage medium, the at least one processor, upon executing the computer-readable instructions, being configured for:
receiving a natural language query;
decomposing the natural language query into query elements;
generating, by providing the query elements to at least one classifier, a query type characterizing the natural language query;
identifying a subset of the query elements based on the query type;
generating a structured database query including the subset of the query elements; and
retrieving data based on the structured database query.

### Claim 12 (depends on 11)

The system of claim 11, wherein said identifying the subset of the query elements is performed further based on one or more parameters associated with the query elements.

### Claim 13 (depends on 11)

The system of claim 11, wherein the structured database query includes fewer elements than the natural language query.

### Claim 14 (depends on 11)

The system of claim 11, wherein the at least one processor is further configured for processing the retrieved data for presentation based on the natural language query to obtain processed data.

### Claim 15 (depends on 14)

The system of claim 14, wherein said processing the retrieved data comprises formatting the retrieved data.

### Claim 16 (depends on 14)

The system of claim 14, wherein the at least one processor is further configured for generating a graphical representation of the processed data.

### Claim 17 (depends on 11)

The system of claim 11, wherein said generating the structured database query comprises selecting a suitable function from a set of functions based on the query type.

### Claim 18 (depends on 17)

The system of claim 17, wherein said selecting the suitable function is performed further based on at least one query parameters and relationships between the subset of the query elements.

### Claim 19 (depends on 11)

The system of claim 11, wherein said retrieving the data comprises retrieving the data from at least one knowledge graph database operatively connected to the at least one processor using the structured database query.

### Claim 20 (depends on 11)

The system of claim 11, wherein the query type comprises 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.
