Prolog is logic programming language.It has important role in artificial intelligence. In prolog, logic is expressed as relations. this is called as Facts and Rules. prolog lies at the logic being applied.
syntax for install in linux :
sudo apt-get install swi-prolog
Format : relation(entity1, entity2, ....k'th entity).
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Prolog :
Prolog is logic programming language.It has important role in artificial intelligence. In prolog, logic is expressed as relations. this is called as Facts and Rules. prolog lies at the logic being applied.
syntax for install in linux :
Format : relation(entity1, entity2, ....k'th entity).
Example :
Key Features:
1. Unification
2. Backtracking
3. Recursion