1. A method comprising: calculating a global atomic quantity for each attribute value in a database, each global atomic quantity representing an unconditional importance level of its respective attribute value; calculating a conditional atomic quantity for each attribute value in the database, each conditional atomic quantity representing a conditional importance level of an association between a pair of attribute values; and ranking result tuples of a database query based on global atomic quantities and conditional atomic quantities.