skip to main content
10.1145/1185448.1185537acmotherconferencesArticle/Chapter ViewAbstractPublication Pagesacm-seConference Proceedingsconference-collections
Article

Specifying and solving Boolean constraint problems in relational databases: a case study

Published:10 March 2006Publication History

ABSTRACT

A two-part approach for extending relational database systems to solve boolean constraint problems is presented. The first is a SQL-extension frontend for specifying boolean constraint problems, and the second is a coupling of constraint solvers with the database engine in the backend. The language extension is high-level and domain-specific, thereby allowing users to focus on writing specifications at the abstraction level of the problem domain. Both a stand-alone solver and a stored-procedure solver are integrated in the backend, and a simple approach for finding "acceptable answers" to overly-constrained problems is discussed. A prototype system is described along with an application to scheduling tennis matches.

References

  1. B. Aditya, G. Bhalotia, S. Chakrabarti, A. Hulgeri, C. Nakhe, and S. S. Parag. Banks: Browsing and keyword searching in relational databases. In Proceedings of VLDB, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. N. Eén and N. Sörensson. An extensible sat-solver. In SAT, pages 502--518, 2003.Google ScholarGoogle Scholar
  3. T. Eiter, J. J. Lu, T. Lukasiewicz, and V. S. Subrahmanian. Probabilistic object bases. ACM Trans. Database Syst., 26(3):264--312, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. M. Ganai, L. Zhang, P. Ashar, A. Gupta, and S. Malik. Combining strengths of circuit-based and cnf-based algorithms for a high-performance sat solver. In Proceedings of ACM/IEEE Design Automation Conference, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. J. Gray. The next database revolution. In SIGMOD Conference, pages 1--4, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. J. Han and M. Kamber. Data mining: concepts and techniques. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. D. Jackson. Alloy: a lightweight object modelling notation. ACM Trans. Softw. Eng. Methodol., 11(2):256--290, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. H. A. Kautz and B. Selman. Planning as satisfiability. In Proceedings of the Tenth European Conference on Artificial Intelligence (ECAl'92), pages 359--363, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. R. Ramakrishnan and J. D. Ullman. A survey of research on deductive database systems. Journal of Logic Programming, 23(2):125--149, 1993.Google ScholarGoogle ScholarCross RefCross Ref
  10. R. Reiter. On closed world data bases. In Logic and Data Bases, pages 55--76, 1977.Google ScholarGoogle Scholar
  11. B. Selman, H. J. Levesque, and D. Mitchell. A new method for solving hard satisfiability problems. In Proceedings of AAAI, 1992.Google ScholarGoogle Scholar
  12. A. U. Tansel, J. Clifford, S. K. Gadia, A. Segev, and R. T. Snodgrass. Temporal Databases: Theory, Design, and Implementation. Benjamin/Cummings, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. A. van Deursen, P. Klint, and J. Visser. Domain-specific languages: An annotated bibliography. ACM SIGPLAN Notices, 35(6):26--36, June 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. H. Zhang. Generating college conference basketball schedules by a sat solver. In Proceedings of International Symposium on Satisfiability, 2002.Google ScholarGoogle Scholar
  15. H. Zhang and M. Stickel. Implementing the davis-putnam procedure. Journal of Automated Reasoning, 24:277--296, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Specifying and solving Boolean constraint problems in relational databases: a case study

        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 Other conferences
          ACM-SE 44: Proceedings of the 44th annual Southeast regional conference
          March 2006
          823 pages
          ISBN:1595933158
          DOI:10.1145/1185448

          Copyright © 2006 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: 10 March 2006

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • Article

          Acceptance Rates

          Overall Acceptance Rate134of240submissions,56%
        • Article Metrics

          • Downloads (Last 12 months)1
          • Downloads (Last 6 weeks)1

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader