首页> 外文会议>International semantic web conference >What Is the Cube Root of 27? Question Answering Over CodeOntology
【24h】

What Is the Cube Root of 27? Question Answering Over CodeOntology

机译:什么是27的立方根?通过CodeOntology进行问答

获取原文

摘要

We present an unsupervised approach to process natural language questions that cannot be answered by factual question answering nor advanced data querying, requiring instead ad-hoc code generation and execution. To address this challenging task, our system, AskCO, performs language-to-code translation by interpreting the natural language question and generating a SPARQL query that is run against CodeOntology, a large RDF repository containing millions of triples representing Java code constructs. The query retrieves a number of Java source code snippets and methods, ranked by AskCO on both syntactic and semantic features, to find the best candidate, that is then executed to get the correct answer. The evaluation of the system is based on a dataset extracted from StackOverflow and experimental results show that our approach is comparable with other state-of-the-art proprietary systems, such as the closed-source WolframAlpha computational knowledge engine.
机译:我们提出了一种无监督的方法来处理自然语言问题,这些问题无法通过事实问题解答或高级数据查询来回答,而是需要临时代码的生成和执行。为了解决这一艰巨的任务,我们的系统AskCO通过解释自然语言问题并生成针对CodeOntology运行的SPARQL查询来进行语言到代码的翻译,CodeOntology是一个大型RDF存储库,其中包含数百万个表示Java代码构造的三元组。该查询检索了许多Java源代码段和方法,由AskCO在语法和语义功能上对其进行排名,以找到最佳候选者,然后执行最佳候选者以获取正确答案。该系统的评估基于从StackOverflow提取的数据集,实验结果表明,我们的方法可与其他最新的专有系统(例如开源的WolframAlpha计算知识引擎)相媲美。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号