1. A computer-implemented method comprising: defining, using a definition module executable by a processor, one or more seed queries corresponding to a query; summarizing the one or more seed queries into one or more query patterns; determining a training data set comprising at least the one or more seed queries and the query patterns; creating a graph comprising the one or more query patterns, the one or more queries, and one or more universe resource locators (URLs); traversing the graph using a random walk algorithm to expand the training data set; and classifying the expanded training data set into one or more search task categories.