Abstract
This paper introduces TED (Transportable English Datamanager), a prototype designed to bridge the gap between human language and structured databases without requiring specialized engineering. By employing an interactive "interview" process, TED allows domain experts to configure natural-language interfaces by defining database schemata and linguistic mappings. This approach addresses the "transportability" problem, enabling the rapid deployment of natural-language interfaces across diverse data domains.
Introduction
In the early 1980s, natural-language (NL) interfaces like LADDER or ROBOT were impressive but brittle. They required computational linguistics experts to manually encode database schemata, lexicons, and pragmatic grammars for every new application. This made deploying NL interfaces prohibitively expensive and slow. The authors address this "transportability" problem: How can we build a system that can be easily moved to a new database domain by a regular user who knows the data but not the underlying AI technology? The goal was to move away from hand-crafted systems toward a methodology where the system "learns" the domain by talking to the user.
The TED System Architecture
The authors developed TED to act as an "automated interface expert." Its core components include:
- Interactive Acquisition Dialogue: Instead of a programmer writing code, TED conducts a structured interview with a domain expert. It asks about file names, field types (numeric, symbolic, or Boolean), and synonyms.
- Pragmatic Grammar: Unlike previous systems that used domain-specific grammars, TED uses a domain-independent "pragmatic grammar." This grammar focuses on the actions of querying and updating data (e.g., "What is the [attribute] of [item]?") rather than the specific content of the database.
- Automated Lexicon Generation: Based on the interview, TED automatically populates its lexicon. For example, if a user identifies a field as numeric (like "AGE"), TED automatically infers that adjectives like "OLD," "OLDER," and "OLDEST" are relevant and maps them to the data scale.
- Link Discovery: TED asks users how different files relate to one another, allowing it to handle complex "joins" without the user needing to know SQL-style join logic.
The system was built on top of existing SRI technologies, including the LIFER parser and the SODA data access planner.
Evaluation and Results
The paper evaluates the system qualitatively using a sample transcript of a session where a user describes a database of ships (SHIP), ship classes (CLASS), and employees (EMP). The evaluation focuses on the system's ability to correctly interpret complex English queries after the initial acquisition phase.
The paper demonstrates that after a relatively short dialogue, TED can successfully process sophisticated English queries such as:
- "What is the age of the youngest ship?" (Superlatives)
- "Which ships are older than Reeves?" (Comparatives)
- "What is the speed of the hoel?" (Requiring a join across two files: SHIP and CLASS).
The system successfully converted these into formal queries (SODA) and retrieved the correct data, proving that a domain-independent grammar could indeed be "tailored" on the fly.
Discussion and Key Insights
A transportable system must strictly divide information into "database-independent" (the logic of how people ask questions) and "database-dependent" (the specific names of columns and tables) portions. TED uses "aggressive" contextual interviewing to keep dialogues brief; if it knows a field is "AGE," it suggests how "AGE" might be used in a sentence to confirm its linguistic role. Furthermore, by identifying a field as a scale, the system can automatically support comparative and superlative queries without manual grammar rules for every new adjective.
However, the prototype had limitations. It was largely limited to the verbs "BE" and "HAVE," struggling with more diverse action verbs. It also lacked an inherent understanding of units of measure (e.g., it knew a value was 15.5, but not that it meant "15.5 years") and could not compute derived attributes, such as calculating distance between coordinates, unless specifically programmed.
Conclusion
TED represents a significant shift in the development of NL interfaces by moving the burden of "teaching" the system from the AI researcher to the domain expert. While limited in its linguistic range, the prototype demonstrated that automated acquisition of domain knowledge is a viable path toward democratizing access to structured data.
Summary updated