This program implements a simple bot that can answer questions in a restricted English grammar using knowledge from wikidata.
Several helper functions have been provided, but the primary answer
function needs an implementation.
The helper functions and the answer
function provide doctests. These can be run using:
python3 -m doctest qa.py
or:
make
The main program will ask and answer questions. It can be run using:
python3 qa.py