METHODS AND SYSTEMS FOR NATURAL LANGUAGE PROCESSING OF GRAPH DATABASE QUERIES

    公开(公告)号:US20220414228A1

    公开(公告)日:2022-12-29

    申请号:US17543184

    申请日:2021-12-06

    摘要: Methods and systems for translating a natural language user query into a graph database query are described. In some instances, the methods may comprise 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 semantic 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.