摘要 |
PROBLEM TO BE SOLVED: To provide search query interactions on online social networks.SOLUTION: In one embodiment, a method includes accessing a social graph that includes a plurality of nodes and edges, receiving from a user a structured query comprising references to selected nodes and selected edges, generating a query command comprising a first query constraint and a second query constraint based on the structured query, identifying a first set of nodes matching the first query constraint and at least in part matching the second query constraint, identifying a second set of nodes matching the second query constraint, and generating search results based on the first and second sets of nodes.SELECTED DRAWING: Figure 6 |