1. A method of generating phrases from a database comprising: providing a database; creating a relational model of the database; inputting a query; determining a plurality of phrases from the relational model of the database wherein each one of the plurality of phrases is contextually related to the query; sorting the plurality of phrases; and outputting the sorted plurality of phrases.