Skip to main content
QUICK REVIEW

[Paper Review] A Principled Framework for Constructing Natural Language Interfaces To Temporal Databases

Ioannis Androutsopoulos|arXiv (Cornell University)|Sep 23, 1996
Semantic Web and OntologiesComputer Science118 references15 citations
TL;DR

This paper presents a principled framework for building natural language interfaces to temporal databases (NLI-TDBs) by integrating tense and aspect theories, temporal logics, and database semantics. It introduces a formal temporal meaning representation language (Top), extends HPSG grammar to map English temporal queries to Top expressions, and proves a correct translation from Top to T-SQL2, enabling accurate querying of time-aware databases.

ABSTRACT

Most existing natural language interfaces to databases (NLIDBs) were designed to be used with ``snapshot'' database systems, that provide very limited facilities for manipulating time-dependent data. Consequently, most NLIDBs also provide very limited support for the notion of time. The database community is becoming increasingly interested in _temporal_ database systems. These are intended to store and manipulate in a principled manner information not only about the present, but also about the past and future. This thesis develops a principled framework for constructing English NLIDBs for _temporal_ databases (NLITDBs), drawing on research in tense and aspect theories, temporal logics, and temporal databases. I first explore temporal linguistic phenomena that are likely to appear in English questions to NLITDBs. Drawing on existing linguistic theories of time, I formulate an account for a large number of these phenomena that is simple enough to be embodied in practical NLITDBs. Exploiting ideas from temporal logics, I then define a temporal meaning representation language, TOP, and I show how the HPSG grammar theory can be modified to incorporate the tense and aspect account of this thesis, and to map a wide range of English questions involving time to appropriate TOP expressions. Finally, I present and prove the correctness of a method to translate from TOP to TSQL2, TSQL2 being a temporal extension of the SQL-92 database language. This way, I establish a sound route from English questions involving time to a general-purpose temporal database language, that can act as a principled framework for building NLITDBs. To demonstrate that this framework is workable, I employ it to develop a prototype NLITDB, implemented using ALE and Prolog.

Motivation & Objective

  • Address the lack of robust temporal support in existing natural language interfaces to databases (NLI-DDBs), which primarily handle present-tense queries and ignore complex temporal expressions.
  • Develop a unified, linguistically grounded approach to interpreting temporal phenomena in natural language—such as verb tenses, aspect, temporal adverbials, and subordinate clauses—within a formal semantic framework.
  • Establish a correct and systematic translation pipeline from natural language questions involving time to a standard temporal database language (T-SQL2), ensuring semantic fidelity.
  • Demonstrate the feasibility of the framework through a working prototype implemented using the ALE grammar system and Prolog, capable of processing a non-trivial fragment of English temporal queries.

Proposed method

  • Formalize temporal linguistic phenomena (tense, aspect, adverbials, subordinate clauses) using insights from tense and aspect theories and temporal logic.
  • Define a temporal meaning representation language, Top, which captures the semantics of temporal expressions in a way that is both expressive and computationally tractable.
  • Extend Head-Driven Phrase Structure Grammar (HPSG) with a novel tense and aspect account to map diverse English temporal queries to equivalent Top expressions.
  • Design and formally prove the correctness of a translation method from Top expressions to T-SQL2, the temporal extension of SQL-92, ensuring semantic equivalence.
  • Implement a prototype NLI-TDB using the ALE grammar development system and Prolog, validating the framework on a realistic domain (air traffic control).
  • Use feature-structure representations and constraint-based parsing to ensure precise semantic interpretation of complex temporal queries.

Experimental results

Research questions

  • RQ1How can natural language temporal expressions—such as verb tenses, aspectual classes, and temporal adverbials—be systematically mapped to formal temporal semantics?
  • RQ2What formal representation language is both expressive enough to capture the full range of temporal phenomena in English and compatible with database query languages?
  • RQ3How can a grammar formalism like HPSG be extended to correctly interpret and map temporal linguistic structures to a formal meaning representation?
  • RQ4What is the correct and sound method for translating from the formal temporal meaning representation (Top) to a standard temporal database language (T-SQL2)?
  • RQ5Can a principled, linguistically motivated framework be implemented as a working prototype that accurately translates natural language questions involving time into executable database queries?

Key findings

  • The framework successfully maps a wide range of English temporal queries—including those with complex tenses, aspectual classes, and temporal adverbials—into a formal semantic representation (Top).
  • The Top language provides a principled and precise way to represent temporal relations such as 'before', 'after', 'during', and 'for' in a manner compatible with temporal database systems.
  • The translation from Top to T-SQL2 is formally proven correct, ensuring that the meaning of the original natural language query is preserved in the generated database query.
  • The prototype NLI-TDB, implemented using ALE and Prolog, demonstrates the practical feasibility of the framework by correctly processing a non-trivial fragment of English temporal queries.
  • The approach handles subtle distinctions in aspect (e.g., state, activity, culminating activity) and their interaction with temporal adverbials and subordinate clauses, such as 'before' and 'after' clauses, with precise semantic boundaries.
  • The framework resolves ambiguities in temporal expressions by grounding them in formal temporal logic, avoiding ad hoc or heuristic interpretations commonly found in prior systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.