Prolog - Sir Bedevere, Monty Python.

home
 Bib
 Algorithms
 Bioinfo
 FP
 Logic
 MML
 Prog.Lang
and the
 mmlist

Logic
 Prolog
  Introduction
  Examples
witch(X)  <= burns(X) and female(X).
burns(X)  <= wooden(X).
wooden(X) <= floats(X).
floats(X) <= sameweight(duck, X).

female(girl).          {by observation}
sameweight(duck,girl). {by experiment }

? witch(girl).

{\fB After Monty Python (Sir Bedevere). \fP}

A witch is a female who burns. Witches burn - because they're made of wood. Wood floats. What else floats on water? A duck; if something has the same weight as a duck it must float. A duck and scales are fetched. The girl and the duck balance perfectly. "It's a fair cop."


Monty Python and the Holy Grail (1975)
The witchConnie Booth
Sir Bedevere (etc.)Terry Jones
King ArthurGraham Chapman
Mr. Blint (a village n'er do well very keen on burning witches) (etc.) Eric Idle
Mr. Newt (a village blacksmith quite interested in burning witches) (etc.) John Cleese
Mr. Duck (a village carpenter who is almost keener than anyone else to burn witches) (etc.) Michael Palin
Directed byTerry Gilliam, Terry Jones
-- must be © the Pythons
window on the wide world:

Computer Science Education Week

Linux
 Ubuntu
free op. sys.
OpenOffice
free office suite,
ver 3.4+

The GIMP
~ free photoshop
Firefox
web browser
FlashBlock
like it says!

© L. Allison   http://www.allisons.org/ll/   (or as otherwise indicated),
Faculty of Information Technology (Clayton), Monash University, Australia 3800 (6/'05 was School of Computer Science and Software Engineering, Fac. Info. Tech., Monash University,
was Department of Computer Science, Fac. Comp. & Info. Tech., '89 was Department of Computer Science, Fac. Sci., '68-'71 was Department of Information Science, Fac. Sci.)
Created with "vi (Linux + Solaris)",  charset=iso-8859-1,  fetched Friday, 10-Jul-2020 09:40:14 AEST.