-
Notifications
You must be signed in to change notification settings - Fork 25
How to define your own Question Answering system?
This page describes how to set-up a default Question Answering system using the built-in functionalities of the Qanary reference implementation of a Question Answering pipeline. Nevertheless, one always might create or use a better suiting front end on top of the offered APIs (e.g., Trill).
- clone the Qanary reference implementation from Github
git clone https://github.com/WDAqua/Qanary
- Start your preferred triplestore
- Note: The Stardog triplestore works fine for the requirements of Qanary.
- Implement your components, e.g., while using the Qanary Maven archetype
- start your components
The reference implementation of Qanary already provides a mechanism for establishing a default Question Answering pipeline. The configuration of such a pipeline is possible using standard Java or Spring Boot mechanisms.
Define a Qanary Question Answering pipeline with two components (named First
and Second
), overwrite the default server port with 9999
, and a particular triplestore endpoint at the University of Saint-Etienne (France).
java -jar qa.pipeline-X.Y.Z.jar -Dspring.application.json='{"qanary.components":"First,Second", "server.port":"9999", "qanary.triplestore":"http://admin:[email protected]/qanary/query"}'
The Qanary reference implementation of a Question Answering pipeline provides a basic embedded user interface. By default, it is exposed at http://localhost:8080/qa
-
How to establish a Docker-based Qanary Question Answering system
-
How to implement a new Qanary component
... using Java?
... using Python (Qanary Helpers)?
... using Python (plain Flask service)?