A fundamental use of knowledge bases (KBs) is query answering, i.e., retrieving the information entailed by the KB in response to a user query. When both the KB and the query are specified as logical formulae, the standard form of answer provided to users is certain answers (CAs): tuples of constants that satisfy the query in every model of the KB. Despite their wide adoption, CAs are known to be just a lossy representation of the information that a KB and a query provide. However, while several alternative forms of answers have been proposed, no general consensus has emerged on the most suitable approach to answer queries over ontological KBs. In this paper, we introduce Regularly Recurrent Answers (RRAs), a novel form of answer for queries over ontological KBs. RRAs support the representation of infinite sets of tuples via a generation mechanism based on regular expressions. Such a simple mechanism allows RRAs to represent a fundamental fragment of the certain information entailed by Unions of Conjunctive Queries over DL-Lite KBs. The contribution of this paper includes the formal definition of RRAs, a formal characterization of their informativeness, and a study of their computational characteristics.
Expressive Recursive Answers for Ontological Knowledge Bases / Andolfi, Luca; Cima, Gianluca; Console, Marco; Lenzerini, Maurizio. - 40:23(2026), pp. 18928-18935. ( Fortieth AAAI Conference on Artificial Intelligence, AAAI 2026 Singapore ) [10.1609/aaai.v40i23.38963].
Expressive Recursive Answers for Ontological Knowledge Bases
Gianluca Cima
;Marco Console
;Maurizio Lenzerini
2026
Abstract
A fundamental use of knowledge bases (KBs) is query answering, i.e., retrieving the information entailed by the KB in response to a user query. When both the KB and the query are specified as logical formulae, the standard form of answer provided to users is certain answers (CAs): tuples of constants that satisfy the query in every model of the KB. Despite their wide adoption, CAs are known to be just a lossy representation of the information that a KB and a query provide. However, while several alternative forms of answers have been proposed, no general consensus has emerged on the most suitable approach to answer queries over ontological KBs. In this paper, we introduce Regularly Recurrent Answers (RRAs), a novel form of answer for queries over ontological KBs. RRAs support the representation of infinite sets of tuples via a generation mechanism based on regular expressions. Such a simple mechanism allows RRAs to represent a fundamental fragment of the certain information entailed by Unions of Conjunctive Queries over DL-Lite KBs. The contribution of this paper includes the formal definition of RRAs, a formal characterization of their informativeness, and a study of their computational characteristics.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


