Solving SQL Constraints by Incremental Translation to SAT

  • Authors:
  • Robin Lohfert;James J. Lu;Dongfang Zhao

  • Affiliations:
  • Mathematics and Computer Science, Emory University, Atlanta, U.S.A. GA 30322-1950;Mathematics and Computer Science, Emory University, Atlanta, U.S.A. GA 30322-1950;Mathematics and Computer Science, Emory University, Atlanta, U.S.A. GA 30322-1950

  • Venue:
  • IEA/AIE '08 Proceedings of the 21st international conference on Industrial, Engineering and Other Applications of Applied Intelligent Systems: New Frontiers in Applied Artificial Intelligence
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

The need to model and solve constraints over large sets of relational data occurs frequently in practice. Naively and inefficiently, solutions to the problem may be implemented in ad-hoc and difficult to maintain procedural code that accesses the data through embedded SQL programming. More elegant solutions involve the use of declarative programming languages that integrates constraint modeling with database access in transparent ways. One of the more interesting constraint languages for relational databases is the language , proposed by Cadoli and Mancini, in which SQL and its relational algebraic foundation form the basis for expressing constraints. The current paper explores the feasibility of solving finite-domain constraints via a SAT solver backend.