Abstract
The following paper describes a relational deductive database system coupling PROLOG II and VAX RDB (Relational DataBase). The management of storage and research of fact records is delegated to RDB. The utilities of defining indexes in RDB is used to improve the speed with which it retrieves records from the database so as to provide a satisfactory response time. An interface written in PASCAL is called to enable the communication between PROLOG and RDB. Once the interface is established one can query the database with the PROLOG syntax or the occasional user can use an SQL-like DDL (Data Definition Language) and DML (Data Manipulation Language) implemented in PROLOG. No precompilation is required afterwards. PBASE can be used as a general DBMS (DataBase Management System) with a deductive power or it can cooperate with an expert system to manage the voluminous facts stored in the secondary memory.
Zusammenfassung
Das folgende Papier beschreibt ein relationales Ableitungssystem, das PROLOG II und die VAX RDB (Re lationale Datenbank) benutzt. Die Speicherverwaltung und das Durchsuchen der Fakten ist Aufgabe der RDB. Die Sekundärindexe der RDB werden verwendet, um Suchzeiten zu verringern und eine befriedigende Antwortzeit zu garantieren. Ein in PASCAL geschriebenes Interface ermöglicht die Kommunikation zwischen PROLOG und der RDB. Wenn das Interface geladen ist, kann man die Datenbank mit einer PROLOG-Syntax abfragen. Darüberhinaus besteht für den gelegentlichen Benutzer eine SQL ähnliche Datendefinitions- (DDL) und Datenmanipulationssprache (DML). Es ist keine Kompilierung notwendig. PBASE kann als allgemeines Datenbank-Management-System verwendet werden oder kann mit einem Expertensystem kooperieren und umfangreiche Daten im Sekundärspeicher verwalten.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
J.Bocca, EDUCE: A marriage of convenience: Prolog and a relational DBMS, Symposium on logic programming, 22–25 Sept. 1986, Salt Lake City -Utah.
Clocksin, W.F. et Mellish, C.S., programming in Prolog, Springer-Verlag, New York, 1981.
E. F. Codd: Relational completeness of database sublanguages; Databases systems, Prentice-Hall, pp. 65–98, 1972.
Date, C.J., Introduction to Database Systems, 3rd edit. Addison Wesley, New York, 1981.
P.Donz, FOLL: Une extension du langage Prolog, Criss - Université des Sciences Sociales de Grenoble, Nov.1983.
J.Bocca, H.Decker, J-M.Nicola, L.Vieille, M.Wallace, Some steps towards a DBMS based KBMS, Séminaire de Programmation en Logique, Trégastel 1987.
Gallaire H., Minker J.: Logic and Database, Plenum, New York 1978.
Gardarin G., Simon E.: Bases de données déductives: langages de règles et récursivité. Journées Firtech, Paris, Apr 1987.
Giannesini, F., Kanoui, H., Pasero, R., et Van Caneghem M., Prolog, InterEditions, Paris, 1985.
J. L. Kuhns: Interrogating a relational data file: Remarks on the admissibility of input queries; Tech. rep. TR-511-pr, Rand. Corp., Santa Monica, California, 1970.
P. Roussel: PROLOG: Manual de référence et d’utilisation, GIA, Université d’Aix-Marseille, France, 1975.
Ullman, J.D., Principles of Database Systems, Computer Science Press, 1980.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1988 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Lung-Cheng, H.S.U., LeBeux, P. (1988). PBASE: A Prolog BASEd query language. In: Rienhoff, O., Piccolo, U., Schneider, B. (eds) Expert Systems and Decision Support in Medicine. Lecture Notes in Medical Informatics, vol 36. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-48706-4_47
Download citation
DOI: https://doi.org/10.1007/978-3-642-48706-4_47
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-50317-0
Online ISBN: 978-3-642-48706-4
eBook Packages: Springer Book Archive