CA2895892C

Ambiguous structured search queries on online social networks

Abstract

In one embodiment, a method includes accessing a social graph that includes a plurality of nodes and edges, receiving an unstructured text query comprising an ambiguous n-gram, identifying nodes and edges that correspond to the ambiguous n-gram, generating a first set of structured queries corresponding to the identified second nodes and edges, receiving from the first user a selection of a first structured query form the first set, and generating a second set of structured queries based on the selected first structured query.

CA2895892C, drawing sheet 1
Sheet 1 of 21

Term

Projected expiry 19 December 2033.

  1. Priority and filed
  2. Granted
  3. Today
  4. Projected expiry

20 claims: 3 independent, 17 dependent

  1. 1
    CA 02895892 2015-06-26 079894.1921 CLAIMS 1. A method comprising, by a computing device:accessing a social graph comprising a plurality of nodes and a plurality of edges connecting the nodes, each of the edges between two of the nodes representing a single degree of separation between them, the nodes comprising: a first node corresponding to a first user associated with an online social network;and a plurality of second nodes that each correspond to a concept or a second user associated with the online social network;receiving from the first user an unstructured text query comprising an ambiguous n-gram;identifying a plurality of second nodes or a plurality of edges corresponding to the ambiguous n-gram;generating a first set of structured queries, each structured query from the first set of structured queries corresponding to an identified second node or identified edge, the structured query comprising a reference to the identified second node or identified edge;receiving from the first user a selection of a first structured query from the first set of structured queries, the first structured query corresponding to a selected second node or selected edge from the identified second nodes or identified edges, respectively;and generating a second set of structured queries, each structured query of the second set of structured queries comprising a reference to the selected second node or selected edge.
  2. 19
    A computer-readable medium storing statements and instructions for use, in the execution in a computer, of the method comprising the steps of:(a) accessing a social graph comprising a plurality of nodes and a plurality of edges connecting the nodes, each of the edges between two of the nodes representing a single degree of separation between them, the nodes comprising: a first node corresponding to a first user associated with an online social network;and a plurality of second nodes that each correspond to a concept or a second user associated with the online social network;(b) receiving from the first user an unstructured text query comprising an ambiguous n-gram;(c) identifying a plurality of second nodes or a plurality of edges corresponding to the ambiguous n-gram;(d) generating a first set of structured queries, each structured query from the first set of structured queries corresponding to an identified second node or identified edge, the structured query comprising a reference to the identified second node or identified edge;(e) receiving from the first user a selection of a first structured query from the first set of structured queries, the first structured query corresponding to a selected second node or selected edge from the identified second nodes or identified edges, respectively;and (f) generating a second set of structured queries, each structured query of the second set of structured queries comprising a reference to the selected second node or selected edge.
  3. 20
    A system comprising:one or more processors;and a memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to: access a social graph comprising a plurality of nodes and a plurality of edges connecting the nodes, each of the edges #11301546 CA 02895892 2015-06-26 079894.1921 between two of the nodes representing a single degree of separation between them, the nodes comprising: a first node corresponding to a first user associated with an online social network;and a plurality of second nodes that each correspond to a concept or a second user associated with the online social network;receive from the first user an unstructured text query comprising an ambiguous n-gram;identify a plurality of second nodes or a plurality of edges corresponding to the ambiguous n-gram;generate a first set of structured queries, each structured query from the first set of structured queries corresponding to an identified second node or identified edge, the structured query comprising a reference to the identified second node or identified edge;receive from the first user a selection of a first structured query from the first set of structured queries, the first structured query corresponding to a selected second node or selected edge from the identified second nodes or identified edges, respectively;and generate a second set of structured queries, each structured query of the second set of structured queries comprising a reference to the selected second node or selected edge. Active 14829806.1 #11301546