1. A method in a computer system for generating an occurrence cube, the method comprising: submitting queries to a database, each query having a value of an interface attribute of the database set to a global attribute value of a global attribute of a domain of the database; and for the result of each submitted query, counting the number of times the value of the interface attribute occurs within each result attribute of the result.