SWI- Prolog - Artificial Intelligence Course
Prolog is a language of logic programming. In artificial intelligence, it plays an significant role. Prolog is designed mainly as a declarative programming language. Logic is expressed in the prolog as relationships (known as facts and rules). The core of the prolog is the logic used. Formulation or computing is performed through a query about these relationships.Prolog was one of the first languages of logic programming and continues to be the most popular among such languages today with several free and commercial applications.
The language was used for theorem proving,expert systems, word rewriting, type systems, and automated planning, as well as its initial planned field of use, natural language processing. Modern Prolog environments support the development of graphical user interfaces, as well as administrative and networked apps.
- In Prolog, the logic of the program is articulated in terms of relationships, and by running a question about these relationships a computation is initiated.
- Relationships and queries are built using the single data type of Prolog, the term.
- Clauses define relationships. Due to a query, the Prolog algorithm attempts to discover the negated query's resolution refutation.
- If the negated query can be refuted, i.e. an instantiation for all free variables is found that makes the union of clauses and the singleton set consisting of the negated query false, it follows that the original query is a logical consequence of the program, with the found instantiation being applied.
How to Download Prolog Software on Windows:
Wondering, How to Download Prolog on Windows? You can download Prolog from Prolog Official website. To download Prolog, simply click on the download button below it get executable files from the official website. Once you download the executable file, which is approximately 12 MB in size you can follow the instructions below on How to Install Prolog Install prolog.
How to Install Prolog software on Windows
How to Install Prolog Software on Linux :
Method 1:
Add the ppa ppa:swi-prolog/stable to your system’s software sources:
- Open a terminal (Ctrl+Alt+T) and type:
sudo add-apt-repository ppa:swi-prolog/stable
- Afterwards, update the package information:
sudo apt-get update
Method 2:
Open a terminal (Ctrl+Alt+T) and type:
sudo apt-get install swi-prolog
0 Comments
Your comments and interesting view make our day!