# US 2015/0106326 A1 · Saved Queries in a Social Networking System

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

- Number: US 2015/0106326 A1
- Document ID: US20150106326A1
- Status: Published application
- Kind: A1
- Application number: 14/576,050
- Filed: 2014-12-18
- Published: 2015-04-16
- Earliest claimed: 2012-12-28
- Assignees: Facebook, Inc.
- Applicants: Facebook, Inc.
- Inventors: Ken Taro Deeter; Thomas Stocky; Robyn David Morris
- Web page: https://patentgrep.com/patent/US20150106326A1

## CPC

- G06F 16/951: Indexing; Web crawling techniques
- G06F 16/21: Design, administration or maintenance of databases
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/245: Query processing
- G06F 16/2455: Query execution
- G06Q 10/48: using social graphs
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/306: User profiles
- H04L 67/535: {Tracking the activity of the user (network monitoring arrangements H04L43/00; recording of computer activity G06F11/34)}
- 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
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A user saves a structured query defining connections between two or more objects maintained by a social networking system. The social networking system finds objects matching the structured query, either by periodically performing searches for new objects or by analyzing objects as they are added or modified. The user creating the saved query can subsequently view the matching objects.

## Claims

### Claim 1

A method comprising:
generating, at a social networking system, a structured query based on information received from a user, the structured query including a focal search object and a connected search object;
storing the structured query in association with the user;
performing a first search on a social graph maintained by the social networking system to find one or more first objects on the social graph matching the structured query;
updating a list of links associated with the structured query to include links to the first objects;
after a time interval, performing a second search on the social graph to find one or more second objects on the social graph matching the structured query, the second objects not included in the first objects; and
updating the list of links associated with the structured query to include links to the second objects.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating a structured query based on information received from the user comprises:
receiving a search phrase from the first user; and
parsing the search phrase to identify the focal search object and the connected search object.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
responsive to updating the list of links to include links to the second objects, incrementing a notification count for the structured query.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
presenting the first objects to the user after updating the list of links to include links to the first objects; and
presenting the second objects to the user after updating the list of links to include links to the second objects.

### Claim 5 (depends on 1)

The method of claim 1, wherein the focal search object comprises one or more attributes and the connected search object comprises one or more attribute, and the focal search object and the connected search object each having an object type.

### Claim 6 (depends on 5)

The method of claim 5, wherein matching the structured query comprises matching the focal or connected search object included in the structured query with objects on the social graph; and wherein a match of the focal or connected search object with an object on the social graph comprises the focal or connected search object having the same object type as the object on the social graph and information included in the object of the social graph matches all of the one or more attributes included in the focal or connected search object.

### Claim 7 (depends on 6)

The method of claim 6, wherein matching the structured query comprises matching the focal search object included in the structured query with objects on the social graph, and the matched objects on the social graph are connected to objects matching the connected search object.

### Claim 8 (depends on 1)

The method of claim 1, wherein the list of links comprises a plurality of links to objects matching the structured query.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
updating a reverse index to include an identifier for the structured query, the reverse index storing a plurality of structured query identifiers based on the focal search object and the connected search object in the structured queries.

### Claim 10 (depends on 9)

The method of claim 9, wherein the reverse index comprises a tree structure with branches for organizing structured query identifiers according to the object type of the focal search object in the identified structured queries.

### Claim 11 (depends on 10)

The method of claim 10, wherein the reverse index further comprises branches for organizing structured query identifiers according to one or more attributes of the focal search object in the identified structured queries.

### Claim 12

A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to:
generate, at a social networking system, a structured query based on information received from a user, the structured query including a focal search object and a connected search object;
store the structured query in association with the user;
perform a first search on a social graph maintained by the social networking system to find one or more first objects on the social graph matching the structured query;
update a list of links associated with the structured query to include links to the first objects;
after a time interval, perform a second search on the social graph to find one or more second objects on the social graph matching the structured query, the second objects not included in the first objects; and
update the list of links associated with the structured query to include links to the second objects.

### Claim 13 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the instructions to generate a structured query based on information received from the user when executed by the computing device further cause the computing device to:
receive a search phrase from the first user; and
parse the search phrase to identify the focal search object and the connected search object.

### Claim 14 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the instructions when executed by the computing device further cause the computing device to:
responsive to updating the list of links to include links to the second objects, increment a notification count for the structured query.

### Claim 15 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the instructions when executed by the computing device further cause the computing device to:
present the first objects to the user after updating the list of links to include links to the first objects; and
present the second objects to the user after updating the list of links to include links to the second objects.

### Claim 16 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the focal search object comprises one or more attributes and the connected search object comprises one or more attribute, and the focal search object and the connected search object each having an object type.

### Claim 17 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein matching the structured query comprises matching the focal or connected search object included in the structured query with objects on the social graph; and wherein a match of the focal or connected search object with an object on the social graph comprises the focal or connected search object having the same object type as the object on the social graph and information included in the object of the social graph matches all of the one or more attributes included in the focal or connected search object.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein matching the structured query comprises matching the focal search object included in the structured query with objects on the social graph, and the matched objects on the social graph are connected to objects matching the connected search object.

### Claim 19 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the list of links comprises a plurality of links to objects matching the structured query.

### Claim 20 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the instructions when executed by the computing device further cause the computing device to:
update a reverse index to include an identifier for the structured query, the reverse index storing a plurality of structured query identifiers based on the focal search object and the connected search object in the structured queries.
