# US 2021/0279243 A1 · Domain query execution using user-provided definition

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

- Number: US 2021/0279243 A1
- Document ID: US20210279243A1
- Status: Published application
- Kind: A1
- Application number: 16/810,610
- Filed: 2020-03-05
- Published: 2021-09-09
- Earliest claimed: 2020-03-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Jaydeep Sen; Ashish Mittal; Diptikalyan Saha; Karthik Sankaranarayanan
- Web page: https://patentgrep.com/patent/US20210279243A1

## CPC

- G06F 16/2457: with adaptation to user needs
- G06F 16/24573: {using data annotations, e.g. user-defined metadata}
- G06F 16/367: {Ontology}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One embodiment provides a method, including: receiving a query from a user; identifying that a desired definition of the at least one term is unknown, by determining that the at least one term does not map to a term having a known definition; receiving the definition of the at least one term from the user; adding the definition to a domain grammar comprising (i) domain-specific terminology and (ii) definitions corresponding to the terms within the domain grammar, wherein the adding comprises (a) extracting expressions from the requested definition and (b) adding, for the at least one term, the expressions into a structured format within the domain grammar; combining (iii) the requested definition and (iv) terms from the parsed query having previously known definitions into a complete query; and providing a response to the query by executing the complete query on a knowledge store.

## Claims

### Claim 1

A method, comprising:
receiving a query from a user, wherein the query comprises at least one term related to a particular domain;
identifying that a desired definition of the at least one term is unknown, by determining that the at least one term does not map to a term having a known definition;
receiving, responsive to requesting feedback from a user, a requested definition of the at least one term from the user;
adding, for the at least one term, the requested definition to a domain grammar comprising (i) domain-specific terminology and (ii) various definitions corresponding to the terms within the domain grammar, wherein the adding comprises (a) extracting expressions from the requested definition and (b) adding, for the at least one term, the expressions into a structured format within the domain grammar;
combining (iii) the requested definition and (iv) terms from the parsed query having previously known definitions into a complete query; and
providing a response to the query by executing the complete query on a knowledge store.

### Claim 2 (depends on 1)

The method of claim 1, wherein the identifying comprises (i) comparing terms within the query to the domain grammar and (ii) determining that the at least one term is not included in the domain grammar.

### Claim 3 (depends on 2)

The method of claim 2, wherein the identifying further comprises searching at least one of: a secondary source and a domain ontology, to identify at least a portion of the definition to the at least one term.

### Claim 4 (depends on 3)

The method of claim 3, comprising confirming the at least a portion of the definition with a user.

### Claim 5 (depends on 1)

The method of claim 1, wherein, upon receiving a subsequent query including the at least one term, the at least one term is treated as a term whose definition is known.

### Claim 6 (depends on 1)

The method of claim 1, wherein, upon receiving the feedback, the system identifies a second term within the feedback having an unknown definition; and
requesting secondary feedback from the user requesting the unknown definition for the second term.

### Claim 7 (depends on 6)

The method of claim 6, wherein the adding comprises adding the unknown definition for the second term to the domain grammar.

### Claim 8 (depends on 1)

The method of claim 1, comprising identifying a known term having a similarity to the at least one term; and
accessing the definition for the known term from the domain grammar.

### Claim 9 (depends on 8)

The method of claim 8, comprising requesting confirmation from the user that the definition of the known term is acceptable for use as the definition for the at least one term.

### Claim 10 (depends on 1)

The method of claim 1, comprising, responsive to determining that the at least one term should not be included in the domain grammar, providing feedback to a user that the at least one term comprises a term that is an inappropriate term for a query within the particular domain.

### Claim 11

An apparatus, comprising:
at least one processor; and
a computer readable storage medium having computer readable program code embodied therewith and executable by the at least one processor, the computer readable program code comprising:
computer readable program code configured to receive a query from a user, wherein the query comprises at least one term related to a particular domain;
computer readable program code configured to identify that a desired definition of the at least one term is unknown, by determining that the at least one term does not map to a term having a known definition;
computer readable program code configured to receive, responsive to requesting feedback from a user, a requested definition of the at least one term from the user;
computer readable program code configured to add, for the at least one term, the requested definition to a domain grammar comprising (i) domain-specific terminology and (ii) various definitions corresponding to the terms within the domain grammar, wherein the adding comprises (a) extracting expressions from the requested definition and (b) adding, for the at least one term, the expressions into a structured format within the domain grammar;
computer readable program code configured to combine (iii) the requested definition and (iv) terms from the parsed query having previously known definitions into a complete query; and
computer readable program code configured to provide a response to the query by executing the complete query on a knowledge store.

### Claim 12

A computer program product, comprising:
a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code executable by a processor and comprising:
computer readable program code configured to receive a query from a user, wherein the query comprises at least one term related to a particular domain;
computer readable program code configured to identify that a desired definition of the at least one term is unknown, by determining that the at least one term does not map to a term having a known definition;
computer readable program code configured to receive, responsive to requesting feedback from a user, a requested definition of the at least one term from the user;
computer readable program code configured to add, for the at least one term, the requested definition to a domain grammar comprising (i) domain-specific terminology and (ii) various definitions corresponding to the terms within the domain grammar, wherein the adding comprises (a) extracting expressions from the requested definition and (b) adding, for the at least one term, the expressions into a structured format within the domain grammar;
computer readable program code configured to combine (iii) the requested definition and (iv) terms from the parsed query having previously known definitions into a complete query; and
computer readable program code configured to provide a response to the query by executing the complete query on a knowledge store.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the identifying comprises (i) comparing terms within the query to the domain grammar and (ii) determining that the at least one term is not included in the domain grammar.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the identifying further comprises searching at least one of: a secondary source and a domain ontology, to identify at least a portion of the definition to the at least one term.

### Claim 15 (depends on 14)

The computer program product of claim 14, comprising confirming the at least a portion of the definition with a user.

### Claim 16 (depends on 12)

The computer program product of claim 12, wherein, upon receiving a subsequent query including the at least one term, the at least one term is treated as a term whose definition is known.

### Claim 17 (depends on 12)

The computer program product of claim 12, wherein, upon receiving the feedback, the system identifies a second term within the feedback having an unknown definition; and
requesting secondary feedback from the user requesting the unknown definition for the second term.

### Claim 18 (depends on 6)

The computer program product of claim 6, wherein the adding comprises adding the unknown definition for the second term to the domain grammar.

### Claim 19 (depends on 12)

The computer program product of claim 12, comprising identifying a known term having a similarity to the at least one term; and
accessing the definition for the known term from the domain grammar.

### Claim 20

A method, comprising:
receiving a query from a user;
identifying known terms within the query having known definitions;
identifying an unknown term within the query having an unknown definition and being related to a particular subject-matter area, wherein the identifying comprises comparing the unknown term to a subject-matter area grammar and determining the unknown term is not included in the subject-matter area grammar;
requesting, from a user, a definition for the unknown term;
for the unknown term and upon receipt of the definition from the user, parsing the definition and adding the parsed definition to the subject-matter area grammar for the unknown term;
creating a complete query from (i) the definition of the unknown term and (ii) the known definitions of the terms; and
providing a response to the query by utilizing the complete query to perform a search for the response on a knowledge store.
