I want just a simple example because I will learn much more about prolog so just give me A simple example and a brief explanation and can you give me a youtube link also to learn
Unfortunately prolog is sorely lacking in modern textbooks of any kind but of existing material I’ve seen this is the best intro to the language for a complete beginner: Learn Prolog Now!