The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Aug. 22, 2023

Filed:

Aug. 27, 2020
Applicant:

Bayerische Motoren Werke Aktiengesellschaft, Munich, DE;

Inventors:

Wangsu Hu, Chicago, IL (US);

Jilei Tian, Chicago, IL (US);

Attorneys:
Primary Examiner:
Int. Cl.
CPC ...
G06F 40/226 (2020.01); G06F 40/284 (2020.01); G06F 40/30 (2020.01);
U.S. Cl.
CPC ...
G06F 40/284 (2020.01); G06F 40/30 (2020.01);
Abstract

Embodiments relate to a method, a computer program and a system for optimizing execution of natural language to structured query language. The method comprises the steps of—receiving a natural language text input and performing natural language processing on the natural language text input to generate a plurality of encoded question tokens. Next, the method comprises performing natural language processing on a plurality of table schema stored in a database to generate a plurality of encoded table schema tokens for each table schema. Further, the method comprises determining a similarity between the plurality of encoded question tokens and the plurality of encoded table schema tokens for at least two table schemas of the plurality of table schema. Furthermore, the method comprises determining an output table schema from the plurality of table schema based on the similarity and outputting a natural language string based on the output table schema.


Find Patent Forward Citations

Loading…