arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1405.2848cs.DB
收藏

本体数据库的查询重写与优化

Query Rewriting and Optimization for Ontological Databases

Georg Gottlob, Giorgio Orsi, Andreas Pieris

摘要:

对照由扩展数据库和本体(即,从外延数据库导出新的内涵知识的一组逻辑断言和约束),而不是直接在外延数据库上。这种查询的评价和优化是数据库研究的一个有趣的新问题。在本文中,我们讨论了这个问题的两个重要方面:查询重写和查询优化。查询重写包括将本体查询编译为针对底层扩展数据库的等效一阶查询。我们提出了一种新的查询重写算法,而一般类型的本体约束,这是非常适合于实际的实现。特别是,我们展示了如何对知识库的合取查询,表示使用线性和粘性的存在规则,也就是说,最近推出的Datasheet +/-家庭的本体语言的成员,可以编译成一个联盟的合取查询(UCQ)对底层数据库。在这种情况下,本体查询优化试图改进这种重写过程,以便为输入查询产生可能小且成本有效的UCQ重写。

英文摘要:

Ontological queries are evaluated against a knowledge base consisting of an extensional database and an ontology (i.e., a set of logical assertions and constraints which derive new intensional knowledge from the extensional database), rather than directly on the extensional database. The evaluation and optimization of such queries is an intriguing new problem for database research. In this paper, we discuss two important aspects of this problem: query rewriting and query optimization. Query rewriting consists of the compilation of an ontological query into an equivalent first-order query against the underlying extensional database. We present a novel query rewriting algorithm for rather general types of ontological constraints which is well-suited for practical implementations. In particular, we show how a conjunctive query against a knowledge base, expressed using linear and sticky existential rules, that is, members of the recently introduced Datalog+/- family of ontology languages, can be compiled into a union of conjunctive queries (UCQ) against the underlying database. Ontological query optimization, in this context, attempts to improve this rewriting process so to produce possibly small and cost-effective UCQ rewritings for an input query.

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

↑