Patent attributes
A method for querying and analyzing datasets via natural language processing (NLP) that can maintain context is disclosed. According to one embodiment, a computer-implemented method includes receiving, by a user interface, at least one of an utterance or a structured query language statement. The method includes identifying zero or more previous data conversation steps indicated by the utterance. The method includes determining, based on the utterance and the zero or more previous data conversation steps, an effective schema targeted by the utterance. The method includes generating, based on the utterance and the effective schema, an intermediate structured query language statement that is representative of the utterance. The method includes generating an executable structured query language statement based on the intermediate structured query language statement. The method includes executing the executable structured query language statement for the data query engine schema. The method includes communicating a result set and metadata.