From UBC Wiki

What is the problem?

We are going to build an interactive city guide. It will help tourists find things such as restaurants, museums, parks, etc. in big cities.

What is something extra?

  1. We will use NLP so that the user can input queries in plain English.
  2. We will leverage the powerful Yelp API

What did we learn from doing this?

We learned that Prolog can be very powerful for parsing user input or other types of data as long as we have an idea of the structure beforehand. We also realized that once the fundamental parsing is implemented and works, it is quite easy to add new parsing features allowing us to parse more complex queries. This ability to parse combined with an API, such as the Yelp one, makes it for a user-friendly and powerful program without the need to create a large database.

Code: https://github.com/thibault12/Interactive-Tour-Guide/blob/master/main.pl