Query Rewriting and Optimization for Ontological Databases

被引:49
|
作者
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] Schema Transformations and Query Rewriting in Ontological Databases with a Faceted Interface
    Pankowski, Tadeusz
    THEORY AND PRACTICE OF MODEL TRANSFORMATION, ICMT 2018, 2018, 10888 : 76 - 91
  • [2] Query rewriting for semantic query optimization in spatial databases
    Mella, Eduardo
    Andrea Rodriguez, M.
    Bravo, Loreto
    Gatica, Diego
    GEOINFORMATICA, 2019, 23 (01) : 79 - 104
  • [3] Query rewriting for semantic query optimization in spatial databases
    Eduardo Mella
    M. Andrea Rodríguez
    Loreto Bravo
    Diego Gatica
    GeoInformatica, 2019, 23 : 79 - 104
  • [4] Ontological Query Answering via Rewriting
    Gottlob, Georg
    Orsi, Giorgio
    Pieris, Andreas
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, 2011, 6909 : 1 - +
  • [5] Ontological Queries: Rewriting and Optimization
    Gottlob, Georg
    Orsi, Giorgio
    Pieris, Andreas
    IEEE 27TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2011), 2011, : 2 - 13
  • [6] Query Rewriting for Continuously Evolving NoSQL Databases
    Moeller, Mark Lukas
    Klettke, Meike
    Hillenbrand, Andrea
    Stoerl, Uta
    CONCEPTUAL MODELING, ER 2019, 2019, 11788 : 213 - 221
  • [7] Efficient Ontological Query Answering by Rewriting into Graph Queries
    Dimartino, Mirko Michele
    Cali, Andrea
    Poulovassilis, Alexandra
    Wood, Peter T.
    FLEXIBLE QUERY ANSWERING SYSTEMS, 2019, 11529 : 75 - 84
  • [8] First-order query rewriting for inconsistent databases
    Fuxman, AD
    Miller, RJ
    DATABASE THEORY - ICDT 2005, PROCEEDINGS, 2005, 3363 : 337 - 351
  • [9] First-order query rewriting for inconsistent databases
    Fuxman, Ariel
    Miller, Renee J.
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2007, 73 (04) : 610 - 635
  • [10] 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