×

Modifying structured search queries on online social networks

  • US 10,268,649 B2
  • Filed: 05/16/2017
  • Issued: 04/23/2019
  • Est. Priority Date: 12/31/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising, by a computing system:

  • receiving, from a client system of a first user of an online social network, a query input comprising one or more n-grams;

    sending, to the client system of the first user, instructions for presenting one or more suggested modifications for the query input, each suggested modification comprising references to one or more objects associated with the online social network;

    receiving, from the client system of the first user, an indication of a selection of one of the suggested modifications;

    parsing, using a context-free grammar model, the query input and the selected suggested modification to generate an executable query command, wherein the context-free grammar model comprising a plurality of grammars, each grammar comprising one or more non-terminal tokens and one or more query tokens, each grammar being an ordered sub-tree adjoining one or more other grammars via a non-terminal token, and wherein the query command corresponds to a particular grammar of the plurality of grammars, the query command comprising one or more defined functions corresponding to one or more of the query tokens of the particular grammar, wherein at least one of the defined functions corresponds to one or more of the objects referenced in the selected suggested modification;

    generating, by the computing system, one or more search results corresponding to the query command corresponding to the particular grammar, wherein each search result corresponds to an object associated with the online social network that is connected to at least one of the referenced objects in the selected suggested modification; and

    sending, to the client system of the first user, instructions for presenting one or more search results corresponding to the query command.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×