CPC G06F 21/577 (2013.01) [G06F 16/24522 (2019.01); G06F 16/9024 (2019.01); G06F 16/90332 (2019.01); G06F 40/169 (2020.01); G06F 40/295 (2020.01); G06F 21/552 (2013.01); G06F 2221/034 (2013.01)] | 20 Claims |
1. A computer-implemented method for translating a natural language user query into a graph database query comprising:
receiving a first input from a user comprising a natural language query regarding data in a graph database;
processing the natural language query using a named entity recognition (NER) machine learning model to extract named entities from the natural language query and tag them according to an entity type;
processing the tagged named entities using a word similarity algorithm to identify corresponding nodes and edges, and their associated properties, in the graph database;
processing the natural language query using an intent classification machine learning model to determine a user intent for the natural language query; and
applying a user intent-based template to the identified nodes and edges to formulate a graph database query that corresponds to the natural language query.
|