1. In a computing environment, a system comprising: one or more processors; a unified user interface implemented on the one or more processors and configured to compose queries via a plurality of mechanisms, including a facet-based user interface by which users select filtering criteria corresponding to facets, and a logic-based user interface by which users logically combine object data, wherein the logic-based user interface is query-language independent, and wherein an object includes a set of properties, and wherein the facet-based user interface creates value clusters for each property of the object, the value clusters used by the facet-based user interface to optimize a query; and query logic configured to process the filtering criteria into a query by logically AND-ing selected facets if the users select the filtering criteria corresponding to facets via the facet-based user interface, or configured to logically combine the object data into a query if the users logically combine the object data via the logic-based user interface, or configured to both process the filtering criteria into a query and logically combine the object data into a query if the users switch between both the logic-based user interface and the facet-based user interface of the unified user interface during query composition.