Text this: A logic programming approach to pedigree analysis /