Description
It is an implementation of the answer generation module on the OKBQA architecture. The module gets a list of SPARQL queries as an input (JSON format) and returns the output (JSON format) with a list of answers with their source SPARQL query. The number of returned answers and the time interval (seconds) of SPARQL querying can be configured by GET parameters; an example is shown below.
http://ws.okbqa.org:7744/agm?answer_num=5&query_interval=0.1
If configuration is not provided, the default configuration will be used. The default setting of the configuration is as follows:
{
"conf": {
"answer_num": 5,
"query_interval": 0.0
}
}
Scope and limit
This implementation is an initial version of an answer generation module, so there are many functionalities can be added to the implementation.
The implementation provides only limited configuration fields in an input JSON, the number of answers to be returned and the interval time of SPARQL querying. There can be many configuration fields that can be useful for the entire pipeline to be efficiently tested.
|