6. A computer-readable medium having stored thereon sequences of instructions which, when executed by a processing system, cause the processing system to perform the steps of: receiving a query from a user, using the query to access the database, accepting key words from the user when a result of the database access is unacceptable, selecting sample phrases incorporating the key words, outputting the sample phrases for the user to review, receiving input from the user to select at least one of the sample phrases, and generating a database query based on the user input.
6. A computer-readable medium having stored thereon sequences of instructions which, when executed by a processing system, cause the processing system to perform the steps of: receiving a query from a user, using the query to access the database, accepting key words from the user when a result of the database access is unacceptable, selecting sample phrases incorporating the key words, outputting the sample phrases for the user to review, receiving input from the user to select at least one of the sample phrases, and generating a database query based on the user input. 7. The computer-readable medium as defined in claim 6, wherein the selecting sample queries includes: reviewing all phrases having the key words, selecting one or more of said phrases to form a group of phrases, determining a meaning for each of the phrases in the group, using the meanings as queries to the relational database, and identifying phrases of the group as the sample phrases based on results of the queries.