PENDING
Please predict whether this patent is acceptable.PATENT ABSTRACT: An approach is provided in which a knowledge manager identifies training entities in a training question answer pair and identifies database paths a database that link the training entities. The knowledge manager then generates a generalized query based upon the identified database paths. In addition, the knowledge manager generates a generalized syntactic pattern based upon syntactic relationships between the training entities in the training question answer pair. When the knowledge manager receives a question and matches the syntactic pattern of the received question to the generalized syntactic pattern, the knowledge manager generates a custom query from the generalized query and queries the database using the custom query.