DBAIAug 29, 2025

SABER: A SQL-Compatible Semantic Document Processing System Based on Extended Relational Algebra

arXiv:2509.00277v1h-index: 2
Originality Highly original
AI Analysis

This work addresses the problem of query composition, reasoning, and optimization in SDPSs for users handling mixed structured/unstructured data, offering a SQL-compatible interface to unify existing systems.

The paper tackles the lack of a unified algebraic foundation in semantic data processing systems (SDPSs) for unstructured documents, proposing SABER, a new semantic algebra based on extended relational algebra, which enables logical plan construction, optimization, and formal correctness guarantees for semantic operations.

The emergence of large-language models (LLMs) has enabled a new class of semantic data processing systems (SDPSs) to support declarative queries against unstructured documents. Existing SDPSs are, however, lacking a unified algebraic foundation, making their queries difficult to compose, reason, and optimize. We propose a new semantic algebra, SABER (Semantic Algebra Based on Extended Relational algebra), opening the possibility of semantic operations' logical plan construction, optimization, and formal correctness guarantees. We further propose to implement SABER in a SQL-compatible syntax so that it natively supports mixed structured/unstructured data processing. With SABER, we showcase the feasibility of providing a unified interface for existing SDPSs so that it can effectively mix and match any semantically-compatible operator implementation from any SDPS, greatly enhancing SABER's applicability for community contributions.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes