# I am looking for the Code Examples for Bratko's Prolog Programming for AI 4th ed

**URL:** <https://swi-prolog.discourse.group/t/i-am-looking-for-the-code-examples-for-bratkos-prolog-programming-for-ai-4th-ed/3477>\
**Category:** General\
**Created:** [January 10, 2021, 10:11pm UTC](https://swi-prolog.discourse.group/t/i-am-looking-for-the-code-examples-for-bratkos-prolog-programming-for-ai-4th-ed/3477 "2021-01-10T22:11:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamcrussell](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/adamcrussell/32/3168_2.png) [@adamcrussell](https://swi-prolog.discourse.group/u/adamcrussell)\
**Post date:** [January 10, 2021, 10:11pm UTC](https://swi-prolog.discourse.group/t/i-am-looking-for-the-code-examples-for-bratkos-prolog-programming-for-ai-4th-ed/3477/1 "2021-01-10T22:11:35Z")

</div>

Does anyone here have the code example files that are meant to be distributed with Bratko’s Prolog Programming for AI 4th ed. ? They are not available for download on the publishers website and when I reached out to them they blew me off and told me to contact Bratko directly.

And did email him but he never got back to me. I imagine he might get a bazillion lunatic emails which he ignores and maybe mine didn’t make it through the filters.

Anyone have these all they could share?

[posting this in a few places to cast a wide net, my apologies if you see this message twice]

---

<div class="post-metadata">

**Author:** ![adamcrussell](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/adamcrussell/32/3168_2.png) [@adamcrussell](https://swi-prolog.discourse.group/u/adamcrussell)\
**Post date:** [January 11, 2021, 1:23am UTC](https://swi-prolog.discourse.group/t/i-am-looking-for-the-code-examples-for-bratkos-prolog-programming-for-ai-4th-ed/3477/3 "2021-01-11T01:23:08Z")

</div>

No, thank you, but you’ve misunderstood. I am not looking for the code for the exercises but rather easily downloadable code for the examples in the chapters. Someone has kindly sent me their copy so I am now all set.

---

<div class="post-metadata">

**Author:** ![Quantman1974](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/quantman1974/32/6366_2.png) [@Quantman1974](https://swi-prolog.discourse.group/u/Quantman1974)\
**Post date:** [June 3, 2024, 11:11am UTC](https://swi-prolog.discourse.group/t/i-am-looking-for-the-code-examples-for-bratkos-prolog-programming-for-ai-4th-ed/3477/4 "2024-06-03T11:11:55Z")

</div>

Hey Adam, I have been desperately looking for the code accompanying the book, even emailed the author from his homepage university address but to no avail so far. Can you please kindly send me a copy? Thanks in advance. Regards.

---

<div class="post-metadata">

**Author:** ![adamcrussell](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/adamcrussell/32/3168_2.png) [@adamcrussell](https://swi-prolog.discourse.group/u/adamcrussell)\
**Post date:** [June 3, 2024, 3:03pm UTC](https://swi-prolog.discourse.group/t/i-am-looking-for-the-code-examples-for-bratkos-prolog-programming-for-ai-4th-ed/3477/5 "2024-06-03T15:03:30Z")

</div>

> **[GitHub - adamcrussell/bratko\_4th\_edition: example code from Bratko's Prolog...](https://github.com/adamcrussell/bratko_4th_edition)**
>
> example code from Bratko's Prolog Programming for Artificial Intelligence - adamcrussell/bratko\_4th\_edition

This code is over a dozen years old at this point. It was intended to be distributed freely by the publisher, but has been unavailable for a long time. I am unsure of any license around it, but figure it should be safe to post to GitHub at this point. If there is any objection by the author or publisher I will take it down.

---

<div class="post-metadata">

**Author:** ![Quantman1974](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/quantman1974/32/6366_2.png) [@Quantman1974](https://swi-prolog.discourse.group/u/Quantman1974)\
**Post date:** [June 3, 2024, 3:24pm UTC](https://swi-prolog.discourse.group/t/i-am-looking-for-the-code-examples-for-bratkos-prolog-programming-for-ai-4th-ed/3477/6 "2024-06-03T15:24:03Z")

</div>

Thank you very much, Adam. 😉
