A method, system and computer program product for building a search query in a
data processing system having a graphical user interface is provided. Responsive
to user input, a graphical component representing a first system object is dropped
onto a graphical component representing a query function. A set of attributes of
the first system object is presented. Responsive to user selection, a search query
is created from the selected set of attributes.