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

成本驱动的基于本体的数据访问(扩展版)

Cost-Driven Ontology-Based Data Access (Extended Version)

Davide Lanti, Guohui Xiao, Diego Calvanese

摘要:

在基于本体的数据访问(OBDA)中,为用户提供了(关系)数据源的概念视图,该视图抽象了有关数据存储的细节。这个概念视图是通过一个本体实现的,该本体通过声明性映射连接到数据源,查询应答是通过将概念视图上的用户查询转换为数据源上的SQL查询来执行的。OBDA中的标准翻译技术试图将用户查询转换为联合查询(UCQ),遵循UCQ可以由现代关系数据库引擎有效地评估的启发式论点。在这项工作中,我们表明,翻译到UCQ并不总是最好的选择,而且,在一定的条件下,本体,映射,和数据的统计之间的相互作用,替代翻译可以更有效地进行评估。为了找到最好的翻译,我们设计了一个成本模型,以及一个新的基数估计,考虑到所有这些OBDA组件。我们的实验证实,(i)UCQ翻译的替代方案可能会产生数量级更有效的查询,以及(ii)我们提出的成本模型是忠实于实际的查询评估成本,因此非常适合选择最佳翻译。

英文摘要:

In ontology-based data access (OBDA), users are provided with a conceptual view of a (relational) data source that abstracts away details about data storage. This conceptual view is realized through an ontology that is connected to the data source through declarative mappings, and query answering is carried out by translating the user queries over the conceptual view into SQL queries over the data source. Standard translation techniques in OBDA try to transform the user query into a union of conjunctive queries (UCQ), following the heuristic argument that UCQs can be efficiently evaluated by modern relational database engines. In this work, we show that translating to UCQs is not always the best choice, and that, under certain conditions on the interplay between the ontology, the map- pings, and the statistics of the data, alternative translations can be evaluated much more efficiently. To find the best translation, we devise a cost model together with a novel cardinality estimation that takes into account all such OBDA components. Our experiments confirm that (i) alternatives to the UCQ translation might produce queries that are orders of magnitude more efficient, and (ii) the cost model we propose is faithful to the actual query evaluation cost, and hence is well suited to select the best translation.

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

↑