skip to main content
10.1145/28659.28662acmconferencesArticle/Chapter ViewAbstractPublication PagespodsConference Proceedingsconference-collections
Article
Free Access

Sets and negation in a logic data base language (LDL1)

Published:01 June 1987Publication History

ABSTRACT

In this paper we extend LDL, a Logic Based Database Language, to include finite sets and negation. The new language is called LDL1. We define the notion of a model and show that a negation-free program need not have a model, and that it may have more than one minimal model. We impose syntactic restriction in order to define a deterministic language. These restrictions allow only layered (stratified) programs. We prove that for any program satisfying the syntactic restrictions of layering, there is a minimal model, and that this model can be constructed in a bottom-up fashion. Extensions to the basic grouping mechanism are proposed. We show that these extensions can be translated into equivalent LDL1 programs. Finally, we show how the technique of magic sets can be extended to translate LDL1 programs into equivalent programs which can often be executed more efficiently

References

  1. ABW86.K Apt, H Blair, A Walker Towards a Theory of Declara~ve Knowledge, unpubhshed manuscript, 1986Google ScholarGoogle Scholar
  2. AE82.K Apt, M Van Emden Oontnbutlons to the Theory of Logic Programming', J of the AC~ 29, No 3, 1982 Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. BMSU86.F Baacllhon, D Mater, Y Saglv, J Ullman Magic Sets and Other Strange Ways to Implement Logm Programs, Pmc of the 5th ACM Conf on P(X)S, Cambridge, 1986 Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. BR87.C Been, R Ramaknshnan On the Power of Magac, to appear m AOM PODS 1987Google ScholarGoogle Scholar
  5. CH85.A Ohandra, D Harel Horn Clause Quenes and Generahzat~ons, Journal of L~~c ~ng, 1-15, 1985Google ScholarGoogle Scholar
  6. CLAR78.K Clark Negatmn as Fadure, m Logm and Databu~, (J Gallatre, J Mmker, eds), Plenum Press, 1978Google ScholarGoogle Scholar
  7. FITT85.M Flmng A Knpke-Kleene Semantics for Logic Programs, Jouraal at L~c Pmgranmm~ 4, 295-312, 1985Google ScholarGoogle Scholar
  8. GELD86.A Van Gelder Negation as Failure Using Tight Denvataons for General Logic Programs, unpubhshed manuscnptGoogle ScholarGoogle Scholar
  9. KE76.R Kowalskl, M Van Emden The Semantics of Predicate Logm m a Programming Language, J of the ACIM: 23, No 4, Oct 1976 Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. KUPE86.G M Kuper Logm Programming With Sets, XP/7 52 Workshop on Database Theory, Umver- 8lt~ of Texas, Ausian, 1986Google ScholarGoogle Scholar
  11. LLOY84.J Lloyd Founda~ons of Logic Programming, Spnnger-Verlag, 1984 Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. NAQV86.S Naqvl A Logic for Negation m Database System", MC~ Techmcal Report Also m Pmc of the Workshop on Logic and Databases, Washington, D C, 1986Google ScholarGoogle Scholar
  13. TARS55.A Tarsh A La~t~ce-Theoretmal Flxpomt Theorem and l~s Apphcataons', Padfi~ J Math 5, 1955Google ScholarGoogle Scholar
  14. TZ85.S Tsur, and C Zanmlo "LDL Rev 0", MOC Techmcal Report, DB-150-85, 1986Google ScholarGoogle Scholar
  15. TZ86.S Tsur, aad C Zanmlo "LDL A Logae-lhsed Da~a, Language", Proc 12th Int Conf on very Laxge D~abases, Kyoto, Japaa, 1986 Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. ZANI85.C Zanmlo The Repreaentalaon and Deductave Retrieval of Complex Objects", Proc 11th Int Conf Very Large Databases, Stockholm, 1985Google ScholarGoogle Scholar
  17. KE76.R Kowalsh, M Van Emden The Semantics of Predma~e Lo~pc as a Programming Language, J of the ACM 23, No 4, Oct 1976 Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. KUPE86.G M Kuper Logic Programming With Sets, XP/ff 52 Workshop on Database Theory, Umverslty of Texas, Austin, 1986Google ScholarGoogle Scholar
  19. LLOY84.J Lloyd Foundations of Logm Programming, Sprmger-Veflag 1984 Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. NAQV86.S Naqvl A I,oglc for Negation in Database System", MCC'Fechnl(al RcpoIt Also m Proc of the Workshop on Logw and Databases, Washington, D C, 1986Google ScholarGoogle Scholar
  21. SN86.O Shmueh, S Naqvl Set Grouping and Layering m IIorn Clause Programs, unpubhshed manuscriptGoogle ScholarGoogle Scholar
  22. TARS55.A T, wskl A Lattice-Theoretical Ftxpomt Theorem and its Apphc,ttlons", Pacafie J Math 5, 1955Google ScholarGoogle Scholar
  23. TZ85.S Tsur, and C Zanlolo "LDL Rev 0", MCC Technical Report, DB-150-85, 1986Google ScholarGoogle Scholar
  24. TZ86.S Tsur, and C Zalllolo "LDL A Logic-Based Dat~Language', Proc 12th Int Conf on very Large Databases, Kyoto, Japan, 1986 Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. ZANI85.C Zaniolo The Representation and Deductave Retrieval of Complex ObJects", Proc llth Int Conf Very Large Databases, Stockholm, 1985Google ScholarGoogle Scholar
  26. ULLM86.J D Ullman Implementation of Log3cal Query Languages for Databases, TODS, Vol 10, Nix 3, pix 289-321, 1985 Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Sets and negation in a logic data base language (LDL1)

                    Recommendations

                    Comments

                    Login options

                    Check if you have access through your login credentials or your institution to get full access on this article.

                    Sign in
                    • Published in

                      cover image ACM Conferences
                      PODS '87: Proceedings of the sixth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems
                      June 1987
                      363 pages
                      ISBN:0897912233
                      DOI:10.1145/28659

                      Copyright © 1987 ACM

                      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]

                      Publisher

                      Association for Computing Machinery

                      New York, NY, United States

                      Publication History

                      • Published: 1 June 1987

                      Permissions

                      Request permissions about this article.

                      Request Permissions

                      Check for updates

                      Qualifiers

                      • Article

                      Acceptance Rates

                      Overall Acceptance Rate642of2,707submissions,24%

                    PDF Format

                    View or Download as a PDF file.

                    PDF

                    eReader

                    View online with eReader.

                    eReader