# US 2021/0081482 A1 · Providing search results based on a compositional query

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

- Number: US 2021/0081482 A1
- Document ID: US20210081482A1
- Status: Published application
- Kind: A1
- Application number: 17/105,991
- Filed: 2020-11-27
- Published: 2021-03-18
- Earliest claimed: 2015-06-11
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Jinyu LOU; Ying CHAI; Chen DING; Lijie CHEN; Liang HU; Kejia LIU; Weibin PAN; Yanlai HUANG; David Francois HUYNH
- Web page: https://patentgrep.com/patent/US20210081482A1

## CPC

- G06F 16/9537: Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
- G06F 16/248: Presentation of query results
- G06F 16/284: {Relational databases}
- G06F 16/288: {Entity relationship models}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for providing search results may include determining a first entity type, a second entity type, and a relationship type based on a compositional query. The technique may also include identifying nodes of a knowledge graph corresponding to entity references of the first entity type and entity references of the second entity type. The technique may also include determining from the knowledge graph an attribute value corresponding to the relationship type for each entity reference of the first entity type and for each entity reference of the second entity type. The technique may also include comparing the attribute value of each entity reference of the first entity type with the attribute value of each entity reference of the second entity type. The technique may also include determining one or more resultant entity references from the entity references of the first entity type based on the comparing.

## Claims

### Claim 1

A method implemented by one or more processors, the method comprising:
determining, based on a compositional query, a first entity type, a second entity type, and a distance criterion;
identifying, from a data structure, a plurality of first candidate entity references of the first entity type;
identifying, from the data structure, a plurality of second candidate entity references of the second entity type;
determining, from the data structure, respective attribute values corresponding to a distance relationship for each of the plurality of first candidate entity references and each of the plurality of second candidate entity references;
comparing the respective attribute values corresponding to the distance relationship for each of the plurality of first candidate entity references and each of the plurality of second candidate entity references to the distance criterion;
determining, based on the comparing, one or more first resultant entity references, of the first entity type, and one or more second resultant entity references, of the second entity type; and
causing to be displayed, responsive to receiving the compositional query and as annotations on a map of a graphical user interface:
one or more of the first resultant entity references, and
one or more of the second resultant entity references.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the respective attribute values comprise a location, and wherein the comparing comprises determining a corresponding distance between each of the first candidate entity references and each of the second candidate entity references.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the one or more resultant first entity references comprises determining the one or more resultant first entity references based on the corresponding distances of the one or more resultant first entity references satisfying the distance criterion determined based on the distance relationship.

### Claim 4 (depends on 3)

The method of claim 3, wherein the distance relationship is an implicit term and further comprising determining the distance criterion based on the distance criterion being predefined for the implicit term.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
causing to be displayed, in the graphical user interface, a user-adjustable graphical element that can be interacted with to adjust the distance criterion.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
in response to user interaction with the user-adjustable graphical element to broaden the distance criterion to a broadened distance criterion:
causing to be added, as an additional annotation on the map of the graphical user interface, at least one additional of the first entity references that satisfies the broadened distance criterion but that fails to satisfy the distance criterion.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
in response to user interaction with the user-adjustable graphical element to narrow the distance criterion to a narrowed distance criterion:
causing to be removed, from the map of the graphical user interface, at least one of the one or more resultant first entity references that fails to satisfy the narrowed distance criterion.

### Claim 8 (depends on 1)

The method of claim 1, wherein the data structure comprises a knowledge graph.

### Claim 9

A method implemented by one or more processors, the method comprising:
determining, based on a compositional query, a first entity type, a second entity type, and a temporal criterion;
identifying, from the data structure, a plurality of second candidate entity references of the second entity type;
determining, from the data structure, respective attribute values corresponding to a temporal relationship for each of the plurality of first candidate entity references and each of the plurality of second candidate entity references;
comparing the respective attribute values corresponding to the temporal relationship for each of the plurality of first candidate entity references and each of the plurality of second candidate entity references to the temporal criterion;
determining, based on the comparing, one or more first resultant entity references, of the first entity type, and one or more second resultant entity references, of the second entity type; and
causing to be displayed, responsive to receiving the compositional query and as annotations on a timeline of a graphical user interface:
one or more of the first resultant entity references, and
one or more of the second resultant entity references.

### Claim 10 (depends on 9)

The method of claim 9, wherein each of the respective attribute values comprise a date, and wherein the comparing comprises determining a corresponding relative time difference between each of the first candidate entity references and each of the second candidate entity references.

### Claim 11 (depends on 10)

The method of claim 10, wherein determining the one or more resultant first entity references comprises determining the one or more resultant first entity references based on the corresponding relative time differences of the one or more resultant first entity references satisfying the temporal criterion determined based on the temporal relationship.

### Claim 12 (depends on 11)

The method of claim 11, wherein the temporal relationship is an implicit term and further comprising determining the temporal criterion based on the temporal criterion being predefined for the implicit term.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
causing to be displayed, in the graphical user interface, a user-adjustable graphical element that can be interacted with to adjust the temporal criterion.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
in response to user interaction with the user-adjustable graphical element to broaden the temporal criterion to a broadened temporal criterion:
causing to be added, as an additional annotation on the timeline of the graphical user interface, at least one additional of the first entity references that satisfies the broadened temporal criterion but that fails to satisfy the temporal criterion.

### Claim 15 (depends on 13)

The method of claim 13, further comprising:
in response to user interaction with the user-adjustable graphical element to narrow the temporal criterion to a narrowed temporal criterion:
causing to be removed, from the timeline of the graphical user interface, at least one of the one or more resultant first entity references that fails to satisfy the narrowed temporal criterion.

### Claim 16 (depends on 9)

The method of claim 9, wherein the data structure comprises a knowledge graph.

### Claim 17

A system, the system comprising:
at least one processor; and
at least one memory storing instructions that, when executed, cause the at least one processor to:
determine, based on a compositional query, a first entity type, a second entity type, and a temporal criterion;
identify, from the data structure, a plurality of second candidate entity references of the second entity type;
determine, from the data structure, respective attribute values corresponding to a temporal relationship for each of the plurality of first candidate entity references and each of the plurality of second candidate entity references;
compare the respective attribute values corresponding to the temporal relationship for each of the plurality of first candidate entity references and each of the plurality of second candidate entity references to the temporal criterion;
determine, based on the comparing, one or more first resultant entity references, of the first entity type, and one or more second resultant entity references, of the second entity type; and
cause to be displayed, responsive to receiving the compositional query and as annotations on a timeline of a graphical user interface:
one or more of the first resultant entity references, and
one or more of the second resultant entity references.
