Query Processing in a Mediator System for Data and Multimedia