Certain answer

From HandWiki

In database theory and knowledge representation, the one of the certain answers is the set of answers to a given query consisting of the intersection of all the complete databases that are consistent with a given knowledge base.[1] The notion of certain answer, investigated in database theory since the 1970s,[1] is indeed defined in the context of open world assumption, where the given knowledge base is assumed to be incomplete. Intuitively, certain answers are the answers that are always returned when querying a given knowledge base, considering both the extensional knowledge that the possible implications inferred by automatic reasoning, regardless of the specific interpretation.

Definition

In literature, the set of certain answers is usually defined as follows:[1]

[math]\displaystyle{ cert_\cap(Q,D) = \bigcap \left\{ Q(D')| D' \!\in [\![ D ]\!] \right\} }[/math]

where:

  • [math]\displaystyle{ Q }[/math] is a query
  • [math]\displaystyle{ D }[/math] is an incomplete database
  • [math]\displaystyle{ D' }[/math] is any complete database consistent with [math]\displaystyle{ D }[/math]
  • [math]\displaystyle{ [\![ D ]\!] }[/math] is the semantics of [math]\displaystyle{ D }[/math]

In description logics, such set may be defined in a similar way as follows:[2]

Given an ontology [math]\displaystyle{ \mathcal{K}=\langle\mathcal{T},\mathcal{A}\rangle }[/math] and a query [math]\displaystyle{ q(\vec x) }[/math] on [math]\displaystyle{ \mathcal{K} }[/math], [math]\displaystyle{ cert(q,\mathcal{K}) }[/math] is the set of tuples [math]\displaystyle{ \vec a \subseteq \Gamma }[/math] such that, for each model [math]\displaystyle{ \mathcal{I} }[/math] of [math]\displaystyle{ \mathcal{K} }[/math], we have that [math]\displaystyle{ \mathcal{I}\models q[\vec a] }[/math].

Where:

  • [math]\displaystyle{ \mathcal{T} }[/math] and [math]\displaystyle{ \mathcal{A} }[/math] are respectively a Tbox and an Abox;
  • [math]\displaystyle{ \Gamma }[/math] is the alphabet of constants (individuals or values) of the ontology;
  • [math]\displaystyle{ q[\vec a] }[/math] is obtained by replacing all the free variables in [math]\displaystyle{ q(\vec x) }[/math] with constants of [math]\displaystyle{ \vec a }[/math].

See also

References

  1. 1.0 1.1 1.2 (Libkin 2015).
  2. (Kontchakov Lutz).

Further reading