According to the present invention, the report specification is not a traditional ???query??? performed in connection with a datasource, but rather the specification includes information associated with metadata, or metadata itself, for defining the types of data which should be deduced therefrom to perform a query.