一句话:刻画基于描述逻辑的本体介导查询何时可处理或固定参数可处理,并研究其有界树宽等价性判定问题的复杂度。
本体介导查询利用描述逻辑本体为不完整数据补充领域知识,从而得到更完整的查询答案,但其在关系数据库上的求值通常是难解的。本文以合取查询的并为实际查询,研究基于若干重要描述逻辑的本体介导查询语言何时高效:对 ELHI⊥ 刻画固定参数可处理的 OMQ 类,对限制逆角色的片段 ELH⊥dr 刻画组合复杂度可处理的 OMQ 类。两者均以与有界树宽 OMQ 等价为条件,并依赖参数化复杂度理论中的合理假设,精神上类似 Grohe 对关系数据库上合取查询可处理类的刻画。文章还研究判定给定 OMQ 是否等价于有界树宽 OMQ 的元问题,得到从 NP 到 2ExpTIME 的完备性结果,并讨论 DL-Lite 族及其函数角色。
In ontology-mediated querying, description logic (DL) ontologies are used to enrich incomplete data with domain knowledge which results in more complete answers to queries. However, the evaluation of ontology-mediated queries (OMQs) over relational databases is computationally hard. This raises the question when OMQ evaluation is efficient, in the sense of being tractable in combined complexity or fixed-parameter tractable. We study this question for a range of ontology-mediated query languages based on several important and widely-used DLs, using unions of conjunctive queries as the actual queries. For the DL ELHI⊥, we provide a characterization of the classes of OMQs that are fixed-parameter tractable. For its fragment ELH⊥dr, which restricts the use of inverse roles, we provide a characterization of the classes of OMQs that are tractable in combined complexity. Both results are in terms of equivalence to OMQs of bounded tree width and rest on a reasonable assumption from parameterized complexity theory. They are similar in spirit to Grohe's seminal characterization of the tractable classes of conjunctive queries over relational databases. We further study the complexity of the meta problem of deciding whether a given OMQ is equivalent to an OMQ of bounded tree width, providing several completeness results that range from NP to 2ExpTIME, depending on the DL used. We also consider the DL-Lite family of DLs, including members that, unlike εLHI⊥, admit functional roles.