Invention Grant
- Patent Title: Converting natural language input to structured queries
-
Application No.: US15721705Application Date: 2017-09-29
-
Publication No.: US10691685B2Publication Date: 2020-06-23
- Inventor: Vishal Verma , Gang Xiang , Vishnu Konda , Chetan V. Kale
- Applicant: Apple Inc.
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Morgan, Lewis & Bockius LLP
- Main IPC: G06F16/2452
- IPC: G06F16/2452 ; G06N5/02 ; G06F16/248 ; G06F16/2458 ; G06F16/332 ; G06F16/33 ; G06N3/04 ; G06F40/30 ; G06F40/44 ; G06F40/211 ; G06F40/295

Abstract:
The subject technology provides for converting natural language input to structured queries. The subject technology receives a user input query in a natural language format. The subject technology determines scores for candidate entities derived from the user input query. The subject technology selects an entity with a highest score among the candidate entities, and converts, using a context-free grammar, the user input query to a structured query based at least in part on the selected entity. The subject technology classifies the structured query to an expected answer type, the expected answer type corresponding to a type of an expected answer of the structured query. The subject technology queries a database based on the expected answer type and the structured query, the database including information corresponding to a knowledge graph. The subject technology provides, for display, an answer to the user input query based on a result of querying the database.
Public/Granted literature
- US20180349377A1 CONVERTING NATURAL LANGUAGE INPUT TO STRUCTURED QUERIES Public/Granted day:2018-12-06
Information query