Prolog - The House of Windsor.

LA home
Computing
Logic
 Prolog
  Intro.
  Syntax
  Examples
   Windsor
   Append
   Aunt
   Solar
   Diff
   Tree
   Witch

Prolog is excellent for queries on relational data (as in the Mathematical sense of a "relation"), e.g.,

born(charles, elizabeth2, philip).
born(anne,    elizabeth2, philip).
born(andrew,  elizabeth2, philip).
born(edward,  elizabeth2, philip).

born(diana,   frances,    edwardSpencer).

born(william, diana,      charles).
born(henry,   diana,      charles).

? born(S, elizabeth2, Y) and born(G, M, S).

NB. The applet above needs Java on.

Also see [aunts and uncles].

www:

free:
Linux
 Ubuntu operating-sys
OpenOffice office-suite
The GIMP ~photoshop
Firefox web-browser
FlashBlock flash on/off

© L. Allison   http://www.allisons.org/ll/   (or as otherwise indicated),
Created with "vi (Linux + Solaris)",  charset=iso-8859-1,  fetched Wednesday, 08-Feb-2012 14:33:26 EST.