Title: Design and implementation of a query editor for the Amadeus system