Skip to main content

PBASE: A Prolog BASEd query language

  • Conference paper
Expert Systems and Decision Support in Medicine

Part of the book series: Lecture Notes in Medical Informatics ((LNMED,volume 36))

  • 64 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. J.Bocca, EDUCE: A marriage of convenience: Prolog and a relational DBMS, Symposium on logic programming, 22–25 Sept. 1986, Salt Lake City -Utah.

    Google Scholar 

  2. Clocksin, W.F. et Mellish, C.S., programming in Prolog, Springer-Verlag, New York, 1981.

    Google Scholar 

  3. E. F. Codd: Relational completeness of database sublanguages; Databases systems, Prentice-Hall, pp. 65–98, 1972.

    Google Scholar 

  4. Date, C.J., Introduction to Database Systems, 3rd edit. Addison Wesley, New York, 1981.

    Google Scholar 

  5. P.Donz, FOLL: Une extension du langage Prolog, Criss - Université des Sciences Sociales de Grenoble, Nov.1983.

    Google Scholar 

  6. 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.

    Google Scholar 

  7. Gallaire H., Minker J.: Logic and Database, Plenum, New York 1978.

    Google Scholar 

  8. Gardarin G., Simon E.: Bases de données déductives: langages de règles et récursivité. Journées Firtech, Paris, Apr 1987.

    Google Scholar 

  9. Giannesini, F., Kanoui, H., Pasero, R., et Van Caneghem M., Prolog, InterEditions, Paris, 1985.

    Google Scholar 

  10. 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.

    Google Scholar 

  11. P. Roussel: PROLOG: Manual de référence et d’utilisation, GIA, Université d’Aix-Marseille, France, 1975.

    Google Scholar 

  12. Ullman, J.D., Principles of Database Systems, Computer Science Press, 1980.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics