Set-Oriented retrieval of complex objects in inheritance hierarchies