Hierarchical Table to Relational Table Transformation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for transforming hierarchical tables into relational tables are cumbersome, error-prone, and often fail to handle complex or large datasets, particularly as they require manual intervention or specialized knowledge, and existing tools like Senbazuru are limited in their ability to handle tables with related values or headlines that do not provide data.

Innovation Solution

A system that automatically transforms hierarchical tables into relational tables by identifying headline rows, classifying headlines as data or descriptor headlines using similarity metrics, and generating new columns or splitting tables to preserve relational information, with the ability to output a synthesized program for user review and modification.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If manual transformation methods are used to convert hierarchical tables to relational tables, then transformation accuracy can be maintained through user judgment, but the process becomes time-consuming and error-prone

Engineering Contradiction:
Improvetransformation accuracyVSAvoidtransformation time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The system performs automatic headline classification and table transformation without requiring manual user intervention. The processor independently identifies headline rows, classifies headlines as data or descriptor types using similarity metrics, and generates the relational table structure autonomously, eliminating the time-consuming manual process while maintaining accuracy through algorithmic consistency

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces the mechanical manual process of table transformation with an automated computational system. The processor uses algorithmic methods including Needleman-Wunsch string edit distance metrics to classify headlines and determine table structure, substituting human judgment with consistent computational logic that operates rapidly without fatigue or errors

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Ease of operation

If data cleaning tools with predefined transformations are used, then the user interface becomes simplistic and easy to use, but the user must manually identify and select transformations making the task harder

Engineering Contradiction:
Improveuser interface simplicityVSAvoidtransformation selection complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system automatically performs headline classification and transformation selection without requiring user input. The processor independently analyzes the hierarchical table structure, identifies headline rows, classifies each headline as data or descriptor type, and selects the appropriate transformation operations, making the tool as simple as a single click while eliminating the complexity of manual transformation selection

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system dynamically changes the classification parameters of headlines based on content similarity analysis. By computing similarity metrics between headline texts and their contextual elements, the system automatically determines whether each headline should be treated as data or descriptor, adapting the transformation approach to the specific characteristics of each table without requiring user configuration

Inventive Principle:
Principle #35Parameter changes

3Productivity

If Domain-specific Languages (DSLs) are used to manipulate tables, then the data cleaning process is shortened, but the end user must learn a programming language which is complex

Engineering Contradiction:
Improvedata cleaning speedVSAvoidprogramming language learning
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The system automatically generates the transformation program in the DSL format without requiring user input or programming knowledge. The processor synthesizes the complete transformation sequence based on automatic headline classification, producing ready-to-execute code that the user simply needs to run, thereby achieving high productivity while eliminating the learning barrier entirely

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary analysis and program generation before the user needs to execute the transformation. By pre-computing the headline classifications and synthesizing the transformation program in advance, the system prepares the complete solution ready for execution, maximizing productivity while requiring zero programming effort from the user

Inventive Principle:
Principle #10Preliminary action

4Adaptability or versatility

If automatic tools like FlashRelate or Senbazuru are used, then fewer user assumptions are required, but they fail to handle complex tables with related values or headlines that do not provide data

Engineering Contradiction:
Improvehandling of complex tablesVSAvoidtransformation success rate
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system dynamically changes the classification parameters of headlines based on content similarity analysis using Needleman-Wunsch metrics. By computing similarity between headline texts and their contextual elements, the system adapts to different table structures and correctly identifies data versus descriptor headlines even in complex cases, maintaining high reliability across diverse table types

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The transformation approach is dynamically adjusted based on the classified headline types. The system generates different transformation operations depending on whether headlines are classified as data or descriptor types, allowing flexible handling of various table structures including complex cases with related values or non-data headlines, thereby achieving both versatility and reliability

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10599627B2Automatically converting spreadsheet tables to relational tables
Publication Date: 2020.03.24 MICROSOFT TECHNOLOGY LICENSING LLC
  • US10599627B2 patent drawing
  • US10599627B2 patent drawing
  • US10599627B2 patent drawing

AI summary

Techniques are disclosed which provide for transforming a hierarchical table to a relational table. A hierarchical table may be received, in which a headline row is identified. A candidate row may be determined in the hierarchical table. The process may include systematically classifying headlines as data headlines or descriptors. For each data headline a new column may be generated, while for each descriptor headline, the table may be split to produce a resultant table. The resultant table may be stored and the process may be repeated until there are no headlines left to be classified. The steps performed by the system to transform the table can then be displayed on a user device using a program in the Domain-specific language, which can then be further inspected or modified to perform the desired table transformation.