Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/73721.73752acmconferencesArticle/Chapter ViewAbstractPublication PagespodsConference Proceedingsconference-collections
Article
Free access

On the first-order expressibility of recursive queries

Published: 29 March 1989 Publication History

Abstract

A Datalog program is bounded iff it is equivalent to a recursion-free Datalog program. We show that, for some classes of Datalog programs, expressibility in first-order query languages coincides with boundedness. Our results imply that testing first-order expressibility is undecidable for binary programs, decidable for monadic programs, and complete for Σ02.

References

[1]
Aho, V.H., Ullman, J.D" Universality of data retrieval languages. Proc. 6th A CM Syrup. on Principles of Programming Languages, 1979, pp. 110-117.
[2]
Bancilhon, F., Ramakrishnan, R.: An amateur's introduction to recursive query processing strategies. Proc. ACId Conf. on Managemen~ of Data, Washington, 1986, pp. 16-52.
[3]
Beeri, C., Kanellakis, P.C., Bancilhon, F., Ramakrishnan, R.: Bounds on the propagation of selection into logic programs. Proc. 6th A CM Syrup. on Principles of Database Systems, San Diego, 1987~ pp. 214-226.
[4]
Blass, A., Harary, F." Properties of almost all graphs and complexes, jr. Graph Theory 3(1979), pp. 225-240.
[5]
Chandra, A.K" Programming primitives for database languages. Proc. 8th A CM Syrup. on Principles of Programming Languages, Williamsburg, 1981, pp. 50-62.
[6]
Chandra, A.K., Hard, D." Computable queries for relational databases. J. Computer and Sysiems Sciences 21(1980), pp. 156-178.
[7]
Chandra, A.K., Harel, D." Structure and Complexity of Relational Queries. J. Computer and Systems Sciences 25(1982), pp. 99-128.
[8]
Chandra, A.K., liarel, D." Hornclause queries and generalizations. J. Logic Programming 1(1985), pp. 1-15.
[9]
Chandra, A.K., Merlin, P.M" Optimal implementation of conjunctive queries in relational databases. Proc. 9th A CM Syrup. on Theory of Computing, Boulder, 1977, pp. 77-90.
[10]
Chang, C.C., Keisler, H.J." Model Theory. North-Holland, 1973.
[11]
Cosmadakis, S.S., Gaifman, H., Kanellakis, P.C., Vardi, M.Y" Decidable optimization problems for database logic programs. Proe. ~Oth A CM Syrup. on Theory of Computing, Chicago, 1988, pp. 477-490.
[12]
Cosmadakis, S.S., Kanellakis, P.C.: Parallel evaluation of recursive rule queries. Proc. 5th A CM Syrup. on Principles of Database Systems, Cambridge, 1986, pp. 280-293.
[13]
Fagin, R." Monadic generalized spectra, geitschr, f. math. Logik nnd Grunlagen d. Math. 21(1975), pp. 89-96.
[14]
Fraiss~, R. Sur les classifications des systemes de relations. Publications So. Universitd Alger 1, No.I(1954).
[15]
Gaifman, H." On local and nonlocal properties. Proc. Logic Colloquium (J. Sterne, ed.), North-Holland, 1981, pp. 105-132.
[16]
Gaifman, H., Mairson, H., Sagiv, Y., Vardi M.Y." Undecidable optimization problems for database logic programs. Proc. ~nd IEEE Syrup. on Logic in Computer Science, Ithaca, 1987, pp. 106-115.
[17]
Gaifman, H., Va.rdi, M.Y.: A simple proof that connectivity of graphs is not first-order definable. Bull. EATCS 26(1985), pp. 43-45.
[18]
Gallaire, H., Minker, J" Logic and Databases. Plenum Press, 1978.
[19]
Henschen, L.J., Na.qvi, S.A" On compiling queries in recursive firstorder databases. J. ACM 31(1984), pp. 47-85.
[20]
immerman, N." Number of quantifiers is better than number of tape cells. J. Computer and System Sciences 22(1981), pp. 384-406.
[21]
Immerman, N." Relational queries computable in polynomial time. Information and Control 68(1986), pp. 86-104.
[22]
ioannidis, Y.E." A time bound on the materializa.tion of some recursively defined views. Proc. 1lib Int 'l Conf. on VerTI Large Data Bases, Stockhohn, 1985, pp. 219-226.
[23]
Ka,nellakis, P.C." Logic programruing and parallel complexity, in Foundations of Deductive Databases and Logic Programming, J. Minker ed., (to appear).
[24]
Kola,itis, P.- Personal communication, 1987.
[25]
Mater, D., Ullman, J.D., Vardi, M.Y." On the foundations of the universal relation model. A GM Trans. on Database Systems 9(1984), pp. 283-308.
[26]
Mater, D., Warren, D.S." Computing with Logic: Logic Programming with Prolo#, Benjamin Cummings, 1988.
[27]
Moschovakis, Y.N.- Elementary Induction on Abstract Structures. North-Holland, 1974.
[28]
Naughton, J.F.: Data independent recursion in deductive databases. Proc. 5th A CM Syrup. on Principles of Database Systems, Cambridge, 1986, pp. 267-279. Full version - Stanford University Technical Report STAN-CS-86-1102, to appear in J. Computer and System Sciences.
[29]
Naughton, J.F., Sngiv, Y." A decidable class of bounded recursions. Proc. 6th A CM STlmp. on Principles of Database S~tslems, San Diego, 1987, pp. 227-236.
[30]
Sa.giv, Y.: On computing restricted projections of representative instances. Proc. ~th AUM S~mp. on Principles of Database S~lslems, Portland, 1985, pp. 171-180.
[31]
Ullman, J.D' Implementation of logical query languages for databases. A CM Trans. on Database S~stems I0(1985), pp. 289-321.
[32]
Vardi, M.Y." The complexity of relational query languages. Proc. ldth A CM S~tmp. on Theory of Computing, San Francisco, 1982, pp. 137- 146.
[33]
Vardi, M.Y.: Decidability and Undecidablity Results for Boundedness of Linear Reeursive Queries. Proc. 7th A CM Syrup. on Principles of Database Systems, Austin, Ma.rch 1988, pp. 341-351.

Cited By

View all
  • (2011)Loop-separable programs and their first-order definabilityArtificial Intelligence10.1016/j.artint.2010.12.001175:3-4(890-913)Online publication date: 1-Mar-2011
  • (2010)On the progression semantics and boundedness of answer set programsProceedings of the Twelfth International Conference on Principles of Knowledge Representation and Reasoning10.5555/3031748.3031814(518-526)Online publication date: 9-May-2010
  • (2010)Undecidability and intractability results concerning datalog programs and their persistency numbersACM Transactions on Computational Logic10.1145/1656242.165624711:2(1-29)Online publication date: 22-Jan-2010
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
PODS '89: Proceedings of the eighth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems
March 1989
401 pages
ISBN:0897913086
DOI:10.1145/73721
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 29 March 1989

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

PODS '89
PODS '89: Principles of database systems
Pennsylvania, Philadelphia, USA

Acceptance Rates

Overall Acceptance Rate 642 of 2,707 submissions, 24%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)58
  • Downloads (Last 6 weeks)13
Reflects downloads up to 30 Aug 2024

Other Metrics

Citations

Cited By

View all
  • (2011)Loop-separable programs and their first-order definabilityArtificial Intelligence10.1016/j.artint.2010.12.001175:3-4(890-913)Online publication date: 1-Mar-2011
  • (2010)On the progression semantics and boundedness of answer set programsProceedings of the Twelfth International Conference on Principles of Knowledge Representation and Reasoning10.5555/3031748.3031814(518-526)Online publication date: 9-May-2010
  • (2010)Undecidability and intractability results concerning datalog programs and their persistency numbersACM Transactions on Computational Logic10.1145/1656242.165624711:2(1-29)Online publication date: 22-Jan-2010
  • (2006)A semantic approach to optimize linear datalog programsActa Informatica10.1007/s00236-006-0025-943:5(341-370)Online publication date: 2-Nov-2006
  • (2001)Complexity and expressive power of logic programmingACM Computing Surveys10.1145/502807.50281033:3(374-425)Online publication date: 1-Sep-2001
  • (1994)On the complexity of equivalence between recursive and nonrecursive Datalog programsProceedings of the thirteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems10.1145/182591.182604(107-116)Online publication date: 24-May-1994
  • (1990)Elements of Relational Database TheoryFormal Models and Semantics10.1016/B978-0-444-88074-1.50022-6(1073-1156)Online publication date: 1990
  • (1989)Datalog vs. first-order logicProceedings of the 30th Annual Symposium on Foundations of Computer Science10.1109/SFCS.1989.63469(142-147)Online publication date: 30-Oct-1989

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media