1. A method of providing to a user sentences from a sentence database in response to a query, the method comprising: receiving the query having terms; expanding the query by including synonyms of the terms to obtain expanded terms; combining the expanded terms to form a plurality of dependency triples from the expanded terms; discarding dependency triples, from the plurality of dependency triples, which are not found in a dependency triples database to obtain remaining dependency triples from the expanded terms; and searching the sentence database using the remaining dependency triples as search parameters.