A question answering system which utilises machine learning.
332
mvn spring-boot:runFirst install docker in your system. For ubuntu you may refer to below link. [https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04]
For windows users [https://docs.docker.com/toolbox/toolbox_install_windows/#step-1-check-your-version]
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
Vollmers, D., Jalota, R., Moussallem, D., Topiwala, H., Ngomo, A. C. N., & Usbeck, R. (2021). Knowledge Graph Question Answering using Graph-Pattern Isomorphism. arXiv preprint arXiv:2103.06752. https://arxiv.org/abs/2103.06752
http://localhost:8181/qa for the answer which follows the W3C Query Results JSON Format (see https://www.w3.org/TR/sparql11-results-json/).http://localhost:8181/qa-simple for a simple JSON with only the answer.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.http://localhost:8181/qa?query=What is the original title of the interpretation of dreams?&lang=enContent type
Image
Digest
Size
944.6 MB
Last updated
over 5 years ago
docker pull dicegroup/tebaqa