Skip to content
A question answering system which utilises machine learning.
Java HTML JavaScript CSS Other
Branch: master
Clone or download

Template-Based Question Answering

Build Status Codacy Badge



  • Checkout the project
  • Execute the following command in the root directory to start the server: mvn spring-boot:run


First install docker in your system. For ubuntu you may refer to below link. []

For windows users []

Move to the parent directory of project and execute the below commands

mvn clean
mvn package

Now to build your image, type the below command.

sudo docker build -f Dockerfile -t tebaqa .

To run your image, type the below command.

sudo docker run -d -p 8187:8080 -t tebaqa --restart always

It will be available under localhost:8187

Question Answering

  • To answer a question simply execute a HTTP POST request to
  • Parameters:
    • query: A string which contains a question (required).
    • lang: The language of the question (default:en) Note: Other languages than English haven't been implemented yet.
  • An example request could look like this:
    • http://localhost:8181/qa?query=What is the original title of the interpretation of dreams?&lang=en


You can’t perform that action at this time.