next up previous
Next: Expert Query Tracing Up: The DIOM Query Previous: Simple Keyword-based Queries

Expert Query

For those users who are more experienced with the SQL style of querying, Diorama provides an expert query tool based on DIOM-IQL. Expert queries can also be installed and re-issused periodically or fired later by some pre-defined triggers [20]. An expert query may run over a set of interfaces defined through a mediator. The resultant object is represented in terms of an IDL specification derived from the query specification itself.

The DIOM-IQL form shown in Figure 7 closely follows the DIOM-IQL syntax description [17]. The Mediator field allows the user to specify which grouping of interfaces to use and can be left open to allow the system to generate the corresponding IDL interface. The Target field specifies the information repositories to be used or avoided in the query where repositories to be avoided are preceded by an `!'. The Select field allows the user to select only those fields which are of interest to her. The From field specifies the interfaces to use. The Where field contains the query conditions to be matched. The Outer Join option allows to return a full outer join of all records relevant to the query. The results can be grouped and ordered by filling in the appropriate conditions in the group and order fields respectively. Expert queries can be traced by using the trace checkbox. For example, the query given in Figure 3 can be entered as shown in Figure 7.



Ling Liu
Thu Aug 15 17:49:43 MDT 1996