# Prolog

> "Prolog is an efficient programming language because it is a very stupid theorem prover"
>
> * The Craft of Prolog, Richard O'Keefe

## Books

* [Clause and Effect: PROLOG Programming for the Working Programmer](https://www.goodreads.com/en/book/show/1242949)

## Resources

* [Awesome Prolog](https://github.com/klaussinani/awesome-prolog)
* [Simply Logical: Intelligent Reasoning by Example](https://book.simply-logical.space/)
* [The Power of Prolog](https://www.metalevel.at/prolog) and the video

  tutorials at [The Power of Prolog - YouTube](https://www.youtube.com/channel/UCFFeNyzCEQDS4KCecugmotg).
* [Logic Programming Techniques and Language Extensions](https://people.eng.unimelb.edu.au/lee/papers/lpt.html)

## [Cookbook](/programming-languages/prolog/cookbook.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.dewaka.com/programming-languages/prolog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
