what is prolog in artificial intelligence

0 votes
Jan 20 in Others by Edureka
• 5,760 points
636 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 by Edureka
• 5,460 points

Related Questions In Others

0 votes
0 answers

what is artificial intelligence in hindi?

Dec 17, 2021 in Others by Edureka
• 5,760 points
44 views
0 votes
0 answers

what is artificial intelligence

Dec 20, 2021 in Others by Edureka
• 5,760 points
23 views
0 votes
0 answers

what is the goal of artificial intelligence?

Jan 6 in Others by Edureka
• 5,760 points
43 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
725 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
212 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
702 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
199 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
• 310 points
554 views
0 votes
1 answer

what is machine learning and artificial intelligence?

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

answered Jan 31 in Others by Edureka
• 5,460 points
29 views
0 votes
1 answer

what is artificial intelligence with examples?

Artificial intelligence (AI) is a means for ...READ MORE

answered Feb 7 in Others by Edureka
• 5,460 points
76 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP