TableCanoniser: Interactive Grammar-Powered Transformation of Messy, Non-Relational Tables to Canonical Tables
TableCanoniser is a declarative grammar and interactive system for constructing relational tables from messy tabular inputs such as spreadsheets. We propose the concept of axis alignment to categorise input types and characterise the expanded scope of our system relative to existing tools. The declarative grammar consists of match conditions, which specify repeating patterns of input cells, and extract operations, which specify how matched values map to the output table. In the interactive interface, users can specify match and extract patterns by interacting with an input table, or author more advanced specifications in the coding panel. To refine and verify specifications, users interact with grammar-based provenance visualisations such as linked highlighting of input and output values, tree-based visualisation of matching patterns, and a mini-map overview of matched instances of patterns with annotations showing where cells are extracted to. We motivate and illustrate our work with real-world usage scenarios and workflows.
Authors
- Michael Wybrow (ORCID: https://orcid.org/0000-0001-5536-7780)
- Yingcai Wu (ORCID: https://orcid.org/0000-0002-1119-3237)
- Kai Xiong (ORCID: https://orcid.org/0000-0002-8203-9667)
- Cynthia A. Huang (ORCID: https://orcid.org/0000-0002-9218-987X)
Institutions
- Monash University (AU)
- Zhejiang University (CN)
Publication Details
- Published
- 2025-04-24
- DOI
- https://doi.org/10.1145/3706598.3714321
- Primary Topic
- Advanced Database Systems and Queries
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Australian Government