Structured Query Generation for Social Network Search

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Social networking systems face challenges in efficiently searching for and retrieving specific content within complex social graphs, as existing search methods struggle to effectively utilize social-graph attributes and relationships in generating relevant search results.

Innovation Solution

The system generates structured queries by parsing unstructured text queries, identifying social-graph elements, and using a context-free grammar model to create natural-language queries that can be modified and refined, allowing users to pivot or broaden searches based on social-graph elements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If existing search methods are used in social networking systems, then search functionality is provided, but the ability to effectively utilize social-graph attributes and relationships in generating relevant search results is insufficient

Engineering Contradiction:
Improvesearch result relevanceVSAvoidutilization of social-graph attributes
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The system transforms unstructured text queries into structured queries by identifying and extracting social-graph elements (nodes, edges, attributes) from the text. This parameter transformation enables the search system to utilize social-graph structure, relationships, and attributes effectively, thereby improving search result relevance while maintaining adaptability to various query types

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces an intermediary processing layer between the user's text query and the social-graph search. This intermediary parses the text, identifies social-graph elements, and translates them into structured search queries that can effectively leverage social-graph relationships and attributes, resolving the contradiction between search precision and adaptability

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If structured queries are generated by parsing unstructured text queries and identifying social-graph elements, then search result relevance is improved, but query processing complexity increases

Engineering Contradiction:
Improvesearch result accuracyVSAvoidquery processing system
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The query processing system is segmented into distinct functional modules: text parsing module, social-graph element identification module, structured query generation module, and search execution module. This segmentation allows each module to specialize in a specific task, improving overall processing accuracy while making the complex system more manageable and maintainable

Inventive Principle:
Principle #1Segmentation

3Ease of operation

If grammar models are used to generate natural-language structured queries, then user-friendly search capability is enhanced, but computational resources required for query processing increase

Engineering Contradiction:
Improveuser-friendly searchVSAvoidcomputational resources
Core Design Contradiction:
Ease of operationVSUse of energy by moving object

Solution Approach 1:

The system applies grammar models selectively based on query characteristics. For simple queries that don't require complex social-graph relationships, basic parsing is sufficient. For queries involving relationships, attributes, or complex social-graph elements, the full grammar-based structured query generation is applied. This partial application reduces unnecessary computational overhead while maintaining user-friendly search capability where needed

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10268649B2Modifying structured search queries on online social networks
Publication Date: 2019.04.23 META PLATFORMS INC
  • US10268649B2 patent drawing
  • US10268649B2 patent drawing
  • US10268649B2 patent drawing

AI summary

In one embodiment, a method includes receiving a query input from a client system comprising one or more n-grams, sending 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 an indication of a selection of one of the suggested modifications, parsing the query input and the selected suggested modification using a context-free grammar model to generate an executable query command, and sending instructions to the client system for presenting one or more search results corresponding to the query command.