Questions tagged [prolog]

For questions about the Prolog programming language, generally used for programming Artificially Intelligent programs.

Programmation en Logique (Programming in Logic) or Prolog is a high-level programming language that has its roots in first-order logic or first-order predicate calculus. The language was conceived in Marseilles, France in the early 1970s by a group led by Alain Colmerauer. It is one of the first logic programming languages and it remains popular today. It is a programming language commonly associated with computational linguistics and artificial intelligence and is used in expert systems, theorem proving and pattern matching over natural language parse trees and natural language processing.

Prolog- Wikipedia

Prolog - Techopedia

6 questions
27
votes
2 answers

Is Prolog still used in AI?

According to Wikipedia, Prolog is a general-purpose logic programming language associated with artificial intelligence and computational linguistics. Is it still used for AI? This is based off of a question on the 2014 closed beta. The author had…
Mithical
  • 2,885
  • 5
  • 27
  • 39
7
votes
1 answer

Which rules should I define for the predicate "not_to_far" of the exercise 1.1 of the book "Simply Logical: Intelligent Reasoning by Example"?

I've just started reading a book about AI. The book is Simply Logical: Intelligent Reasoning by Example. There is a very basic exercise (on page 19 of the pdf, page 5 of the book), but I can't figure it out. The exercise is Exercise 1.1. Two…
ihavenokia
  • 173
  • 2
  • 6
5
votes
2 answers

Has machine learning been combined with logical reasoning (for example, PROLOG)?

There are mainly two different areas of AI at the moment. There is the "learning from experience" based approach of neural networks. And there is the "higher logical reasoning" approach, with languages like LISP and PROLOG. Has there been much…
1
vote
2 answers

Defining rules for an expert system

I'm doing a project for my last university examination but I'm having some troubles! I'm making an expert system who should be able to assemble a computer after asking some questions to the user. It works but according to my teacher I need to define…
Mark
  • 31
  • 2
1
vote
0 answers

How do I write production systems?

I understand that I can draw a state-space graph for any problem. However, here is the problem: I can't really figure out how to make production systems. I am solving the FWGC (Farmer, Wolf, Goat, Cabbage) River Crossing Puzzle using a state-space…
qsaso
  • 111
  • 2
0
votes
1 answer

What are the advantages and disadvantages of using LISP for constraint satisfaction in 3D space

We are currently working on developing a 3D modeling software that allows designers to set spatial constraints to models. The computer then should generate a 3D mesh conforming to these constraints. Why should or shouldn't we use Lisp for the…