Natural Language Query Planning for Heterogeneous Data Sources

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional techniques for querying data from heterogeneous data sources require strong technical expertise due to complex data sources, inconsistent naming schemes, and similar table/column names, making it difficult for users to derive information effectively.

Innovation Solution

An analysis system uses a machine learning-based language model to generate database queries from natural language questions, determining actual data assets and fields, and executes these queries across multiple heterogeneous data sources while maintaining metadata privacy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If conventional querying techniques are used to access heterogeneous data sources, then data retrieval capability is maintained, but user accessibility deteriorates due to requiring strong technical expertise

Engineering Contradiction:
Improveuser accessibilityVSAvoidsystem complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent introduces a natural language processing interface as an intermediary between users and heterogeneous data sources. This mediator translates user-friendly natural language queries into the complex queries required by different data source systems, eliminating the need for users to directly interact with complex query languages and system-specific protocols.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent creates a universal natural language interface that can handle multiple types of data sources (relational databases, file systems, cloud storage) through a single unified system. This universal interface supports various query types and data formats, allowing one system to serve multiple functions across diverse data sources without requiring separate interfaces for each system.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Ease of operation

If expert knowledge is required to query data sources, then query accuracy is maintained, but ease of operation deteriorates

Engineering Contradiction:
Improveease of queryingVSAvoidquery accuracy
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system employs automated machine learning models and natural language processing algorithms that perform query generation, optimization, and execution autonomously. The system self-adjusts to different data sources and query patterns, learning from interactions to improve accuracy without requiring expert user intervention while maintaining reliable query results.

Inventive Principle:
Principle #25Self-service

3Ease of operation

If natural language processing is used to generate queries, then ease of operation improves, but query accuracy deteriorates due to generated data asset names not corresponding to actual assets

Engineering Contradiction:
Improvenatural language queryingVSAvoiddata asset name accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The system implements feedback mechanisms where the generated queries are validated against actual data source schemas and metadata. When discrepancies are detected between generated data asset names and actual assets, the system receives feedback and automatically corrects the mappings, ensuring that natural language queries accurately correspond to real data assets while maintaining ease of operation.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12399891B1Automated processing of a natural language question based on heterogenous data sources using a machine learning based language model
Publication Date: 2025.08.26 PROMETHIUM INC
  • US12399891B1 patent drawing
  • US12399891B1 patent drawing
  • US12399891B1 patent drawing

AI summary

An analysis system connects to a set of data sources and perform natural language questions based on the data sources. The analysis system connects with the data sources and retrieves metadata describing data assets stored in each data source. The analysis system generates an execution plan for the natural language question. The analysis system finds data assets that match the received question based on the metadata. The analysis system ranks the data assets and presents the ranked data assets to users for allowing users to modify the execution plan. The analysis system may use execution plans of previously stored questions for executing new questions. The analysis system supports selective preprocessing of data to increase the data quality.