Skip to main content
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.

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

  • MLA
  • Chicago
  • APA

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

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

"Prolog." A Dictionary of Computing. . Retrieved August 23, 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

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

  • MLA
  • Chicago
  • APA

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

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

"prolog." Oxford Dictionary of Rhymes. . Retrieved August 23, 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)

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

  • MLA
  • Chicago
  • APA

"PROLOG." The Oxford Dictionary of Abbreviations. . Encyclopedia.com. 23 Aug. 2017 <http://www.encyclopedia.com>.

"PROLOG." The Oxford Dictionary of Abbreviations. . Encyclopedia.com. (August 23, 2017). http://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/prolog

"PROLOG." The Oxford Dictionary of Abbreviations. . Retrieved August 23, 2017 from Encyclopedia.com: http://www.encyclopedia.com/humanities/dictionaries-thesauruses-pictures-and-press-releases/prolog