Natural-Language Access to Databases-Theoretical/Technical Issues

Robert C. MooreACL 1982

Abstract

In this seminal position paper, Robert C. Moore shifts the focus of natural language interfaces for databases (NLIDB) from the capabilities of specific implementations to the fundamental theoretical hurdles that limit the field. By identifying five core linguistic and structural challenges—including temporal reasoning, quantifier scope, and the "multipath problem"—Moore outlines the requirements for a more robust and flexible generation of NLIDB systems.

Introduction

During the early 1980s, the development of natural-language access to databases (NLIDB) saw a surge in experimental systems. However, these systems were often brittle and lacked a unified theoretical foundation. Moore argues that the research community has focused excessively on the specific features of individual systems rather than the underlying semantic gaps.

The primary obstacle identified is the impedance mismatch: the discrepancy between how humans naturally formulate questions and how databases, structured for storage efficiency, actually hold data. A single natural language query might necessitate entirely different database operations depending on the underlying schema, a gap that current systems often bridge with manual, non-generative "hacks."

A Taxonomy of NLIDB Challenges

Rather than presenting an experimental study, Moore provides a theoretical roadmap by categorizing five specific problem areas that must be addressed to create truly flexible interfaces.

1. Quantity Questions and Schema Dependency

The interpretation of a natural language question is inherently tied to the database structure. For instance, the question "How many employees are in the sales department?" might require a COUNT operation if employees are represented as individual records. Conversely, if the department table includes a pre-calculated number_of_employees field, the system must perform a simple SELECT. A robust NLIDB must be able to map the same linguistic string to radically different logical forms based on the schema design.

2. Temporal Reasoning: Points vs. Intervals

Moore identifies a significant conceptual divide in how time is handled. Databases generally store "snapshots" or points in time (e.g., the location of a ship at 6:00 PM). However, human queries often involve intervals (e.g., "How far did the ship travel in July?"). Answering such questions requires the system to distinguish between points and intervals and to perform interpolation between known data points—a process that is both technically difficult and semantically risky.

3. Quantifier Scope and Ambiguity

The use of quantifiers like "each," "every," or "all" introduces structural ambiguity. In the query "Who manages each department?", the scope of "each" is unclear. Is the user requesting a list of managers for every individual department, or are they asking for a single individual who manages the entire set of departments? Standard speech act theories of the time struggled to represent these distinctions formally, leading to potential misinterpretations.

4. Semantically Complex Fields

Many database fields use abstract flags or codes to represent complex real-world concepts. Mapping a natural phrase like "child of an alumnus" to a specific set of database flags is often handled by treating the phrase as a fixed, hard-coded predicate. This approach fails when users vary their phrasing, highlighting the need for a more dynamic mapping between natural language and complex database attributes.

5. The Multipath Problem in Multifile Queries

When a query requires joining multiple tables, such as SHIPS and PORTS, there are often multiple valid join paths. A ship might have a "Home Port," a "Departure Port," and a "Destination Port." A system that assumes a single "natural" join path will frequently return incorrect data. Resolving this "multipath problem" requires the system to understand the specific roles and contexts of the entities involved to determine which relationship is intended.

Conclusion and Future Directions

Moore’s work serves as a call to action for the NLIDB community. He posits that a unified framework is necessary—one that can map linguistic phenomena to diverse query structures, handle temporal interpolation, and resolve join ambiguities through contextual awareness. While Moore does not provide the immediate solutions to these problems, he successfully frames the requirements for future research, challenging developers to move beyond system-specific "bells and whistles" toward a formal semantics capable of handling the inherent complexity of human language.

Summary updated

BibTeX
@inproceedings{moore1982natural,
  author = {Robert C. Moore},
  title = {{Natural-Language Access to Databases-Theoretical/Technical Issues}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1982},
  doi = {10.3115/981251.981261},
}
Figure