arXiv:2610.36833cs.DBOct 2026

Manuscript Offprint

arXiv:2610.36833

Back to the Future: The Evolving Universal Relation Model

Nan Tang, Haixun Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Document-backed analytics need databases that can be built as queries arrive. Enterprises increasingly ask analytical queries over messy document collections—contracts, invoices, reports, emails, policies, and tickets—where the relevant structure and facts are often not known in advance. RAG can retrieve and summarize supporting evidence, but it does not by itself produce reusable, joinable, governed database state. Schema-first construction offers the opposite strength: once a database is built, it supports joins, aggregation, constraints, indexes, optimization, and transactions. Yet for document analytics, fixing the schema and extracting all possible fields upfront is both expensive and brittle, because later queries and new documents often surface concepts that were not modeled before. We propose the Evolving Universal Relation Model (EUR), a query-first model for document-backed analytics. Users ask natural language queries as if the document corpus exposed one conceptual relation over application concepts. Internally, the DBMS turns each query into controlled database evolution: it updates the logical schema when new concepts are needed, extracts and integrates the facts required to answer the query, and decides what durable database state should remain for future queries. Thus, in EUR, a query is not only evaluated; it also helps construct the database. Document-backed analytics becomes query-first universal access plus workload-driven database schema and instance evolution.

1 INTRODUCTION

The next enterprise database starts as documents. Traditional databases start with schemas; document-backed analytics start with queries. In compliance reporting, contract tracking, policy monitoring, and similar settings, users ask over contracts, invoices, reports, emails, policies, and tickets before the right schema is known. These queries are analytical, not merely conversational: they require joins, aggregations, comparisons, and trends. Yet the needed concepts and facts are scattered across messy documents and often become clear only as new queries arrive.

RAG only reads; analytics need databases. Retrieval-augmented generation (RAG) makes document collections searchable and conversational, but it does not provide a database contract. It retrieves evidence into a prompt and produces a response; it does not, by itself, leave behind stable identifiers, typed tuples, relationships, constraints, versions, indexes, or governed provenance. Analytical queries should not repeatedly reconstruct the same facts from text snippets. They need reusable database that can be joined, aggregated, checked, maintained, and optimized.

Schema-first construction freezes the design too early. The natural counter-move is to build the database upfront: declare entities and relationships, design tables, define mappings, and run extractors. This restores familiar DBMS benefits, but only if the schema,

Haixun Wang

Evenup, USA

haixun@gmail.com

mappings, and required facts are already known. Classical models provide the right ideals, but under a schema-first assumption: Entity-Relationship (ER) [4] model captures entities, relationships, attributes, and constraints, while the relational model [5] provides declarative access and data independence over a declared schema. What is missing is a contract that preserves these ideals while the database is still being discovered from documents and queries.

Research gap: database construction should become query-first. Document-backed analytics need a stable query interface over application concepts, while the DBMS is still deciding what tables exist, where attributes belong, which facts to extract, and what durable state to keep. The challenge is not better retrieval alone, nor better upfront extraction alone. It is query-driven database construction: each query may reveal new concepts, require new facts, and improve the reusable database state for future queries.

Pay-as-you-go dataspaces already challenged the need for complete semantic integration before useful access [7, 10]. The question we target is therefore not whether construction can be incremental, but how a DBMS should govern it: when a query requires concepts or facts that are not yet represented, how should the query-facing vocabulary, logical schema, and materialized instance evolve together while preserving logical path independence? Document-backed analytics needs a contract that makes these changes controlled effects of query processing, so that answering a query also builds reusable database state.

Back to the future: The EUR model. We propose the Evolving Universal Relation Model (EUR, pronounced “your”): a query-first revival of the universal relation model (URM) [14] for document-backed analytics. Users pose queries as if the document collection exposed a single evolving universal relation over application concepts. Internally, the DBMS maintains three coupled levels: an evolving universal relation that defines the user-facing query interface; a logical schema that organizes concepts into entity and relationship tables; and a materialized instance containing extracted, integrated facts. Each query both returns an answer and triggers a controlled database evolution. Unlike schema-on-read, this interpretation is retained as durable database state; unlike schema-first ETL, the design evolves as the workload reveals what is needed.