Methods and Systems for Natural Language Processing of Graph Database Queries

Patented

Patent No.: 12,189,782 

Date of Patent: January 7, 2025

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

View the patent on Google Patents

View the patent on USPTO.GOV