3 4
In a typical interactive database session, a user asks a system uses the referential input to resolve any referenstring of questions some of which may refer back to tial ambiguity in the textual input and thereby provide responses to earlier questions. Such a reference is often an unambiguous input which can then be used, for exambiguous in that it is not clear which question or re- ample, to obtain information from a database. An intersponse is being referred to. In accordance with a pre- 5 face according to the invention provides a user-friendly, ferred embodiment of the present invention, the previ- easily-learned way to resolve referential ambiguities in a ous questions and responses are identified and displayed natural language textual input such as a database query, on a computer screen. The user points to any number of As shown in FIG. 1, a multi-modal user interface elements in one or more previous responses to which according to the invention comprises input means such he/she intends to refer. 10 as a keyboard 11 and a mouse 13 for receiving a textual
It will be apparent that speech recognition apparatus input and a referential input, respectively, from a user
or other means may be used to receive textual input (not shown); means, for example a portion of a com
from the user. Similarly, a touch screen, speech recogni- puter system generally designated 15 for detecting a
don apparatus, or other pointer including cursor keys or referential ambiguity in the textual input; and means
the like may be used to receive the referential input. 15 such as a portion of the computer system 15 for remov
A method of resolving ambiguities preferably utilizes ing the ambiguity according to the referential input to
query cards to arrange and display user queries and provide an unambiguous textual input,
system responses. The method includes the steps of Instead of (or in addition to) the keyboard 11, any of
receiving a database query and a referential input from a variety of other input means known in the art can be
a user, identifying any referential ambiguity in the 20 used to receive textual input from the user. One embodi
query, resolving the ambiguity according to the referen- ment, for example, includes means such as a micro
tial input, evaluating the query, and providing a re- phone 17 and associated hardware and software in the
sponse to the user. computer system 15 responsive to human speech to
A query is preferably displayed in the form of a query provide a digital representation of the spoken word. By
card which has a portion for displaying the query and a 25 utilizing this apparatus the user communicates textual
portion for displaying a response to the query. A list of information to the computer system by talking to the
previous queries is also displayed. The user selects one computer rather than by typing the information at the
or several previous query cards for display and uses the keyboard. The microphone receives the user's spoken
mouse or other pointer to identify elements in the re- words and provides an analog signal, and the hardware
sponses on the cards as the referential input for the next 30 and software convert the analog signal into a digital
query. signal which the computer uses just as it would use
Other aspects and advantages of the present inven- typed keyboard input,
tion will become apparent from the following detailed Likewise, rather than the mouse 13 alternate embodi
description, taken in conjunction with the accompany- ments provide a touch-sensitive screen (not shown),
ing drawings, illustrating by way of example the princi- 35 speech recognition means, designated keys such as cur
ples of the invention. sor keys on the keyboard 11, or other input means for
RRTFF nFSOR TPTION OF THF DR A WTNfiS receiving the referential input from the user. The refer
BRIEF DESCRIPTION OF THE DRAWINGS ential mput essentialiy amounts t0 a selection of one or
FIG. 1 shows a computer database system including a more textual elements in previous responses that are
multi-modal interface that displays database queries in 40 being displayed on the screen; the user makes the selec
query cards according to the present invention; tion by pointing to the desired elements rather than by
FIG. 2 is a detail view of a query card of the kind having to type any text,
being displayed on the screen of the system of FIG. 1; The invention is advantageously embodied in a user
FIG. 3 is a detail view of the screen display as shown interface of a database system which receives a database
in FIG. 1; 45 query from a user, evaluates the query, and provides a
FIG. 4 is a view of an alternative arrangement of the result of the evaluation to the user. The database system
display of FIG. 3; uses a referential input from the user to remove a refer
FIG. 5 is a flow chart of a method of resolving ambi- ential ambiguity in the query and thereby provide an
guities in queries of a database system such as that de- unambiguous query for evaluation,
picted in FIG. 1; and 50 A preferred way of displaying the user's query and
FIG. 6 is a view similar to that of FIG. 1 and showing the system's response according to the invention com
an ambiguous textual query and a referential input that prises a query card such as the card 19 as best shown in
is used to resolve the ambiguity according to the inven- FIG. 2. The card 19 has a first region 21 for displaying
tion. the query and a second region 23 for displaying the
nF^rRTPTTDTM OF Thf PRFFFRRFn 55 resPonse to the querv- The card 19 physically consists
DESCRIPTION OF THE PREFERRED of m area of a computer display screen such as the
fcMBODIMEN I 25) nQt a physical ^ card 19 preferabiy
As shown in the drawings for purposes of illustration, includes a title bar 27 for identifying the card; the card
the invention is embodied in a novel multi-modal user 19 is identified in the title bar by the legend "Query
interface that makes it easy for a user to resolve referen- 60 Card 2".
tial ambiguities in natural language database queries. As As shown in FIG. 1 and in more detail in FIG. 3, the
more and more people are using computer database display screen 25 typically shows a plurality of query
systems," systems that can respond to natural language cards such as the card 19 and another card 29 arranged
queries have been developed. There has been a need for in a workspace 31, each card corresponding with a
a user-friendly way to resolve ambiguities in such 65 different query. The screen also includes a list of succes
queries. sive queries 33, 35 and 37 in a list or "history" area 39.
In accordance with the invention, a user provides a In the example shown, the query 35 corresponds with
textual input and a referential input. The computer the query card 19 and the query 37 corresponds with