您的位置首页百科问答

freebase api关闭之后,该怎么做基于freebase的问答系统(KBQA)?

freebase api关闭之后,该怎么做基于freebase的问答系统(KBQA)?

的有关信息介绍如下:

freebase api关闭之后,该怎么做基于freebase的问答系统(KBQA)?

来补充下 @米迦勒 的答案

【只看结论版】

FB2M/FM5M仅适合做SimpleQuestions的KBQA,以及WebQuestionsSP的实体链接步骤。

做WebQuestionsSP的KBQA还是老老实实部署freebase data dumps吧。

【详细原因版】

上述回答中提到的FB2M和FB5M这两个Freebase的子集,最早是由SimpleQuestions的作者在论文中提供,论文链接:Large-scale Simple Question Answering with Memory Networks,FB2M和FB5M附赠在SimpleQuestions数据集中,下载地址:fb.ai,但link2name文件并未提供。

在实际科研中发现,FB2M和FB5M数据集将Freebase中的原本的

转化为:

如果使用的是WebQuestionsSP数据集,需要格外注意:数据集中的标注的“InferentialChain”会与FB2M/FB5M文件中的三元组之间存在差异。

例如WebQSP.test.json中的第9个问题的InferentialChain被标注为:

而FB2M/FB5M中的三元组为:

可以发现,"people.person.spouse_s"-"people.marriage.spouse"被删减为"people.person.spouse_s"

再例如WebQSP.test.json中的第166个问题的InferentialChain被标注为:

而FB2M/FB5M中的三元组为:

可以发现,"people.person.education"-"education.education.institution"被替换为"education.educational_institution.students_graduates"

结论如下