- Make sure you have all dependencies you need using
requirements.txt
- Create sample database running
create_source_db.sql
- You will also need two tables with locations, so first run
locations.sql
, after that runlocation_relations.sql
attribute_utils -- parsing question
database_utils -- get data from db using the information from parsed questions
src -- logic and working part
main.py -- to run on some predefined number of test questions (you may use src/console_prototype.py to ask your own ones)