The Standard NLI Browser

When you open the Standard NLI Browser you will see something like figure 1.

Figure 1: The initial screen after logging in.

Let us take a quick tour of the screen. At the top center is the the interface title, "personal" in this case. If you hover over this then you get a tool tip that describes what the interface is about. Right below this is the main search bar. This is where you type, tab complete or click construct questions and commands. Immediately below this is the main results area. This is where you view results and perhaps take editing actions. The right-hand side of the screen is the sidebar. At the top of the sidebar is the explorer. Here you click on pull downs menus to fill up the sidebar results with constants that you click on to help build questions on the main search bar. Finally, at the top right of the main section are three buttons: an examples button in the shape of a book, a pinned questions button in the shape of a thumbtack, and a logout button. The examples button presents the example questions defined in the corpus file that the NLI launched with. The pinned questions buttons lets you store and use questions in your local browser storage. The logout button will end your session.

Figure 2: The screen after some user actions.

Figure 2 shows the state of the interface as a user is adding information on what they have eaten in a day. The main results area has two results. There is a form that allows the user to select a food name and quantity to insert into the database. This appears as a result of the user submitting "add eating today" on the search bar. The second result is a table of the records of what has been eaten that day. The second result is merely an earlier question that the user issued "eating today". Still this will update with the additional record of "ICA nuts" with helping size 1.0 when the user hits the red "Done" button in the form. In this way the user can witness the result grow as they add additional records.

The Sidebar

At the top of the sidebar is the explorer where the user may list the tables and columns of tables of the underlying database and also select dropdown constants fetch directives defined in the corpus file. In figure 2 the user clicked to see all the tables and then clicked to get the areas of the projects.

The purpose of the sidebar results area is to supply a phrase palette so that users can click on material which is then inserted into the main search bar at exactly the point the user had previously positioned the caret. This helps the user very rapidly construct questions and commands without having to type. The word palette takes some getting used to, but once mastered it dramatically speeds up question formulation.

Figure 3: User moves list to sidebar.

Figure 3 shows the user has issued a question that returns a list not a table. Specifically the user asks for the names of the foods eaten in the last week. Note the presence of a right arrow button. If the user clicks this, then the list will be copied to the sidebar. The user has already done this for an earlier list of the foods eaten in the last 3 days. The ability to move lists to the sidebar enables the user to stage very specific set of constants for point click building of future questions as they explore the database.

Pinned Questions

Figure 4: Pinned questions.

In figure 4 we see the result of the user clicking on the pin icon. Note here that the first two questions are the "eating today" and the "add eating today" questions. Thus to achieve state of the screen above where the user is adding to what they have eating today, the user does not need to type anything and instead just needs to clicked on pinned questions. In many cases users explore the database and build up a stock of pinned questions. On future visits to the NLI they mostly issue these pinned questions again.

Editing Records

Figure 5: Direct edits.

In figure 5 we see that the user has clicked on an edit button that appears with a record. The user is revising the helping amount upward to 1.2 helpings for the "Asian Beef" eating event. Note that user may also delete records one by one through this interface as well.