Select Source:

## Prolog

Prolog A logic programming language, widely used in artificial intelligence. The basic element of Prolog programs is the structure, which expresses a simple relationship among individuals (constants or variables). Examples of structures are: sister(mary, jane). ancestor(adam, X). Words that start with a lower-case letter are constants and words that start with a capital letter are variables, so mary, jane, and adam are constants and X is a variable. Prolog programs consist of clauses, where each is either a simple assertion or an implication. The former consists of a single structure, while the latter takes the form: “A if B1 and B2 and … and Bn”, where the conclusion A and the conditions Bn are all structures. An example of an implication is grandfather(X, Y) :- father(X, Z), parent(Z, Y). which means “X is a grandfather of Y if X is the father of Z and Z is a parent of Y”.

A Prolog program is invoked by presenting a query in the form of a conjunction of structures, as infriend(fred, X), father(john, X). Execution of the program then determines (if possible) a set of values for the variables in the query such that the truth of the query then follows from the assertions and implications in the program. The above example tries to find all the sons of john that are friends of fred.

Prolog was used as the basis of the Japanese fifth generation project.

Pick a style below, and copy the text for your bibliography.

• MLA
• Chicago
• APA

"Prolog." A Dictionary of Computing. . Encyclopedia.com. 13 Dec. 2017 <http://www.encyclopedia.com>.

"Prolog." A Dictionary of Computing. . Encyclopedia.com. (December 13, 2017). http://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/prolog

"Prolog." A Dictionary of Computing. . Retrieved December 13, 2017 from Encyclopedia.com: http://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/prolog

## prolog

prologagog, befog, blog, bog, clog, cog, dog, flog, fog, frog, grog, hog, Hogg, hotdog, jog, log, nog, prog, slog, smog, snog, sprog, tautog, tog, trog, wog •hangdog • lapdog • seadog • sheepdog •watchdog • bulldog • gundog • firedog •underdog • pettifog • pedagogue •demagogue • synagogue • sandhog •hedgehog • warthog • groundhog •roadhog • backlog • Kellogg • weblog •eclogue •epilogue (US epilog) •prologue (US prolog) • footslog •ideologue •dialogue (US dialog) • duologue •Decalogue •analog, analogue (US analog) •monologue • apologue •catalogue (US catalog) • travelogue •eggnog • leapfrog • bullfrog •Taganrog •golliwog, polliwog •phizog • Herzog

Pick a style below, and copy the text for your bibliography.

• MLA
• Chicago
• APA

"prolog." Oxford Dictionary of Rhymes. . Encyclopedia.com. 13 Dec. 2017 <http://www.encyclopedia.com>.

"prolog." Oxford Dictionary of Rhymes. . Encyclopedia.com. (December 13, 2017). http://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/prolog-0

"prolog." Oxford Dictionary of Rhymes. . Retrieved December 13, 2017 from Encyclopedia.com: http://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/prolog-0

## PROLOG

PROLOG (or Prolog) (ˈprəʊlɒg) Computing programming in logic (a programming language)