TY - GEN
T1 - Euclid, Tarski, and Engler encompassed
AU - Paredaens, J.
AU - Kuijpers, B.
AU - Kuper, G.M.
AU - Vandeurzen, L.
PY - 1998
Y1 - 1998
N2 - The research presented in this paper is situated in the framework of constraint databases that was introduced by Kanellakis, Kuper, and Revesz in their seminal paper of 1990. In this area, databases and query languages are defined using read polynomial constraints. As a consequence of a classical result by Tarski, first-order queries in the constraint database model are effectively computable, and their result is within the constraint model.
In practical applications, for reasons of efficiency, this model is implemented with only linear polynomial constraints. Here, we also have a closure property: linear queries evaluated on linear databases yield linear databases. The limitation to linear polynomial constraints has severe implications on the expressive power of the query language, however. Indeed, the constraint database model has its most important applications in the field of spatial databases and, with only linear polynomials, the data modeling capabilities are limited and queries important for spatial applications that involve Euclidean distance are no longer expressible. The aim of this paper is to identify a class of two-dimensional constraint databases and a query language within the constraint model that go beyond the linear model. Furthermore, this language should allow the expression of queries concerning distance. Hereto, we seek inspiration in the Euclidean constructions, i.e., constructions by ruler and compass. In the course of reaching our goal, we have studied three languages for ruler-and-compass constructions.
Firstly, we present a programming language. We show that this programming language captures exactly the ruler and compass constructions that are also expressible in the first-order constraint language with arbitrary polynomial constraints. If our programming language is extended with a while operator, we obtain a language that is complete for all ruler-and-compass constructions in the plane, using techniques of Engeler.
AB - The research presented in this paper is situated in the framework of constraint databases that was introduced by Kanellakis, Kuper, and Revesz in their seminal paper of 1990. In this area, databases and query languages are defined using read polynomial constraints. As a consequence of a classical result by Tarski, first-order queries in the constraint database model are effectively computable, and their result is within the constraint model.
In practical applications, for reasons of efficiency, this model is implemented with only linear polynomial constraints. Here, we also have a closure property: linear queries evaluated on linear databases yield linear databases. The limitation to linear polynomial constraints has severe implications on the expressive power of the query language, however. Indeed, the constraint database model has its most important applications in the field of spatial databases and, with only linear polynomials, the data modeling capabilities are limited and queries important for spatial applications that involve Euclidean distance are no longer expressible. The aim of this paper is to identify a class of two-dimensional constraint databases and a query language within the constraint model that go beyond the linear model. Furthermore, this language should allow the expression of queries concerning distance. Hereto, we seek inspiration in the Euclidean constructions, i.e., constructions by ruler and compass. In the course of reaching our goal, we have studied three languages for ruler-and-compass constructions.
Firstly, we present a programming language. We show that this programming language captures exactly the ruler and compass constructions that are also expressible in the first-order constraint language with arbitrary polynomial constraints. If our programming language is extended with a while operator, we obtain a language that is complete for all ruler-and-compass constructions in the plane, using techniques of Engeler.
U2 - 10.1007/3-540-64823-2_1
DO - 10.1007/3-540-64823-2_1
M3 - Conference contribution
SN - 3-540-64823-2
T3 - Lecture Notes in Computer Science
SP - 1
EP - 24
BT - Database Programming Languages (Proceedings 6th International Workshop, DBPL-6, Estes Park CO, USA, August 18-20, 1997)
A2 - Cluet, S.
A2 - Hull, R.
PB - Springer
CY - Berlin
ER -