Patent Document ID: 9495354
Application ID: 14983272

Base Claim:
1. A method comprising: receiving, from a client device of a first user of an online social network, a structured query comprising references to one or more selected objects associated with the online social network; parsing the structured query to identify a first query constraint and one or more second query constraints; identifying an inverse constraint associated with the first query constraint, wherein the first query constraint has been previously flagged as identifying greater than a threshold number of objects; and generating a query command based on the structured query, wherein the query command comprises the inverse constraint and the one or more second query constraints.

---

Claim 10:
10. The method of claim 1 , further comprising: identifying a first set of objects matching the inverse constraint; identifying a second set of objects matching the one or more second query constraints; and generating one or more search results based on the first and second sets, wherein each search result corresponds to an object of a plurality of objects associated with the online social network.