Skip to main content

Simply Logical – The First Three Decades

  • Chapter
  • First Online:
Prolog: The Next 50 Years

Abstract

This paper charts the evolution of the Prolog textbook Simply Logical – Intelligent Reasoning by Example from print with runnable programmes on a 3.5-inch diskette published in 1994, via various intermediate online versions, to the fully interactive online edition available today. Our aim is to investigate – from both the writer’s and the reader’s perspectives – the potential impact of technology on educational materials. The three authors of this paper present three distinct and complementary points of view, which come together to shape an interactive online book that offers an immersive learning experience. Peter describes the philosophy behind the original book and experiences teaching from it. Jan demonstrates how contemporary web programming has enabled a fully interactive realisation of the book’s philosophy. Kacper reports how different technologies can be adopted to build a versatile authoring toolkit that underpins the interactive online edition of the book. Collating these distinct yet coherent perspectives allows us to reflect on future opportunities for interactive Prolog teaching materials arising from the continuous development of web technologies. The insights we offer should be of interest to teachers of Prolog as well as those wanting to find out about the latest educational technologies.

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 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.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

Notes

  1. 1.

    https://swish.swi-prolog.org/.

  2. 2.

    https://github.com/simply-logical/simply-logical/.

  3. 3.

    https://github.com/simply-logical/sphinx-prolog/.

  4. 4.

    https://github.com/simply-logical/sphinx-problog/.

  5. 5.

    https://github.com/simply-logical/prolog-book-template.

  6. 6.

    https://github.com/simply-logical/cplint-book-template.

  7. 7.

    https://github.com/simply-logical/problog-book-template.

  8. 8.

    Note that when Pengines is realised through processes rather than threads, implementing Pengines based on other Prolog systems becomes much easier.

References

  1. Allaire, J., Teague, C., Scheidegger, C., Xie, Y., Dervieux, C.: Quarto (2022). https://doi.org/10.5281/zenodo.5960048, https://github.com/quarto-dev/quarto-cli

  2. Blackburn, P., Bos, J., Striegnitz, K.: Learn Prolog Now! http://www.let.rug.nl/bos/lpn/index.php (2001)

  3. Blackburn, P., Bos, J., Striegnitz, K.: Learn Prolog Now! (Texts in Computing, Vol. 7), College Publications, London (2006)

    Google Scholar 

  4. Blackburn, P., Bos, J., Striegnitz, K.: Learn Prolog Now! https://lpn.swi-prolog.org/ (2014)

  5. De Raedt, L., Kimmig, A., Toivonen, H.: ProbLog: A probabilistic Prolog and its application in link discovery. In: IJCAI. vol. 7, pp. 2462–2467. Hyderabad (2007)

    Google Scholar 

  6. Executable Books Community: Jupyter Book (2020). https://doi.org/10.5281/zenodo.4539666, https://github.com/executablebooks/jupyter-book

  7. Flach, P.: Simply Logical – Intelligent Reasoning by Example. John Wiley & Sons, Inc. (1994)

    Google Scholar 

  8. Flach, P., Sokol, K.: Simply Logical – Intelligent Reasoning by Example (Fully Interactive Online Edition). https://book.simply-logical.space/ (2022)

  9. Kowalski, R.: Logic for problem solving. Edinburgh University, Department of Computational Logic (1974)

    Google Scholar 

  10. Luger, G., Stubblefield, W.: Artificial Intelligence: Structure and strategies for complex problem solving. Benjamin/Cummings (1993)

    Google Scholar 

  11. Luhmann, N.: Zettelkasten, https://zettelkasten.de/introduction/

  12. Morales, J.F., Abreu, S., Ferreiro, D., Hermenegildo, M.V.: Teaching prolog with active logic documents. In: Warren, D.S., et al. (eds.) Prolog: The Next 50 Years. LNAI, vol. 13900, pp. 171–183. Springer, Switzerland (2023). https://doi.org/10.1007/978-3-031-35254-6_14

    Chapter  Google Scholar 

  13. Morales, J.F., Haemmerlé, R., Carro, M., Hermenegildo, M.V.: Lightweight compilation of (C)LP to JavaScript. Theory Pract. Log. Program. 12(4–5), 755–773 (2012). https://doi.org/10.1017/S1471068412000336

    Article  MATH  Google Scholar 

  14. Riguzzi, F.: Foundations of Probabilistic Logic Programming. River Publishers, New York (2018)

    MATH  Google Scholar 

  15. Sokol, K., Flach, P.: You only write thrice: Creating documents, computational notebooks and presentations from a single source. In: Beyond static papers: Rethinking how we share scientific understanding in Machine Learning – ICLR Workshop (2021). https://doi.org/10.48550/arXiv.2107.06639

  16. Wielemaker, J., Lager, T., Riguzzi, F.: SWISH: SWI-Prolog for sharing. In: Proceedings of the International Workshop on User-Oriented Logic Programming (IULP 2015); 31st International Conference on Logic Programming (ICLP 2015), pp. 99–113 (2015). https://doi.org/10.48550/arXiv.1511.00915

  17. Wielemaker, J., Schrijvers, T., Triska, M., Lager, T.: SWI-Prolog. Theory Pract. Logic Program. 12(1–2), 67–96 (2012). https://doi.org/10.1017/S1471068411000494

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

The development of the sphinx-prolog and sphinx-problog Jupyter Book plugins was supported by the TAILOR Network – an ICT-48 European AI Research Excellence Centre funded by EU Horizon 2020 research and innovation programme, grant agreement number 952215.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Peter Flach .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Flach, P., Sokol, K., Wielemaker, J. (2023). Simply Logical – The First Three Decades. In: Warren, D.S., Dahl, V., Eiter, T., Hermenegildo, M.V., Kowalski, R., Rossi, F. (eds) Prolog: The Next 50 Years. Lecture Notes in Computer Science(), vol 13900. Springer, Cham. https://doi.org/10.1007/978-3-031-35254-6_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-35254-6_15

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-35253-9

  • Online ISBN: 978-3-031-35254-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics