1. A method for building a taxonomy, the method comprising: receiving, by a computer, one or more ancestor recommendations; generating, by the computer, an initial tree from a graph by pruning one or more paths of the graph; modifying, by the computer, the initial tree according to an evaluation of the tree in view of the one or more ancestor recommendations to generate an output tree; and outputting, by the computer, responses to queries in accordance with the output tree.