|
ABSTRACT
We discuss the relationship between constraint programming and database query languages. We show that bottom-up, efficient, declarative database programming can be combined with efficient constraint solving. The key intuition is that the generalization of a ground fact, or tuple, is a conjunction of constraints. We describe the basic Constraint Query Language design principles, and illustrate them with four different classes of constraints: Polynomial, rational order, equality, and Boolean constraints.
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.
 |
AV88
|
|
| |
ASU79
|
A.V. Aho, Y. Sagiv, J.D. Ullman. Equivalences among Relational Expressions. SIAM J. of Computing, 8:2:218-246, 1979.
|
| |
AGSS86
|
A.K. Aylamazyan, M.M. Gilula, A.P. Stolboushkin, G.F. Schwartz. Reduction of the Relational Model with Infinite Domain to the Case of Finite Domains. Proc. USSR Acad. of Science (Doklady), 286(2):308- 311, 1986.
|
 |
B81
|
|
| |
BKR86
|
|
| |
BS87
|
|
| |
C87
|
A. Colmerauer. An Introduction to Prolog III. Draft, 1987.
|
| |
CH80
|
A.K. Chandra, D. Harel. Computable Queries for Relational Data Bases. JCSS, 21:156-178, 1980.
|
 |
CM76
|
|
 |
ChI89
|
|
 |
CO70
|
|
| |
D88
|
M. Dincbas, etal. The Constraint Logic Programming Language CHIP. Proc. Fifth Generation Computer Systems, Tokyo Japan, 1988.
|
| |
FG77
|
J. Ferrante, J.R. Geiser. An Efficient Decision Procedure for the Theory of Rational Order. Theoretical Computer Science, 4:227-233, 1977.
|
| |
GJ79
|
|
| |
HHLE89
|
|
| |
HS89
|
R. Hull, J. Su. Domain Independence and the RelationM Calculus. Technical Report 88-64, University of Southern California, submitted to IP L, 1989.
|
| |
I86
|
|
 |
JL87
|
|
| |
Ka90
|
P.C. Kanellakis. Elements of RelationM Database Theory. Handbook of Theoretical Computer Science, North-Holland, to appear.
|
| |
Ki88
|
M. Kifer. On Safety, Domain Independence, and Capturability of Database Queries. Proc. International Conference on Databases and Knowledge Bases, Jerusalem Israel, 1988.
|
 |
Kl88
|
|
 |
KP88
|
|
| |
K80
|
D. Kozen. Complexity of Boolean Algebras. Theo. Comp. Sci., 10, 221- 247, 1980.
|
| |
KY86
|
D. Kozen, C. Yap. Algebraic Cell Decomposition in N C. Proc. 26th IEEE FOCS, 515-521, 1985.
|
| |
Le87
|
|
| |
L84
|
|
| |
MN88
|
|
| |
PS85
|
|
| |
R83
|
H.L. Royden. Real Analysis. 2nd Ed., 1983.
|
| |
R88
|
R. Ramakrishnan. Magic Templates: A Spellbinding Approach to Logic Programs. Proc. 5th International Conference on Logic Programming, 141-159, 1988.
|
| |
S80
|
|
| |
T51
|
A. Tarski. A Decision Method /or Elementary Algebra and Geometry. University of California Press, Berkeley, California, 1951.
|
| |
U82
|
|
| |
UvG88
|
J.D. Ullman, A. Van Gelder. Parallel Complexity of Logical Query Programs. Algorithmica, 3:5-42, 1988.
|
 |
V82
|
|
CITED BY 65
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Alon Levy , Inderpal Singh Mumick , Yehoshua Sagiv , Oded Shmueli, Equivalence, query-reachability and satisfiability in Datalog extensions, Proceedings of the twelfth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.109-122, May 25-28, 1993, Washington, D.C., United States
|
|
|
|
|
|
Stéphane Grumbach , Maurizio Rafanelli , Leonardo Tininini, Querying aggregate data, Proceedings of the eighteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems, p.174-184, May 31-June 03, 1999, Philadelphia, Pennsylvania, United States
|
|
|
|
|
|
|
|
|
Lars Arge , Octavian Procopiuc , Sridhar Ramaswamy , Torsten Suel , Jeffrey Scott Vitter, Theory and practice of I/O-efficient algorithms for multidimensional batched searching problems, Proceedings of the ninth annual ACM-SIAM symposium on Discrete algorithms, p.685-694, January 25-27, 1998, San Francisco, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Paris C. Kanellakis , Sridhar Ramaswamy , Darren E. Vengroff , Jeffrey S. Vitter, Indexing for data models with constraints and classes (extended abstract), Proceedings of the twelfth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.233-243, May 25-28, 1993, Washington, D.C., United States
|
|
|
|
|
|
Stéphane Grumbach , Philippe Rigaux , Luc Segoufin, Spatio-temporal data handling with constraints, Proceedings of the 6th ACM international symposium on Advances in geographic information systems, p.106-111, November 02-07, 1998, Washington, D.C., United States
|
|
|
Kannan Govindarajan , Bharat Jayaraman , Surya Mantha, Optimization and relaxation in constraint logic languages, Proceedings of the 23rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.91-103, January 21-24, 1996, St. Petersburg Beach, Florida, United States
|
|
|
|
|
|
|
|
|
Colin Bell , Anil Nerode , Raymond T. Ng , V. S. Subrahmanian, Implementing deductive databases by linear programming, Proceedings of the eleventh ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.283-292, June 02-05, 1992, San Diego, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Iqbal A. Goralwalla , Yuri Leontiev , M. Tamer Özsu , Duane Szafron, Modeling temporal primitives: back to basics, Proceedings of the sixth international conference on Information and knowledge management, p.24-31, November 10-14, 1997, Las Vegas, Nevada, United States
|
|
|
|
|
|
|
|
|
|
|
|
C. H. Papadimitriou , D. Suciu , V. Vianu, Topological queries in spatial databases, Proceedings of the fifteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.81-92, June 04-06, 1996, Montreal, Quebec, Canada
|
|
|
Marianne Baudinet , Marc Niézette , Pierre Wolper, On the representation of infinite temporal data and queries (extended abstract), Proceedings of the tenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.280-290, May 29-31, 1991, Denver, Colorado, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dina Goldin , Ayferi Kutlu , Mingjun Song, Extending the constraint database framework, Proceedings of the Paris C. Kanellakis memorial workshop on Principles of computing & knowledge: Paris C. Kanellakis memorial workshop on the occasion of his 50th birthday, p.42-54, June 08-08, 2003, San Diego, California, USA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|