arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.14594cs.CL
收藏

Wikidata查询日志数据集

The Wikidata Query Logs Dataset

University of Freiburg(弗赖堡大学);University of Freiburg Department of Computer Science(弗赖堡大学计算机科学系)

Sebastian Walter, Hannah Bast

AI总结:

本文提出了一个包含335,000个问题-查询对的Wikidata查询日志(WDQL)数据集,该数据集通过真实世界中的SPARQL查询构建,无需模板生成查询,且规模是现有类似数据集的11倍多。通过代理方法去匿名化、清理和验证查询,生成对应的自然语言问题,用于训练问答方法。

摘要:

我们介绍了Wikidata查询日志(WDQL)数据集,该数据集包含335,000个关于Wikidata知识图谱的问题-查询对。它比现有类似格式的数据集大11倍以上,而无需依赖模板生成的查询。相反,我们通过发送到Wikidata查询服务的真实SPARQL查询构建该数据集,并为这些查询生成问题。由于这些基于日志的查询被匿名化,因此往往不产生结果,因此需要大量努力将它们转换回有意义的SPARQL查询。为此,我们提出了一种基于代理的方法,该方法迭代地去匿名化、清理和验证查询,并与Wikidata进行比对,同时生成相应的自然语言问题。我们展示了该数据集在训练问答方法方面的益处。所有WDQL资产以及代理代码均通过https://github.com/ad-freiburg/wikidata-query-logs公开发布,并采用宽松的许可证。

英文摘要:

We present the Wikidata Query Logs (WDQL) dataset, a dataset consisting of 335k question-query pairs over the Wikidata knowledge graph. It is over 11x larger than the largest existing Wikidata datasets of similar format without relying on template-generated queries. Instead, we construct it using real-world SPARQL queries sent to the Wikidata Query Service and generate questions for them. Since these log-based queries are anonymized, and therefore often do not produce results, a significant amount of effort is needed to convert them back into meaningful SPARQL queries. To achieve this, we present an agent-based method that iteratively de-anonymizes, cleans, and verifies queries against Wikidata while also generating corresponding natural-language questions. We demonstrate the benefit of this dataset for training question-answering methods. All WDQL assets, as well as the agent code, are publicly available via https://github.com/ad-freiburg/wikidata-query-logs under a permissive license.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑