Algorithm Search⌘K

Definitionadvanced

DL-Lite

Also called DL-Lite family.

Description logics designed so that conjunctive queries over ontologies rewrite into first-order queries over the data.

DL-Lite is a family of description logics introduced by Calvanese, De Giacomo, Lembo, Lenzerini and Rosati. It is built so that a conjunctive query over a TBox and an ABox can be rewritten, using the TBox alone, into a union of conjunctive queries over the ABox. The rewritten query is first-order, so it can run as SQL in a relational database that stores the ABox, and answering it has the data complexity of AC0. To get this property, DL-Lite gives up conjunction and qualified existential restriction on the left of inclusions. It keeps inverse roles, unqualified existential restriction, disjointness, and in some members role inclusions or functional roles. These are the features of conceptual models such as entity-relationship and UML class diagrams. The OWL 2 QL profile is based on DL-LiteR_R.

Definition

Let AA range over concept names and PP over role names. DL-Lite has

R  ::=  P∣P−,B  ::=  A∣∃R,C  ::=  B∣¬B,E  ::=  R∣¬R.R \;::=\; P \mid P^-, \qquad B \;::=\; A \mid \exists R, \qquad C \;::=\; B \mid \neg B, \qquad E \;::=\; R \mid \neg R.

RR is a basic role, BB a basic concept, CC a general concept and EE a general role. In an interpretation II, (P−)I={(e,d):(d,e)∈PI}(P^-)^I = \{(e, d) : (d, e) \in P^I\}, (∃R)I={d:(d,e)∈RI for some e}(\exists R)^I = \{d : (d, e) \in R^I \text{ for some } e\}, and ¬\neg is complement. So ∃P\exists P is the domain of PP and ∃P−\exists P^- is its range. The main members differ in the TBox axioms that they allow.

  • DL-Litecore_{core}: concept inclusions B⊑CB \sqsubseteq C. An inclusion B1⊑B2B_1 \sqsubseteq B_2 is positive, and B1⊑¬B2B_1 \sqsubseteq \neg B_2 is negative; it says that B1B_1 and B2B_2 are disjoint.
  • DL-LiteR_R: DL-Litecore_{core} with role inclusions R⊑ER \sqsubseteq E.
  • DL-LiteF_F: DL-Litecore_{core} with functionality assertions (funct R)(\mathrm{funct}\ R), which say that RIR^I is a partial function.

An ABox is a finite set of assertions A(a)A(a) and P(a,b)P(a, b) over individual names; see TBoxes and ABoxes. The semantics is the usual one with the open world assumption. Calvanese and coauthors also adopt the unique name assumption, which matters for functionality.

The defining property is FO-rewritability. For every conjunctive query qq and every DL-LiteR_R or DL-LiteF_F TBox T\mathcal T there is a union of conjunctive queries qTq_{\mathcal T}, computed from qq and T\mathcal T alone, such that for every ABox A\mathcal A with (T,A)(\mathcal T, \mathcal A) consistent, the certain answers of qq over (T,A)(\mathcal T, \mathcal A) are the answers of qTq_{\mathcal T} over A\mathcal A read as a finite database. Consistency of (T,A)(\mathcal T, \mathcal A) is also checked by a first-order query over A\mathcal A. For DL-LiteR_R the rewriting is computed by PerfectRef. As a result, query answering is in AC0 in data complexity, and knowledge base consistency and subsumption are in polynomial time (Calvanese et al. 2007).

Artale, Calvanese, Kontchakov and Zakharyaschev (2009) organized many more members, for example with Boolean combinations of basic concepts, and gave the complexity of each.

Examples and non-examples

  • A university TBox in DL-LiteR_R: Professor⊑∃teaches\mathit{Professor} \sqsubseteq \exists \mathit{teaches} (every professor teaches something), ∃teaches−⊑Course\exists \mathit{teaches}^- \sqsubseteq \mathit{Course} (whatever is taught is a course), Professor⊑¬Course\mathit{Professor} \sqsubseteq \neg \mathit{Course} (no professor is a course), and lectures⊑teaches\mathit{lectures} \sqsubseteq \mathit{teaches}.
  • With the first two axioms and the ABox {Professor(ann), teaches(bob,c1)}\{\mathit{Professor}(\mathit{ann}),\ \mathit{teaches}(\mathit{bob}, c_1)\}, the query q(x)=∃y. teaches(x,y)∧Course(y)q(x) = \exists y.\, \mathit{teaches}(x, y) \wedge \mathit{Course}(y) has the certain answers ann\mathit{ann} and bob\mathit{bob}. Neither appears in the data as the subject of a teaches\mathit{teaches} fact with a Course\mathit{Course} object. The rewriting of qq contains the queries ∃y. teaches(x,y)\exists y.\, \mathit{teaches}(x, y), which finds bob\mathit{bob}, and Professor(x)\mathit{Professor}(x), which finds ann\mathit{ann}.
  • The ABox {Professor(ann), Course(ann)}\{\mathit{Professor}(\mathit{ann}),\ \mathit{Course}(\mathit{ann})\} is inconsistent with Professor⊑¬Course\mathit{Professor} \sqsubseteq \neg \mathit{Course}. The first-order check is the query ∃x. Professor(x)∧Course(x)\exists x.\, \mathit{Professor}(x) \wedge \mathit{Course}(x), extended by the positive inclusions.
  • (funct hasBirthMother)(\mathrm{funct}\ \mathit{hasBirthMother}) is a DL-LiteF_F assertion. With the unique name assumption, the ABox {hasBirthMother(a,b), hasBirthMother(a,c)}\{\mathit{hasBirthMother}(a, b),\ \mathit{hasBirthMother}(a, c)\} is inconsistent with it.
  • Non-example: Student⊓Employee⊑WorkingStudent\mathit{Student} \sqcap \mathit{Employee} \sqsubseteq \mathit{WorkingStudent} is not a DL-Lite axiom, because conjunction is not allowed on the left.
  • Non-example: ∃r.A⊑A\exists r.A \sqsubseteq A uses a qualified existential restriction on the left. It breaks FO-rewritability. Over this TBox, an individual is a certain answer of q(x)=A(x)q(x) = A(x) if and only if the ABox has an rr-path from it to an individual with an AA fact. A union of conjunctive queries, and even any first-order query, cannot express this kind of reachability in a directed graph.
  • Ontology-mediated query answering is the reasoning task that DL-Lite is built for, and PerfectRef is its rewriting algorithm.
  • EL is the other main tractable family. It allows qualified existential restrictions and conjunction everywhere, but query answering in it is not FO-rewritable in general.
  • SROIQ and OWL 2 DL contain DL-LiteR_R as a fragment, up to syntax.
  • Instance checking is the special case of query answering with an atomic query and one answer variable.

References

  1. Diego Calvanese, Giuseppe De Giacomo, Domenico Lembo, Maurizio Lenzerini and Riccardo Rosati, Tractable reasoning and efficient query answering in description logics, the DL-Lite family, Journal of Automated Reasoning 39(3), 2007, pages 385 to 429 (the syntax and semantics of DL-Lite_core, DL-Lite_F and DL-Lite_R, FO-rewritability of query answering and consistency, and the complexity results; general locator)
  2. Alessandro Artale, Diego Calvanese, Roman Kontchakov and Michael Zakharyaschev, The DL-Lite family and relations, Journal of Artificial Intelligence Research 36, 2009, the map of DL-Lite variants and the complexity of reasoning in each (general locator)
  3. W3C OWL Working Group, OWL 2 Web Ontology Language Profiles (Second Edition), W3C Recommendation, 2012, the section on the OWL 2 QL profile

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/ZAMQV9/text.yaml