1. A computer-implemented method comprising: receiving a query; determining a set of structure elements associated with the query, wherein the structure elements are used for accessing, in a database, data tuples associated with the set of structure elements; optionally reducing the set of structure elements for accessing data tuples to the structure elements selected; adding contributing structure elements to the reduced set to not produce objects in the result set but for creating associated objects; handling the contributing structure elements in an optimized way to keep the data set on which the query result set is calculated as small as possible; and providing a result set of the query.