1. A method performed by one or more processors comprising: parsing a search query into one or more constituent terms; retrieving first and second members of one or more domains based upon a correspondence between the constituent terms and the first and second members of the one or more domains, the first and second members corresponding to first and second attributes included in one or more database tables; performing a database operation on the one or more database tables, the database operation to generate a set of related data; extracting an attribute from the set of related data; automatically relating, using the one or more processors, first and second members of the one or more domains to a semantic phrase, based on a probability value associated with the semantic phrase, the semantic phrase representing a semantic relationship between the first and second members of the one or more domains; and generating a semantic query using the semantic phrase and the first and second members of the one or more domains.