VisKoP: Visual Knowledge oriented Programming for Interactive Knowledge Base Question Answering
Zijun Yao,Yuanyong Chen,Xin Lv,Shulin Cao,Amy Xin,Jifan Yu,Hailong Jin,Jianjun Xu,Peng Zhang,Lei Hou,Juanzi Li
2023-07-07
Abstract:We present Visual Knowledge oriented Programming platform (VisKoP), a knowledge base question answering (KBQA) system that integrates human into the loop to edit and debug the knowledge base (KB) queries. VisKoP not only provides a neural program induction module, which converts natural language questions into knowledge oriented program language (KoPL), but also maps KoPL programs into graphical elements. KoPL programs can be edited with simple graphical operators, such as dragging to add knowledge operators and slot filling to designate operator arguments. Moreover, VisKoP provides auto-completion for its knowledge base schema and users can easily debug the KoPL program by checking its intermediate results. To facilitate the practical KBQA on a million-entity-level KB, we design a highly efficient KoPL execution engine for the back-end. Experiment results show that VisKoP is highly efficient and user interaction can fix a large portion of wrong KoPL programs to acquire the correct answer. The VisKoP online demo <a class="link-external link-https" href="https://demoviskop.xlore.cn" rel="external noopener nofollow">this https URL</a> (Stable release of this paper) and <a class="link-external link-https" href="https://viskop.xlore.cn" rel="external noopener nofollow">this https URL</a> (Beta release with new features), highly efficient KoPL engine <a class="link-external link-https" href="https://pypi.org/project/kopl-engine" rel="external noopener nofollow">this https URL</a>, and screencast video <a class="link-external link-https" href="https://youtu.be/zAbJtxFPTXo" rel="external noopener nofollow">this https URL</a> are now publicly available.
Computation and Language,Human-Computer Interaction