what is prolog in artificial intelligence

0 votes
Jan 20, 2022 in Others by Edureka
• 13,620 points
9,715 views

1 answer to this question.

0 votes

Prolog stands for programming in logic. it is a logic programming language for artificial intelligence. An artificial intelligence developed in Prolog will examine the link between a fact, a true statement, and a rule, a conditional statement, in order to come up with a question, or end objective.

The Prolog system is simple to use. The actual intricacies of Prolog will differ from one individual to the next. In the beginning, Prolog will generate a number of lines of headers, followed by a line. It consists solely of

?-

The system prompt is shown by the symbol above. The prompt indicates that the Prolog system is ready for the user to provide one or more sequence objectives. The sequence of objectives can be ended with a full stop.

?- write('Welcome to Edureka'),nl,write('Hello Edureka'),nl.

nl indicates 'start a new line'. When we press 'return' key, the above line will show the effect like this:

Welcome to Edureka

Hello Edureka

yes

?- prompt shows the sequence of goal which is entered by the user. The user will not type the prompt. Prolog system will automatically generate this prompt. It means that it is ready to receive a sequence of goals.

answered Jan 31, 2022 by Edureka
• 12,690 points

Related Questions In Others

0 votes
0 answers

what is artificial intelligence in hindi?

Dec 17, 2021 in Others by Edureka
• 13,620 points
615 views
0 votes
0 answers

what is artificial intelligence

Dec 20, 2021 in Others by Edureka
• 13,620 points
301 views
0 votes
0 answers

what is the goal of artificial intelligence?

Jan 6, 2022 in Others by Edureka
• 13,620 points
440 views
+5 votes
6 answers

what is artificial neural network?

Machine Learning is a field of computer ...READ MORE

answered Dec 17, 2018 in Others by Raghumishra
• 240 points
2,436 views
0 votes
1 answer

What sort of testing is involved in functional testing?

The following types of testing are involved ...READ MORE

answered Feb 18, 2019 in Others by Jobin
529 views
0 votes
1 answer

What is a name function in JavaScript & how to define it?

A named function declares a name as ...READ MORE

answered Mar 7, 2019 in Others by Frankie
• 9,830 points
4,428 views
0 votes
1 answer

What is BASH in linux?

BASH is short term for Bourne Again ...READ MORE

answered Mar 8, 2019 in Others by Tushar
608 views
+4 votes
0 answers

What is the best way to pass CISSP Exam In first attempt?

Is CISSP Certification Worth. And What is ...READ MORE

Jun 25, 2019 in Others by Eric
• 320 points
1,091 views
0 votes
1 answer

what is machine learning and artificial intelligence?

Artificial intelligence (AI) is a technology that ...READ MORE

answered Jan 31, 2022 in Others by Edureka
• 12,690 points
366 views
0 votes
2 answers

what is artificial intelligence with examples?

Artificial intelligence refers to the simulation of ...READ MORE

answered Jun 19 in Others by anonymous
• 420 points
1,491 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP