Skip to content

How to define your own Question Answering system?

AnBo edited this page Apr 15, 2017 · 1 revision

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).

Preparation

  • clone the Qanary reference implementation from Github
git clone https://github.com/WDAqua/Qanary

Define a default Question Answering system

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.

Example

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"}'

Qanary Basic Question Answering Front End

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

Clone this wiki locally