Mixed Language Query Translation System

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current query languages for data sources are limited in their ability to support all desired operations efficiently and conveniently, leading to the need for mixed language queries that combine different linguistic features for enhanced functionality and performance, but developing such queries is complex due to syntactic and logical differences between languages.

Innovation Solution

An automated translation system that converts single-language queries into mixed language queries by translating portions of the query into different languages, allowing a query processor to evaluate and apply the mixed language query efficiently, without requiring developers to recode queries.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a single query language is used to specify all query operations, then the query syntax and processing are simplified, but the ability to support diverse operations efficiently and conveniently is limited

Engineering Contradiction:
Improvequery operation support capabilityVSAvoidquery formulation complexity
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The query is divided into multiple language portions, each optimized for specific operations. The system segments the query specification into different language components that can be independently processed and evaluated, allowing each segment to leverage the strengths of its native language while maintaining overall query coherence.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The query processor is designed to handle multiple query languages within a single unified system. It can recognize, parse, and evaluate different language portions according to their respective grammars and semantics, enabling the system to support diverse query operations through a multi-functional architecture that accommodates various language paradigms.

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

2Productivity

If portions of the query are specified in a second language for better efficiency, then query performance improves, but the query formulation becomes more complex requiring mixed language knowledge

Engineering Contradiction:
Improvequery evaluation efficiencyVSAvoidquery structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system introduces an intermediary translation layer that automatically converts between different query languages. This mediator component handles the complexity of mixed language formulation by providing automated translation services, allowing developers to write queries in their preferred language while the system manages the multi-language integration and optimization transparently.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system dynamically changes language parameters based on the query operations being performed. Different portions of the query can be specified in different languages depending on the operational requirements, and the system adjusts its processing parameters to handle the appropriate language grammar and semantics for each query segment, optimizing performance without requiring manual mixed language composition.

Inventive Principle:
Principle #35Parameter changes

3Ease of manufacture

If automated translation to mixed language queries is implemented, then developer effort is reduced, but the translation system complexity increases

Engineering Contradiction:
Improvequery development effortVSAvoidtranslation system complexity
Core Design Contradiction:
Ease of manufactureVSDevice complexity

Solution Approach 1:

The translation system performs self-service by automatically detecting the source language, selecting appropriate target languages, and generating the mixed language query without requiring manual intervention. The system uses built-in language models and translation rules to handle the conversion process autonomously, reducing developer effort while managing translation complexity through automated algorithms and pre-configured language support.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8819046B2Data query translating into mixed language data queries
Publication Date: 2014.08.26 MICROSOFT TECHNOLOGY LICENSING LLC
  • US8819046B2 patent drawing
  • US8819046B2 patent drawing
  • US8819046B2 patent drawing

AI summary

Data source queries may be specified in various languages, such as SQL, XQuery, and object-oriented languages, and each language may have various linguistic features that enable different types of queries. It may be advantageous to formulate mixed language queries having portions specified in a first language and portions specified in a second language, and to provide mixed language query evaluation components that can parse portions of queries of different languages. It may also be advantageous to permit the translation of single language queries into multiple languages to be parsed by such mixed language query evaluation components. Such techniques may permit queries to utilize linguistic features and processing techniques of one language that are less efficient, less direct, or simply unavailable in another language.