View Definitions with Parameters
View definitions in relational databases suffer from the shortcoming that they depend on the name rather than the type of base relations. We present the language Plop as a minimal language for studying polymorphism in a logical database programming language by means of parametrization of predicates. The main idea is to introduce generic predicates which have two lists of parameters. While the second list contains the usual arguments, the first list contains parameters which are used as predicates in the rules defining the generic predicate. Through restriction in the use of predicate parameters it is possible to give a model theoretic semantics in a two step first order deduction. We define a sound and complete proof theoretic semantics and derive an evaluation algorithm for Plop programs. Furthermore, we present an algorithm based on a necessary and sufficient condition for the evaluation algorithm to terminate for all queries. With the extensions we overcome the lack of predicate polymorphism in deductive database languages and increase their expressiveness. We also sketch some extensions of the concept.
Top- Eder, Johann
- Kalinichenko, Leonid A.
Category |
Paper in Conference Proceedings or in Workshop Proceedings |
Event Title |
Advances in Databases and Information Systems, Proceedings of the Second International Workshop on Advances in Databases and Information Systems (ADBIS'95) |
Divisions |
Workflow Systems and Technology |
Event Location |
Moscow, Russia |
Event Type |
Conference |
Event Dates |
1995-06-27 |
Publisher |
Springer Verlag |
Page Range |
pp. 94-100 |
Date |
June 1995 |
Export |