The tutorial [query handling]

The information here was last updated on 9 November 1997
Three panels | Opening ontologies | Operations
The GUI

Once JOE is up, it would appear as in figure below:

 

The five main components in JOE's GUI

JOE's GUI consists of five separate panels:
 
 
Component Description
Node names window 
(the left most panel)
Displays all available nodes in a given ontology grouped by entities, attributes, and relations. 
The user can locate any node in the ontology by double clicking on the node and JOE will automatically scroll the window to bring that node to the center of the current view.  The user can also type the name of the node directly if the name is already known using the Find button. 

(can be shown or hidden)

SQL window 
(the top most panel)
This window displays the current uptodate SQL query when JOE is executing in the query mode. From this window the user can perform many query related operations (i.e. submitting a query, loading, etc.) 

(can be shown or hidden)

Graphical query tree window 
(the right most panel)
This window displays the current status of the query in JOE's unique graphical tree format. 

(can be shown or hidden)

Constraint Input window 
(the bottom panel)
This window allows the user to set constraints on selected attribute. 

(can be shown or hidden)

Work area window 
(the center panel)
This is the most active area of JOE where the ontology is displayed 

(always visible)

The figure below shows JOE with all five panels

Opening ontologies

Once JOE is up the next step is to open an ontology. This can be achieved in two different ways as described below:

 
Method-1 Method-2
In the presence of InfoSleuth (i.e. the applet tag for "used_with_is" is set to "yes"), select the "File\Ontology\Open" menu. At this time JOE will communicate with InfoSleuth's UserAgent and requests for all available ontologies and then display them in a list for selection. Once the selection is made, JOE will obtain the ontology and then display it in its main working area.  In the absence of InfoSleuth (i.e. the applet tag for "used_with_is" is set to "no") , "Shift key+mouse click" combination on JOE's main canvas will popup a small child window where a number can be entered. The number entered in in this window will generate that many dummy entities and assign an arbitrary number of attributes to each of those entities. Then JOE will generate an ontology based on these entities and attributes and display it on the canvas. Entities are named as entity[i] and attributes are named attribute[j]. This second method is useful for testing or debugging purpose.
note: with Hotjava browser if the correct access privileges have been set then ontologies can be loaded or saved in the client computer

The figure below shows JOE with a dummy ontology created by the second method

note: In JOE, ontologies are represented using Entity-Relationship (ER) model as shown below in the diagram.

 

Operations

Once an ontology is visible, the user can do any of the following operations on it:

 

Editing Forming queries
  • Modifying the layout of the ontology
  • Searching for a specific node in the ontology
  • Zooming out and using the magnifying glass
  • Isolating nodes for building queries
  • Setting constraints on a selected attribute
  • Creating joins
  • Tutorial


    Please send all bug reports and comments to:
    Kuha at kuha@ieee.org


    Free Counter