RDF图上的关键字搜索--一种查询图组装方法
Keyword Search on RDF Graphs - A Query Graph Assembly Approach
摘要:
关键字搜索为普通用户提供了一个易于使用的查询RDF数据的界面。在给定输入关键字的情况下,本文研究了如何构造一个能够准确、高效地表达用户查询意图的查询图。基于输入的关键字,我们首先获得基本的查询图构建块,如实体/类顶点和谓词边。然后,我们正式定义了查询图组装(QGA)问题。不幸的是,我们从理论上证明了QGA是一个NP完全问题。为了解决这个问题,我们设计了一些启发式的下界,并提出了一个基于二分图匹配的最佳优先搜索算法。该算法的时间复杂度为$O(k^{2l} \cdot l^{3l})$,其中$l$是关键字的数量,而$k$是可调参数,即,允许匹配每个关键字的候选实体/类顶点和谓词边的最大数量。虽然QGA是棘手的,但实际上$l$和$k$都很小。此外,该算法的时间复杂度不依赖于RDF图的大小,这保证了我们的系统在大型RDF图良好的可扩展性。在DBpedia和Freebase上的实验证实了该系统在有效性和效率上的优越性。
英文摘要:
Keyword search provides ordinary users an easy-to-use interface for querying RDF data. Given the input keywords, in this paper, we study how to assemble a query graph that is to represent user's query intention accurately and efficiently. Based on the input keywords, we first obtain the elementary query graph building blocks, such as entity/class vertices and predicate edges. Then, we formally define the query graph assembly (QGA) problem. Unfortunately, we prove theoretically that QGA is a NP-complete problem. In order to solve that, we design some heuristic lower bounds and propose a bipartite graph matching-based best-first search algorithm. The algorithm's time complexity is $O(k^{2l} \cdot l^{3l})$, where $l$ is the number of the keywords and $k$ is a tunable parameter, i.e., the maximum number of candidate entity/class vertices and predicate edges allowed to match each keyword. Although QGA is intractable, both $l$ and $k$ are small in practice. Furthermore, the algorithm's time complexity does not depend on the RDF graph size, which guarantees the good scalability of our system in large RDF graphs. Experiments on DBpedia and Freebase confirm the superiority of our system on both effectiveness and efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。