ACM Home Page
Please provide us with feedback. Feedback
Finite representation of infinite query answers
Full text PdfPdf (2.81 MB)
Source ACM Transactions on Database Systems (TODS) archive
Volume 18 ,  Issue 2  (June 1993) table of contents
Pages: 181 - 223  
Year of Publication: 1993
ISSN:0362-5915
Authors
Jan Chomicki  Kansas State Univ., Lawrence
Tomasz Imieliński  Rutgers Univ., New Brunswick, NJ
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 35,   Citation Count: 10
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/151634.151635
What is a DOI?

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 (and its underlying computational engine) 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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
3
 
4
BAUDINET, M. On the expressiveness of temporal logic programming. Submitted, Sept. 1991.
 
5
BEZEM, M. Characterizing termination of logic programs with level mappings. In North American Conference on Logic Programming (1989).
 
6
B~Am, H.A. Decidabihty in the Herbrand base. In Workshop on Foundations of Deductive Databases and Logic Programming (Washington, D.C., 1986). Manuscript.
7
8
 
9
CHOLVY~ L, AND DEMOLOMBE, R. Querying a rule base. In Expert Database Systems. L. Kerschberg, Ed. Benjamin Cummings, 1987, 477-485.
 
10
CttANDRA, A. K., AND HAREL, D. Computable queries for relational databases. J. Comput. Syst. Sct. 21 (1980), 156-178.
 
11
CHANDRA, A. K., AND HAREL, D. Horn clause queries and generalizations. J. Logic Programm. 2, i (Apr. 1985). i 16.
 
12
 
13
CHOMICKI, J. A decidable class of logic programs with function symbols. Tech. Rep. TR-CS- 90-11, Dept. of Computing and Information Sciences, Kansas State Univ., Sept. 1990, 44 pp.
 
14
15
16
17
 
18
CORELLA, F. Semantic retrieval and levels of abstraction. In Expert Database Syst., L. Kerschberg, Ed. Benjamin Cummings, 1987, 477 485.
19
 
20
ENDERTON, H.B. A Mathematzcal Introduction to Logic. Academic Press, New York, 1972.
 
21
FR{IHWlRTH, T., SHAPIRO, E., VARDI, M. Y., AND YARDENI, E. Logic programs as types for logic programs. In IEEE Symposium on Logic in Computer Science (1991).
 
22
Ff~RER, M. Alternation and the Ackermann case of the decision problem. L'Enseignement Mathemattque, 1981.
 
23
GREEN, C. Application of theorem proving to problem solving. In Internattonal Joint Conference on Artificial Intelltgence (1969).
 
24
GI~CSEG, F., AND STEINB~, M. Tree Automata. Akad6miai Kiad6, Budapest, 1984.
 
25
HEINTZE, N., AND JAFFAR, J. A decismn procedure for a class of set constraints. In IEEE Sympostum on Logic m Computer Science (1990).
26
 
27
IMIELII(ISKI, T. Domain abstractmn and limited reasoning. In Internattonal Joint Conference on Artificial Intelligence (1987).
 
28
29
30
31
32
33
 
34
 
35
 
36
MONK, J.D. Mathematical Logic. Springer-Verlag, New York, 1976.
37
 
38
 
39
PLAISTED, D.A. Complete problems in the first-order predicate calculus. J. Comput. Syst. Sct. 29 (1984), 8-35.
40
 
41
 
42
 
43
SHUM, C.-D., AND MUNTZ, R. Implicit representation for extensional answers. In International Conference on Expert Database Systems, L. Kerschberg, Ed. (Tysons Corner, Va., April 1988), 257-273.
 
44
TARNLUND, S.A. Horn clause computability. BIT 17, 2 (1977), 215-226.
 
45
 
46
 
47
48
49
 
50
WAND, M. Final algebra semantics and data type extensions. J. Comput. Syst. Sct. 19 (1979), 27-44.

CITED BY  10

Collaborative Colleagues:
Jan Chomicki: colleagues
Tomasz Imieliński: colleagues