Finite Representation of Infinite Query Answers

52Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

Abstract

We define here a formal notion of finite representation of infinite query answers in logic programs. We apply this notion to DatalognS programs may be infinite and consequently queries may have infinite answers. We present a method to finitely represent infinite least Herbrand models of DatalognS program 1993 can be forgotten. Given a query to be evaluated, it is easy to obtain from the relational specification finitely many answer substitutions that represent infinitely many answer substitutions to the query. The method involved is a combination of a simple, unificationless, computational mechanism (graph traversal, congruence closure, or term rewriting) and standard relational query evaluation methods. Second, a relational specification is effectively computable and its computation is no harder, in the sense of the complexity class, than answering yes-no queries. Our method is applicable to every range-restricted DatalognS program. We also show that for some very simple non-DatalognS logic programs, finite representations of query answers do not exist. © 1993, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Chomicki, J., & Imieliński, T. (1993). Finite Representation of Infinite Query Answers. ACM Transactions on Database Systems (TODS), 18(2), 181–223. https://doi.org/10.1145/151634.151635

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free