Lune

VLDB2026Top-tier venue

Document-to-Database: Extraction Meets Relational Semantics

Zhengxuan Zhang, Zhuowen Liang, Jiazhuo Chen, Haixun Wang, Nan Tang

2026Year
3Citations

Abstract

Bridging the gap between unstructured documents and relational databases is challenging because document extraction operates locally, whereas databases enforce global semantics through schemas, keys, and constraints. Consequently, existing one-shot large language model (LLM) extraction approaches often fail to reconcile results with relational semantics, yielding inconsistent and hard-to-audit outputs. We present DataMosaic, a document-to-database (Doc2DB) system that explicitly mediates between extraction and database semantics. Given a database schema and constraints, a central orchestrator coordinates entity and relationship extraction alongside verification, repair, and targeted re-extraction within a closed extract-verify-iterate loop. By systematically resolving document ambiguity and constraint violations, DataMosaic incrementally constructs accurate and semantically consistent databases. Featuring pluggable extractors, verifiers and repair operators, experiments in diverse datasets show that DataMosaic substantially reduces constraint violations and improves database-level accuracy over strong Doc2DB baselines.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 7fdddc55-d6f2-4238-a74c-6ae20bbcf27c

Builds on11

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines