:- dynamic term_expansion/2. :- multifile term_expansion/2. great_grandfather(X, Y) :- great_grandparent(X, Y), male(Y). great_grandchild(X, Y) :- great_grandparent(Y, X). great_grandparent(X, Y) :- grandparent(X, Z), parent(Z, Y). :- dynamic library_directory/1. :- multifile library_directory/1. great_grandmother(X, Y) :- great_grandparent(X, Y), female(Y). :- dynamic goal_expansion/4. :- multifile goal_expansion/4. :- dynamic hobby/2. hobby("Aida Wang", "meditation"). hobby("Alec Sinclair", "meteorology"). hobby("Alfredo Wang", "biology"). hobby("Alison Smock", "meteorology"). hobby("Alvaro Smock", "dolls"). hobby("Alycia Coe", "photography"). hobby("Barabara Beltran", "shogi"). hobby("Brian Beltran", "dominoes"). hobby("Carrol Woodson", "tether car"). hobby("Christina Coe", "architecture"). hobby("Christoper Coe", "geocaching"). hobby("Cortney Parmer", "trainspotting"). hobby("Cythia Smock", "bus spotting"). hobby("Daisy Beltran", "research"). hobby("Dino Beltran", "geography"). hobby("Dominique Smock", "microbiology"). hobby("Dwight Hackworth", "canoeing"). hobby("Earle Coe", "learning"). hobby("Eli Smock", "dairy farming"). hobby("Gayla Woodson", "fossil hunting"). hobby("Gene Smock", "sociology"). hobby("Isiah Lutz", "finance"). hobby("Jamison Baptiste", "meditation"). hobby("Kristen Toombs", "wikipedia editing"). hobby("Lannie Smock", "radio-controlled car racing"). hobby("Leeann Sinclair", "social studies"). hobby("Leisa Lutz", "judo"). hobby("Lesley Lutz", "flying disc"). hobby("Lissa Coe", "cricket"). hobby("Lonny Parmer", "weightlifting"). hobby("Maria Baptiste", "meditation"). hobby("Michelle Hackworth", "ballroom dancing"). hobby("Noelia Lutz", "microscopy"). hobby("Orlando Beltran", "reading"). hobby("Reggie Coe", "laser tag"). hobby("Ricardo Hackworth", "hiking/backpacking"). hobby("Ryan Wang", "audiophile"). hobby("Shannon Beltran", "tennis polo"). hobby("Shelli Beltran", "photography"). hobby("Stacia Toombs", "backgammon"). hobby("Tanner Beltran", "microscopy"). hobby("Tosha Beltran", "herping"). hobby("Tyson Woodson", "philately"). hobby("Ulysses Parmer", "birdwatching"). hobby("Vicki Hackworth", "shogi"). hobby("Vincent Lutz", "magnet fishing"). hobby("Virgil Hackworth", "table tennis"). hobby("Von Sinclair", "scuba diving"). hobby("Wilbert Toombs", "biology"). hobby("Williams Smock", "sea glass collecting"). hobby("Wm Parmer", "research"). hobby("Angela Culver", "gongoozling"). hobby("Anibal Stansberry", "benchmarking"). hobby("Barbara Philpott", "sea glass collecting"). hobby("Bev Gilmore", "bowling"). hobby("Brigette Gilmore", "audiophile"). hobby("Celia Macmillan", "tea bag collecting"). hobby("Conrad Stansberry", "model aircraft"). hobby("Cordelia Wiggs", "herping"). hobby("David Wiggs", "figure skating"). hobby("Debra Stansberry", "fossil hunting"). hobby("Desiree Stansberry", "airsoft"). hobby("Diane Culver", "whale watching"). hobby("Dionne Stansberry", "pinball"). hobby("Eliza Wiggs", "research"). hobby("Emanuel Stansberry", "flying model planes"). hobby("Frankie Hagerty", "ant farming"). hobby("Gail Culver", "volleyball"). hobby("Garry Gilmore", "gongoozling"). hobby("Gillian Wiggs", "vehicle restoration"). hobby("Glenda Culver", "car riding"). hobby("Hayden Stansberry", "mycology"). hobby("Howard Wiggs", "table football"). hobby("Hyun Hagerty", "photography"). hobby("Iva Stansberry", "metal detecting"). hobby("Jordan Culver", "archery"). hobby("Jules Culver", "reading"). hobby("Justine Hagerty", "shortwave listening"). hobby("Kelvin Culver", "snowmobiling"). hobby("Kori Wiggs", "research"). hobby("Laverna Stansberry", "religious studies"). hobby("Lester Stansberry", "cooking"). hobby("Lincoln Velasco", "kart racing"). hobby("Lionel Culver", "darts"). hobby("Loren Culver", "herping"). hobby("Markus Hagerty", "backgammon"). hobby("Maurine Velasco", "herping"). hobby("Mickey Philpott", "ant farming"). hobby("Millard Stansberry", "ephemera collecting"). hobby("Nikki Stansberry", "bus spotting"). hobby("Oren Stansberry", "research"). hobby("Quintin Hagerty", "croquet"). hobby("Renate Stansberry", "leaves"). hobby("Sona Stansberry", "antiquities"). hobby("Tad Macmillan", "field hockey"). hobby("Tamara Macmillan", "leaves"). hobby("Terence Culver", "auto audiophilia"). hobby("Tonya Culver", "magic"). hobby("Victor Stansberry", "people-watching"). hobby("Wilmer Hagerty", "social studies"). hobby("Yolanda Philpott", "mineral collecting"). hobby("Adelaida Ricketts", "fusilately"). hobby("Benny Abrams", "surfing"). hobby("Bobby Ricketts", "magic"). hobby("Bridget Solorio", "story writing"). hobby("Brooks Ricketts", "curling"). hobby("Cicely Abrams", "museum visiting"). hobby("Cordelia Zepeda", "benchmarking"). hobby("Cory Ricketts", "meteorology"). hobby("Dee Ricketts", "entrepreneurship"). hobby("Deidra Ricketts", "deltiology"). hobby("Dennis Ricketts", "badminton"). hobby("Edmund Abrams", "flag football"). hobby("Erin Ricketts", "shooting"). hobby("Flora Ricketts", "rock tumbling"). hobby("Hoa Leija", "beekeeping"). hobby("Jennifer Ricketts", "ephemera collecting"). hobby("Kory Ricketts", "medical science"). hobby("Kristie Abrams", "microscopy"). hobby("Kristopher Ricketts", "leaves"). hobby("Lauren Brumbaugh", "philately"). hobby("Lora Ricketts", "research"). hobby("Lyman Leija", "horseshoes"). hobby("Madelyn Ricketts", "insect collecting"). hobby("Maranda Ricketts", "fencing"). hobby("Marlene Isaacs", "insect collecting"). hobby("Melina Deming", "book collecting"). hobby("Micheal Leija", "business"). hobby("Milton Brumbaugh", "fishkeeping"). hobby("Mona Leija", "dolls"). hobby("Nick Solorio", "fitness"). hobby("Orval Ricketts", "paintball"). hobby("Paula Ricketts", "vintage clothing"). hobby("Randi Leija", "shuffleboard"). hobby("Raymond Leija", "sports memorabilia"). hobby("Reed Abrams", "kart racing"). hobby("Reggie Brumbaugh", "trapshooting"). hobby("Renea Ricketts", "table tennis"). hobby("Rhonda Ricketts", "rock climbing"). hobby("Rocky Ricketts", "gymnastics"). hobby("Rolanda Isaacs", "auto audiophilia"). hobby("Rosalee Brumbaugh", "myrmecology"). hobby("Samuel Ricketts", "flower collecting and pressing"). hobby("Shane Leija", "baton twirling"). hobby("Spencer Ricketts", "metal detecting"). hobby("Terrell Isaacs", "radio-controlled model playing"). hobby("Tiffanie Leija", "fossicking"). hobby("Tommy Zepeda", "shopping"). hobby("Toney Ricketts", "satellite watching"). hobby("Ulysses Deming", "carrier pigeons"). hobby("Winnifred Ricketts", "publishing"). hobby("Adella Schwarz", "learning"). hobby("Alberto Schwarz", "fishing"). hobby("Antony Kinder", "mini golf"). hobby("Aura Schwarz", "beekeeping"). hobby("Bernice Kinder", "sailing"). hobby("Carmelita Schwarz", "cycling"). hobby("Carter Bolen", "hobby horsing"). hobby("Clark Kinder", "dog walking"). hobby("Dawne Grover", "life science"). hobby("Delbert Menchaca", "leaves"). hobby("Dillon Schwarz", "volleyball"). hobby("Dylan Schwarz", "railway studies"). hobby("Elbert Canada", "butterfly watching"). hobby("Elyse Canada", "magnet fishing"). hobby("Emilie Schwarz", "insect collecting"). hobby("Eugene Schwarz", "films"). hobby("Eugenio Schwarz", "race walking"). hobby("Federico Schwarz", "dairy farming"). hobby("Francis Grover", "wikipedia editing"). hobby("Gustavo Grover", "kart racing"). hobby("Hank Schwarz", "people-watching"). hobby("Herbert Bolen", "whale watching"). hobby("Hope Schwarz", "shooting sports"). hobby("Irish Schwarz", "debate"). hobby("Jeanette Byrd", "table tennis"). hobby("Jeremiah Schwarz", "archaeology"). hobby("Joanna Schwarz", "lotology"). hobby("Judith Schwarz", "stone collecting"). hobby("Kent Schwarz", "birdwatching"). hobby("Kimberely Menchaca", "rock balancing"). hobby("Lorina Kinder", "karting"). hobby("Magdalena Schwarz", "disc golf"). hobby("Nada Schwarz", "shortwave listening"). hobby("Odette Schwarz", "audiophile"). hobby("Omar Schwarz", "bus spotting"). hobby("Pamula Schwarz", "shortwave listening"). hobby("Paula Bass", "fishkeeping"). hobby("Phylis Bolen", "tea bag collecting"). hobby("Randi Bass", "phillumeny"). hobby("Randi Schwarz", "stamp collecting"). hobby("Randolph Schwarz", "volleyball"). hobby("Riley Grover", "learning"). hobby("Rodolfo Byrd", "shooting"). hobby("Ross Bolen", "audiophile"). hobby("Shawnta Schwarz", "knife collecting"). hobby("Sona Kinder", "learning"). hobby("Sueann Bolen", "letterboxing"). hobby("Tania Schwarz", "beekeeping"). hobby("Tomas Bass", "bridge"). hobby("Zelda Schwarz", "perfume"). granddaughter(X, Y) :- grandchild(X, Y), female(Y). grandson(X, Y) :- grandchild(X, Y), male(Y). :- dynamic job/2. job("Aida Wang", "personal assistant"). job("Alec Sinclair", "health promotion specialist"). job("Alfredo Wang", "osteopath"). job("Alison Smock", "broadcast engineer"). job("Alvaro Smock", "oncologist"). job("Alycia Coe", "warehouse manager"). job("Barabara Beltran", "associate professor"). job("Brian Beltran", "sports therapist"). job("Carrol Woodson", "retail manager"). job("Christina Coe", "immunologist"). job("Christoper Coe", "education administrator"). job("Cortney Parmer", "early years teacher"). job("Cythia Smock", "biomedical scientist"). job("Daisy Beltran", "music tutor"). job("Dino Beltran", "clinical cytogeneticist"). job("Dominique Smock", "ecologist"). job("Dwight Hackworth", "barrister's clerk"). job("Earle Coe", "petroleum engineer"). job("Eli Smock", "clinical research associate"). job("Gayla Woodson", "chief of staff"). job("Gene Smock", "occupational therapist"). job("Isiah Lutz", "actuary"). job("Jamison Baptiste", "police officer"). job("Kristen Toombs", "sound technician"). job("Lannie Smock", "theatre manager"). job("Leeann Sinclair", "clinical biochemist"). job("Leisa Lutz", "public relations officer"). job("Lesley Lutz", "music therapist"). job("Lissa Coe", "librarian"). job("Lonny Parmer", "building surveyor"). job("Maria Baptiste", "fitness centre manager"). job("Michelle Hackworth", "oceanographer"). job("Noelia Lutz", "historic buildings inspector"). job("Orlando Beltran", "chief marketing officer"). job("Reggie Coe", "waste management officer"). job("Ricardo Hackworth", "medical sales representative"). job("Ryan Wang", "community pharmacist"). job("Shannon Beltran", "pension scheme manager"). job("Shelli Beltran", "armed forces logistics officer"). job("Stacia Toombs", "environmental education officer"). job("Tanner Beltran", "medical illustrator"). job("Tosha Beltran", "museum conservator"). job("Tyson Woodson", "optometrist"). job("Ulysses Parmer", "further education lecturer"). job("Vicki Hackworth", "dancer"). job("Vincent Lutz", "water engineer"). job("Virgil Hackworth", "intelligence analyst"). job("Von Sinclair", "fashion designer"). job("Wilbert Toombs", "doctor"). job("Williams Smock", "chartered accountant"). job("Wm Parmer", "speech and language therapist"). job("Angela Culver", "clinical embryologist"). job("Anibal Stansberry", "community development worker"). job("Barbara Philpott", "games developer"). job("Bev Gilmore", "accommodation manager"). job("Brigette Gilmore", "conservation officer"). job("Celia Macmillan", "forensic scientist"). job("Conrad Stansberry", "pharmacologist"). job("Cordelia Wiggs", "dance movement psychotherapist"). job("David Wiggs", "paediatric nurse"). job("Debra Stansberry", "research officer"). job("Desiree Stansberry", "production designer"). job("Diane Culver", "community development worker"). job("Dionne Stansberry", "clinical molecular geneticist"). job("Eliza Wiggs", "set designer"). job("Emanuel Stansberry", "town planner"). job("Frankie Hagerty", "print production planner"). job("Gail Culver", "equality and diversity officer"). job("Garry Gilmore", "chartered loss adjuster"). job("Gillian Wiggs", "sales promotion account executive"). job("Glenda Culver", "banker"). job("Hayden Stansberry", "systems developer"). job("Howard Wiggs", "chief financial officer"). job("Hyun Hagerty", "regulatory affairs officer"). job("Iva Stansberry", "architect"). job("Jordan Culver", "health and safety inspector"). job("Jules Culver", "medical secretary"). job("Justine Hagerty", "careers adviser"). job("Kelvin Culver", "civil service administrator"). job("Kori Wiggs", "optometrist"). job("Laverna Stansberry", "print production planner"). job("Lester Stansberry", "arboriculturist"). job("Lincoln Velasco", "adult nurse"). job("Lionel Culver", "commercial horticulturist"). job("Loren Culver", "conference centre manager"). job("Markus Hagerty", "journalist"). job("Maurine Velasco", "wellsite geologist"). job("Mickey Philpott", "community education officer"). job("Millard Stansberry", "investment analyst"). job("Nikki Stansberry", "trading standards officer"). job("Oren Stansberry", "colour technologist"). job("Quintin Hagerty", "immigration officer"). job("Renate Stansberry", "human resources officer"). job("Sona Stansberry", "agricultural consultant"). job("Tad Macmillan", "fashion designer"). job("Tamara Macmillan", "actuary"). job("Terence Culver", "industrial designer"). job("Tonya Culver", "maintenance engineer"). job("Victor Stansberry", "data scientist"). job("Wilmer Hagerty", "health physicist"). job("Yolanda Philpott", "hospital doctor"). job("Adelaida Ricketts", "radiographer"). job("Benny Abrams", "midwife"). job("Bobby Ricketts", "music therapist"). job("Bridget Solorio", "medical secretary"). job("Brooks Ricketts", "hospital pharmacist"). job("Cicely Abrams", "chemist"). job("Cordelia Zepeda", "editor"). job("Cory Ricketts", "technical brewer"). job("Dee Ricketts", "hospital pharmacist"). job("Deidra Ricketts", "learning disability nurse"). job("Dennis Ricketts", "financial manager"). job("Edmund Abrams", "chief executive officer"). job("Erin Ricketts", "programme researcher"). job("Flora Ricketts", "printmaker"). job("Hoa Leija", "sports coach"). job("Jennifer Ricketts", "trading standards officer"). job("Kory Ricketts", "physiological scientist"). job("Kristie Abrams", "immunologist"). job("Kristopher Ricketts", "advice worker"). job("Lauren Brumbaugh", "ambulance person"). job("Lora Ricketts", "tourism officer"). job("Lyman Leija", "solicitor"). job("Madelyn Ricketts", "insurance account manager"). job("Maranda Ricketts", "police officer"). job("Marlene Isaacs", "quantity surveyor"). job("Melina Deming", "building services engineer"). job("Micheal Leija", "futures trader"). job("Milton Brumbaugh", "prison officer"). job("Mona Leija", "web designer"). job("Nick Solorio", "therapeutic radiographer"). job("Orval Ricketts", "planning and development surveyor"). job("Paula Ricketts", "neurosurgeon"). job("Randi Leija", "sports administrator"). job("Raymond Leija", "quarry manager"). job("Reed Abrams", "homeopath"). job("Reggie Brumbaugh", "psychiatrist"). job("Renea Ricketts", "wellsite geologist"). job("Rhonda Ricketts", "historic buildings inspector"). job("Rocky Ricketts", "rural practice surveyor"). job("Rolanda Isaacs", "meteorologist"). job("Rosalee Brumbaugh", "farm manager"). job("Samuel Ricketts", "minerals surveyor"). job("Shane Leija", "textile designer"). job("Spencer Ricketts", "teaching laboratory technician"). job("Terrell Isaacs", "meteorologist"). job("Tiffanie Leija", "insurance broker"). job("Tommy Zepeda", "early years teacher"). job("Toney Ricketts", "curator"). job("Ulysses Deming", "furniture designer"). job("Winnifred Ricketts", "risk analyst"). job("Adella Schwarz", "museum exhibitions officer"). job("Alberto Schwarz", "pilot"). job("Antony Kinder", "human resources officer"). job("Aura Schwarz", "public relations officer"). job("Bernice Kinder", "solicitor"). job("Carmelita Schwarz", "broadcast engineer"). job("Carter Bolen", "chiropractor"). job("Clark Kinder", "statistician"). job("Dawne Grover", "musician"). job("Delbert Menchaca", "economist"). job("Dillon Schwarz", "company secretary"). job("Dylan Schwarz", "editorial assistant"). job("Elbert Canada", "transport planner"). job("Elyse Canada", "customer service manager"). job("Emilie Schwarz", "camera operator"). job("Eugene Schwarz", "psychotherapist"). job("Eugenio Schwarz", "scientific laboratory technician"). job("Federico Schwarz", "travel agency manager"). job("Francis Grover", "geologist"). job("Gustavo Grover", "soil scientist"). job("Hank Schwarz", "optometrist"). job("Herbert Bolen", "banker"). job("Hope Schwarz", "media buyer"). job("Irish Schwarz", "careers adviser"). job("Jeanette Byrd", "garment technologist"). job("Jeremiah Schwarz", "advertising art director"). job("Joanna Schwarz", "market researcher"). job("Judith Schwarz", "IT consultant"). job("Kent Schwarz", "probation officer"). job("Kimberely Menchaca", "marketing executive"). job("Lorina Kinder", "investment banker"). job("Magdalena Schwarz", "product development scientist"). job("Nada Schwarz", "museum curator"). job("Odette Schwarz", "sales professional"). job("Omar Schwarz", "charity officer"). job("Pamula Schwarz", "charity fundraiser"). job("Paula Bass", "insurance account manager"). job("Phylis Bolen", "chartered certified accountant"). job("Randi Bass", "environmental education officer"). job("Randi Schwarz", "chemist"). job("Randolph Schwarz", "research officer"). job("Riley Grover", "dispensing optician"). job("Rodolfo Byrd", "operations geologist"). job("Ross Bolen", "chartered loss adjuster"). job("Shawnta Schwarz", "bookseller"). job("Sona Kinder", "arts administrator"). job("Sueann Bolen", "mining engineer"). job("Tania Schwarz", "museum exhibitions officer"). job("Tomas Bass", "forensic scientist"). job("Zelda Schwarz", "chief technology officer"). great_uncle(X, Y) :- grandparent(X, A), brother(A, Y). :- dynamic save_all_clauses_to_file/1. save_all_clauses_to_file(A) :- open(A, write, B), set_output(B), listing, close(B). :- dynamic term_expansion/4. :- multifile term_expansion/4. grandchild(X, Y) :- grandparent(Y, X). :- dynamic dob/2. dob("Aida Wang", "0985-05-30"). dob("Alec Sinclair", "1006-07-10"). dob("Alfredo Wang", "1012-02-04"). dob("Alison Smock", "0929-10-28"). dob("Alvaro Smock", "0867-07-12"). dob("Alycia Coe", "0959-01-13"). dob("Barabara Beltran", "0989-06-11"). dob("Brian Beltran", "0927-07-27"). dob("Carrol Woodson", "1033-07-02"). dob("Christina Coe", "0983-02-26"). dob("Christoper Coe", "0957-01-08"). dob("Cortney Parmer", "1014-07-04"). dob("Cythia Smock", "0956-05-12"). dob("Daisy Beltran", "0931-09-21"). dob("Dino Beltran", "0958-08-09"). dob("Dominique Smock", "0897-09-08"). dob("Dwight Hackworth", "1016-12-30"). dob("Earle Coe", "0984-05-03"). dob("Eli Smock", "0901-01-18"). dob("Gayla Woodson", "1035-10-24"). dob("Gene Smock", "0898-08-16"). dob("Isiah Lutz", "1014-10-18"). dob("Jamison Baptiste", "0929-02-07"). dob("Kristen Toombs", "0986-06-27"). dob("Lannie Smock", "0867-08-24"). dob("Leeann Sinclair", "1011-10-25"). dob("Leisa Lutz", "1015-11-21"). dob("Lesley Lutz", "1040-01-31"). dob("Lissa Coe", "1010-08-08"). dob("Lonny Parmer", "1042-08-03"). dob("Maria Baptiste", "0929-10-22"). dob("Michelle Hackworth", "1007-05-01"). dob("Noelia Lutz", "1042-01-27"). dob("Orlando Beltran", "0953-10-23"). dob("Reggie Coe", "1009-07-17"). dob("Ricardo Hackworth", "0983-02-24"). dob("Ryan Wang", "0982-03-17"). dob("Shannon Beltran", "0981-04-26"). dob("Shelli Beltran", "0958-03-08"). dob("Stacia Toombs", "0959-03-22"). dob("Tanner Beltran", "0956-11-17"). dob("Tosha Beltran", "0955-03-27"). dob("Tyson Woodson", "1068-10-22"). dob("Ulysses Parmer", "1015-03-18"). dob("Vicki Hackworth", "0985-05-30"). dob("Vincent Lutz", "1063-07-01"). dob("Virgil Hackworth", "1009-06-23"). dob("Von Sinclair", "1039-02-26"). dob("Wilbert Toombs", "0956-07-26"). dob("Williams Smock", "0926-04-04"). dob("Wm Parmer", "1040-07-04"). dob("Angela Culver", "0898-11-29"). dob("Anibal Stansberry", "0973-09-08"). dob("Barbara Philpott", "0915-10-13"). dob("Bev Gilmore", "0951-06-19"). dob("Brigette Gilmore", "0923-05-12"). dob("Celia Macmillan", "1026-12-07"). dob("Conrad Stansberry", "1003-10-24"). dob("Cordelia Wiggs", "0976-12-23"). dob("David Wiggs", "0979-09-27"). dob("Debra Stansberry", "1008-03-18"). dob("Desiree Stansberry", "1002-10-18"). dob("Diane Culver", "0869-11-24"). dob("Dionne Stansberry", "1037-04-26"). dob("Eliza Wiggs", "1040-01-19"). dob("Emanuel Stansberry", "1034-05-31"). dob("Frankie Hagerty", "0946-05-01"). dob("Gail Culver", "0887-02-26"). dob("Garry Gilmore", "0920-10-17"). dob("Gillian Wiggs", "1010-02-07"). dob("Glenda Culver", "0859-05-23"). dob("Hayden Stansberry", "1005-03-30"). dob("Howard Wiggs", "1010-06-15"). dob("Hyun Hagerty", "0946-07-18"). dob("Iva Stansberry", "0947-12-16"). dob("Jordan Culver", "0863-05-18"). dob("Jules Culver", "0865-04-01"). dob("Justine Hagerty", "0922-04-26"). dob("Kelvin Culver", "0893-08-01"). dob("Kori Wiggs", "1043-07-28"). dob("Laverna Stansberry", "1009-10-20"). dob("Lester Stansberry", "1030-10-24"). dob("Lincoln Velasco", "0861-10-10"). dob("Lionel Culver", "0888-06-17"). dob("Loren Culver", "0837-04-13"). dob("Markus Hagerty", "0922-01-07"). dob("Maurine Velasco", "0861-04-11"). dob("Mickey Philpott", "0916-05-13"). dob("Millard Stansberry", "1002-04-17"). dob("Nikki Stansberry", "1030-04-05"). dob("Oren Stansberry", "0948-09-28"). dob("Quintin Hagerty", "0981-01-08"). dob("Renate Stansberry", "0977-11-30"). dob("Sona Stansberry", "1005-11-15"). dob("Tad Macmillan", "1024-03-25"). dob("Tamara Macmillan", "1055-08-19"). dob("Terence Culver", "0889-08-09"). dob("Tonya Culver", "0837-02-09"). dob("Victor Stansberry", "0980-11-17"). dob("Wilmer Hagerty", "0948-05-29"). dob("Yolanda Philpott", "0940-02-02"). dob("Adelaida Ricketts", "0922-12-18"). dob("Benny Abrams", "0896-12-12"). dob("Bobby Ricketts", "0947-04-09"). dob("Bridget Solorio", "0986-07-21"). dob("Brooks Ricketts", "0898-02-26"). dob("Cicely Abrams", "0870-01-06"). dob("Cordelia Zepeda", "0916-07-26"). dob("Cory Ricketts", "0878-04-27"). dob("Dee Ricketts", "0972-08-01"). dob("Deidra Ricketts", "0946-02-25"). dob("Dennis Ricketts", "0923-07-06"). dob("Edmund Abrams", "0845-10-24"). dob("Erin Ricketts", "0900-05-21"). dob("Flora Ricketts", "0879-05-07"). dob("Hoa Leija", "0902-04-25"). dob("Jennifer Ricketts", "0975-05-24"). dob("Kory Ricketts", "0950-01-14"). dob("Kristie Abrams", "0843-03-20"). dob("Kristopher Ricketts", "0850-09-22"). dob("Lauren Brumbaugh", "1041-06-15"). dob("Lora Ricketts", "0952-09-06"). dob("Lyman Leija", "0901-03-05"). dob("Madelyn Ricketts", "0850-06-15"). dob("Maranda Ricketts", "0988-06-04"). dob("Marlene Isaacs", "0954-08-24"). dob("Melina Deming", "0929-07-13"). dob("Micheal Leija", "0922-10-24"). dob("Milton Brumbaugh", "1045-08-29"). dob("Mona Leija", "0928-05-15"). dob("Nick Solorio", "0984-11-19"). dob("Orval Ricketts", "0906-08-02"). dob("Paula Ricketts", "0925-09-21"). dob("Randi Leija", "0900-05-14"). dob("Raymond Leija", "0926-06-19"). dob("Reed Abrams", "0870-11-15"). dob("Reggie Brumbaugh", "1014-09-14"). dob("Renea Ricketts", "0904-01-13"). dob("Rhonda Ricketts", "0958-11-25"). dob("Rocky Ricketts", "0923-06-06"). dob("Rolanda Isaacs", "0927-12-01"). dob("Rosalee Brumbaugh", "1016-02-10"). dob("Samuel Ricketts", "0952-08-04"). dob("Shane Leija", "0873-05-27"). dob("Spencer Ricketts", "0959-10-28"). dob("Terrell Isaacs", "0926-10-24"). dob("Tiffanie Leija", "0875-11-15"). dob("Tommy Zepeda", "0915-11-25"). dob("Toney Ricketts", "0949-05-16"). dob("Ulysses Deming", "0930-07-19"). dob("Winnifred Ricketts", "0954-04-23"). dob("Adella Schwarz", "1034-01-20"). dob("Alberto Schwarz", "1010-07-13"). dob("Antony Kinder", "1032-03-16"). dob("Aura Schwarz", "0953-08-08"). dob("Bernice Kinder", "1003-04-28"). dob("Carmelita Schwarz", "0984-01-08"). dob("Carter Bolen", "1014-01-31"). dob("Clark Kinder", "1000-02-09"). dob("Dawne Grover", "1031-02-26"). dob("Delbert Menchaca", "0953-05-15"). dob("Dillon Schwarz", "0979-09-16"). dob("Dylan Schwarz", "0899-09-16"). dob("Elbert Canada", "0893-11-15"). dob("Elyse Canada", "0889-07-11"). dob("Emilie Schwarz", "1008-11-19"). dob("Eugene Schwarz", "1004-10-08"). dob("Eugenio Schwarz", "0954-12-07"). dob("Federico Schwarz", "1032-10-11"). dob("Francis Grover", "1056-09-26"). dob("Gustavo Grover", "1026-05-24"). dob("Hank Schwarz", "1035-06-29"). dob("Herbert Bolen", "1007-04-10"). dob("Hope Schwarz", "1036-04-11"). dob("Irish Schwarz", "1007-10-06"). dob("Jeanette Byrd", "0976-08-12"). dob("Jeremiah Schwarz", "1007-09-13"). dob("Joanna Schwarz", "1060-04-19"). dob("Judith Schwarz", "0974-06-18"). dob("Kent Schwarz", "0978-10-20"). dob("Kimberely Menchaca", "0954-09-19"). dob("Lorina Kinder", "1062-06-10"). dob("Magdalena Schwarz", "1002-06-23"). dob("Nada Schwarz", "1009-06-26"). dob("Odette Schwarz", "0954-03-05"). dob("Omar Schwarz", "0926-12-20"). dob("Pamula Schwarz", "0979-02-20"). dob("Paula Bass", "1076-04-16"). dob("Phylis Bolen", "1014-07-25"). dob("Randi Bass", "1044-03-08"). dob("Randi Schwarz", "0999-10-04"). dob("Randolph Schwarz", "1038-10-02"). dob("Riley Grover", "1063-02-01"). dob("Rodolfo Byrd", "0977-05-16"). dob("Ross Bolen", "0983-07-06"). dob("Shawnta Schwarz", "0897-10-28"). dob("Sona Kinder", "1030-01-10"). dob("Sueann Bolen", "0982-10-22"). dob("Tania Schwarz", "0923-08-11"). dob("Tomas Bass", "1046-08-17"). dob("Zelda Schwarz", "0982-10-22"). :- dynamic file_search_path/2. :- multifile file_search_path/2. file_search_path(library, Dir) :- library_directory(Dir). file_search_path(swi, A) :- system:current_prolog_flag(home, A). file_search_path(swi, A) :- system:current_prolog_flag(shared_home, A). file_search_path(library, app_config(lib)). file_search_path(library, swi(library)). file_search_path(library, swi(library/clp)). file_search_path(library, A) :- system:'$ext_library_directory'(A). file_search_path(foreign, swi(A)) :- system: ( current_prolog_flag(apple_universal_binary, true), A='lib/fat-darwin' ). file_search_path(path, A) :- system: ( getenv('PATH', B), current_prolog_flag(path_sep, C), atomic_list_concat(D, C, B), '$member'(A, D) ). file_search_path(user_app_data, A) :- system:'$xdg_prolog_directory'(data, A). file_search_path(common_app_data, A) :- system:'$xdg_prolog_directory'(common_data, A). file_search_path(user_app_config, A) :- system:'$xdg_prolog_directory'(config, A). file_search_path(common_app_config, A) :- system:'$xdg_prolog_directory'(common_config, A). file_search_path(app_data, user_app_data('.')). file_search_path(app_data, common_app_data('.')). file_search_path(app_config, user_app_config('.')). file_search_path(app_config, common_app_config('.')). file_search_path(app_preferences, user_app_config('.')). file_search_path(user_profile, app_preferences('.')). file_search_path(app, swi(app)). file_search_path(app, app_data(app)). file_search_path(autoload, swi(library)). file_search_path(autoload, pce(prolog/lib)). file_search_path(autoload, app_config(lib)). file_search_path(autoload, Dir) :- '$autoload':'$ext_library_directory'(Dir). file_search_path(pack, app_data(pack)). file_search_path(library, PackLib) :- '$pack':pack_dir(_Name, prolog, PackLib). file_search_path(foreign, PackLib) :- '$pack':pack_dir(_Name, foreign, PackLib). file_search_path(app, AppDir) :- '$pack':pack_dir(_Name, app, AppDir). :- multifile prolog_list_goal/1. :- dynamic type/2. type("Aida Wang", person). type("Alec Sinclair", person). type("Alfredo Wang", person). type("Alison Smock", person). type("Alvaro Smock", person). type("Alycia Coe", person). type("Barabara Beltran", person). type("Brian Beltran", person). type("Carrol Woodson", person). type("Christina Coe", person). type("Christoper Coe", person). type("Cortney Parmer", person). type("Cythia Smock", person). type("Daisy Beltran", person). type("Dino Beltran", person). type("Dominique Smock", person). type("Dwight Hackworth", person). type("Earle Coe", person). type("Eli Smock", person). type("Gayla Woodson", person). type("Gene Smock", person). type("Isiah Lutz", person). type("Jamison Baptiste", person). type("Kristen Toombs", person). type("Lannie Smock", person). type("Leeann Sinclair", person). type("Leisa Lutz", person). type("Lesley Lutz", person). type("Lissa Coe", person). type("Lonny Parmer", person). type("Maria Baptiste", person). type("Michelle Hackworth", person). type("Noelia Lutz", person). type("Orlando Beltran", person). type("Reggie Coe", person). type("Ricardo Hackworth", person). type("Ryan Wang", person). type("Shannon Beltran", person). type("Shelli Beltran", person). type("Stacia Toombs", person). type("Tanner Beltran", person). type("Tosha Beltran", person). type("Tyson Woodson", person). type("Ulysses Parmer", person). type("Vicki Hackworth", person). type("Vincent Lutz", person). type("Virgil Hackworth", person). type("Von Sinclair", person). type("Wilbert Toombs", person). type("Williams Smock", person). type("Wm Parmer", person). type("Angela Culver", person). type("Anibal Stansberry", person). type("Barbara Philpott", person). type("Bev Gilmore", person). type("Brigette Gilmore", person). type("Celia Macmillan", person). type("Conrad Stansberry", person). type("Cordelia Wiggs", person). type("David Wiggs", person). type("Debra Stansberry", person). type("Desiree Stansberry", person). type("Diane Culver", person). type("Dionne Stansberry", person). type("Eliza Wiggs", person). type("Emanuel Stansberry", person). type("Frankie Hagerty", person). type("Gail Culver", person). type("Garry Gilmore", person). type("Gillian Wiggs", person). type("Glenda Culver", person). type("Hayden Stansberry", person). type("Howard Wiggs", person). type("Hyun Hagerty", person). type("Iva Stansberry", person). type("Jordan Culver", person). type("Jules Culver", person). type("Justine Hagerty", person). type("Kelvin Culver", person). type("Kori Wiggs", person). type("Laverna Stansberry", person). type("Lester Stansberry", person). type("Lincoln Velasco", person). type("Lionel Culver", person). type("Loren Culver", person). type("Markus Hagerty", person). type("Maurine Velasco", person). type("Mickey Philpott", person). type("Millard Stansberry", person). type("Nikki Stansberry", person). type("Oren Stansberry", person). type("Quintin Hagerty", person). type("Renate Stansberry", person). type("Sona Stansberry", person). type("Tad Macmillan", person). type("Tamara Macmillan", person). type("Terence Culver", person). type("Tonya Culver", person). type("Victor Stansberry", person). type("Wilmer Hagerty", person). type("Yolanda Philpott", person). type("Adelaida Ricketts", person). type("Benny Abrams", person). type("Bobby Ricketts", person). type("Bridget Solorio", person). type("Brooks Ricketts", person). type("Cicely Abrams", person). type("Cordelia Zepeda", person). type("Cory Ricketts", person). type("Dee Ricketts", person). type("Deidra Ricketts", person). type("Dennis Ricketts", person). type("Edmund Abrams", person). type("Erin Ricketts", person). type("Flora Ricketts", person). type("Hoa Leija", person). type("Jennifer Ricketts", person). type("Kory Ricketts", person). type("Kristie Abrams", person). type("Kristopher Ricketts", person). type("Lauren Brumbaugh", person). type("Lora Ricketts", person). type("Lyman Leija", person). type("Madelyn Ricketts", person). type("Maranda Ricketts", person). type("Marlene Isaacs", person). type("Melina Deming", person). type("Micheal Leija", person). type("Milton Brumbaugh", person). type("Mona Leija", person). type("Nick Solorio", person). type("Orval Ricketts", person). type("Paula Ricketts", person). type("Randi Leija", person). type("Raymond Leija", person). type("Reed Abrams", person). type("Reggie Brumbaugh", person). type("Renea Ricketts", person). type("Rhonda Ricketts", person). type("Rocky Ricketts", person). type("Rolanda Isaacs", person). type("Rosalee Brumbaugh", person). type("Samuel Ricketts", person). type("Shane Leija", person). type("Spencer Ricketts", person). type("Terrell Isaacs", person). type("Tiffanie Leija", person). type("Tommy Zepeda", person). type("Toney Ricketts", person). type("Ulysses Deming", person). type("Winnifred Ricketts", person). type("Adella Schwarz", person). type("Alberto Schwarz", person). type("Antony Kinder", person). type("Aura Schwarz", person). type("Bernice Kinder", person). type("Carmelita Schwarz", person). type("Carter Bolen", person). type("Clark Kinder", person). type("Dawne Grover", person). type("Delbert Menchaca", person). type("Dillon Schwarz", person). type("Dylan Schwarz", person). type("Elbert Canada", person). type("Elyse Canada", person). type("Emilie Schwarz", person). type("Eugene Schwarz", person). type("Eugenio Schwarz", person). type("Federico Schwarz", person). type("Francis Grover", person). type("Gustavo Grover", person). type("Hank Schwarz", person). type("Herbert Bolen", person). type("Hope Schwarz", person). type("Irish Schwarz", person). type("Jeanette Byrd", person). type("Jeremiah Schwarz", person). type("Joanna Schwarz", person). type("Judith Schwarz", person). type("Kent Schwarz", person). type("Kimberely Menchaca", person). type("Lorina Kinder", person). type("Magdalena Schwarz", person). type("Nada Schwarz", person). type("Odette Schwarz", person). type("Omar Schwarz", person). type("Pamula Schwarz", person). type("Paula Bass", person). type("Phylis Bolen", person). type("Randi Bass", person). type("Randi Schwarz", person). type("Randolph Schwarz", person). type("Riley Grover", person). type("Rodolfo Byrd", person). type("Ross Bolen", person). type("Shawnta Schwarz", person). type("Sona Kinder", person). type("Sueann Bolen", person). type("Tania Schwarz", person). type("Tomas Bass", person). type("Zelda Schwarz", person). grandfather(X, Y) :- grandparent(X, Y), male(Y). :- dynamic expand_query/4. :- multifile expand_query/4. :- dynamic attribute/1. attribute("personal assistant"). attribute("meditation"). attribute("health promotion specialist"). attribute("meteorology"). attribute("osteopath"). attribute("biology"). attribute("broadcast engineer"). attribute("meteorology"). attribute("oncologist"). attribute("dolls"). attribute("warehouse manager"). attribute("photography"). attribute("associate professor"). attribute("shogi"). attribute("sports therapist"). attribute("dominoes"). attribute("retail manager"). attribute("tether car"). attribute("immunologist"). attribute("architecture"). attribute("education administrator"). attribute("geocaching"). attribute("early years teacher"). attribute("trainspotting"). attribute("biomedical scientist"). attribute("bus spotting"). attribute("music tutor"). attribute("research"). attribute("clinical cytogeneticist"). attribute("geography"). attribute("ecologist"). attribute("microbiology"). attribute("barrister's clerk"). attribute("canoeing"). attribute("petroleum engineer"). attribute("learning"). attribute("clinical research associate"). attribute("dairy farming"). attribute("chief of staff"). attribute("fossil hunting"). attribute("occupational therapist"). attribute("sociology"). attribute("actuary"). attribute("finance"). attribute("police officer"). attribute("meditation"). attribute("sound technician"). attribute("wikipedia editing"). attribute("theatre manager"). attribute("radio-controlled car racing"). attribute("clinical biochemist"). attribute("social studies"). attribute("public relations officer"). attribute("judo"). attribute("music therapist"). attribute("flying disc"). attribute("librarian"). attribute("cricket"). attribute("building surveyor"). attribute("weightlifting"). attribute("fitness centre manager"). attribute("meditation"). attribute("oceanographer"). attribute("ballroom dancing"). attribute("historic buildings inspector"). attribute("microscopy"). attribute("chief marketing officer"). attribute("reading"). attribute("waste management officer"). attribute("laser tag"). attribute("medical sales representative"). attribute("hiking/backpacking"). attribute("community pharmacist"). attribute("audiophile"). attribute("pension scheme manager"). attribute("tennis polo"). attribute("armed forces logistics officer"). attribute("photography"). attribute("environmental education officer"). attribute("backgammon"). attribute("medical illustrator"). attribute("microscopy"). attribute("museum conservator"). attribute("herping"). attribute("optometrist"). attribute("philately"). attribute("further education lecturer"). attribute("birdwatching"). attribute("dancer"). attribute("shogi"). attribute("water engineer"). attribute("magnet fishing"). attribute("intelligence analyst"). attribute("table tennis"). attribute("fashion designer"). attribute("scuba diving"). attribute("doctor"). attribute("biology"). attribute("chartered accountant"). attribute("sea glass collecting"). attribute("speech and language therapist"). attribute("research"). attribute("clinical embryologist"). attribute("gongoozling"). attribute("community development worker"). attribute("benchmarking"). attribute("games developer"). attribute("sea glass collecting"). attribute("accommodation manager"). attribute("bowling"). attribute("conservation officer"). attribute("audiophile"). attribute("forensic scientist"). attribute("tea bag collecting"). attribute("pharmacologist"). attribute("model aircraft"). attribute("dance movement psychotherapist"). attribute("herping"). attribute("paediatric nurse"). attribute("figure skating"). attribute("research officer"). attribute("fossil hunting"). attribute("production designer"). attribute("airsoft"). attribute("community development worker"). attribute("whale watching"). attribute("clinical molecular geneticist"). attribute("pinball"). attribute("set designer"). attribute("research"). attribute("town planner"). attribute("flying model planes"). attribute("print production planner"). attribute("ant farming"). attribute("equality and diversity officer"). attribute("volleyball"). attribute("chartered loss adjuster"). attribute("gongoozling"). attribute("sales promotion account executive"). attribute("vehicle restoration"). attribute("banker"). attribute("car riding"). attribute("systems developer"). attribute("mycology"). attribute("chief financial officer"). attribute("table football"). attribute("regulatory affairs officer"). attribute("photography"). attribute("architect"). attribute("metal detecting"). attribute("health and safety inspector"). attribute("archery"). attribute("medical secretary"). attribute("reading"). attribute("careers adviser"). attribute("shortwave listening"). attribute("civil service administrator"). attribute("snowmobiling"). attribute("optometrist"). attribute("research"). attribute("print production planner"). attribute("religious studies"). attribute("arboriculturist"). attribute("cooking"). attribute("adult nurse"). attribute("kart racing"). attribute("commercial horticulturist"). attribute("darts"). attribute("conference centre manager"). attribute("herping"). attribute("journalist"). attribute("backgammon"). attribute("wellsite geologist"). attribute("herping"). attribute("community education officer"). attribute("ant farming"). attribute("investment analyst"). attribute("ephemera collecting"). attribute("trading standards officer"). attribute("bus spotting"). attribute("colour technologist"). attribute("research"). attribute("immigration officer"). attribute("croquet"). attribute("human resources officer"). attribute("leaves"). attribute("agricultural consultant"). attribute("antiquities"). attribute("fashion designer"). attribute("field hockey"). attribute("actuary"). attribute("leaves"). attribute("industrial designer"). attribute("auto audiophilia"). attribute("maintenance engineer"). attribute("magic"). attribute("data scientist"). attribute("people-watching"). attribute("health physicist"). attribute("social studies"). attribute("hospital doctor"). attribute("mineral collecting"). attribute("radiographer"). attribute("fusilately"). attribute("midwife"). attribute("surfing"). attribute("music therapist"). attribute("magic"). attribute("medical secretary"). attribute("story writing"). attribute("hospital pharmacist"). attribute("curling"). attribute("chemist"). attribute("museum visiting"). attribute("editor"). attribute("benchmarking"). attribute("technical brewer"). attribute("meteorology"). attribute("hospital pharmacist"). attribute("entrepreneurship"). attribute("learning disability nurse"). attribute("deltiology"). attribute("financial manager"). attribute("badminton"). attribute("chief executive officer"). attribute("flag football"). attribute("programme researcher"). attribute("shooting"). attribute("printmaker"). attribute("rock tumbling"). attribute("sports coach"). attribute("beekeeping"). attribute("trading standards officer"). attribute("ephemera collecting"). attribute("physiological scientist"). attribute("medical science"). attribute("immunologist"). attribute("microscopy"). attribute("advice worker"). attribute("leaves"). attribute("ambulance person"). attribute("philately"). attribute("tourism officer"). attribute("research"). attribute("solicitor"). attribute("horseshoes"). attribute("insurance account manager"). attribute("insect collecting"). attribute("police officer"). attribute("fencing"). attribute("quantity surveyor"). attribute("insect collecting"). attribute("building services engineer"). attribute("book collecting"). attribute("futures trader"). attribute("business"). attribute("prison officer"). attribute("fishkeeping"). attribute("web designer"). attribute("dolls"). attribute("therapeutic radiographer"). attribute("fitness"). attribute("planning and development surveyor"). attribute("paintball"). attribute("neurosurgeon"). attribute("vintage clothing"). attribute("sports administrator"). attribute("shuffleboard"). attribute("quarry manager"). attribute("sports memorabilia"). attribute("homeopath"). attribute("kart racing"). attribute("psychiatrist"). attribute("trapshooting"). attribute("wellsite geologist"). attribute("table tennis"). attribute("historic buildings inspector"). attribute("rock climbing"). attribute("rural practice surveyor"). attribute("gymnastics"). attribute("meteorologist"). attribute("auto audiophilia"). attribute("farm manager"). attribute("myrmecology"). attribute("minerals surveyor"). attribute("flower collecting and pressing"). attribute("textile designer"). attribute("baton twirling"). attribute("teaching laboratory technician"). attribute("metal detecting"). attribute("meteorologist"). attribute("radio-controlled model playing"). attribute("insurance broker"). attribute("fossicking"). attribute("early years teacher"). attribute("shopping"). attribute("curator"). attribute("satellite watching"). attribute("furniture designer"). attribute("carrier pigeons"). attribute("risk analyst"). attribute("publishing"). attribute("museum exhibitions officer"). attribute("learning"). attribute("pilot"). attribute("fishing"). attribute("human resources officer"). attribute("mini golf"). attribute("public relations officer"). attribute("beekeeping"). attribute("solicitor"). attribute("sailing"). attribute("broadcast engineer"). attribute("cycling"). attribute("chiropractor"). attribute("hobby horsing"). attribute("statistician"). attribute("dog walking"). attribute("musician"). attribute("life science"). attribute("economist"). attribute("leaves"). attribute("company secretary"). attribute("volleyball"). attribute("editorial assistant"). attribute("railway studies"). attribute("transport planner"). attribute("butterfly watching"). attribute("customer service manager"). attribute("magnet fishing"). attribute("camera operator"). attribute("insect collecting"). attribute("psychotherapist"). attribute("films"). attribute("scientific laboratory technician"). attribute("race walking"). attribute("travel agency manager"). attribute("dairy farming"). attribute("geologist"). attribute("wikipedia editing"). attribute("soil scientist"). attribute("kart racing"). attribute("optometrist"). attribute("people-watching"). attribute("banker"). attribute("whale watching"). attribute("media buyer"). attribute("shooting sports"). attribute("careers adviser"). attribute("debate"). attribute("garment technologist"). attribute("table tennis"). attribute("advertising art director"). attribute("archaeology"). attribute("market researcher"). attribute("lotology"). attribute("IT consultant"). attribute("stone collecting"). attribute("probation officer"). attribute("birdwatching"). attribute("marketing executive"). attribute("rock balancing"). attribute("investment banker"). attribute("karting"). attribute("product development scientist"). attribute("disc golf"). attribute("museum curator"). attribute("shortwave listening"). attribute("sales professional"). attribute("audiophile"). attribute("charity officer"). attribute("bus spotting"). attribute("charity fundraiser"). attribute("shortwave listening"). attribute("insurance account manager"). attribute("fishkeeping"). attribute("chartered certified accountant"). attribute("tea bag collecting"). attribute("environmental education officer"). attribute("phillumeny"). attribute("chemist"). attribute("stamp collecting"). attribute("research officer"). attribute("volleyball"). attribute("dispensing optician"). attribute("learning"). attribute("operations geologist"). attribute("shooting"). attribute("chartered loss adjuster"). attribute("audiophile"). attribute("bookseller"). attribute("knife collecting"). attribute("arts administrator"). attribute("learning"). attribute("mining engineer"). attribute("letterboxing"). attribute("museum exhibitions officer"). attribute("beekeeping"). attribute("forensic scientist"). attribute("bridge"). attribute("chief technology officer"). attribute("perfume"). great_aunt(X, Y) :- grandparent(X, A), sister(A, Y). grandparent(X, Y) :- parent(X, Z), parent(Z, Y). grandmother(X, Y) :- grandparent(X, Y), female(Y). :- dynamic friend_/2. friend_("Aida Wang", "Jamison Baptiste"). friend_("Aida Wang", "Ulysses Parmer"). friend_("Aida Wang", "Angela Culver"). friend_("Aida Wang", "Paula Ricketts"). friend_("Aida Wang", "Rhonda Ricketts"). friend_("Aida Wang", "Hope Schwarz"). friend_("Alec Sinclair", "Anibal Stansberry"). friend_("Alec Sinclair", "Lester Stansberry"). friend_("Alec Sinclair", "Milton Brumbaugh"). friend_("Alec Sinclair", "Riley Grover"). friend_("Alfredo Wang", "Lonny Parmer"). friend_("Alfredo Wang", "Emanuel Stansberry"). friend_("Alfredo Wang", "Justine Hagerty"). friend_("Alfredo Wang", "Kori Wiggs"). friend_("Alfredo Wang", "Cory Ricketts"). friend_("Alfredo Wang", "Phylis Bolen"). friend_("Alfredo Wang", "Riley Grover"). friend_("Alison Smock", "Alvaro Smock"). friend_("Alison Smock", "Milton Brumbaugh"). friend_("Alison Smock", "Rosalee Brumbaugh"). friend_("Alvaro Smock", "Conrad Stansberry"). friend_("Alvaro Smock", "Mickey Philpott"). friend_("Alvaro Smock", "Milton Brumbaugh"). friend_("Alycia Coe", "Cordelia Wiggs"). friend_("Barabara Beltran", "Celia Macmillan"). friend_("Barabara Beltran", "Conrad Stansberry"). friend_("Barabara Beltran", "Kristie Abrams"). friend_("Barabara Beltran", "Lyman Leija"). friend_("Brian Beltran", "Jennifer Ricketts"). friend_("Brian Beltran", "Kristopher Ricketts"). friend_("Brian Beltran", "Randi Bass"). friend_("Carrol Woodson", "Renea Ricketts"). friend_("Christoper Coe", "Cordelia Zepeda"). friend_("Cortney Parmer", "David Wiggs"). friend_("Cortney Parmer", "Ulysses Deming"). friend_("Cortney Parmer", "Shawnta Schwarz"). friend_("Cythia Smock", "Leisa Lutz"). friend_("Cythia Smock", "Ryan Wang"). friend_("Cythia Smock", "Nikki Stansberry"). friend_("Cythia Smock", "Wilmer Hagerty"). friend_("Cythia Smock", "Paula Bass"). friend_("Cythia Smock", "Ross Bolen"). friend_("Dino Beltran", "Shannon Beltran"). friend_("Dominique Smock", "Dwight Hackworth"). friend_("Dominique Smock", "Odette Schwarz"). friend_("Dwight Hackworth", "Noelia Lutz"). friend_("Dwight Hackworth", "Victor Stansberry"). friend_("Dwight Hackworth", "Odette Schwarz"). friend_("Earle Coe", "Rhonda Ricketts"). friend_("Earle Coe", "Carter Bolen"). friend_("Eli Smock", "Ulysses Parmer"). friend_("Eli Smock", "Brooks Ricketts"). friend_("Eli Smock", "Clark Kinder"). friend_("Eli Smock", "Elbert Canada"). friend_("Gayla Woodson", "Howard Wiggs"). friend_("Gayla Woodson", "Millard Stansberry"). friend_("Gayla Woodson", "Orval Ricketts"). friend_("Gene Smock", "Jamison Baptiste"). friend_("Gene Smock", "Rosalee Brumbaugh"). friend_("Isiah Lutz", "Lannie Smock"). friend_("Isiah Lutz", "Shane Leija"). friend_("Isiah Lutz", "Carmelita Schwarz"). friend_("Isiah Lutz", "Francis Grover"). friend_("Jamison Baptiste", "Laverna Stansberry"). friend_("Jamison Baptiste", "Randolph Schwarz"). friend_("Kristen Toombs", "Noelia Lutz"). friend_("Kristen Toombs", "Celia Macmillan"). friend_("Kristen Toombs", "Conrad Stansberry"). friend_("Kristen Toombs", "Loren Culver"). friend_("Kristen Toombs", "Cory Ricketts"). friend_("Lannie Smock", "Winnifred Ricketts"). friend_("Lannie Smock", "Irish Schwarz"). friend_("Leeann Sinclair", "Noelia Lutz"). friend_("Leeann Sinclair", "Kent Schwarz"). friend_("Lesley Lutz", "Quintin Hagerty"). friend_("Lesley Lutz", "Winnifred Ricketts"). friend_("Lesley Lutz", "Jeremiah Schwarz"). friend_("Lissa Coe", "Debra Stansberry"). friend_("Lissa Coe", "Sona Stansberry"). friend_("Lissa Coe", "Bobby Ricketts"). friend_("Lissa Coe", "Raymond Leija"). friend_("Lonny Parmer", "Brigette Gilmore"). friend_("Lonny Parmer", "David Wiggs"). friend_("Lonny Parmer", "Eugenio Schwarz"). friend_("Maria Baptiste", "Oren Stansberry"). friend_("Maria Baptiste", "Melina Deming"). friend_("Michelle Hackworth", "Nick Solorio"). friend_("Michelle Hackworth", "Ulysses Deming"). friend_("Noelia Lutz", "Toney Ricketts"). friend_("Noelia Lutz", "Ulysses Deming"). friend_("Orlando Beltran", "Hyun Hagerty"). friend_("Orlando Beltran", "Paula Ricketts"). friend_("Reggie Coe", "Von Sinclair"). friend_("Ricardo Hackworth", "Stacia Toombs"). friend_("Ryan Wang", "Stacia Toombs"). friend_("Shannon Beltran", "Tanner Beltran"). friend_("Shannon Beltran", "Renate Stansberry"). friend_("Shannon Beltran", "Jeremiah Schwarz"). friend_("Shannon Beltran", "Kimberely Menchaca"). friend_("Shannon Beltran", "Ross Bolen"). friend_("Stacia Toombs", "Justine Hagerty"). friend_("Stacia Toombs", "Francis Grover"). friend_("Tanner Beltran", "Mickey Philpott"). friend_("Tanner Beltran", "Tomas Bass"). friend_("Tosha Beltran", "Samuel Ricketts"). friend_("Tyson Woodson", "Marlene Isaacs"). friend_("Tyson Woodson", "Ross Bolen"). friend_("Ulysses Parmer", "Iva Stansberry"). friend_("Vicki Hackworth", "Lauren Brumbaugh"). friend_("Vicki Hackworth", "Nick Solorio"). friend_("Vicki Hackworth", "Raymond Leija"). friend_("Vincent Lutz", "Wm Parmer"). friend_("Vincent Lutz", "Zelda Schwarz"). friend_("Virgil Hackworth", "David Wiggs"). friend_("Virgil Hackworth", "Dionne Stansberry"). friend_("Virgil Hackworth", "Markus Hagerty"). friend_("Virgil Hackworth", "Elbert Canada"). friend_("Virgil Hackworth", "Randolph Schwarz"). friend_("Von Sinclair", "Micheal Leija"). friend_("Von Sinclair", "Bernice Kinder"). friend_("Wilbert Toombs", "Wm Parmer"). friend_("Williams Smock", "Markus Hagerty"). friend_("Williams Smock", "Lorina Kinder"). friend_("Williams Smock", "Paula Bass"). friend_("Williams Smock", "Sona Kinder"). friend_("Wm Parmer", "Victor Stansberry"). friend_("Wm Parmer", "Melina Deming"). friend_("Wm Parmer", "Reggie Brumbaugh"). friend_("Angela Culver", "Cordelia Wiggs"). friend_("Angela Culver", "Debra Stansberry"). friend_("Anibal Stansberry", "Eliza Wiggs"). friend_("Anibal Stansberry", "Kristopher Ricketts"). friend_("Anibal Stansberry", "Randi Schwarz"). friend_("Barbara Philpott", "Debra Stansberry"). friend_("Barbara Philpott", "Diane Culver"). friend_("Barbara Philpott", "Mickey Philpott"). friend_("Barbara Philpott", "Tonya Culver"). friend_("Barbara Philpott", "Lora Ricketts"). friend_("Barbara Philpott", "Carmelita Schwarz"). friend_("Bev Gilmore", "Hayden Stansberry"). friend_("Bev Gilmore", "Kimberely Menchaca"). friend_("Brigette Gilmore", "Carter Bolen"). friend_("Celia Macmillan", "Bridget Solorio"). friend_("Celia Macmillan", "Jeanette Byrd"). friend_("Cordelia Wiggs", "Alberto Schwarz"). friend_("Cordelia Wiggs", "Paula Bass"). friend_("David Wiggs", "Maranda Ricketts"). friend_("Debra Stansberry", "Orval Ricketts"). friend_("Debra Stansberry", "Kimberely Menchaca"). friend_("Diane Culver", "Gillian Wiggs"). friend_("Diane Culver", "Dennis Ricketts"). friend_("Diane Culver", "Jennifer Ricketts"). friend_("Diane Culver", "Reggie Brumbaugh"). friend_("Diane Culver", "Elbert Canada"). friend_("Dionne Stansberry", "Hayden Stansberry"). friend_("Dionne Stansberry", "Lincoln Velasco"). friend_("Dionne Stansberry", "Victor Stansberry"). friend_("Dionne Stansberry", "Kristie Abrams"). friend_("Eliza Wiggs", "Mona Leija"). friend_("Emanuel Stansberry", "Lyman Leija"). friend_("Emanuel Stansberry", "Clark Kinder"). friend_("Emanuel Stansberry", "Delbert Menchaca"). friend_("Emanuel Stansberry", "Zelda Schwarz"). friend_("Frankie Hagerty", "Tad Macmillan"). friend_("Frankie Hagerty", "Edmund Abrams"). friend_("Frankie Hagerty", "Nick Solorio"). friend_("Frankie Hagerty", "Joanna Schwarz"). friend_("Frankie Hagerty", "Omar Schwarz"). friend_("Frankie Hagerty", "Randolph Schwarz"). friend_("Gail Culver", "Samuel Ricketts"). friend_("Gail Culver", "Delbert Menchaca"). friend_("Garry Gilmore", "Markus Hagerty"). friend_("Garry Gilmore", "Cordelia Zepeda"). friend_("Gillian Wiggs", "Oren Stansberry"). friend_("Gillian Wiggs", "Deidra Ricketts"). friend_("Gillian Wiggs", "Omar Schwarz"). friend_("Glenda Culver", "Loren Culver"). friend_("Glenda Culver", "Deidra Ricketts"). friend_("Glenda Culver", "Paula Ricketts"). friend_("Glenda Culver", "Carter Bolen"). friend_("Hayden Stansberry", "Dawne Grover"). friend_("Hayden Stansberry", "Paula Bass"). friend_("Hyun Hagerty", "Sona Stansberry"). friend_("Hyun Hagerty", "Hoa Leija"). friend_("Iva Stansberry", "Bridget Solorio"). friend_("Iva Stansberry", "Eugenio Schwarz"). friend_("Jordan Culver", "Sona Stansberry"). friend_("Jordan Culver", "Madelyn Ricketts"). friend_("Jules Culver", "Kori Wiggs"). friend_("Jules Culver", "Cory Ricketts"). friend_("Jules Culver", "Flora Ricketts"). friend_("Justine Hagerty", "Hank Schwarz"). friend_("Kelvin Culver", "Sona Stansberry"). friend_("Kelvin Culver", "Benny Abrams"). friend_("Kelvin Culver", "Kristie Abrams"). friend_("Kelvin Culver", "Carter Bolen"). friend_("Kelvin Culver", "Dylan Schwarz"). friend_("Laverna Stansberry", "Rodolfo Byrd"). friend_("Lester Stansberry", "Adelaida Ricketts"). friend_("Lester Stansberry", "Kimberely Menchaca"). friend_("Lester Stansberry", "Nada Schwarz"). friend_("Lincoln Velasco", "Kristopher Ricketts"). friend_("Lincoln Velasco", "Carmelita Schwarz"). friend_("Lincoln Velasco", "Delbert Menchaca"). friend_("Loren Culver", "Paula Ricketts"). friend_("Loren Culver", "Renea Ricketts"). friend_("Markus Hagerty", "Reed Abrams"). friend_("Maurine Velasco", "Renate Stansberry"). friend_("Maurine Velasco", "Orval Ricketts"). friend_("Maurine Velasco", "Sueann Bolen"). friend_("Mickey Philpott", "Nikki Stansberry"). friend_("Mickey Philpott", "Reed Abrams"). friend_("Millard Stansberry", "Omar Schwarz"). friend_("Nikki Stansberry", "Reed Abrams"). friend_("Oren Stansberry", "Rosalee Brumbaugh"). friend_("Oren Stansberry", "Herbert Bolen"). friend_("Oren Stansberry", "Odette Schwarz"). friend_("Oren Stansberry", "Paula Bass"). friend_("Quintin Hagerty", "Jeremiah Schwarz"). friend_("Renate Stansberry", "Paula Ricketts"). friend_("Renate Stansberry", "Clark Kinder"). friend_("Sona Stansberry", "Mona Leija"). friend_("Sona Stansberry", "Tomas Bass"). friend_("Tad Macmillan", "Lora Ricketts"). friend_("Tad Macmillan", "Rolanda Isaacs"). friend_("Tad Macmillan", "Sueann Bolen"). friend_("Tamara Macmillan", "Elyse Canada"). friend_("Terence Culver", "Lora Ricketts"). friend_("Tonya Culver", "Magdalena Schwarz"). friend_("Tonya Culver", "Odette Schwarz"). friend_("Victor Stansberry", "Milton Brumbaugh"). friend_("Victor Stansberry", "Mona Leija"). friend_("Victor Stansberry", "Carmelita Schwarz"). friend_("Wilmer Hagerty", "Erin Ricketts"). friend_("Wilmer Hagerty", "Jennifer Ricketts"). friend_("Wilmer Hagerty", "Jeremiah Schwarz"). friend_("Yolanda Philpott", "Reed Abrams"). friend_("Benny Abrams", "Terrell Isaacs"). friend_("Benny Abrams", "Jeremiah Schwarz"). friend_("Bobby Ricketts", "Jennifer Ricketts"). friend_("Bridget Solorio", "Rodolfo Byrd"). friend_("Brooks Ricketts", "Lorina Kinder"). friend_("Cicely Abrams", "Raymond Leija"). friend_("Cicely Abrams", "Odette Schwarz"). friend_("Cordelia Zepeda", "Spencer Ricketts"). friend_("Cory Ricketts", "Jeremiah Schwarz"). friend_("Dee Ricketts", "Lauren Brumbaugh"). friend_("Dee Ricketts", "Delbert Menchaca"). friend_("Deidra Ricketts", "Mona Leija"). friend_("Deidra Ricketts", "Emilie Schwarz"). friend_("Deidra Ricketts", "Randolph Schwarz"). friend_("Dennis Ricketts", "Kristopher Ricketts"). friend_("Dennis Ricketts", "Antony Kinder"). friend_("Dennis Ricketts", "Judith Schwarz"). friend_("Dennis Ricketts", "Sueann Bolen"). friend_("Erin Ricketts", "Randi Leija"). friend_("Erin Ricketts", "Tiffanie Leija"). friend_("Flora Ricketts", "Lora Ricketts"). friend_("Hoa Leija", "Alberto Schwarz"). friend_("Kory Ricketts", "Eugene Schwarz"). friend_("Kory Ricketts", "Zelda Schwarz"). friend_("Kristie Abrams", "Milton Brumbaugh"). friend_("Kristie Abrams", "Randolph Schwarz"). friend_("Lora Ricketts", "Herbert Bolen"). friend_("Lyman Leija", "Micheal Leija"). friend_("Madelyn Ricketts", "Toney Ricketts"). friend_("Maranda Ricketts", "Rosalee Brumbaugh"). friend_("Marlene Isaacs", "Francis Grover"). friend_("Melina Deming", "Milton Brumbaugh"). friend_("Melina Deming", "Rocky Ricketts"). friend_("Micheal Leija", "Terrell Isaacs"). friend_("Micheal Leija", "Kent Schwarz"). friend_("Milton Brumbaugh", "Alberto Schwarz"). friend_("Milton Brumbaugh", "Bernice Kinder"). friend_("Mona Leija", "Orval Ricketts"). friend_("Orval Ricketts", "Francis Grover"). friend_("Raymond Leija", "Samuel Ricketts"). friend_("Reed Abrams", "Hope Schwarz"). friend_("Reggie Brumbaugh", "Gustavo Grover"). friend_("Renea Ricketts", "Elbert Canada"). friend_("Rhonda Ricketts", "Tiffanie Leija"). friend_("Rhonda Ricketts", "Hank Schwarz"). friend_("Rhonda Ricketts", "Magdalena Schwarz"). friend_("Rocky Ricketts", "Samuel Ricketts"). friend_("Rocky Ricketts", "Emilie Schwarz"). friend_("Rocky Ricketts", "Judith Schwarz"). friend_("Rosalee Brumbaugh", "Winnifred Ricketts"). friend_("Samuel Ricketts", "Zelda Schwarz"). friend_("Spencer Ricketts", "Francis Grover"). friend_("Ulysses Deming", "Herbert Bolen"). friend_("Adella Schwarz", "Carter Bolen"). friend_("Alberto Schwarz", "Gustavo Grover"). friend_("Dawne Grover", "Kent Schwarz"). friend_("Delbert Menchaca", "Magdalena Schwarz"). friend_("Dillon Schwarz", "Zelda Schwarz"). friend_("Elbert Canada", "Phylis Bolen"). friend_("Emilie Schwarz", "Rodolfo Byrd"). friend_("Eugenio Schwarz", "Zelda Schwarz"). friend_("Gustavo Grover", "Joanna Schwarz"). friend_("Hank Schwarz", "Tomas Bass"). friend_("Jeanette Byrd", "Sueann Bolen"). friend_("Lorina Kinder", "Paula Bass"). friend_("Randi Bass", "Randolph Schwarz"). friend_("Randi Bass", "Zelda Schwarz"). friend(X, Y) :- friend_(X, Y). friend(X, Y) :- friend_(Y, X). niece(X, Y) :- sibling(X, A), daughter(A, Y). nephew(X, Y) :- sibling(X, A), son(A, Y). brother_in_law(X, Y) :- married(X, A), brother(A, Y). :- multifile message_property/2. sister_in_law(X, Y) :- married(X, A), sister(A, Y). wife(X, Y) :- married(X, Y), female(Y). husband(X, Y) :- married(X, Y), male(Y). daughter_in_law(X, Y) :- child(X, A), wife(A, Y). son_in_law(X, Y) :- child(X, A), husband(A, Y). son(X, Y) :- child(X, Y), male(Y). female(X) :- gender(X, "female"). daughter(X, Y) :- child(X, Y), female(Y). father_in_law(X, Y) :- married(X, A), father(A, Y). mother_in_law(X, Y) :- married(X, A), mother(A, Y). father(X, Y) :- parent(X, Y), male(Y). :- multifile prolog_predicate_name/2. child(X, Y) :- parent(Y, X). male_first_cousin_once_removed(X, Y) :- cousin(X, A), son(A, Y), X\=Y. :- multifile prolog_clause_name/2. :- dynamic expand_answer/2. :- multifile expand_answer/2. :- dynamic exception/3. :- multifile exception/3. female_first_cousin_once_removed(X, Y) :- cousin(X, A), daughter(A, Y), X\=Y. brother(X, Y) :- sibling(X, Y), male(Y). mother(X, Y) :- parent(X, Y), female(Y). male_second_cousin(X, Y) :- parent(X, A), parent(Y, B), cousin(A, B), male(Y), X\=Y. :- dynamic message_hook/3. :- multifile message_hook/3. female_second_cousin(X, Y) :- parent(X, A), parent(Y, B), cousin(A, B), female(Y), X\=Y. married(X, Y) :- parent(Child, X), parent(Child, Y), X\=Y. male(X) :- gender(X, "male"). :- dynamic prolog_file_type/2. :- multifile prolog_file_type/2. prolog_file_type(pl, prolog). prolog_file_type(prolog, prolog). prolog_file_type(qlf, prolog). prolog_file_type(qlf, qlf). prolog_file_type(A, executable) :- system:current_prolog_flag(shared_object_extension, A). prolog_file_type(dylib, executable) :- system:current_prolog_flag(apple, true). sister(X, Y) :- sibling(X, Y), female(Y). male_cousin(X, Y) :- cousin(X, Y), male(Y). :- dynamic nonbinary/1. nonbinary(X) :- gender(X, "nonbinary"). female_cousin(X, Y) :- cousin(X, Y), female(Y). sibling(X, Y) :- parent(X, A), parent(Y, A), X\=Y. :- dynamic portray/1. :- multifile portray/1. :- dynamic prolog_load_file/2. :- multifile prolog_load_file/2. :- dynamic goal_expansion/2. :- multifile goal_expansion/2. :- dynamic parent/2. parent("Aida Wang", "Dino Beltran"). parent("Aida Wang", "Shelli Beltran"). parent("Alfredo Wang", "Aida Wang"). parent("Alfredo Wang", "Ryan Wang"). parent("Barabara Beltran", "Dino Beltran"). parent("Barabara Beltran", "Shelli Beltran"). parent("Christina Coe", "Stacia Toombs"). parent("Christina Coe", "Wilbert Toombs"). parent("Cortney Parmer", "Aida Wang"). parent("Cortney Parmer", "Ryan Wang"). parent("Cythia Smock", "Alison Smock"). parent("Cythia Smock", "Williams Smock"). parent("Dino Beltran", "Brian Beltran"). parent("Dino Beltran", "Daisy Beltran"). parent("Dwight Hackworth", "Ricardo Hackworth"). parent("Dwight Hackworth", "Vicki Hackworth"). parent("Earle Coe", "Alycia Coe"). parent("Earle Coe", "Christoper Coe"). parent("Eli Smock", "Alvaro Smock"). parent("Eli Smock", "Lannie Smock"). parent("Gayla Woodson", "Lissa Coe"). parent("Gayla Woodson", "Reggie Coe"). parent("Gene Smock", "Alvaro Smock"). parent("Gene Smock", "Lannie Smock"). parent("Kristen Toombs", "Stacia Toombs"). parent("Kristen Toombs", "Wilbert Toombs"). parent("Leeann Sinclair", "Ricardo Hackworth"). parent("Leeann Sinclair", "Vicki Hackworth"). parent("Leisa Lutz", "Ricardo Hackworth"). parent("Leisa Lutz", "Vicki Hackworth"). parent("Lesley Lutz", "Isiah Lutz"). parent("Lesley Lutz", "Leisa Lutz"). parent("Lonny Parmer", "Cortney Parmer"). parent("Lonny Parmer", "Ulysses Parmer"). parent("Michelle Hackworth", "Ricardo Hackworth"). parent("Michelle Hackworth", "Vicki Hackworth"). parent("Orlando Beltran", "Brian Beltran"). parent("Orlando Beltran", "Daisy Beltran"). parent("Reggie Coe", "Christina Coe"). parent("Reggie Coe", "Earle Coe"). parent("Shannon Beltran", "Orlando Beltran"). parent("Shannon Beltran", "Tosha Beltran"). parent("Shelli Beltran", "Alison Smock"). parent("Shelli Beltran", "Williams Smock"). parent("Stacia Toombs", "Alison Smock"). parent("Stacia Toombs", "Williams Smock"). parent("Tanner Beltran", "Brian Beltran"). parent("Tanner Beltran", "Daisy Beltran"). parent("Tosha Beltran", "Jamison Baptiste"). parent("Tosha Beltran", "Maria Baptiste"). parent("Tyson Woodson", "Carrol Woodson"). parent("Tyson Woodson", "Gayla Woodson"). parent("Vicki Hackworth", "Dino Beltran"). parent("Vicki Hackworth", "Shelli Beltran"). parent("Vincent Lutz", "Lesley Lutz"). parent("Vincent Lutz", "Noelia Lutz"). parent("Virgil Hackworth", "Ricardo Hackworth"). parent("Virgil Hackworth", "Vicki Hackworth"). parent("Von Sinclair", "Alec Sinclair"). parent("Von Sinclair", "Leeann Sinclair"). parent("Williams Smock", "Dominique Smock"). parent("Williams Smock", "Gene Smock"). parent("Wm Parmer", "Cortney Parmer"). parent("Wm Parmer", "Ulysses Parmer"). parent("Angela Culver", "Diane Culver"). parent("Angela Culver", "Jules Culver"). parent("Anibal Stansberry", "Iva Stansberry"). parent("Anibal Stansberry", "Oren Stansberry"). parent("Bev Gilmore", "Brigette Gilmore"). parent("Bev Gilmore", "Garry Gilmore"). parent("Brigette Gilmore", "Gail Culver"). parent("Brigette Gilmore", "Terence Culver"). parent("Celia Macmillan", "Desiree Stansberry"). parent("Celia Macmillan", "Millard Stansberry"). parent("Conrad Stansberry", "Anibal Stansberry"). parent("Conrad Stansberry", "Renate Stansberry"). parent("Dionne Stansberry", "Debra Stansberry"). parent("Dionne Stansberry", "Hayden Stansberry"). parent("Eliza Wiggs", "Gillian Wiggs"). parent("Eliza Wiggs", "Howard Wiggs"). parent("Emanuel Stansberry", "Debra Stansberry"). parent("Emanuel Stansberry", "Hayden Stansberry"). parent("Frankie Hagerty", "Justine Hagerty"). parent("Frankie Hagerty", "Markus Hagerty"). parent("Gail Culver", "Lincoln Velasco"). parent("Gail Culver", "Maurine Velasco"). parent("Gillian Wiggs", "Anibal Stansberry"). parent("Gillian Wiggs", "Renate Stansberry"). parent("Hayden Stansberry", "Anibal Stansberry"). parent("Hayden Stansberry", "Renate Stansberry"). parent("Howard Wiggs", "Cordelia Wiggs"). parent("Howard Wiggs", "David Wiggs"). parent("Hyun Hagerty", "Brigette Gilmore"). parent("Hyun Hagerty", "Garry Gilmore"). parent("Iva Stansberry", "Barbara Philpott"). parent("Iva Stansberry", "Mickey Philpott"). parent("Jordan Culver", "Loren Culver"). parent("Jordan Culver", "Tonya Culver"). parent("Jules Culver", "Loren Culver"). parent("Jules Culver", "Tonya Culver"). parent("Kelvin Culver", "Diane Culver"). parent("Kelvin Culver", "Jules Culver"). parent("Kori Wiggs", "Gillian Wiggs"). parent("Kori Wiggs", "Howard Wiggs"). parent("Laverna Stansberry", "Anibal Stansberry"). parent("Laverna Stansberry", "Renate Stansberry"). parent("Lester Stansberry", "Conrad Stansberry"). parent("Lester Stansberry", "Sona Stansberry"). parent("Lionel Culver", "Glenda Culver"). parent("Lionel Culver", "Jordan Culver"). parent("Millard Stansberry", "Anibal Stansberry"). parent("Millard Stansberry", "Renate Stansberry"). parent("Nikki Stansberry", "Desiree Stansberry"). parent("Nikki Stansberry", "Millard Stansberry"). parent("Quintin Hagerty", "Frankie Hagerty"). parent("Quintin Hagerty", "Hyun Hagerty"). parent("Renate Stansberry", "Frankie Hagerty"). parent("Renate Stansberry", "Hyun Hagerty"). parent("Tamara Macmillan", "Celia Macmillan"). parent("Tamara Macmillan", "Tad Macmillan"). parent("Terence Culver", "Glenda Culver"). parent("Terence Culver", "Jordan Culver"). parent("Victor Stansberry", "Iva Stansberry"). parent("Victor Stansberry", "Oren Stansberry"). parent("Wilmer Hagerty", "Justine Hagerty"). parent("Wilmer Hagerty", "Markus Hagerty"). parent("Yolanda Philpott", "Barbara Philpott"). parent("Yolanda Philpott", "Mickey Philpott"). parent("Benny Abrams", "Cicely Abrams"). parent("Benny Abrams", "Reed Abrams"). parent("Bobby Ricketts", "Paula Ricketts"). parent("Bobby Ricketts", "Rocky Ricketts"). parent("Bridget Solorio", "Rhonda Ricketts"). parent("Bridget Solorio", "Spencer Ricketts"). parent("Brooks Ricketts", "Cory Ricketts"). parent("Brooks Ricketts", "Flora Ricketts"). parent("Cory Ricketts", "Kristopher Ricketts"). parent("Cory Ricketts", "Madelyn Ricketts"). parent("Dee Ricketts", "Deidra Ricketts"). parent("Dee Ricketts", "Toney Ricketts"). parent("Deidra Ricketts", "Cordelia Zepeda"). parent("Deidra Ricketts", "Tommy Zepeda"). parent("Dennis Ricketts", "Brooks Ricketts"). parent("Dennis Ricketts", "Erin Ricketts"). parent("Erin Ricketts", "Cicely Abrams"). parent("Erin Ricketts", "Reed Abrams"). parent("Hoa Leija", "Shane Leija"). parent("Hoa Leija", "Tiffanie Leija"). parent("Jennifer Ricketts", "Deidra Ricketts"). parent("Jennifer Ricketts", "Toney Ricketts"). parent("Kory Ricketts", "Adelaida Ricketts"). parent("Kory Ricketts", "Dennis Ricketts"). parent("Lauren Brumbaugh", "Reggie Brumbaugh"). parent("Lauren Brumbaugh", "Rosalee Brumbaugh"). parent("Lora Ricketts", "Adelaida Ricketts"). parent("Lora Ricketts", "Dennis Ricketts"). parent("Lyman Leija", "Shane Leija"). parent("Lyman Leija", "Tiffanie Leija"). parent("Maranda Ricketts", "Rhonda Ricketts"). parent("Maranda Ricketts", "Spencer Ricketts"). parent("Marlene Isaacs", "Rolanda Isaacs"). parent("Marlene Isaacs", "Terrell Isaacs"). parent("Micheal Leija", "Lyman Leija"). parent("Micheal Leija", "Randi Leija"). parent("Milton Brumbaugh", "Reggie Brumbaugh"). parent("Milton Brumbaugh", "Rosalee Brumbaugh"). parent("Mona Leija", "Lyman Leija"). parent("Mona Leija", "Randi Leija"). parent("Orval Ricketts", "Cory Ricketts"). parent("Orval Ricketts", "Flora Ricketts"). parent("Paula Ricketts", "Lyman Leija"). parent("Paula Ricketts", "Randi Leija"). parent("Raymond Leija", "Lyman Leija"). parent("Raymond Leija", "Randi Leija"). parent("Reed Abrams", "Edmund Abrams"). parent("Reed Abrams", "Kristie Abrams"). parent("Renea Ricketts", "Cory Ricketts"). parent("Renea Ricketts", "Flora Ricketts"). parent("Rhonda Ricketts", "Melina Deming"). parent("Rhonda Ricketts", "Ulysses Deming"). parent("Rocky Ricketts", "Brooks Ricketts"). parent("Rocky Ricketts", "Erin Ricketts"). parent("Rolanda Isaacs", "Brooks Ricketts"). parent("Rolanda Isaacs", "Erin Ricketts"). parent("Rosalee Brumbaugh", "Bridget Solorio"). parent("Rosalee Brumbaugh", "Nick Solorio"). parent("Samuel Ricketts", "Paula Ricketts"). parent("Samuel Ricketts", "Rocky Ricketts"). parent("Spencer Ricketts", "Paula Ricketts"). parent("Spencer Ricketts", "Rocky Ricketts"). parent("Toney Ricketts", "Paula Ricketts"). parent("Toney Ricketts", "Rocky Ricketts"). parent("Winnifred Ricketts", "Paula Ricketts"). parent("Winnifred Ricketts", "Rocky Ricketts"). parent("Adella Schwarz", "Irish Schwarz"). parent("Adella Schwarz", "Jeremiah Schwarz"). parent("Alberto Schwarz", "Dillon Schwarz"). parent("Alberto Schwarz", "Pamula Schwarz"). parent("Antony Kinder", "Bernice Kinder"). parent("Antony Kinder", "Clark Kinder"). parent("Aura Schwarz", "Omar Schwarz"). parent("Aura Schwarz", "Tania Schwarz"). parent("Bernice Kinder", "Judith Schwarz"). parent("Bernice Kinder", "Kent Schwarz"). parent("Carmelita Schwarz", "Eugenio Schwarz"). parent("Carmelita Schwarz", "Odette Schwarz"). parent("Carter Bolen", "Ross Bolen"). parent("Carter Bolen", "Sueann Bolen"). parent("Dawne Grover", "Bernice Kinder"). parent("Dawne Grover", "Clark Kinder"). parent("Dillon Schwarz", "Eugenio Schwarz"). parent("Dillon Schwarz", "Odette Schwarz"). parent("Emilie Schwarz", "Dillon Schwarz"). parent("Emilie Schwarz", "Pamula Schwarz"). parent("Eugene Schwarz", "Dillon Schwarz"). parent("Eugene Schwarz", "Pamula Schwarz"). parent("Eugenio Schwarz", "Omar Schwarz"). parent("Eugenio Schwarz", "Tania Schwarz"). parent("Federico Schwarz", "Alberto Schwarz"). parent("Federico Schwarz", "Nada Schwarz"). parent("Francis Grover", "Dawne Grover"). parent("Francis Grover", "Gustavo Grover"). parent("Hank Schwarz", "Irish Schwarz"). parent("Hank Schwarz", "Jeremiah Schwarz"). parent("Herbert Bolen", "Ross Bolen"). parent("Herbert Bolen", "Sueann Bolen"). parent("Irish Schwarz", "Jeanette Byrd"). parent("Irish Schwarz", "Rodolfo Byrd"). parent("Jeremiah Schwarz", "Dillon Schwarz"). parent("Jeremiah Schwarz", "Pamula Schwarz"). parent("Joanna Schwarz", "Hank Schwarz"). parent("Joanna Schwarz", "Hope Schwarz"). parent("Kent Schwarz", "Eugenio Schwarz"). parent("Kent Schwarz", "Odette Schwarz"). parent("Lorina Kinder", "Antony Kinder"). parent("Lorina Kinder", "Sona Kinder"). parent("Magdalena Schwarz", "Dillon Schwarz"). parent("Magdalena Schwarz", "Pamula Schwarz"). parent("Omar Schwarz", "Dylan Schwarz"). parent("Omar Schwarz", "Shawnta Schwarz"). parent("Pamula Schwarz", "Delbert Menchaca"). parent("Pamula Schwarz", "Kimberely Menchaca"). parent("Paula Bass", "Randi Bass"). parent("Paula Bass", "Tomas Bass"). parent("Randi Bass", "Carter Bolen"). parent("Randi Bass", "Phylis Bolen"). parent("Randi Schwarz", "Judith Schwarz"). parent("Randi Schwarz", "Kent Schwarz"). parent("Randolph Schwarz", "Irish Schwarz"). parent("Randolph Schwarz", "Jeremiah Schwarz"). parent("Riley Grover", "Dawne Grover"). parent("Riley Grover", "Gustavo Grover"). parent("Sueann Bolen", "Eugenio Schwarz"). parent("Sueann Bolen", "Odette Schwarz"). parent("Tania Schwarz", "Elbert Canada"). parent("Tania Schwarz", "Elyse Canada"). parent("Zelda Schwarz", "Eugenio Schwarz"). parent("Zelda Schwarz", "Odette Schwarz"). cousin(X, Y) :- parent(X, A), parent(Y, B), sibling(A, B), X\=Y. uncle(X, Y) :- parent(X, A), brother(A, Y). :- dynamic resource/3. :- multifile resource/3. :- thread_local thread_message_hook/3. :- dynamic thread_message_hook/3. :- volatile thread_message_hook/3. aunt(X, Y) :- parent(X, A), sister(A, Y). second_uncle(X, Y) :- great_grandparent(X, A), brother(A, Y). :- dynamic gender/2. gender("Aida Wang", "female"). gender("Alec Sinclair", "male"). gender("Alfredo Wang", "male"). gender("Alison Smock", "female"). gender("Alvaro Smock", "male"). gender("Alycia Coe", "female"). gender("Barabara Beltran", "female"). gender("Brian Beltran", "male"). gender("Carrol Woodson", "male"). gender("Christina Coe", "female"). gender("Christoper Coe", "male"). gender("Cortney Parmer", "female"). gender("Cythia Smock", "female"). gender("Daisy Beltran", "female"). gender("Dino Beltran", "male"). gender("Dominique Smock", "female"). gender("Dwight Hackworth", "male"). gender("Earle Coe", "male"). gender("Eli Smock", "male"). gender("Gayla Woodson", "female"). gender("Gene Smock", "male"). gender("Isiah Lutz", "male"). gender("Jamison Baptiste", "male"). gender("Kristen Toombs", "female"). gender("Lannie Smock", "female"). gender("Leeann Sinclair", "female"). gender("Leisa Lutz", "female"). gender("Lesley Lutz", "male"). gender("Lissa Coe", "female"). gender("Lonny Parmer", "male"). gender("Maria Baptiste", "female"). gender("Michelle Hackworth", "female"). gender("Noelia Lutz", "female"). gender("Orlando Beltran", "male"). gender("Reggie Coe", "male"). gender("Ricardo Hackworth", "male"). gender("Ryan Wang", "male"). gender("Shannon Beltran", "female"). gender("Shelli Beltran", "female"). gender("Stacia Toombs", "female"). gender("Tanner Beltran", "male"). gender("Tosha Beltran", "female"). gender("Tyson Woodson", "male"). gender("Ulysses Parmer", "male"). gender("Vicki Hackworth", "female"). gender("Vincent Lutz", "male"). gender("Virgil Hackworth", "male"). gender("Von Sinclair", "male"). gender("Wilbert Toombs", "male"). gender("Williams Smock", "male"). gender("Wm Parmer", "male"). gender("Angela Culver", "female"). gender("Anibal Stansberry", "male"). gender("Barbara Philpott", "female"). gender("Bev Gilmore", "female"). gender("Brigette Gilmore", "female"). gender("Celia Macmillan", "female"). gender("Conrad Stansberry", "male"). gender("Cordelia Wiggs", "female"). gender("David Wiggs", "male"). gender("Debra Stansberry", "female"). gender("Desiree Stansberry", "female"). gender("Diane Culver", "female"). gender("Dionne Stansberry", "female"). gender("Eliza Wiggs", "female"). gender("Emanuel Stansberry", "male"). gender("Frankie Hagerty", "male"). gender("Gail Culver", "female"). gender("Garry Gilmore", "male"). gender("Gillian Wiggs", "female"). gender("Glenda Culver", "female"). gender("Hayden Stansberry", "male"). gender("Howard Wiggs", "male"). gender("Hyun Hagerty", "female"). gender("Iva Stansberry", "female"). gender("Jordan Culver", "male"). gender("Jules Culver", "male"). gender("Justine Hagerty", "female"). gender("Kelvin Culver", "male"). gender("Kori Wiggs", "female"). gender("Laverna Stansberry", "female"). gender("Lester Stansberry", "male"). gender("Lincoln Velasco", "male"). gender("Lionel Culver", "male"). gender("Loren Culver", "male"). gender("Markus Hagerty", "male"). gender("Maurine Velasco", "female"). gender("Mickey Philpott", "male"). gender("Millard Stansberry", "male"). gender("Nikki Stansberry", "female"). gender("Oren Stansberry", "male"). gender("Quintin Hagerty", "male"). gender("Renate Stansberry", "female"). gender("Sona Stansberry", "female"). gender("Tad Macmillan", "male"). gender("Tamara Macmillan", "female"). gender("Terence Culver", "male"). gender("Tonya Culver", "female"). gender("Victor Stansberry", "male"). gender("Wilmer Hagerty", "male"). gender("Yolanda Philpott", "female"). gender("Adelaida Ricketts", "female"). gender("Benny Abrams", "male"). gender("Bobby Ricketts", "male"). gender("Bridget Solorio", "female"). gender("Brooks Ricketts", "male"). gender("Cicely Abrams", "female"). gender("Cordelia Zepeda", "female"). gender("Cory Ricketts", "male"). gender("Dee Ricketts", "male"). gender("Deidra Ricketts", "female"). gender("Dennis Ricketts", "male"). gender("Edmund Abrams", "male"). gender("Erin Ricketts", "female"). gender("Flora Ricketts", "female"). gender("Hoa Leija", "female"). gender("Jennifer Ricketts", "female"). gender("Kory Ricketts", "male"). gender("Kristie Abrams", "female"). gender("Kristopher Ricketts", "male"). gender("Lauren Brumbaugh", "female"). gender("Lora Ricketts", "female"). gender("Lyman Leija", "male"). gender("Madelyn Ricketts", "female"). gender("Maranda Ricketts", "female"). gender("Marlene Isaacs", "female"). gender("Melina Deming", "female"). gender("Micheal Leija", "male"). gender("Milton Brumbaugh", "male"). gender("Mona Leija", "female"). gender("Nick Solorio", "male"). gender("Orval Ricketts", "male"). gender("Paula Ricketts", "female"). gender("Randi Leija", "female"). gender("Raymond Leija", "male"). gender("Reed Abrams", "male"). gender("Reggie Brumbaugh", "male"). gender("Renea Ricketts", "female"). gender("Rhonda Ricketts", "female"). gender("Rocky Ricketts", "male"). gender("Rolanda Isaacs", "female"). gender("Rosalee Brumbaugh", "female"). gender("Samuel Ricketts", "male"). gender("Shane Leija", "male"). gender("Spencer Ricketts", "male"). gender("Terrell Isaacs", "male"). gender("Tiffanie Leija", "female"). gender("Tommy Zepeda", "male"). gender("Toney Ricketts", "male"). gender("Ulysses Deming", "male"). gender("Winnifred Ricketts", "female"). gender("Adella Schwarz", "female"). gender("Alberto Schwarz", "male"). gender("Antony Kinder", "male"). gender("Aura Schwarz", "female"). gender("Bernice Kinder", "female"). gender("Carmelita Schwarz", "female"). gender("Carter Bolen", "male"). gender("Clark Kinder", "male"). gender("Dawne Grover", "female"). gender("Delbert Menchaca", "male"). gender("Dillon Schwarz", "male"). gender("Dylan Schwarz", "male"). gender("Elbert Canada", "male"). gender("Elyse Canada", "female"). gender("Emilie Schwarz", "female"). gender("Eugene Schwarz", "male"). gender("Eugenio Schwarz", "male"). gender("Federico Schwarz", "male"). gender("Francis Grover", "male"). gender("Gustavo Grover", "male"). gender("Hank Schwarz", "male"). gender("Herbert Bolen", "male"). gender("Hope Schwarz", "female"). gender("Irish Schwarz", "female"). gender("Jeanette Byrd", "female"). gender("Jeremiah Schwarz", "male"). gender("Joanna Schwarz", "female"). gender("Judith Schwarz", "female"). gender("Kent Schwarz", "male"). gender("Kimberely Menchaca", "female"). gender("Lorina Kinder", "female"). gender("Magdalena Schwarz", "female"). gender("Nada Schwarz", "female"). gender("Odette Schwarz", "female"). gender("Omar Schwarz", "male"). gender("Pamula Schwarz", "female"). gender("Paula Bass", "female"). gender("Phylis Bolen", "female"). gender("Randi Bass", "female"). gender("Randi Schwarz", "female"). gender("Randolph Schwarz", "male"). gender("Riley Grover", "male"). gender("Rodolfo Byrd", "male"). gender("Ross Bolen", "male"). gender("Shawnta Schwarz", "female"). gender("Sona Kinder", "female"). gender("Sueann Bolen", "female"). gender("Tania Schwarz", "female"). gender("Tomas Bass", "male"). gender("Zelda Schwarz", "female"). second_aunt(X, Y) :- great_grandparent(X, A), sister(A, Y). great_grandson(X, Y) :- great_grandchild(X, Y), male(Y). :- dynamic pyrun/2. pyrun(A, B) :- read_term_from_atom(A, C, [variable_names(B)]), call(C). great_granddaughter(X, Y) :- great_grandchild(X, Y), female(Y). :- dynamic resource/2. :- multifile resource/2.