Query for properties and return object.