© 1990 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
Optimising and Executing DAPLEX Queries using Prolog
1 Department of Computer Science, Heriot-Watt University, 79 Grassmarket, Edinburgh EH1 2HJ, UK, 2 Department of Computing Science, University of Aberdeen, King's College, Aberdeen AB9 2UB, UK
In this paper a query optimiser for use with functional data model databases is described. The system is in use with a large database of protein structures from which examples are taken. The optimiser, which evaluates alternative paths through the object base, is written in Prolog and integrated with a parser for DAPLEX. The constructs of DAPLEX are easily expressed in Prolog, which has also proved suitable for implementing both the parser and rewrite rules. The implementation of the optimiser using rewrite rules is both concise and extensible.
Received September 1989. revised March 1990.
* To whom correspondance should be addressed at: Department of computer Science, Heriot-Watt University, 79 Grassmarket, Edinburgh EH1 2HJ.
Department of Computing Science, University of Aberdeen, King's College, Aberdeen AB9 2UB