Natural Language Query Translation via Design Time Artifacts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing rule engines require users to have detailed knowledge of the application and database structure to submit queries, leading to validation errors and making it difficult for non-technical users to input natural language queries correctly.

Innovation Solution

A system that integrates a natural language processing engine with a structured rule engine, using design time artifacts to interpret and translate unstructured natural language inputs into structured queries, allowing users to submit queries in a flexible and intuitive manner without strict adherence to specific syntax.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If users are required to know the particular language and syntax of the rules engine to submit queries, then the structured rule engine can process queries accurately, but non-technical users cannot easily input queries without validation errors

Engineering Contradiction:
Improvequery processing accuracyVSAvoiduser accessibility
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces a natural language processing engine as an intermediary between the user and the structured rule engine. This mediator translates user-friendly natural language queries into the required structured query format, allowing non-technical users to interact with the system without needing to learn complex syntax while maintaining query processing accuracy through the structured engine backend

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a single strict syntax format is enforced for querying, then the rules engine can validate and process queries reliably, but users must adhere to specific syntax rules which increases complexity and error rates

Engineering Contradiction:
Improvequery validationVSAvoidsyntax complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the query processing system into two distinct parts: a flexible natural language input interface that accepts user queries in any format, and a structured query processing engine that handles the strict syntax requirements. This segmentation allows the system to maintain validation reliability while hiding syntax complexity from users, as the natural language processing engine handles the complexity of translation automatically

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10657124B2Automatic generation of structured queries from natural language input
Publication Date: 2020.05.19 SAP SE
  • US10657124B2 patent drawing
  • US10657124B2 patent drawing
  • US10657124B2 patent drawing

AI summary

The present disclosure relates to computer systems and computer-implemented methods for automatically enabling natural language rules in a structured rule engine. In one example, the method includes receiving an input identifying an unstructured query corresponding to a particular application associated with a rules framework associated with a pre-defined query structure format, analyzing the received input based on a first set of design time artifacts associated with the particular application and a second set of design time artifacts associated with the rules framework, the first set of artifacts uniquely associated with the particular application and the second set of artifacts generically associated with the rules framework, wherein the second set of design time artifacts are applied commonly to a plurality of different applications. A structured query for the particular application is generated in the pre-defined query structure format of the rules framework based on the first and second set of artifacts.