Query Rewriting and Optimization for Ontological Databases

被引:50
|
作者
Gottlob, Georg [1 ]
Orsi, Giorgio [1 ]
Pieris, Andreas [1 ]
机构
[1] Univ Oxford, Dept Comp Sci, Oxford OX1 2JD, England
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2014年 / 39卷 / 03期
基金
英国工程与自然科学研究理事会;
关键词
Algorithms; Theory; Languages; Performance; Ontological query answering; tuple-generating dependencies; query rewriting; query optimization; CONTAINMENT; LANGUAGES;
D O I
10.1145/2638546
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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 that 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 article, 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 that 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 soas to produce possibly small and cost-effective UCQ rewritings for an input query.
引用
收藏
页数:46
相关论文
共 50 条
  • [1] STOCHASTIC QUERY OPTIMIZATION IN DISTRIBUTED DATABASES
    DRENICK, PE
    SMITH, EJ
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1993, 18 (02): : 262 - 288
  • [2] On the Performance of Query Rewriting in Vertically Distributed Cloud Databases
    Kohler, Jens
    Simov, Kiril
    Fiech, Adrian
    Specht, Thomas
    INNOVATIVE APPROACHES AND SOLUTIONS IN ADVANCED INTELLIGENT SYSTEMS, 2016, 648 : 59 - 73
  • [3] Safe query languages for constraint databases
    Revesz, PZ
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1998, 23 (01): : 58 - 99
  • [4] Query Optimization for Deductive Databases
    周傲英
    施伯乐
    Journal of Computer Science and Technology, 1995, (02) : 134 - 148
  • [5] Query Optimization on Random Databases
    Vasile, Silviu Laurentiu
    STUDIES IN INFORMATICS AND CONTROL, 2014, 23 (03): : 257 - 264
  • [6] Query optimization in grid databases
    Murlewski, J.
    Kowalski, T.
    Adamus, R.
    Sakowicz, B.
    Napieralski, A.
    MIXDES 2007: Proceedings of the 14th International Conference on Mixed Design of Integrated Circuits and Systems:, 2007, : 707 - 710
  • [7] Query processing over incomplete autonomous databases: query rewriting using learned data dependencies
    Garrett Wolf
    Aravind Kalavagattu
    Hemal Khatri
    Raju Balakrishnan
    Bhaumik Chokshi
    Jianchun Fan
    Yi Chen
    Subbarao Kambhampati
    The VLDB Journal, 2009, 18 : 1167 - 1190
  • [8] Query processing over incomplete autonomous databases: query rewriting using learned data dependencies
    Wolf, Garrett
    Kalavagattu, Aravind
    Khatri, Hemal
    Balakrishnan, Raju
    Chokshi, Bhaumik
    Fan, Jianchun
    Chen, Yi
    Kambhampati, Subbarao
    VLDB JOURNAL, 2009, 18 (05) : 1167 - 1190
  • [9] Query Optimization in Distributed Relational Databases
    Ribeiro C.C.
    Ribeiro C.D.
    Lanzelotte R.S.G.
    Journal of Heuristics, 1997, 3 (1) : 5 - 23
  • [10] A solution of spatial query processing and query optimization for spatial databases
    YUAN Jie XIE Kun qing MA Xiu jun ZHANG Min SUN Le bin Department of Computer Science Peking University Beijing PRChina Department of Intelligence Science Peking University Beijing PRChina Beijing Institute of Surveying and Mapping Beijing PRChina
    重庆邮电学院学报(自然科学版), 2004, (05) : 165 - 172