Controller
Controller 2016
Resources
REST API: http://ws.okbqa.org:7042/cm
Web API: http://ws.okbqa.org/web_interface
Source codes: https://github.com/your-jiseong/cm_2016
Main changes:
Extended configuration
The arbitrary number of module can be configured.
The sequence of modules executed can be configured.
A KB address can be configured with a tuple of KB address and graph URI, e.g., ["SPARQL_ENDPOINT", "GRAPH_URI"].
Example 1
"conf": {
"address": {
"TGM": ["http://ws.okbqa.org:1555/templategeneration/templator/"],
"DM": ["http://ws.okbqa.org:2357/agdistis/run"],
"QGM": ["http://ws.okbqa.org:38401/queries"],
"AGM": ["http://ws.okbqa.org:7744/agm"],
"KB": [["http://dbpedia.org/sparql", ""]]
},
"sequence": ["TGM", "DM", "QGM", "AGM", "KB"],
"timelimit": 100
}
Example 2
"conf": {
"address": {
"ELU": ["http://143.248.135.150:2222/entity_linking"],
"TGM": ["http://ws.okbqa.org:1555/templategeneration/templator/"],
"DM": ["http://ws.okbqa.org:2357/agdistis/run"],
"QGM": ["http://ws.okbqa.org:38401/queries"],
"AGM": ["http://ws.okbqa.org:7744/agm"],
"KB": [["http://143.248.135.20:45103/sparql", "http://en.dbpedia2015-10.kaist.ac.kr"]]
},
"sequence": ["ELU", "TGM", "DM", "QGM", "AGM", "KB"],
"timelimit": 100
}
The form of log messages
Every output of each module is co-printed with its input.
Each log of each module is printed with sorting.
Processing times of each module are noticed.
Example
"logs": [
{
1. module: "QGM",
2. elapsed_time: 0.6501169204711914,
3. input: {...},
4. output: [...]
}
]
Exception messages are simplified.
Example
{"module": module, "exception": 'no result returned', "address": module_address, "input": input, "output": output}
Answer generation module has been updated.
It is changed to coherent to controller 2016.
Some optimization has been adapted.
REST API: http://ws.okbqa.org:7745/agm
Source codes: https://github.com/your-jiseong/agm_2016
Contributors
Jiseong Kim (jiseong@kaist.ac.kr)
Gyuhyeon Choi (wiany11@kaist.ac.kr)
New controller design for flexible workflows
https://docs.google.com/presentation/d/1unZQUMp0CjZfmhGfBkcuJmMe7c7qwVPTADJJci7ehmA/edit?usp=sharing