# US 10,956,414 B2 · Entity based query filtering

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

- Number: US 10,956,414 B2
- Document ID: US10956414B2
- Status: Granted
- Kind: B2
- Application number: 16/058,548
- Filed: 2018-08-08
- Published: 2018-12-06
- Granted: 2021-03-23
- Earliest claimed: 2016-08-30
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Benjamin Hoan Le; Dhruv Arya; Ganesh Venkataraman; Shakti Dhirendraji Sinha
- Web page: https://patentgrep.com/patent/US10956414B2

## CPC

- G06F 16/24534: {Query rewriting; Transformation}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06Q 10/40: Business processes related to social networking or social networking services
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

In an example embodiment, one or more query terms are obtained. For each of the one or more query terms, a standardized entity taxonomy is searched to locate a standardized entity that most closely matches the query term. A confidence score is calculated for the query term-standardized entity pair for the standardized entity that most closely matches the query term. In response to a determination that the confidence score transgresses a threshold, the query term is associated with an entity identification corresponding to the standardized entity that most closely matches the query term. One or more query rewriting rules corresponding to an entity type of the standardized entity having the entity identification are obtained. The one or more query rewriting rules are executed to rewrite the first query such that the rewritten query, when performed on a data source, returns fewer search results than the first query would have.

## Claims

### Claim 1

A computer-implemented method, comprising:
obtaining one or more query terms in a first query; and
for each of the one or more query terms:
searching a standardized entity taxonomy to locate a standardized entity that most closely matches the query term, the standardized entity taxonomy comprising an entity identification for each of a plurality of different standardized entities;
calculating a confidence score for a query term-standardized entity pair for the standardized entity that most closely matches the query term;
in response to a determination that the confidence score transgresses a threshold, associating the query term with the entity identification corresponding to the standardized entity that most closely matches the query term;
rewriting the first query, based on the entity type of the standardized entity having the identity identification, such that the rewritten query is more restrictive than the first query; and
causing a database search to be performed using the rewritten query, producing search results.

### Claim 2 (depends on 1)

The method of claim 1, wherein the rewriting includes adding the standardized entity having the entity identification to the first query with an AND connector.

### Claim 3 (depends on 1)

The method of claim 1, wherein the rewriting includes determining if the query term comprises two or more words and, in response to a determination that the query term comprises two or more words, adding the two or more words as a phrase to the first query with an AND connector.

### Claim 4 (depends on 1)

The method of claim 1, wherein the entity type is a skill and the rewriting includes determining if there are any standardized titles having an affinity score with the standardized entity that most closely matches the query term higher than a preset threshold, and adding any such standardized titles to the first query with an AND connector.

### Claim 5 (depends on 2)

The method of claim 2, wherein the entity type is a skill and the rewriting includes determining if there are any skills similar to the standardized entity having the entity identification, and adding any such similar skills to the standardized entity having the entity identification to the first query with an OR connector.

### Claim 6 (depends on 1)

The method of claim 1, wherein the entity type is a skill and the rewriting includes identifying a standardized function corresponding to the standardized entity having the entity identification in the standardized entity taxonomy and adding the standardized function to the first query with an AND connector.

### Claim 7 (depends on 1)

The method of claim 1, wherein the confidence score indicates a statistical likelihood that a user specifying the query term in a search query would have, under ideal circumstances, also entered the corresponding standardized entity in the search query, based on a confidence score model trained via a machine learning algorithm based on member profiles and member activities in a social networking service.

### Claim 8

A system comprising:
a computer-readable medium having instructions stored thereon, which, when executed by a processor, cause the system to:
obtain one or more query terms in a first query; and
for each of the one or more query terms:
search a standardized entity taxonomy to locate a standardized entity that most closely matches the query term, the standardized entity taxonomy comprising an entity identification for each of a plurality of different standardized entities;
calculate a confidence score for a query term-standardized entity pair for the standardized entity that most closely matches the query term;
in response to a determination that the confidence score transgresses a threshold, associate the query term with the entity identification corresponding to the standardized entity that most closely matches the query term;
rewrite the first query, based on the entity type of the standardized entity having the identity identification, such that the rewritten query is more restrictive than the first query; and
cause a database search to be performed using the rewritten query, producing search results.

### Claim 9 (depends on 8)

The system of claim 8, wherein the rewriting includes adding the standardized entity having the entity identification to the first query with an AND connector.

### Claim 10 (depends on 8)

The system of claim 8, wherein the rewriting includes determining if the query term comprises two or more words and, in response to a determination that the query term comprises two or more words, adding the two or more words as a phrase to the first query with an AND connector.

### Claim 11 (depends on 8)

The system of claim 8, wherein the entity type is a skill and the rewriting includes determining if there are any standardized titles having an affinity score with the standardized entity that most closely matches the query term higher than a preset threshold, and adding any such standardized titles to the first query with an AND connector.

### Claim 12 (depends on 9)

The system of claim 9, wherein the entity type is a skill and the rewriting includes determining if there are any skills similar to the standardized entity having the entity identification, and adding any such similar skills to the standardized entity having the entity identification to the first query with an OR connector.

### Claim 13 (depends on 8)

The system of claim 8, wherein the entity type is a skill and the rewriting includes identifying a standardized function corresponding to the standardized entity having the entity identification in the standardized entity taxonomy and adding the standardized function to the first query with an AND connector.

### Claim 14 (depends on 8)

The system of claim 8, wherein the confidence score indicates a statistical likelihood that a user specifying the query term in a search query would have, under ideal circumstances, also entered the corresponding standardized entity in the search query, based on a confidence score model trained via a machine learning algorithm based on member profiles and member activities in a social networking service.

### Claim 15

A non-transitory machine-readable storage medium comprising instructions, which when implemented by one or more machines, cause the one or more machines to perform operations comprising:
obtaining one or more query terms in a first query; and
for each of the one or more query terms:
searching a standardized entity taxonomy to locate a standardized entity that most closely, matches the query term, the standardized entity taxonomy comprising an entity identification for each of a plurality of different standardized entities;
calculating a confidence score for a query term-standardized entity pair for the standardized entity that most closely matches the query term;
in response to a determination that the confidence score transgresses a threshold, associating the query term with the entity identification corresponding to the standardized entity that most closely matches the query term;
rewriting the first query, based on the entity type of the standardized entity having the identity identification, such that the rewritten query is more restrictive than the first query; and
causing a database search to be performed using the rewritten query, producing search results.

### Claim 16 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the rewriting includes adding the standardized entity having the entity identification to the first query with an AND connector.

### Claim 17 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the rewriting includes determining if the query term comprises two or more words and, in response to a determination that the query term comprises two or more words, adding the two or more words as a phrase to the first query with an AND connector.

### Claim 18 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the entity type is a skill and the rewriting includes determining if there are any standardized titles having an affinity score with the standardized entity that most closely matches the query term higher than a preset threshold, and adding any such standardized titles to the first query with an AND connector.

### Claim 19 (depends on 16)

The non-transitory machine-readable storage medium of claim 16, wherein the entity type is a skill and the rewriting includes determining if there are any skills similar to the standardized entity having the entity, identification, and adding any such similar skills to the standardized entity having the entity identification to the first query with an OR connector.

### Claim 20 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the entity type is a skill and the rewriting includes identifying a standardized function corresponding to the standardized entity having the entity identification in the standardized entity taxonomy and adding the standardized function to the first query with an AND connector.
