1. A method in a data processing system for creating a query in terms of data objects, comprising: defining the query in terms of data objects; processing the query, wherein processing the query includes extracting the shape of the data objects using attribute information in the query; and transforming the query into a backend specific query based on relationship and attribute information defined for the data objects.