Exercise 29: Queries

Summary

Implement the following queries:

1.
What time is it?
2.
What is {first_name}'s phone number?
3.
We need more {food_item}.
4.
What's on the grocery list?
5.
Clear the grocery list.

Support at least 10 phone numbers and 25 grocery items.

Implementing the "What's on the grocery list?" query will involve enhancing the query system so that it can return multiple results. Implementing the "Clear the grocery list" command will involve some new syntax to allow a relationship to be cleared.

Web UI

Click here

Grace application

Click here

NOTE: The Grace application requires that you have Expressivo installed for text-to-speech.