TY - GEN
T1 - Data construction with recursive set expressions
AU - Eder, J.
AU - Rudloif, A.
AU - Matthes, F.
AU - Schmidt, J. W.
N1 - Publisher Copyright:
© Springer-Verlag Berlin Heidelberg 1991.
PY - 1991
Y1 - 1991
N2 - In this paper we present a conceptually rather conservative approach to data deduction. Instead of introducing new language constructs we stay within the conventional relational framework while exploiting it further by making better use of current language technology. Applying naming, typing and binding to queries and relations leads to a language that gains expressiveness from its orthogonality rather than from extensiveness. As a framework for our presentation we use DBPL, a strongly typed database programming language based on the relational calculus and on Modula-2. In DBPL, data construction is expressed declaratively through set-oriented expressions which can be abstracted by parameterization and by naming, thus allowing powerful recursive constructor definitions. In the paper, a model-theoretic constructor semantics is defined in two steps: parameter substitution in constructor definitions leads to constructor instances which are then evaluated in a second step. The first step can be regarded as logic program generation, the second step as program evaluation. We show that for the general case no procedure exists that evaluates an arbitrary set of parameterized constructors and is guaranteed to terminate. However, we are able to classify constructors and give an evaluation algorithm which terminates for interesting subclasses. Finally, we solve an example from the literature showing that NP-complete problems can be solved by constructors from a subclass which is decidable. This implies that decidable DBPL constructors are strictly more expressive than stratified Datalog.
AB - In this paper we present a conceptually rather conservative approach to data deduction. Instead of introducing new language constructs we stay within the conventional relational framework while exploiting it further by making better use of current language technology. Applying naming, typing and binding to queries and relations leads to a language that gains expressiveness from its orthogonality rather than from extensiveness. As a framework for our presentation we use DBPL, a strongly typed database programming language based on the relational calculus and on Modula-2. In DBPL, data construction is expressed declaratively through set-oriented expressions which can be abstracted by parameterization and by naming, thus allowing powerful recursive constructor definitions. In the paper, a model-theoretic constructor semantics is defined in two steps: parameter substitution in constructor definitions leads to constructor instances which are then evaluated in a second step. The first step can be regarded as logic program generation, the second step as program evaluation. We show that for the general case no procedure exists that evaluates an arbitrary set of parameterized constructors and is guaranteed to terminate. However, we are able to classify constructors and give an evaluation algorithm which terminates for interesting subclasses. Finally, we solve an example from the literature showing that NP-complete problems can be solved by constructors from a subclass which is decidable. This implies that decidable DBPL constructors are strictly more expressive than stratified Datalog.
UR - http://www.scopus.com/inward/record.url?scp=85031996754&partnerID=8YFLogxK
U2 - 10.1007/3-540-54141-1_15
DO - 10.1007/3-540-54141-1_15
M3 - Conference contribution
AN - SCOPUS:85031996754
SN - 9783540541417
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 271
EP - 293
BT - Next Generation Information System Technology - 1st International East/West Data Base Workshop, Proceedings
A2 - Schmidt, Joachim W.
A2 - Stogny, Anatoty A.
PB - Springer Verlag
T2 - 1st International East/West Data Base Workshop on Next Generation Information System Technology, 1990
Y2 - 9 October 1990 through 12 October 1990
ER -