# 1999/7/16
#================#
# Family History #
#================#
# The files in the KEHOME/family directory support
# all the functions of a typical Genealogy application.
# To protect your family history data, I recommend that
# you copy all the files to your own private directory.
# Edit each .rel file, adding your own data.
# Searching for information is simple, e.g.,
!read family.ku
name has child=? # children of name
name has parent=? # parents of name
name has phone=? # phone number of name
? has phone # all phone numbers
? do marry # all marriages
? has sex=female # all females
? isa person # all persons
!read tree.ku
!ancestor name # ancestors and spouses
!descendant name # descendants and spouses
!read group.ku # or lattice.ku using isa*,ise*
name ism* ? # ancestor tree (up)
name isc* ? # descendant tree (down)
name ism**1 ?; $question isc**1 ? # siblings (up 1, down 1)
name ism**2 ?; $question isc**2 ? # cousins (up 2, down 2)
name ism**2 ?; $question isc**1 ? # aunts & uncles (up 2, down 1)
# You can use "." (current concept) to simplify searches, e.g.,
!cc name # change "." to name
$child = ? # children
$parent = ? # parents
$phone = ? # phone number
. has ? # all attributes
. do ? # all actions
#==============#
# unique names #
#==============#
# Each person must have a unique "name" for recording information.
# The easiest solution is to use unique names of the form "person/1",
# "person/2", etc. Many other choices are possible, e.g., using
# birthday as a suffix
# Richard McCullough 1936
# Richard McCullough 1940
# Richard McCullough 1966
# You can use the "*" wildcard to get a list of all names that
# match a pattern, e.g.,
!find *Richard*McCullough*
# alias.rel records unique name, nickname, preferred name and
# other names. I recommend that you include
# birth name
# adoption name
# married name
# You can use check.htm to find MISSING unique names and other name CONFLICTs.
# You can use these commands to retrieve the different parts
# of a name
$name = Dr. Richard H. McCullough 1936
!title-name $name # Dr.
!first-name $name # Richard
!middle-name $name # H.
!last-name $name # McCullough
!suffix-name $name # 1936