. . . Back to The SHOE Home Page
PIQ - A Tool for Querying SHOEParallel Understanding Systems Group
Department of Computer Science
University of Maryland at College Park
The Parka Interface for Queries (PIQ) allows users to construct queries graphically, and issues them to a PARKA knowledge base. When used with Exposé, the interface gives users a new way to browse the web by allowing them to submit complex queries and then open documents by clicking on the URLs in the results.
This applet will connect you to a PARKA Knowledge Base that contains knowledge gathered by Exposé. Currently, this KB contains information on four different computer science departments, but the most detailed information is on the PLUS lab, its members, and their publications and research. You may want to look at the CS Department Ontology to understand the kinds of relationships and categories you can query with.
This software is still under development. As such, it is subject to change at any time. If you find any bugs or have suggestions for improvement, send e-mail to Jeff Heflin.An older version of PIQ for binary knowledge bases (those that only have relations with two arguments) is available here.
Parka Interface Tutorial
Below is a short tutorial on how to use the Parka Interface. For a more detailed description of its function see the Parka Interface Documentation
Press the button above. After a short wait, the Parka Interface window will appear. In the status bar beneath the Menu, it should say "Finished Loading nshoekb". To the left of this is a toolbar which consists of an arrow, a box, a rectangle split into three parts, and a diagonal line. These tools are used as follows:
Creating a Query
To create a frame object, select the box tool. Now click in the query window to place the new object. Type a name for the object in the status box and press return. If you want this object to represent a constant constraint on your query, select the the check box to the right of the name. Note that when you do, the object's corners go from rounded to square. This is because variable objects have rounded corners and constant objects are rectangles. Repeat this for each frame you wish to create.
To create a relation, select the rectangle tool. Click a location in the query window to place it. A dialog window will display the list of predicates you can use. Select one and press OK. In addition to the relations loaded from the ontology, every Parka KB has a set of standard relation. Definitions of these are given in the Standard Relations section below.
To create an argument link, select the line tool. Click on one of the squares of the relation and drag to one of the frame boxes that you have created. Each relation square represents an arguments, the leftmost is the first argument.
After all objects have been created and linked with the appropriate relationships, select Parka, Submit Query from the menu bar. A Query results window will appear, but you may have to enlarge it to get a better look at the results (this can be done by using the square, white slider on the left slide of the window). A separate row will be returned for each set of variables that can be bound to the conditions specified in your query. If you click on a row, the corresponding bindings will be shown in the Query Window. If you double-click on a URL, a new browser window will open, and the corresponding web page will be loaded.
Below are some queries you might like to try on the SHOE Knowledge Base:
Standard RelationsEvery Parka KB has a set of standard relations. These are: