# I look for the source code of the examples of Bratko's book: Prolog Programming for Artificial Intelligence (4th ed)

**URL:** <https://swi-prolog.discourse.group/t/i-look-for-the-source-code-of-the-examples-of-bratkos-book-prolog-programming-for-artificial-intelligence-4th-ed/6185>\
**Category:** General\
**Created:** [February 5, 2023, 7:26pm UTC](https://swi-prolog.discourse.group/t/i-look-for-the-source-code-of-the-examples-of-bratkos-book-prolog-programming-for-artificial-intelligence-4th-ed/6185 "2023-02-05T19:26:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [February 7, 2023, 11:18am UTC](https://swi-prolog.discourse.group/t/i-look-for-the-source-code-of-the-examples-of-bratkos-book-prolog-programming-for-artificial-intelligence-4th-ed/6185/5 "2023-02-07T11:18:20Z")

</div>

> [@Boris](#):
>
> there is absolutely nothing wrong with asking for the code on this forum.

I did not say he or anyone could not ask for the source code on this site.

> [@Boris](#):
>
> I personally also don’t quite understand what Mr. Eric is trying to say in their comment…

There are many places on this site where published books are noted, E.g.  
[Useful Prolog references](https://swi-prolog.discourse.group/t/useful-prolog-references/1089), and some may have links to the source with them. Sometimes the links to the source code become broken, sometimes the links to the source code are to illegal copies of the source. If the OP knew of such a link on this site then I wanted to verify that it was not to an illegal copy.

Before posting my reply I did look for the source for the book. First looked at the WorldCat page for the book to find the publisher

> Publisher:Adisson Wesley, Harlow [ect.], 2012

Then checked the Adisson Wesley publisher site and did not find the book.

Using a Google search found the book on the Pearson site:

[Prolog programming for artificial intelligence](https://www.pearson.com/en-gb/subject-catalog/p/prolog-programming-for-artificial-intelligence/P200000003804/9780321417466)

and checked that page and found no place to download the source code.

Then posted the reply.

> [@EricGT](#):
>
> If it is from this site then I remove that note.

To make this more clear.

If this site, the SWI-Prolog Discourse forum, contains a link to the source code for _Prolog Programming for Artificial Intelligence_ (4th Edition) by Ivan Bratko then please let me know so that I check if the link is to a legal copy. If the link is to an illegal copy I will edit the post to remove the link.

* * *

**EDIT**

In looking at the Pearson site in more detail noticed that I overlooked

![image](https://global.discourse-cdn.com/free1/uploads/swiprolog/original/2X/6/650fca80bbdea131042a0de573f2cca2e849cffa.png)

Clicking `I'm an educator` then `Instructor resources` ([link](https://www.pearson.com/en-gb/subject-catalog/p/prolog-programming-for-artificial-intelligence/P200000003804?view=educator&tab=instructor-resources)) might allow one to download the code if they sign up. As I do not intend to sign up I can not say more.

Thanks @Boris for replying, it may be take a closer look.

---

_[View the full topic](https://swi-prolog.discourse.group/t/i-look-for-the-source-code-of-the-examples-of-bratkos-book-prolog-programming-for-artificial-intelligence-4th-ed/6185)._
