Skip to main content
Log in

Spreadsheets with Incremental Queries as a user interface for logic programming

  • Regular Papers
  • Published:
New Generation Computing Aims and scope Submit manuscript

Abstract

We believe that currently marketed programs leave unexploited much of the potential of the spreadsheet interface. The purpose of our work is to obtain suggestions for wider application of this interface by showing how to obtain its main features as a subset of logic programming. Our work is based on two observations. The first is that spreadsheets would already be a useful enhancement to interactive languages such as APL and Basic. Although Prolog is also an interactive language, this interface cannot be used in the same direct way. Hence our second observation: the usual query mechanism of Prolog does not provide the kind of interaction this application requires. But it can be provided by the Incremental Query, a new query mechanism for Prolog. The two observations together yield the spreadsheet as a display of the state of the substitution of an incremental query in Prolog. Recalculation of dependent cells is achieved by automatic modification of the query in response to a new increment that would make it unsolvable without the modification.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. van Emden, M. H., “Logic As An Interaction Language,”Proc. 5th Conf. Canadian Soc. for Computational Studies in Intelligence, pp. 126–128, 1984.

  2. Bowen, D. L., Pereira, L. M., Pereira, F. C. N. and Warren, D. H. D., “User’s guide to DEC system-10 Prolog,” Dept. of Artificial Intelligence, University of Edinburgh, 1982.

  3. Sergot, M.,Private communication.

  4. Heckel, P.,The Elements of Friendly Software Design. Warner Books, 1984.

  5. Kriwaczek, F. “Some Application of PROLOG to Decision Support Systems,”MSc report, Imperial College, London, 1982.

  6. Kriwaczek, F., “LogiCalc — A Prolog Spreadsheet,” to appear inMachine Intelligence, 11, D. Michie and J. Hayes (eds.).

Download references

Author information

Authors and Affiliations

Authors

About this article

Cite this article

van Emden, M.H., Ohki, M. & Takeuchi, A. Spreadsheets with Incremental Queries as a user interface for logic programming. New Gener Comput 4, 287–304 (1986). https://doi.org/10.1007/BF03037408

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF03037408

Keywords

Navigation