Lune

WWW2024Top-tier venue

Query Optimization for Ontology-Mediated Query Answering

Wafaa El Husseini, Cheikh Brahim El Vaigh, François Goasdoué, Hélène Jaudoin

Abstract

Ontology-mediated query answering (OMQA) consists in asking database queries on knowledge bases (KBs); a KB is a set of facts called the KB's database, which is described by domain knowledge called the KB's ontology. A widely-investigated OMQA technique is FO-rewriting: every query asked on a KB is reformulated w.r.t. the KB's ontology, so that its answers are computed by the relational evaluation of the query reformulation on the KB's database. Crucially, because FO-rewriting compiles the domain knowledge relevant to queries into their reformulations, query reformulations may be complex and their optimization is the crux of efficiency. We devise a novel optimization framework for a large set of OMQA settings that enjoy FO-rewriting: conjunctive queries, i.e., the core select-project-join queries, asked on KBs expressed using datalog+/-, description logics, existential rules, OWL, or RDFS. We optimize the query reformulations produced by state-of-the-art FO-rewriting algorithms by computing rapidly, with the help of a KB's database summary, simpler (contained) queries with the same answers that can be evaluated faster by RDBMSs. We show on a well-established OMQA benchmark that time performance is significantly improved by our optimization framework in general, up to three orders of magnitude.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. ForBackBench: A Benchmark for Chasing vs. Query-RewritingAfnan G. Alhazmi, Tom Blount, George KonstantinidisVLDB 2022 · 9 citations

Related papers

  1. Temporal Conjunctive Query Answering via RewritingLukas Westhofen, Jean Christoph Jung, Daniel NeiderAAAI 2025 · 1 citation
  2. First Order Rewritability in Ontology-Mediated Querying in Horn Description LogicsDavid Toman, Grant E. WeddellAAAI 2022 · 5 citations
  3. Towards Universal Languages for Tractable Ontology Mediated Query AnsweringHeng Zhang, Yan Zhang, Jia-Huai You, Zhiyong Feng et al.AAAI 2020 · 2 citations
  4. Query Rewriting for Ontology-Mediated Conditional AnswersMedina Andresel, Magdalena Ortiz, Mantas SimkusAAAI 2020 · 5 citations
  5. Efficient Answer Enumeration in Description Logics with Functional RolesCarsten Lutz, Marcin PrzybylkoAAAI 2023 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines