A method, system and article of manufacture for processing queries that
are executed against a database and, more particularly, for restricting
queryable data in a database to a subset of all available data in the
database when a query is executed against the database is provided. One
embodiment provides a logical representation of all of the available data
in underlying physical entities by defining a plurality of logical fields
abstractly describing data stored by the associated physical entities,
receiving an abstract query comprising at least one logical field of the
plurality of logical fields, retrieving at least one condition defining
at least one property common to a plurality of physical entities of the
queryable data, associating the at least one condition with the abstract
query and, in accordance with the at least one condition, restricting the
queryable data to the subset of all the available data when executing the
abstract query.