diff --git "a/depth_20_size_250_seed_595/facts.pl" "b/depth_20_size_250_seed_595/facts.pl" new file mode 100644--- /dev/null +++ "b/depth_20_size_250_seed_595/facts.pl" @@ -0,0 +1,2815 @@ + +:- 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("Adalberto Kahn", "whale watching"). +hobby("Alphonso Sales", "stone collecting"). +hobby("Ardath Schenck", "weightlifting"). +hobby("Candy Higginbotham", "social studies"). +hobby("Carrol Coker", "learning"). +hobby("Dannielle Sales", "benchmarking"). +hobby("Dee Pike", "roller derby"). +hobby("Eli Coker", "radio-controlled car racing"). +hobby("Forest Anderton", "science and technology studies"). +hobby("German Kahn", "stuffed toy collecting"). +hobby("Gloria Hargett", "audiophile"). +hobby("Hollis Kahn", "bus spotting"). +hobby("Jeffry Anderton", "shortwave listening"). +hobby("Joetta Sales", "gongoozling"). +hobby("Johnathan Anderton", "myrmecology"). +hobby("Juan Sales", "martial arts"). +hobby("Keith Schenck", "gongoozling"). +hobby("Krystal Kahn", "leaves"). +hobby("Lance Sales", "linguistics"). +hobby("Larae Higginbotham", "sea glass collecting"). +hobby("Leeann Coker", "bus spotting"). +hobby("Lionel Anderton", "ice skating"). +hobby("Lucile Hargett", "rock balancing"). +hobby("Lue Pike", "meteorology"). +hobby("Malik Anderton", "die-cast toy"). +hobby("Mallie Pike", "architecture"). +hobby("Mariann Kahn", "motor sports"). +hobby("Maurice Sales", "flower collecting and pressing"). +hobby("Mckinley Sales", "metal detecting"). +hobby("Millard Higginbotham", "auto audiophilia"). +hobby("Morris Kahn", "insect collecting"). +hobby("My Anderton", "airsoft"). +hobby("Myles Hargett", "knife collecting"). +hobby("Nell Kahn", "leaves"). +hobby("Nico Sales", "wrestling"). +hobby("Nicolasa Anderton", "water polo"). +hobby("Rae Kahn", "deltiology"). +hobby("Randal Hargett", "whale watching"). +hobby("Rodger Schenck", "ant farming"). +hobby("Rodolfo Cuomo", "transit map collecting"). +hobby("Rupert Higginbotham", "engineering"). +hobby("Sadye Sales", "trainspotting"). +hobby("Sean Higginbotham", "meteorology"). +hobby("Selena Anderton", "backgammon"). +hobby("Stacia Hargett", "sled dog racing"). +hobby("Tanya Sales", "mineral collecting"). +hobby("Terry Anderton", "cooking"). +hobby("Thomasine Higginbotham", "ticket collecting"). +hobby("Tory Cuomo", "go"). +hobby("Willard Sales", "table tennis"). +hobby("Alex Fender", "audiophile"). +hobby("Alvin Crabb", "ant-keeping"). +hobby("Arthur Robichaud", "people-watching"). +hobby("Audie Puente", "checkers (draughts)"). +hobby("Augustus Mcneely", "water polo"). +hobby("Brett Kern", "magnet fishing"). +hobby("Connie Kern", "fossil hunting"). +hobby("Daisy Kern", "axe throwing"). +hobby("Damaris Zander", "research"). +hobby("Darrell Urquhart", "myrmecology"). +hobby("Deidre Mcneely", "beekeeping"). +hobby("Dudley Robichaud", "audiophile"). +hobby("Elissa Fender", "triathlon"). +hobby("Esperanza Kern", "ant farming"). +hobby("Evelyne Mcneely", "microscopy"). +hobby("Guadalupe Kern", "mathematics"). +hobby("Isis Zander", "climbing"). +hobby("Jonas Tunstall", "physics"). +hobby("Julie Mcneely", "baseball"). +hobby("Kelvin Youmans", "amateur astronomy"). +hobby("Kena Kite", "cartophily"). +hobby("Kimberlee Mcneely", "fishkeeping"). +hobby("Leann Kern", "insect collecting"). +hobby("Louis Zander", "wikipedia editing"). +hobby("Lucien Mcneely", "aircraft spotting"). +hobby("Lukas Kern", "rugby"). +hobby("Lyman Fender", "video game collecting"). +hobby("Margaret Youmans", "qigong"). +hobby("Matthias Kite", "rock balancing"). +hobby("Michell Robichaud", "philosophy"). +hobby("Natalie Andrus", "ticket collecting"). +hobby("Nikki Tunstall", "bowling"). +hobby("Oren Youmans", "teaching"). +hobby("Renea Robichaud", "flying"). +hobby("Ricardo Andrus", "geocaching"). +hobby("Rick Kern", "quidditch"). +hobby("Ricky Andrus", "architecture"). +hobby("Rocco Kern", "magic"). +hobby("Rochelle Robichaud", "leaves"). +hobby("Romana Kite", "meteorology"). +hobby("Ross Mcneely", "shortwave listening"). +hobby("Rudolf Puente", "meditation"). +hobby("Selena Youmans", "rock tumbling"). +hobby("Sondra Kern", "guerrilla gardening"). +hobby("Tracy Urquhart", "high-power rocketry"). +hobby("Trent Crabb", "learning"). +hobby("Vanessa Fender", "poker"). +hobby("Vivienne Crabb", "vintage cars"). +hobby("Ward Mcneely", "trapshooting"). +hobby("Zulema Kern", "bus spotting"). +hobby("Abraham Guillory", "movie memorabilia collecting"). +hobby("Ahmad Fetter", "metal detecting"). +hobby("Alan Guillory", "crystals"). +hobby("Alfred Fetter", "web design"). +hobby("Amanda Guillory", "physics"). +hobby("Anibal Fogle", "stamp collecting"). +hobby("Ariel Fetter", "social studies"). +hobby("Aurelio Kahler", "mineral collecting"). +hobby("Bart Markey", "shortwave listening"). +hobby("Carroll Guillory", "button collecting"). +hobby("Christopher Hall", "learning"). +hobby("Clint Guillory", "metal detecting"). +hobby("Dawne Guillory", "trainspotting"). +hobby("Demetra Fetter", "auto audiophilia"). +hobby("Dominique Fetter", "kabaddi"). +hobby("Drema Kahler", "butterfly watching"). +hobby("Eduardo Stockman", "iceboat racing"). +hobby("Eula Hall", "magnet fishing"). +hobby("Florence Guillory", "radio-controlled model playing"). +hobby("Frank Kahler", "mycology"). +hobby("Gwendolyn Fetter", "ephemera collecting"). +hobby("Hunter Guillory", "research"). +hobby("Jefferson Rickert", "kabaddi"). +hobby("Jenni Guillory", "karting"). +hobby("Karol Fetter", "shuffleboard"). +hobby("Kendrick Guillory", "meditation"). +hobby("Krystal Stockman", "sailing"). +hobby("Larue Guillory", "aerospace"). +hobby("Leesa Fogle", "people-watching"). +hobby("Liane Stockman", "botany"). +hobby("Lyman Fogle", "urban exploration"). +hobby("Mammie Stockman", "aircraft spotting"). +hobby("Margaret Guillory", "psychology"). +hobby("Matilda Guillory", "video gaming"). +hobby("Patricia Kahler", "bus spotting"). +hobby("Patsy Guillory", "medical science"). +hobby("Ramona Fetter", "cricket"). +hobby("Reginald Markey", "rugby league football"). +hobby("Rigoberto Guillory", "philately"). +hobby("Ronnie Kahler", "video game collecting"). +hobby("Rosalyn Rickert", "web design"). +hobby("Rosie Guillory", "people-watching"). +hobby("Rubie Guillory", "pickleball"). +hobby("Rudolf Fetter", "shortwave listening"). +hobby("Sheena Markey", "rughooking"). +hobby("Stewart Guillory", "reading"). +hobby("Stewart Hall", "fruit picking"). +hobby("Thalia Fogle", "handball"). +hobby("Vincent Fetter", "research"). +hobby("Zackary Markey", "bus spotting"). +hobby("Andre Alonso", "frisbee"). +hobby("Angela Thibodeau", "science and technology studies"). +hobby("Archie Bayne", "cartophily"). +hobby("Bradley Fleming", "comic book collecting"). +hobby("Briana Tobin", "jukskei"). +hobby("Carol Tobin", "publishing"). +hobby("Carson Crawley", "stone collecting"). +hobby("Cheri Crawley", "water sports"). +hobby("Colette Tobin", "sea glass collecting"). +hobby("Daisy Alonso", "butterfly watching"). +hobby("Dan Crawley", "association football"). +hobby("Darnell Moller", "movie memorabilia collecting"). +hobby("Dick Tobin", "kitesurfing"). +hobby("Dylan Tobin", "roller derby"). +hobby("Flora Crawley", "record collecting"). +hobby("Florentino Tobin", "business"). +hobby("Freddie Tobin", "birdwatching"). +hobby("Geneva Tobin", "aircraft spotting"). +hobby("Hyman Alonso", "microscopy"). +hobby("Joetta Crawley", "learning"). +hobby("Katy Tolson", "bus spotting"). +hobby("Kristen Alonso", "darts"). +hobby("Lissa Tobin", "eating"). +hobby("Marcelino Alonso", "movie memorabilia collecting"). +hobby("Marion Thibodeau", "trainspotting"). +hobby("Markus Tobin", "dominoes"). +hobby("Mckinley Tobin", "research"). +hobby("Merry Tobin", "antiquities"). +hobby("Natalie Bayne", "freestyle football"). +hobby("Oskar Browne", "sea glass collecting"). +hobby("Patti Alonso", "aerospace"). +hobby("Pedro Tobin", "geocaching"). +hobby("Queenie Browne", "seashell collecting"). +hobby("Reita Tobin", "whale watching"). +hobby("Rhoda Moller", "amateur astronomy"). +hobby("Roderick Bayne", "vr gaming"). +hobby("Rosalyn Bayne", "butterfly watching"). +hobby("Roxy Fleming", "people-watching"). +hobby("Samuel Bayne", "ant farming"). +hobby("Sanford Moller", "frisbee"). +hobby("Sha Fleming", "composting"). +hobby("Shirleen Alonso", "powerboat racing"). +hobby("Stephan Tolson", "shortwave listening"). +hobby("Susanna Moller", "astronomy"). +hobby("Sylvester Crawley", "fusilately"). +hobby("Tammy Crawley", "mahjong"). +hobby("Tanner Browne", "driving"). +hobby("Tianna Tobin", "lacrosse"). +hobby("Whitney Tobin", "rock tumbling"). +hobby("Winfred Tobin", "rowing"). +hobby("Adolph Neel", "book collecting"). +hobby("Adrienne Foret", "ticket collecting"). +hobby("Andrew Neel", "podcast hosting"). +hobby("Ashton Kwan", "dolls"). +hobby("Basil Foret", "antiquities"). +hobby("Carol Foret", "stone skipping"). +hobby("Chris Larkin", "trainspotting"). +hobby("Cristopher Kwan", "mathematics"). +hobby("Demetrius Merrifield", "curling"). +hobby("Donald Buie", "reading"). +hobby("Drew Kwan", "art collecting"). +hobby("Erik Hollister", "sled dog racing"). +hobby("Estella Foret", "ant farming"). +hobby("Evan Foret", "mahjong"). +hobby("Gemma Kwan", "birdwatching"). +hobby("Gertrude Neel", "architecture"). +hobby("Hayden Kwan", "audiophile"). +hobby("Hubert Kwan", "mineral collecting"). +hobby("Jonas Lang", "auto audiophilia"). +hobby("Karina Merrifield", "gongoozling"). +hobby("Karl Foret", "slacklining"). +hobby("Larue Foret", "gymnastics"). +hobby("Latasha Buie", "life science"). +hobby("Latasha Neel", "element collecting"). +hobby("Leana Hollister", "science and technology studies"). +hobby("Lola Neel", "debate"). +hobby("Luke Beach", "dodgeball"). +hobby("Maira Merrifield", "learning"). +hobby("Margo Kwan", "race walking"). +hobby("Marilyn Merrifield", "people-watching"). +hobby("Marty Foret", "meteorology"). +hobby("Misti Beach", "research"). +hobby("Nana Lang", "microbiology"). +hobby("Noelia Foret", "cooking"). +hobby("Otto Hollister", "axe throwing"). +hobby("Page Larkin", "model aircraft"). +hobby("Patrick Sanborn", "story writing"). +hobby("Paula Sanborn", "dowsing"). +hobby("Quinton Foret", "audiophile"). +hobby("Refugio Sanborn", "fencing"). +hobby("Renate Foret", "shortwave listening"). +hobby("Ricardo Foret", "geography"). +hobby("Rudy Foret", "beach volleyball"). +hobby("Serena Merrifield", "sea glass collecting"). +hobby("Shari Lang", "shortwave listening"). +hobby("Sidney Beach", "ant farming"). +hobby("Tania Foret", "exhibition drill"). +hobby("Theodor Foret", "wrestling"). +hobby("Vicente Foret", "lacrosse"). +hobby("Warren Foret", "sled dog racing"). + +granddaughter(X, Y) :- + grandchild(X, Y), + female(Y). + +grandson(X, Y) :- + grandchild(X, Y), + male(Y). + +:- dynamic job/2. + +job("Adalberto Kahn", "commercial art gallery manager"). +job("Alphonso Sales", "furniture designer"). +job("Ardath Schenck", "town planner"). +job("Candy Higginbotham", "rural practice surveyor"). +job("Carrol Coker", "producer"). +job("Dannielle Sales", "social worker"). +job("Dee Pike", "secondary school teacher"). +job("Eli Coker", "science writer"). +job("Forest Anderton", "newspaper journalist"). +job("German Kahn", "pathologist"). +job("Gloria Hargett", "health physicist"). +job("Hollis Kahn", "scientific laboratory technician"). +job("Jeffry Anderton", "doctor"). +job("Joetta Sales", "claims inspector"). +job("Johnathan Anderton", "science writer"). +job("Juan Sales", "paediatric nurse"). +job("Keith Schenck", "drilling engineer"). +job("Krystal Kahn", "energy manager"). +job("Lance Sales", "technical sales engineer"). +job("Larae Higginbotham", "mechanical engineer"). +job("Leeann Coker", "structural engineer"). +job("Lionel Anderton", "systems analyst"). +job("Lucile Hargett", "psychiatrist"). +job("Lue Pike", "art therapist"). +job("Malik Anderton", "advice worker"). +job("Mallie Pike", "information officer"). +job("Mariann Kahn", "academic librarian"). +job("Maurice Sales", "computer games developer"). +job("Mckinley Sales", "general practice doctor"). +job("Millard Higginbotham", "film editor"). +job("Morris Kahn", "pharmacist"). +job("My Anderton", "printmaker"). +job("Myles Hargett", "programme researcher"). +job("Nell Kahn", "arts development officer"). +job("Nico Sales", "immigration officer"). +job("Nicolasa Anderton", "engineer"). +job("Rae Kahn", "patent attorney"). +job("Randal Hargett", "armed forces training and education officer"). +job("Rodger Schenck", "orthoptist"). +job("Rodolfo Cuomo", "music tutor"). +job("Rupert Higginbotham", "occupational therapist"). +job("Sadye Sales", "radio broadcast assistant"). +job("Sean Higginbotham", "heritage manager"). +job("Selena Anderton", "hydrographic surveyor"). +job("Stacia Hargett", "communications engineer"). +job("Tanya Sales", "dramatherapist"). +job("Terry Anderton", "wellsite geologist"). +job("Thomasine Higginbotham", "consulting civil engineer"). +job("Tory Cuomo", "ship broker"). +job("Willard Sales", "conservation officer"). +job("Alex Fender", "counselling psychologist"). +job("Alvin Crabb", "broadcast presenter"). +job("Arthur Robichaud", "database administrator"). +job("Audie Puente", "production engineer"). +job("Augustus Mcneely", "chemist"). +job("Brett Kern", "exhibition designer"). +job("Connie Kern", "jewellery designer"). +job("Daisy Kern", "immigration officer"). +job("Damaris Zander", "furniture designer"). +job("Darrell Urquhart", "health service manager"). +job("Deidre Mcneely", "sales promotion account executive"). +job("Dudley Robichaud", "immunologist"). +job("Elissa Fender", "geophysicist"). +job("Esperanza Kern", "insurance account manager"). +job("Evelyne Mcneely", "retail manager"). +job("Guadalupe Kern", "risk manager"). +job("Isis Zander", "hydrographic surveyor"). +job("Jonas Tunstall", "medical laboratory scientific officer"). +job("Julie Mcneely", "editorial assistant"). +job("Kelvin Youmans", "buyer"). +job("Kena Kite", "doctor"). +job("Kimberlee Mcneely", "international aid worker"). +job("Leann Kern", "nurse"). +job("Louis Zander", "radio producer"). +job("Lucien Mcneely", "travel agency manager"). +job("Lukas Kern", "homeopath"). +job("Lyman Fender", "textile designer"). +job("Margaret Youmans", "control and instrumentation engineer"). +job("Matthias Kite", "magazine features editor"). +job("Michell Robichaud", "geophysicist"). +job("Natalie Andrus", "minerals surveyor"). +job("Nikki Tunstall", "solicitor"). +job("Oren Youmans", "chiropractor"). +job("Renea Robichaud", "colour technologist"). +job("Ricardo Andrus", "web designer"). +job("Rick Kern", "actor"). +job("Ricky Andrus", "editorial assistant"). +job("Rocco Kern", "secondary school teacher"). +job("Rochelle Robichaud", "sports development officer"). +job("Romana Kite", "research officer"). +job("Ross Mcneely", "immigration officer"). +job("Rudolf Puente", "radiographer"). +job("Selena Youmans", "industrial buyer"). +job("Sondra Kern", "heritage manager"). +job("Tracy Urquhart", "bonds trader"). +job("Trent Crabb", "medical secretary"). +job("Vanessa Fender", "building surveyor"). +job("Vivienne Crabb", "retail banker"). +job("Ward Mcneely", "secretary"). +job("Zulema Kern", "armed forces logistics officer"). +job("Abraham Guillory", "warden"). +job("Ahmad Fetter", "operations geologist"). +job("Alan Guillory", "environmental manager"). +job("Alfred Fetter", "biochemist"). +job("Amanda Guillory", "programme researcher"). +job("Anibal Fogle", "chief strategy officer"). +job("Ariel Fetter", "industrial buyer"). +job("Aurelio Kahler", "interior and spatial designer"). +job("Bart Markey", "forensic scientist"). +job("Carroll Guillory", "horticultural therapist"). +job("Christopher Hall", "charity fundraiser"). +job("Clint Guillory", "water engineer"). +job("Dawne Guillory", "curator"). +job("Demetra Fetter", "further education lecturer"). +job("Dominique Fetter", "environmental education officer"). +job("Drema Kahler", "photographer"). +job("Eduardo Stockman", "newspaper journalist"). +job("Eula Hall", "educational psychologist"). +job("Florence Guillory", "librarian"). +job("Frank Kahler", "film editor"). +job("Gwendolyn Fetter", "media buyer"). +job("Hunter Guillory", "astronomer"). +job("Jefferson Rickert", "lecturer"). +job("Jenni Guillory", "minerals surveyor"). +job("Karol Fetter", "physicist"). +job("Kendrick Guillory", "dispensing optician"). +job("Krystal Stockman", "engineering geologist"). +job("Larue Guillory", "hospital pharmacist"). +job("Leesa Fogle", "textile designer"). +job("Liane Stockman", "furniture conservator"). +job("Lyman Fogle", "product manager"). +job("Mammie Stockman", "special educational needs teacher"). +job("Margaret Guillory", "sports development officer"). +job("Matilda Guillory", "teacher"). +job("Patricia Kahler", "hospital doctor"). +job("Patsy Guillory", "presenter"). +job("Ramona Fetter", "writer"). +job("Reginald Markey", "housing manager"). +job("Rigoberto Guillory", "medical secretary"). +job("Ronnie Kahler", "archaeologist"). +job("Rosalyn Rickert", "nurse"). +job("Rosie Guillory", "office manager"). +job("Rubie Guillory", "leisure centre manager"). +job("Rudolf Fetter", "race relations officer"). +job("Sheena Markey", "horticulturist"). +job("Stewart Guillory", "pharmacist"). +job("Stewart Hall", "museum exhibitions officer"). +job("Thalia Fogle", "special effects artist"). +job("Vincent Fetter", "food technologist"). +job("Zackary Markey", "museum education officer"). +job("Andre Alonso", "field seismologist"). +job("Angela Thibodeau", "architect"). +job("Archie Bayne", "chief executive officer"). +job("Bradley Fleming", "accounting technician"). +job("Briana Tobin", "naval architect"). +job("Carol Tobin", "homeopath"). +job("Carson Crawley", "insurance claims handler"). +job("Cheri Crawley", "product development scientist"). +job("Colette Tobin", "librarian"). +job("Daisy Alonso", "comptroller"). +job("Dan Crawley", "brewing technologist"). +job("Darnell Moller", "advertising copywriter"). +job("Dick Tobin", "probation officer"). +job("Dylan Tobin", "brewing technologist"). +job("Flora Crawley", "counselling psychologist"). +job("Florentino Tobin", "psychologist"). +job("Freddie Tobin", "English as a second language teacher"). +job("Geneva Tobin", "hydrogeologist"). +job("Hyman Alonso", "geologist"). +job("Joetta Crawley", "clinical embryologist"). +job("Katy Tolson", "homeopath"). +job("Kristen Alonso", "systems developer"). +job("Lissa Tobin", "clinical molecular geneticist"). +job("Marcelino Alonso", "marketing executive"). +job("Marion Thibodeau", "industrial buyer"). +job("Markus Tobin", "government social research officer"). +job("Mckinley Tobin", "data scientist"). +job("Merry Tobin", "set designer"). +job("Natalie Bayne", "travel agency manager"). +job("Oskar Browne", "visual merchandiser"). +job("Patti Alonso", "retail banker"). +job("Pedro Tobin", "consulting civil engineer"). +job("Queenie Browne", "waste management officer"). +job("Reita Tobin", "charity fundraiser"). +job("Rhoda Moller", "corporate investment banker"). +job("Roderick Bayne", "veterinary surgeon"). +job("Rosalyn Bayne", "meteorologist"). +job("Roxy Fleming", "armed forces training and education officer"). +job("Samuel Bayne", "publishing copy"). +job("Sanford Moller", "pathologist"). +job("Sha Fleming", "statistician"). +job("Shirleen Alonso", "medical laboratory scientific officer"). +job("Stephan Tolson", "corporate treasurer"). +job("Susanna Moller", "science writer"). +job("Sylvester Crawley", "office manager"). +job("Tammy Crawley", "chiropodist"). +job("Tanner Browne", "hydrologist"). +job("Tianna Tobin", "presenter"). +job("Whitney Tobin", "academic librarian"). +job("Winfred Tobin", "public affairs consultant"). +job("Adolph Neel", "mudlogger"). +job("Adrienne Foret", "sub"). +job("Andrew Neel", "IT technical support officer"). +job("Ashton Kwan", "tourist information centre manager"). +job("Basil Foret", "nurse"). +job("Carol Foret", "chartered public finance accountant"). +job("Chris Larkin", "gaffer"). +job("Cristopher Kwan", "English as a foreign language teacher"). +job("Demetrius Merrifield", "minerals surveyor"). +job("Donald Buie", "presenter"). +job("Drew Kwan", "magazine features editor"). +job("Erik Hollister", "theatre manager"). +job("Estella Foret", "fisheries officer"). +job("Evan Foret", "biomedical engineer"). +job("Gemma Kwan", "chief technology officer"). +job("Gertrude Neel", "furniture conservator"). +job("Hayden Kwan", "careers adviser"). +job("Hubert Kwan", "therapeutic radiographer"). +job("Jonas Lang", "geochemist"). +job("Karina Merrifield", "astronomer"). +job("Karl Foret", "radiation protection practitioner"). +job("Larue Foret", "public affairs consultant"). +job("Latasha Buie", "best boy"). +job("Latasha Neel", "water quality scientist"). +job("Leana Hollister", "toxicologist"). +job("Lola Neel", "games developer"). +job("Luke Beach", "sales promotion account executive"). +job("Maira Merrifield", "advertising art director"). +job("Margo Kwan", "make"). +job("Marilyn Merrifield", "presenter"). +job("Marty Foret", "data processing manager"). +job("Misti Beach", "quarry manager"). +job("Nana Lang", "chartered certified accountant"). +job("Noelia Foret", "higher education lecturer"). +job("Otto Hollister", "insurance claims handler"). +job("Page Larkin", "neurosurgeon"). +job("Patrick Sanborn", "operational investment banker"). +job("Paula Sanborn", "international aid worker"). +job("Quinton Foret", "housing manager"). +job("Refugio Sanborn", "neurosurgeon"). +job("Renate Foret", "advertising art director"). +job("Ricardo Foret", "chief strategy officer"). +job("Rudy Foret", "optometrist"). +job("Serena Merrifield", "secretary"). +job("Shari Lang", "trade union research officer"). +job("Sidney Beach", "orthoptist"). +job("Tania Foret", "social worker"). +job("Theodor Foret", "loss adjuster"). +job("Vicente Foret", "chiropodist"). +job("Warren Foret", "broadcast journalist"). + +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("Adalberto Kahn", "0940-03-16"). +dob("Alphonso Sales", "0853-10-20"). +dob("Ardath Schenck", "0959-07-23"). +dob("Candy Higginbotham", "0854-12-24"). +dob("Carrol Coker", "0945-06-07"). +dob("Dannielle Sales", "0885-11-20"). +dob("Dee Pike", "0943-11-27"). +dob("Eli Coker", "0974-10-23"). +dob("Forest Anderton", "0943-10-27"). +dob("German Kahn", "0948-04-14"). +dob("Gloria Hargett", "0916-06-11"). +dob("Hollis Kahn", "0920-05-04"). +dob("Jeffry Anderton", "0890-05-07"). +dob("Joetta Sales", "0909-07-04"). +dob("Johnathan Anderton", "0937-01-13"). +dob("Juan Sales", "0935-09-17"). +dob("Keith Schenck", "0957-01-10"). +dob("Krystal Kahn", "0918-08-12"). +dob("Lance Sales", "0912-03-08"). +dob("Larae Higginbotham", "0881-09-20"). +dob("Leeann Coker", "0946-07-27"). +dob("Lionel Anderton", "0915-07-24"). +dob("Lucile Hargett", "0972-10-11"). +dob("Lue Pike", "0966-05-14"). +dob("Malik Anderton", "0919-03-12"). +dob("Mallie Pike", "0943-06-21"). +dob("Mariann Kahn", "0940-03-16"). +dob("Maurice Sales", "0883-06-06"). +dob("Mckinley Sales", "0911-03-10"). +dob("Millard Higginbotham", "0857-02-17"). +dob("Morris Kahn", "0969-12-20"). +dob("My Anderton", "0891-10-12"). +dob("Myles Hargett", "0943-06-01"). +dob("Nell Kahn", "0959-07-23"). +dob("Nico Sales", "0914-03-03"). +dob("Nicolasa Anderton", "0916-04-07"). +dob("Rae Kahn", "0940-07-27"). +dob("Randal Hargett", "0915-01-21"). +dob("Rodger Schenck", "0989-06-26"). +dob("Rodolfo Cuomo", "0857-04-20"). +dob("Rupert Higginbotham", "0831-09-24"). +dob("Sadye Sales", "0911-01-20"). +dob("Sean Higginbotham", "0883-12-05"). +dob("Selena Anderton", "0913-12-19"). +dob("Stacia Hargett", "0947-11-26"). +dob("Tanya Sales", "0850-05-23"). +dob("Terry Anderton", "0920-04-04"). +dob("Thomasine Higginbotham", "0832-05-03"). +dob("Tory Cuomo", "0855-05-20"). +dob("Willard Sales", "0941-09-09"). +dob("Alex Fender", "0901-09-23"). +dob("Alvin Crabb", "1016-02-14"). +dob("Arthur Robichaud", "1010-04-20"). +dob("Audie Puente", "0994-12-06"). +dob("Augustus Mcneely", "0874-12-26"). +dob("Brett Kern", "0997-06-01"). +dob("Connie Kern", "0972-10-04"). +dob("Daisy Kern", "0966-10-13"). +dob("Damaris Zander", "1021-07-05"). +dob("Darrell Urquhart", "0936-12-11"). +dob("Deidre Mcneely", "0851-12-19"). +dob("Dudley Robichaud", "0978-08-13"). +dob("Elissa Fender", "0903-11-15"). +dob("Esperanza Kern", "0971-09-24"). +dob("Evelyne Mcneely", "0821-04-16"). +dob("Guadalupe Kern", "0941-06-08"). +dob("Isis Zander", "1052-04-17"). +dob("Jonas Tunstall", "0907-04-19"). +dob("Julie Mcneely", "0879-02-01"). +dob("Kelvin Youmans", "1040-07-20"). +dob("Kena Kite", "0961-05-31"). +dob("Kimberlee Mcneely", "0875-12-16"). +dob("Leann Kern", "0963-11-12"). +dob("Louis Zander", "1025-10-06"). +dob("Lucien Mcneely", "0850-07-19"). +dob("Lukas Kern", "0965-01-15"). +dob("Lyman Fender", "0929-02-16"). +dob("Margaret Youmans", "1019-09-01"). +dob("Matthias Kite", "0931-11-22"). +dob("Michell Robichaud", "1038-05-27"). +dob("Natalie Andrus", "1049-02-22"). +dob("Nikki Tunstall", "0904-09-08"). +dob("Oren Youmans", "1020-02-01"). +dob("Renea Robichaud", "1011-05-04"). +dob("Ricardo Andrus", "1052-03-11"). +dob("Rick Kern", "0967-04-15"). +dob("Ricky Andrus", "1081-01-06"). +dob("Rocco Kern", "0969-10-13"). +dob("Rochelle Robichaud", "0980-09-06"). +dob("Romana Kite", "0931-09-27"). +dob("Ross Mcneely", "0818-12-16"). +dob("Rudolf Puente", "0996-01-05"). +dob("Selena Youmans", "1047-02-28"). +dob("Sondra Kern", "0942-04-24"). +dob("Tracy Urquhart", "0937-04-09"). +dob("Trent Crabb", "0987-05-01"). +dob("Vanessa Fender", "0934-09-29"). +dob("Vivienne Crabb", "0988-05-15"). +dob("Ward Mcneely", "0877-02-16"). +dob("Zulema Kern", "0965-03-04"). +dob("Abraham Guillory", "0988-09-07"). +dob("Ahmad Fetter", "1031-07-13"). +dob("Alan Guillory", "0959-08-10"). +dob("Alfred Fetter", "0977-02-02"). +dob("Amanda Guillory", "0894-05-17"). +dob("Anibal Fogle", "0894-06-03"). +dob("Ariel Fetter", "0974-05-15"). +dob("Aurelio Kahler", "0974-08-31"). +dob("Bart Markey", "1010-12-21"). +dob("Carroll Guillory", "0925-04-08"). +dob("Christopher Hall", "0922-04-18"). +dob("Clint Guillory", "0894-08-12"). +dob("Dawne Guillory", "0923-03-24"). +dob("Demetra Fetter", "1007-06-23"). +dob("Dominique Fetter", "1031-03-09"). +dob("Drema Kahler", "0972-10-22"). +dob("Eduardo Stockman", "1009-10-05"). +dob("Eula Hall", "0920-06-08"). +dob("Florence Guillory", "0957-08-08"). +dob("Frank Kahler", "0945-12-09"). +dob("Gwendolyn Fetter", "1040-11-20"). +dob("Hunter Guillory", "0981-06-13"). +dob("Jefferson Rickert", "0950-01-07"). +dob("Jenni Guillory", "1007-03-02"). +dob("Karol Fetter", "1060-12-11"). +dob("Kendrick Guillory", "0945-01-13"). +dob("Krystal Stockman", "1012-06-09"). +dob("Larue Guillory", "0985-02-08"). +dob("Leesa Fogle", "0861-07-21"). +dob("Liane Stockman", "1036-06-26"). +dob("Lyman Fogle", "0863-10-13"). +dob("Mammie Stockman", "1039-10-28"). +dob("Margaret Guillory", "0981-05-11"). +dob("Matilda Guillory", "0950-06-20"). +dob("Patricia Kahler", "0941-11-17"). +dob("Patsy Guillory", "0951-08-21"). +dob("Ramona Fetter", "1055-02-23"). +dob("Reginald Markey", "1034-05-26"). +dob("Rigoberto Guillory", "0948-06-22"). +dob("Ronnie Kahler", "0998-05-21"). +dob("Rosalyn Rickert", "0950-04-28"). +dob("Rosie Guillory", "0920-04-03"). +dob("Rubie Guillory", "0986-06-19"). +dob("Rudolf Fetter", "1005-12-04"). +dob("Sheena Markey", "1009-01-30"). +dob("Stewart Guillory", "0975-09-25"). +dob("Stewart Hall", "0947-12-01"). +dob("Thalia Fogle", "0894-04-25"). +dob("Vincent Fetter", "1035-03-21"). +dob("Zackary Markey", "1034-05-26"). +dob("Andre Alonso", "0988-09-10"). +dob("Angela Thibodeau", "0851-08-09"). +dob("Archie Bayne", "0926-10-14"). +dob("Bradley Fleming", "0905-08-24"). +dob("Briana Tobin", "0982-09-14"). +dob("Carol Tobin", "0924-09-08"). +dob("Carson Crawley", "1074-05-14"). +dob("Cheri Crawley", "1108-06-16"). +dob("Colette Tobin", "0984-05-25"). +dob("Daisy Alonso", "0984-02-19"). +dob("Dan Crawley", "1076-09-15"). +dob("Darnell Moller", "0930-06-15"). +dob("Dick Tobin", "0982-10-16"). +dob("Dylan Tobin", "0956-02-16"). +dob("Flora Crawley", "1076-08-27"). +dob("Florentino Tobin", "0980-09-29"). +dob("Freddie Tobin", "1037-01-12"). +dob("Geneva Tobin", "0983-09-20"). +dob("Hyman Alonso", "1015-08-25"). +dob("Joetta Crawley", "1069-09-21"). +dob("Katy Tolson", "0877-08-11"). +dob("Kristen Alonso", "1012-12-30"). +dob("Lissa Tobin", "1007-09-29"). +dob("Marcelino Alonso", "1015-08-25"). +dob("Marion Thibodeau", "0850-12-19"). +dob("Markus Tobin", "0986-02-08"). +dob("Mckinley Tobin", "1009-06-22"). +dob("Merry Tobin", "0923-02-20"). +dob("Natalie Bayne", "0958-07-07"). +dob("Oskar Browne", "0932-09-16"). +dob("Patti Alonso", "1041-06-27"). +dob("Pedro Tobin", "0979-08-29"). +dob("Queenie Browne", "0929-04-09"). +dob("Reita Tobin", "1010-07-13"). +dob("Rhoda Moller", "0957-12-25"). +dob("Roderick Bayne", "0957-12-06"). +dob("Rosalyn Bayne", "0924-12-14"). +dob("Roxy Fleming", "0932-06-19"). +dob("Samuel Bayne", "0982-09-14"). +dob("Sanford Moller", "0955-12-25"). +dob("Sha Fleming", "0903-02-07"). +dob("Shirleen Alonso", "1012-03-23"). +dob("Stephan Tolson", "0875-10-22"). +dob("Susanna Moller", "0926-07-10"). +dob("Sylvester Crawley", "1045-03-02"). +dob("Tammy Crawley", "1045-11-01"). +dob("Tanner Browne", "0954-11-02"). +dob("Tianna Tobin", "1011-01-31"). +dob("Whitney Tobin", "0957-02-24"). +dob("Winfred Tobin", "1005-11-12"). +dob("Adolph Neel", "0957-10-18"). +dob("Adrienne Foret", "0953-10-12"). +dob("Andrew Neel", "0931-05-06"). +dob("Ashton Kwan", "0980-12-16"). +dob("Basil Foret", "0978-09-09"). +dob("Carol Foret", "0925-03-21"). +dob("Chris Larkin", "0871-02-08"). +dob("Cristopher Kwan", "0955-06-05"). +dob("Demetrius Merrifield", "0957-09-14"). +dob("Donald Buie", "0902-03-01"). +dob("Drew Kwan", "1011-08-02"). +dob("Erik Hollister", "0923-09-26"). +dob("Estella Foret", "0930-06-20"). +dob("Evan Foret", "0956-12-21"). +dob("Gemma Kwan", "1011-05-14"). +dob("Gertrude Neel", "0962-06-03"). +dob("Hayden Kwan", "1042-06-13"). +dob("Hubert Kwan", "0983-06-29"). +dob("Jonas Lang", "0925-12-05"). +dob("Karina Merrifield", "0960-08-20"). +dob("Karl Foret", "0927-10-27"). +dob("Larue Foret", "0954-04-22"). +dob("Latasha Buie", "0898-09-27"). +dob("Latasha Neel", "0933-04-20"). +dob("Leana Hollister", "0898-07-22"). +dob("Lola Neel", "0956-08-24"). +dob("Luke Beach", "0948-04-23"). +dob("Maira Merrifield", "0988-12-03"). +dob("Margo Kwan", "0956-08-27"). +dob("Marilyn Merrifield", "0985-01-09"). +dob("Marty Foret", "0951-07-24"). +dob("Misti Beach", "0949-09-20"). +dob("Nana Lang", "0928-09-23"). +dob("Noelia Foret", "0953-11-13"). +dob("Otto Hollister", "0895-12-18"). +dob("Page Larkin", "0872-08-07"). +dob("Patrick Sanborn", "0961-03-02"). +dob("Paula Sanborn", "0961-04-25"). +dob("Quinton Foret", "0899-04-28"). +dob("Refugio Sanborn", "0986-03-01"). +dob("Renate Foret", "0899-01-20"). +dob("Ricardo Foret", "0953-06-02"). +dob("Rudy Foret", "0928-09-23"). +dob("Serena Merrifield", "0986-10-12"). +dob("Shari Lang", "0958-06-27"). +dob("Sidney Beach", "0972-12-24"). +dob("Tania Foret", "0928-09-27"). +dob("Theodor Foret", "0982-06-29"). +dob("Vicente Foret", "0954-12-05"). +dob("Warren Foret", "0983-06-01"). + +:- 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("Adalberto Kahn", person). +type("Alphonso Sales", person). +type("Ardath Schenck", person). +type("Candy Higginbotham", person). +type("Carrol Coker", person). +type("Dannielle Sales", person). +type("Dee Pike", person). +type("Eli Coker", person). +type("Forest Anderton", person). +type("German Kahn", person). +type("Gloria Hargett", person). +type("Hollis Kahn", person). +type("Jeffry Anderton", person). +type("Joetta Sales", person). +type("Johnathan Anderton", person). +type("Juan Sales", person). +type("Keith Schenck", person). +type("Krystal Kahn", person). +type("Lance Sales", person). +type("Larae Higginbotham", person). +type("Leeann Coker", person). +type("Lionel Anderton", person). +type("Lucile Hargett", person). +type("Lue Pike", person). +type("Malik Anderton", person). +type("Mallie Pike", person). +type("Mariann Kahn", person). +type("Maurice Sales", person). +type("Mckinley Sales", person). +type("Millard Higginbotham", person). +type("Morris Kahn", person). +type("My Anderton", person). +type("Myles Hargett", person). +type("Nell Kahn", person). +type("Nico Sales", person). +type("Nicolasa Anderton", person). +type("Rae Kahn", person). +type("Randal Hargett", person). +type("Rodger Schenck", person). +type("Rodolfo Cuomo", person). +type("Rupert Higginbotham", person). +type("Sadye Sales", person). +type("Sean Higginbotham", person). +type("Selena Anderton", person). +type("Stacia Hargett", person). +type("Tanya Sales", person). +type("Terry Anderton", person). +type("Thomasine Higginbotham", person). +type("Tory Cuomo", person). +type("Willard Sales", person). +type("Alex Fender", person). +type("Alvin Crabb", person). +type("Arthur Robichaud", person). +type("Audie Puente", person). +type("Augustus Mcneely", person). +type("Brett Kern", person). +type("Connie Kern", person). +type("Daisy Kern", person). +type("Damaris Zander", person). +type("Darrell Urquhart", person). +type("Deidre Mcneely", person). +type("Dudley Robichaud", person). +type("Elissa Fender", person). +type("Esperanza Kern", person). +type("Evelyne Mcneely", person). +type("Guadalupe Kern", person). +type("Isis Zander", person). +type("Jonas Tunstall", person). +type("Julie Mcneely", person). +type("Kelvin Youmans", person). +type("Kena Kite", person). +type("Kimberlee Mcneely", person). +type("Leann Kern", person). +type("Louis Zander", person). +type("Lucien Mcneely", person). +type("Lukas Kern", person). +type("Lyman Fender", person). +type("Margaret Youmans", person). +type("Matthias Kite", person). +type("Michell Robichaud", person). +type("Natalie Andrus", person). +type("Nikki Tunstall", person). +type("Oren Youmans", person). +type("Renea Robichaud", person). +type("Ricardo Andrus", person). +type("Rick Kern", person). +type("Ricky Andrus", person). +type("Rocco Kern", person). +type("Rochelle Robichaud", person). +type("Romana Kite", person). +type("Ross Mcneely", person). +type("Rudolf Puente", person). +type("Selena Youmans", person). +type("Sondra Kern", person). +type("Tracy Urquhart", person). +type("Trent Crabb", person). +type("Vanessa Fender", person). +type("Vivienne Crabb", person). +type("Ward Mcneely", person). +type("Zulema Kern", person). +type("Abraham Guillory", person). +type("Ahmad Fetter", person). +type("Alan Guillory", person). +type("Alfred Fetter", person). +type("Amanda Guillory", person). +type("Anibal Fogle", person). +type("Ariel Fetter", person). +type("Aurelio Kahler", person). +type("Bart Markey", person). +type("Carroll Guillory", person). +type("Christopher Hall", person). +type("Clint Guillory", person). +type("Dawne Guillory", person). +type("Demetra Fetter", person). +type("Dominique Fetter", person). +type("Drema Kahler", person). +type("Eduardo Stockman", person). +type("Eula Hall", person). +type("Florence Guillory", person). +type("Frank Kahler", person). +type("Gwendolyn Fetter", person). +type("Hunter Guillory", person). +type("Jefferson Rickert", person). +type("Jenni Guillory", person). +type("Karol Fetter", person). +type("Kendrick Guillory", person). +type("Krystal Stockman", person). +type("Larue Guillory", person). +type("Leesa Fogle", person). +type("Liane Stockman", person). +type("Lyman Fogle", person). +type("Mammie Stockman", person). +type("Margaret Guillory", person). +type("Matilda Guillory", person). +type("Patricia Kahler", person). +type("Patsy Guillory", person). +type("Ramona Fetter", person). +type("Reginald Markey", person). +type("Rigoberto Guillory", person). +type("Ronnie Kahler", person). +type("Rosalyn Rickert", person). +type("Rosie Guillory", person). +type("Rubie Guillory", person). +type("Rudolf Fetter", person). +type("Sheena Markey", person). +type("Stewart Guillory", person). +type("Stewart Hall", person). +type("Thalia Fogle", person). +type("Vincent Fetter", person). +type("Zackary Markey", person). +type("Andre Alonso", person). +type("Angela Thibodeau", person). +type("Archie Bayne", person). +type("Bradley Fleming", person). +type("Briana Tobin", person). +type("Carol Tobin", person). +type("Carson Crawley", person). +type("Cheri Crawley", person). +type("Colette Tobin", person). +type("Daisy Alonso", person). +type("Dan Crawley", person). +type("Darnell Moller", person). +type("Dick Tobin", person). +type("Dylan Tobin", person). +type("Flora Crawley", person). +type("Florentino Tobin", person). +type("Freddie Tobin", person). +type("Geneva Tobin", person). +type("Hyman Alonso", person). +type("Joetta Crawley", person). +type("Katy Tolson", person). +type("Kristen Alonso", person). +type("Lissa Tobin", person). +type("Marcelino Alonso", person). +type("Marion Thibodeau", person). +type("Markus Tobin", person). +type("Mckinley Tobin", person). +type("Merry Tobin", person). +type("Natalie Bayne", person). +type("Oskar Browne", person). +type("Patti Alonso", person). +type("Pedro Tobin", person). +type("Queenie Browne", person). +type("Reita Tobin", person). +type("Rhoda Moller", person). +type("Roderick Bayne", person). +type("Rosalyn Bayne", person). +type("Roxy Fleming", person). +type("Samuel Bayne", person). +type("Sanford Moller", person). +type("Sha Fleming", person). +type("Shirleen Alonso", person). +type("Stephan Tolson", person). +type("Susanna Moller", person). +type("Sylvester Crawley", person). +type("Tammy Crawley", person). +type("Tanner Browne", person). +type("Tianna Tobin", person). +type("Whitney Tobin", person). +type("Winfred Tobin", person). +type("Adolph Neel", person). +type("Adrienne Foret", person). +type("Andrew Neel", person). +type("Ashton Kwan", person). +type("Basil Foret", person). +type("Carol Foret", person). +type("Chris Larkin", person). +type("Cristopher Kwan", person). +type("Demetrius Merrifield", person). +type("Donald Buie", person). +type("Drew Kwan", person). +type("Erik Hollister", person). +type("Estella Foret", person). +type("Evan Foret", person). +type("Gemma Kwan", person). +type("Gertrude Neel", person). +type("Hayden Kwan", person). +type("Hubert Kwan", person). +type("Jonas Lang", person). +type("Karina Merrifield", person). +type("Karl Foret", person). +type("Larue Foret", person). +type("Latasha Buie", person). +type("Latasha Neel", person). +type("Leana Hollister", person). +type("Lola Neel", person). +type("Luke Beach", person). +type("Maira Merrifield", person). +type("Margo Kwan", person). +type("Marilyn Merrifield", person). +type("Marty Foret", person). +type("Misti Beach", person). +type("Nana Lang", person). +type("Noelia Foret", person). +type("Otto Hollister", person). +type("Page Larkin", person). +type("Patrick Sanborn", person). +type("Paula Sanborn", person). +type("Quinton Foret", person). +type("Refugio Sanborn", person). +type("Renate Foret", person). +type("Ricardo Foret", person). +type("Rudy Foret", person). +type("Serena Merrifield", person). +type("Shari Lang", person). +type("Sidney Beach", person). +type("Tania Foret", person). +type("Theodor Foret", person). +type("Vicente Foret", person). +type("Warren Foret", person). + +grandfather(X, Y) :- + grandparent(X, Y), + male(Y). + +:- dynamic expand_query/4. +:- multifile expand_query/4. + + +:- dynamic attribute/1. + +attribute("commercial art gallery manager"). +attribute("whale watching"). +attribute("furniture designer"). +attribute("stone collecting"). +attribute("town planner"). +attribute("weightlifting"). +attribute("rural practice surveyor"). +attribute("social studies"). +attribute("producer"). +attribute("learning"). +attribute("social worker"). +attribute("benchmarking"). +attribute("secondary school teacher"). +attribute("roller derby"). +attribute("science writer"). +attribute("radio-controlled car racing"). +attribute("newspaper journalist"). +attribute("science and technology studies"). +attribute("pathologist"). +attribute("stuffed toy collecting"). +attribute("health physicist"). +attribute("audiophile"). +attribute("scientific laboratory technician"). +attribute("bus spotting"). +attribute("doctor"). +attribute("shortwave listening"). +attribute("claims inspector"). +attribute("gongoozling"). +attribute("science writer"). +attribute("myrmecology"). +attribute("paediatric nurse"). +attribute("martial arts"). +attribute("drilling engineer"). +attribute("gongoozling"). +attribute("energy manager"). +attribute("leaves"). +attribute("technical sales engineer"). +attribute("linguistics"). +attribute("mechanical engineer"). +attribute("sea glass collecting"). +attribute("structural engineer"). +attribute("bus spotting"). +attribute("systems analyst"). +attribute("ice skating"). +attribute("psychiatrist"). +attribute("rock balancing"). +attribute("art therapist"). +attribute("meteorology"). +attribute("advice worker"). +attribute("die-cast toy"). +attribute("information officer"). +attribute("architecture"). +attribute("academic librarian"). +attribute("motor sports"). +attribute("computer games developer"). +attribute("flower collecting and pressing"). +attribute("general practice doctor"). +attribute("metal detecting"). +attribute("film editor"). +attribute("auto audiophilia"). +attribute("pharmacist"). +attribute("insect collecting"). +attribute("printmaker"). +attribute("airsoft"). +attribute("programme researcher"). +attribute("knife collecting"). +attribute("arts development officer"). +attribute("leaves"). +attribute("immigration officer"). +attribute("wrestling"). +attribute("engineer"). +attribute("water polo"). +attribute("patent attorney"). +attribute("deltiology"). +attribute("armed forces training and education officer"). +attribute("whale watching"). +attribute("orthoptist"). +attribute("ant farming"). +attribute("music tutor"). +attribute("transit map collecting"). +attribute("occupational therapist"). +attribute("engineering"). +attribute("radio broadcast assistant"). +attribute("trainspotting"). +attribute("heritage manager"). +attribute("meteorology"). +attribute("hydrographic surveyor"). +attribute("backgammon"). +attribute("communications engineer"). +attribute("sled dog racing"). +attribute("dramatherapist"). +attribute("mineral collecting"). +attribute("wellsite geologist"). +attribute("cooking"). +attribute("consulting civil engineer"). +attribute("ticket collecting"). +attribute("ship broker"). +attribute("go"). +attribute("conservation officer"). +attribute("table tennis"). +attribute("counselling psychologist"). +attribute("audiophile"). +attribute("broadcast presenter"). +attribute("ant-keeping"). +attribute("database administrator"). +attribute("people-watching"). +attribute("production engineer"). +attribute("checkers (draughts)"). +attribute("chemist"). +attribute("water polo"). +attribute("exhibition designer"). +attribute("magnet fishing"). +attribute("jewellery designer"). +attribute("fossil hunting"). +attribute("immigration officer"). +attribute("axe throwing"). +attribute("furniture designer"). +attribute("research"). +attribute("health service manager"). +attribute("myrmecology"). +attribute("sales promotion account executive"). +attribute("beekeeping"). +attribute("immunologist"). +attribute("audiophile"). +attribute("geophysicist"). +attribute("triathlon"). +attribute("insurance account manager"). +attribute("ant farming"). +attribute("retail manager"). +attribute("microscopy"). +attribute("risk manager"). +attribute("mathematics"). +attribute("hydrographic surveyor"). +attribute("climbing"). +attribute("medical laboratory scientific officer"). +attribute("physics"). +attribute("editorial assistant"). +attribute("baseball"). +attribute("buyer"). +attribute("amateur astronomy"). +attribute("doctor"). +attribute("cartophily"). +attribute("international aid worker"). +attribute("fishkeeping"). +attribute("nurse"). +attribute("insect collecting"). +attribute("radio producer"). +attribute("wikipedia editing"). +attribute("travel agency manager"). +attribute("aircraft spotting"). +attribute("homeopath"). +attribute("rugby"). +attribute("textile designer"). +attribute("video game collecting"). +attribute("control and instrumentation engineer"). +attribute("qigong"). +attribute("magazine features editor"). +attribute("rock balancing"). +attribute("geophysicist"). +attribute("philosophy"). +attribute("minerals surveyor"). +attribute("ticket collecting"). +attribute("solicitor"). +attribute("bowling"). +attribute("chiropractor"). +attribute("teaching"). +attribute("colour technologist"). +attribute("flying"). +attribute("web designer"). +attribute("geocaching"). +attribute("actor"). +attribute("quidditch"). +attribute("editorial assistant"). +attribute("architecture"). +attribute("secondary school teacher"). +attribute("magic"). +attribute("sports development officer"). +attribute("leaves"). +attribute("research officer"). +attribute("meteorology"). +attribute("immigration officer"). +attribute("shortwave listening"). +attribute("radiographer"). +attribute("meditation"). +attribute("industrial buyer"). +attribute("rock tumbling"). +attribute("heritage manager"). +attribute("guerrilla gardening"). +attribute("bonds trader"). +attribute("high-power rocketry"). +attribute("medical secretary"). +attribute("learning"). +attribute("building surveyor"). +attribute("poker"). +attribute("retail banker"). +attribute("vintage cars"). +attribute("secretary"). +attribute("trapshooting"). +attribute("armed forces logistics officer"). +attribute("bus spotting"). +attribute("warden"). +attribute("movie memorabilia collecting"). +attribute("operations geologist"). +attribute("metal detecting"). +attribute("environmental manager"). +attribute("crystals"). +attribute("biochemist"). +attribute("web design"). +attribute("programme researcher"). +attribute("physics"). +attribute("chief strategy officer"). +attribute("stamp collecting"). +attribute("industrial buyer"). +attribute("social studies"). +attribute("interior and spatial designer"). +attribute("mineral collecting"). +attribute("forensic scientist"). +attribute("shortwave listening"). +attribute("horticultural therapist"). +attribute("button collecting"). +attribute("charity fundraiser"). +attribute("learning"). +attribute("water engineer"). +attribute("metal detecting"). +attribute("curator"). +attribute("trainspotting"). +attribute("further education lecturer"). +attribute("auto audiophilia"). +attribute("environmental education officer"). +attribute("kabaddi"). +attribute("photographer"). +attribute("butterfly watching"). +attribute("newspaper journalist"). +attribute("iceboat racing"). +attribute("educational psychologist"). +attribute("magnet fishing"). +attribute("librarian"). +attribute("radio-controlled model playing"). +attribute("film editor"). +attribute("mycology"). +attribute("media buyer"). +attribute("ephemera collecting"). +attribute("astronomer"). +attribute("research"). +attribute("lecturer"). +attribute("kabaddi"). +attribute("minerals surveyor"). +attribute("karting"). +attribute("physicist"). +attribute("shuffleboard"). +attribute("dispensing optician"). +attribute("meditation"). +attribute("engineering geologist"). +attribute("sailing"). +attribute("hospital pharmacist"). +attribute("aerospace"). +attribute("textile designer"). +attribute("people-watching"). +attribute("furniture conservator"). +attribute("botany"). +attribute("product manager"). +attribute("urban exploration"). +attribute("special educational needs teacher"). +attribute("aircraft spotting"). +attribute("sports development officer"). +attribute("psychology"). +attribute("teacher"). +attribute("video gaming"). +attribute("hospital doctor"). +attribute("bus spotting"). +attribute("presenter"). +attribute("medical science"). +attribute("writer"). +attribute("cricket"). +attribute("housing manager"). +attribute("rugby league football"). +attribute("medical secretary"). +attribute("philately"). +attribute("archaeologist"). +attribute("video game collecting"). +attribute("nurse"). +attribute("web design"). +attribute("office manager"). +attribute("people-watching"). +attribute("leisure centre manager"). +attribute("pickleball"). +attribute("race relations officer"). +attribute("shortwave listening"). +attribute("horticulturist"). +attribute("rughooking"). +attribute("pharmacist"). +attribute("reading"). +attribute("museum exhibitions officer"). +attribute("fruit picking"). +attribute("special effects artist"). +attribute("handball"). +attribute("food technologist"). +attribute("research"). +attribute("museum education officer"). +attribute("bus spotting"). +attribute("field seismologist"). +attribute("frisbee"). +attribute("architect"). +attribute("science and technology studies"). +attribute("chief executive officer"). +attribute("cartophily"). +attribute("accounting technician"). +attribute("comic book collecting"). +attribute("naval architect"). +attribute("jukskei"). +attribute("homeopath"). +attribute("publishing"). +attribute("insurance claims handler"). +attribute("stone collecting"). +attribute("product development scientist"). +attribute("water sports"). +attribute("librarian"). +attribute("sea glass collecting"). +attribute("comptroller"). +attribute("butterfly watching"). +attribute("brewing technologist"). +attribute("association football"). +attribute("advertising copywriter"). +attribute("movie memorabilia collecting"). +attribute("probation officer"). +attribute("kitesurfing"). +attribute("brewing technologist"). +attribute("roller derby"). +attribute("counselling psychologist"). +attribute("record collecting"). +attribute("psychologist"). +attribute("business"). +attribute("English as a second language teacher"). +attribute("birdwatching"). +attribute("hydrogeologist"). +attribute("aircraft spotting"). +attribute("geologist"). +attribute("microscopy"). +attribute("clinical embryologist"). +attribute("learning"). +attribute("homeopath"). +attribute("bus spotting"). +attribute("systems developer"). +attribute("darts"). +attribute("clinical molecular geneticist"). +attribute("eating"). +attribute("marketing executive"). +attribute("movie memorabilia collecting"). +attribute("industrial buyer"). +attribute("trainspotting"). +attribute("government social research officer"). +attribute("dominoes"). +attribute("data scientist"). +attribute("research"). +attribute("set designer"). +attribute("antiquities"). +attribute("travel agency manager"). +attribute("freestyle football"). +attribute("visual merchandiser"). +attribute("sea glass collecting"). +attribute("retail banker"). +attribute("aerospace"). +attribute("consulting civil engineer"). +attribute("geocaching"). +attribute("waste management officer"). +attribute("seashell collecting"). +attribute("charity fundraiser"). +attribute("whale watching"). +attribute("corporate investment banker"). +attribute("amateur astronomy"). +attribute("veterinary surgeon"). +attribute("vr gaming"). +attribute("meteorologist"). +attribute("butterfly watching"). +attribute("armed forces training and education officer"). +attribute("people-watching"). +attribute("publishing copy"). +attribute("ant farming"). +attribute("pathologist"). +attribute("frisbee"). +attribute("statistician"). +attribute("composting"). +attribute("medical laboratory scientific officer"). +attribute("powerboat racing"). +attribute("corporate treasurer"). +attribute("shortwave listening"). +attribute("science writer"). +attribute("astronomy"). +attribute("office manager"). +attribute("fusilately"). +attribute("chiropodist"). +attribute("mahjong"). +attribute("hydrologist"). +attribute("driving"). +attribute("presenter"). +attribute("lacrosse"). +attribute("academic librarian"). +attribute("rock tumbling"). +attribute("public affairs consultant"). +attribute("rowing"). +attribute("mudlogger"). +attribute("book collecting"). +attribute("sub"). +attribute("ticket collecting"). +attribute("IT technical support officer"). +attribute("podcast hosting"). +attribute("tourist information centre manager"). +attribute("dolls"). +attribute("nurse"). +attribute("antiquities"). +attribute("chartered public finance accountant"). +attribute("stone skipping"). +attribute("gaffer"). +attribute("trainspotting"). +attribute("English as a foreign language teacher"). +attribute("mathematics"). +attribute("minerals surveyor"). +attribute("curling"). +attribute("presenter"). +attribute("reading"). +attribute("magazine features editor"). +attribute("art collecting"). +attribute("theatre manager"). +attribute("sled dog racing"). +attribute("fisheries officer"). +attribute("ant farming"). +attribute("biomedical engineer"). +attribute("mahjong"). +attribute("chief technology officer"). +attribute("birdwatching"). +attribute("furniture conservator"). +attribute("architecture"). +attribute("careers adviser"). +attribute("audiophile"). +attribute("therapeutic radiographer"). +attribute("mineral collecting"). +attribute("geochemist"). +attribute("auto audiophilia"). +attribute("astronomer"). +attribute("gongoozling"). +attribute("radiation protection practitioner"). +attribute("slacklining"). +attribute("public affairs consultant"). +attribute("gymnastics"). +attribute("best boy"). +attribute("life science"). +attribute("water quality scientist"). +attribute("element collecting"). +attribute("toxicologist"). +attribute("science and technology studies"). +attribute("games developer"). +attribute("debate"). +attribute("sales promotion account executive"). +attribute("dodgeball"). +attribute("advertising art director"). +attribute("learning"). +attribute("make"). +attribute("race walking"). +attribute("presenter"). +attribute("people-watching"). +attribute("data processing manager"). +attribute("meteorology"). +attribute("quarry manager"). +attribute("research"). +attribute("chartered certified accountant"). +attribute("microbiology"). +attribute("higher education lecturer"). +attribute("cooking"). +attribute("insurance claims handler"). +attribute("axe throwing"). +attribute("neurosurgeon"). +attribute("model aircraft"). +attribute("operational investment banker"). +attribute("story writing"). +attribute("international aid worker"). +attribute("dowsing"). +attribute("housing manager"). +attribute("audiophile"). +attribute("neurosurgeon"). +attribute("fencing"). +attribute("advertising art director"). +attribute("shortwave listening"). +attribute("chief strategy officer"). +attribute("geography"). +attribute("optometrist"). +attribute("beach volleyball"). +attribute("secretary"). +attribute("sea glass collecting"). +attribute("trade union research officer"). +attribute("shortwave listening"). +attribute("orthoptist"). +attribute("ant farming"). +attribute("social worker"). +attribute("exhibition drill"). +attribute("loss adjuster"). +attribute("wrestling"). +attribute("chiropodist"). +attribute("lacrosse"). +attribute("broadcast journalist"). +attribute("sled dog racing"). + +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_("Alphonso Sales", "Dannielle Sales"). +friend_("Alphonso Sales", "Nana Lang"). +friend_("Ardath Schenck", "Rochelle Robichaud"). +friend_("Candy Higginbotham", "Archie Bayne"). +friend_("Dannielle Sales", "Natalie Andrus"). +friend_("Dannielle Sales", "Renea Robichaud"). +friend_("Dannielle Sales", "Ramona Fetter"). +friend_("Dannielle Sales", "Queenie Browne"). +friend_("Dannielle Sales", "Adrienne Foret"). +friend_("Dannielle Sales", "Misti Beach"). +friend_("Dee Pike", "Rae Kahn"). +friend_("Dee Pike", "Audie Puente"). +friend_("Dee Pike", "Romana Kite"). +friend_("Eli Coker", "Misti Beach"). +friend_("Forest Anderton", "Drema Kahler"). +friend_("Forest Anderton", "Donald Buie"). +friend_("Gloria Hargett", "Marion Thibodeau"). +friend_("Hollis Kahn", "Malik Anderton"). +friend_("Hollis Kahn", "Myles Hargett"). +friend_("Hollis Kahn", "Leann Kern"). +friend_("Hollis Kahn", "Ahmad Fetter"). +friend_("Jeffry Anderton", "Mallie Pike"). +friend_("Jeffry Anderton", "Gemma Kwan"). +friend_("Joetta Sales", "Millard Higginbotham"). +friend_("Joetta Sales", "Adrienne Foret"). +friend_("Joetta Sales", "Leana Hollister"). +friend_("Johnathan Anderton", "Lance Sales"). +friend_("Johnathan Anderton", "Isis Zander"). +friend_("Johnathan Anderton", "Sidney Beach"). +friend_("Juan Sales", "Rae Kahn"). +friend_("Juan Sales", "Tory Cuomo"). +friend_("Juan Sales", "Margaret Guillory"). +friend_("Keith Schenck", "Matilda Guillory"). +friend_("Keith Schenck", "Mckinley Tobin"). +friend_("Keith Schenck", "Gemma Kwan"). +friend_("Keith Schenck", "Margo Kwan"). +friend_("Krystal Kahn", "Hunter Guillory"). +friend_("Krystal Kahn", "Thalia Fogle"). +friend_("Krystal Kahn", "Gemma Kwan"). +friend_("Lance Sales", "Maurice Sales"). +friend_("Lance Sales", "Rae Kahn"). +friend_("Lance Sales", "Rupert Higginbotham"). +friend_("Lance Sales", "Selena Youmans"). +friend_("Lance Sales", "Archie Bayne"). +friend_("Larae Higginbotham", "Stacia Hargett"). +friend_("Larae Higginbotham", "Thalia Fogle"). +friend_("Larae Higginbotham", "Patrick Sanborn"). +friend_("Leeann Coker", "Stacia Hargett"). +friend_("Leeann Coker", "Jonas Tunstall"). +friend_("Leeann Coker", "Evan Foret"). +friend_("Lionel Anderton", "Ross Mcneely"). +friend_("Lionel Anderton", "Patricia Kahler"). +friend_("Lucile Hargett", "Oskar Browne"). +friend_("Lucile Hargett", "Andrew Neel"). +friend_("Lue Pike", "Eula Hall"). +friend_("Lue Pike", "Marcelino Alonso"). +friend_("Malik Anderton", "Abraham Guillory"). +friend_("Malik Anderton", "Stewart Guillory"). +friend_("Malik Anderton", "Pedro Tobin"). +friend_("Mallie Pike", "Sadye Sales"). +friend_("Mallie Pike", "Tanya Sales"). +friend_("Mallie Pike", "Stewart Hall"). +friend_("Mallie Pike", "Markus Tobin"). +friend_("Mallie Pike", "Queenie Browne"). +friend_("Mallie Pike", "Latasha Buie"). +friend_("Mariann Kahn", "Colette Tobin"). +friend_("Maurice Sales", "Ward Mcneely"). +friend_("Mckinley Sales", "Elissa Fender"). +friend_("Mckinley Sales", "Ricky Andrus"). +friend_("Mckinley Sales", "Trent Crabb"). +friend_("Mckinley Sales", "Shirleen Alonso"). +friend_("Millard Higginbotham", "Leann Kern"). +friend_("Millard Higginbotham", "Sylvester Crawley"). +friend_("Morris Kahn", "Zulema Kern"). +friend_("Morris Kahn", "Zackary Markey"). +friend_("Morris Kahn", "Angela Thibodeau"). +friend_("Morris Kahn", "Winfred Tobin"). +friend_("Morris Kahn", "Hayden Kwan"). +friend_("My Anderton", "Trent Crabb"). +friend_("My Anderton", "Lyman Fogle"). +friend_("My Anderton", "Freddie Tobin"). +friend_("My Anderton", "Karl Foret"). +friend_("My Anderton", "Misti Beach"). +friend_("My Anderton", "Sidney Beach"). +friend_("Myles Hargett", "Angela Thibodeau"). +friend_("Nell Kahn", "Esperanza Kern"). +friend_("Nell Kahn", "Cheri Crawley"). +friend_("Nell Kahn", "Estella Foret"). +friend_("Nico Sales", "Margaret Guillory"). +friend_("Nico Sales", "Angela Thibodeau"). +friend_("Nicolasa Anderton", "Guadalupe Kern"). +friend_("Nicolasa Anderton", "Isis Zander"). +friend_("Nicolasa Anderton", "Jenni Guillory"). +friend_("Nicolasa Anderton", "Warren Foret"). +friend_("Rae Kahn", "Connie Kern"). +friend_("Rae Kahn", "Esperanza Kern"). +friend_("Rae Kahn", "Romana Kite"). +friend_("Rae Kahn", "Jenni Guillory"). +friend_("Rae Kahn", "Lyman Fogle"). +friend_("Randal Hargett", "Quinton Foret"). +friend_("Rodger Schenck", "Florentino Tobin"). +friend_("Rodger Schenck", "Misti Beach"). +friend_("Rodolfo Cuomo", "Connie Kern"). +friend_("Rodolfo Cuomo", "Natalie Andrus"). +friend_("Rodolfo Cuomo", "Andre Alonso"). +friend_("Rodolfo Cuomo", "Adrienne Foret"). +friend_("Rupert Higginbotham", "Thomasine Higginbotham"). +friend_("Rupert Higginbotham", "Carroll Guillory"). +friend_("Rupert Higginbotham", "Karol Fetter"). +friend_("Rupert Higginbotham", "Stewart Guillory"). +friend_("Sadye Sales", "Frank Kahler"). +friend_("Sadye Sales", "Karl Foret"). +friend_("Sean Higginbotham", "Connie Kern"). +friend_("Sean Higginbotham", "Evelyne Mcneely"). +friend_("Sean Higginbotham", "Vivienne Crabb"). +friend_("Sean Higginbotham", "Luke Beach"). +friend_("Stacia Hargett", "Sanford Moller"). +friend_("Stacia Hargett", "Tania Foret"). +friend_("Tanya Sales", "Gwendolyn Fetter"). +friend_("Tanya Sales", "Liane Stockman"). +friend_("Tanya Sales", "Hyman Alonso"). +friend_("Terry Anderton", "Mckinley Tobin"). +friend_("Thomasine Higginbotham", "Christopher Hall"). +friend_("Thomasine Higginbotham", "Patsy Guillory"). +friend_("Thomasine Higginbotham", "Rudy Foret"). +friend_("Thomasine Higginbotham", "Shari Lang"). +friend_("Tory Cuomo", "Tracy Urquhart"). +friend_("Tory Cuomo", "Amanda Guillory"). +friend_("Tory Cuomo", "Demetra Fetter"). +friend_("Tory Cuomo", "Angela Thibodeau"). +friend_("Tory Cuomo", "Margo Kwan"). +friend_("Willard Sales", "Dudley Robichaud"). +friend_("Willard Sales", "Elissa Fender"). +friend_("Willard Sales", "Jonas Tunstall"). +friend_("Willard Sales", "Sheena Markey"). +friend_("Willard Sales", "Evan Foret"). +friend_("Alex Fender", "Katy Tolson"). +friend_("Alex Fender", "Marion Thibodeau"). +friend_("Alex Fender", "Carol Foret"). +friend_("Alvin Crabb", "Daisy Kern"). +friend_("Alvin Crabb", "Jonas Tunstall"). +friend_("Alvin Crabb", "Amanda Guillory"). +friend_("Arthur Robichaud", "Anibal Fogle"). +friend_("Arthur Robichaud", "Sanford Moller"). +friend_("Arthur Robichaud", "Carol Foret"). +friend_("Audie Puente", "Alfred Fetter"). +friend_("Audie Puente", "Matilda Guillory"). +friend_("Augustus Mcneely", "Cheri Crawley"). +friend_("Brett Kern", "Trent Crabb"). +friend_("Brett Kern", "Amanda Guillory"). +friend_("Brett Kern", "Latasha Neel"). +friend_("Connie Kern", "Daisy Alonso"). +friend_("Connie Kern", "Freddie Tobin"). +friend_("Daisy Kern", "Esperanza Kern"). +friend_("Daisy Kern", "Guadalupe Kern"). +friend_("Daisy Kern", "Dominique Fetter"). +friend_("Daisy Kern", "Eduardo Stockman"). +friend_("Daisy Kern", "Freddie Tobin"). +friend_("Damaris Zander", "Vivienne Crabb"). +friend_("Damaris Zander", "Darnell Moller"). +friend_("Darrell Urquhart", "Kendrick Guillory"). +friend_("Darrell Urquhart", "Ricardo Foret"). +friend_("Deidre Mcneely", "Thalia Fogle"). +friend_("Deidre Mcneely", "Vicente Foret"). +friend_("Elissa Fender", "Bradley Fleming"). +friend_("Elissa Fender", "Daisy Alonso"). +friend_("Elissa Fender", "Karl Foret"). +friend_("Elissa Fender", "Ricardo Foret"). +friend_("Esperanza Kern", "Abraham Guillory"). +friend_("Esperanza Kern", "Marty Foret"). +friend_("Evelyne Mcneely", "Kristen Alonso"). +friend_("Guadalupe Kern", "Margaret Youmans"). +friend_("Guadalupe Kern", "Nikki Tunstall"). +friend_("Guadalupe Kern", "Winfred Tobin"). +friend_("Isis Zander", "Kena Kite"). +friend_("Isis Zander", "Geneva Tobin"). +friend_("Isis Zander", "Katy Tolson"). +friend_("Isis Zander", "Stephan Tolson"). +friend_("Jonas Tunstall", "Kelvin Youmans"). +friend_("Jonas Tunstall", "Rick Kern"). +friend_("Jonas Tunstall", "Stewart Guillory"). +friend_("Julie Mcneely", "Rosalyn Bayne"). +friend_("Julie Mcneely", "Sanford Moller"). +friend_("Kelvin Youmans", "Quinton Foret"). +friend_("Kelvin Youmans", "Tania Foret"). +friend_("Kena Kite", "Ahmad Fetter"). +friend_("Kena Kite", "Dick Tobin"). +friend_("Kena Kite", "Geneva Tobin"). +friend_("Kimberlee Mcneely", "Gwendolyn Fetter"). +friend_("Leann Kern", "Markus Tobin"). +friend_("Louis Zander", "Michell Robichaud"). +friend_("Louis Zander", "Bart Markey"). +friend_("Louis Zander", "Adolph Neel"). +friend_("Lucien Mcneely", "Evan Foret"). +friend_("Lukas Kern", "Tania Foret"). +friend_("Lyman Fender", "Mammie Stockman"). +friend_("Lyman Fender", "Rudolf Fetter"). +friend_("Lyman Fender", "Stewart Hall"). +friend_("Margaret Youmans", "Tanner Browne"). +friend_("Matthias Kite", "Ramona Fetter"). +friend_("Matthias Kite", "Sidney Beach"). +friend_("Michell Robichaud", "Eduardo Stockman"). +friend_("Michell Robichaud", "Quinton Foret"). +friend_("Natalie Andrus", "Sha Fleming"). +friend_("Natalie Andrus", "Hayden Kwan"). +friend_("Natalie Andrus", "Latasha Neel"). +friend_("Nikki Tunstall", "Whitney Tobin"). +friend_("Oren Youmans", "Sondra Kern"). +friend_("Oren Youmans", "Carroll Guillory"). +friend_("Ricardo Andrus", "Sheena Markey"). +friend_("Ricky Andrus", "Marion Thibodeau"). +friend_("Ricky Andrus", "Renate Foret"). +friend_("Ricky Andrus", "Warren Foret"). +friend_("Rocco Kern", "Reita Tobin"). +friend_("Romana Kite", "Matilda Guillory"). +friend_("Romana Kite", "Rubie Guillory"). +friend_("Ross Mcneely", "Sheena Markey"). +friend_("Ross Mcneely", "Zackary Markey"). +friend_("Ross Mcneely", "Markus Tobin"). +friend_("Ross Mcneely", "Tanner Browne"). +friend_("Ross Mcneely", "Latasha Buie"). +friend_("Rudolf Puente", "Tammy Crawley"). +friend_("Rudolf Puente", "Andrew Neel"). +friend_("Selena Youmans", "Daisy Alonso"). +friend_("Sondra Kern", "Vanessa Fender"). +friend_("Sondra Kern", "Margaret Guillory"). +friend_("Sondra Kern", "Otto Hollister"). +friend_("Sondra Kern", "Sidney Beach"). +friend_("Tracy Urquhart", "Alan Guillory"). +friend_("Tracy Urquhart", "Ricardo Foret"). +friend_("Trent Crabb", "Alfred Fetter"). +friend_("Vivienne Crabb", "Ronnie Kahler"). +friend_("Vivienne Crabb", "Rubie Guillory"). +friend_("Ward Mcneely", "Carroll Guillory"). +friend_("Ward Mcneely", "Patsy Guillory"). +friend_("Ward Mcneely", "Colette Tobin"). +friend_("Zulema Kern", "Rosalyn Rickert"). +friend_("Zulema Kern", "Rubie Guillory"). +friend_("Zulema Kern", "Renate Foret"). +friend_("Abraham Guillory", "Rudolf Fetter"). +friend_("Abraham Guillory", "Markus Tobin"). +friend_("Abraham Guillory", "Sha Fleming"). +friend_("Abraham Guillory", "Otto Hollister"). +friend_("Ahmad Fetter", "Larue Guillory"). +friend_("Ahmad Fetter", "Patsy Guillory"). +friend_("Ahmad Fetter", "Rubie Guillory"). +friend_("Ahmad Fetter", "Dick Tobin"). +friend_("Ahmad Fetter", "Dylan Tobin"). +friend_("Ahmad Fetter", "Samuel Bayne"). +friend_("Alan Guillory", "Patricia Kahler"). +friend_("Alan Guillory", "Rigoberto Guillory"). +friend_("Alfred Fetter", "Theodor Foret"). +friend_("Amanda Guillory", "Mckinley Tobin"). +friend_("Amanda Guillory", "Shirleen Alonso"). +friend_("Amanda Guillory", "Ashton Kwan"). +friend_("Anibal Fogle", "Sheena Markey"). +friend_("Anibal Fogle", "Stephan Tolson"). +friend_("Anibal Fogle", "Hubert Kwan"). +friend_("Anibal Fogle", "Misti Beach"). +friend_("Ariel Fetter", "Reginald Markey"). +friend_("Ariel Fetter", "Thalia Fogle"). +friend_("Ariel Fetter", "Marion Thibodeau"). +friend_("Bart Markey", "Basil Foret"). +friend_("Carroll Guillory", "Stewart Hall"). +friend_("Christopher Hall", "Rudolf Fetter"). +friend_("Christopher Hall", "Zackary Markey"). +friend_("Christopher Hall", "Refugio Sanborn"). +friend_("Dawne Guillory", "Leesa Fogle"). +friend_("Dawne Guillory", "Hayden Kwan"). +friend_("Dawne Guillory", "Misti Beach"). +friend_("Demetra Fetter", "Frank Kahler"). +friend_("Demetra Fetter", "Adolph Neel"). +friend_("Demetra Fetter", "Page Larkin"). +friend_("Dominique Fetter", "Liane Stockman"). +friend_("Drema Kahler", "Krystal Stockman"). +friend_("Florence Guillory", "Queenie Browne"). +friend_("Florence Guillory", "Hayden Kwan"). +friend_("Frank Kahler", "Misti Beach"). +friend_("Gwendolyn Fetter", "Archie Bayne"). +friend_("Gwendolyn Fetter", "Demetrius Merrifield"). +friend_("Hunter Guillory", "Donald Buie"). +friend_("Jefferson Rickert", "Drew Kwan"). +friend_("Jefferson Rickert", "Noelia Foret"). +friend_("Jenni Guillory", "Patsy Guillory"). +friend_("Jenni Guillory", "Rosalyn Bayne"). +friend_("Karol Fetter", "Rosalyn Rickert"). +friend_("Karol Fetter", "Thalia Fogle"). +friend_("Karol Fetter", "Marcelino Alonso"). +friend_("Karol Fetter", "Samuel Bayne"). +friend_("Kendrick Guillory", "Vicente Foret"). +friend_("Larue Guillory", "Rhoda Moller"). +friend_("Leesa Fogle", "Bradley Fleming"). +friend_("Leesa Fogle", "Carson Crawley"). +friend_("Leesa Fogle", "Evan Foret"). +friend_("Leesa Fogle", "Luke Beach"). +friend_("Leesa Fogle", "Warren Foret"). +friend_("Liane Stockman", "Lola Neel"). +friend_("Liane Stockman", "Page Larkin"). +friend_("Lyman Fogle", "Donald Buie"). +friend_("Mammie Stockman", "Colette Tobin"). +friend_("Mammie Stockman", "Paula Sanborn"). +friend_("Margaret Guillory", "Dylan Tobin"). +friend_("Margaret Guillory", "Merry Tobin"). +friend_("Margaret Guillory", "Nana Lang"). +friend_("Patricia Kahler", "Thalia Fogle"). +friend_("Patsy Guillory", "Marty Foret"). +friend_("Ramona Fetter", "Noelia Foret"). +friend_("Reginald Markey", "Rosie Guillory"). +friend_("Reginald Markey", "Mckinley Tobin"). +friend_("Reginald Markey", "Evan Foret"). +friend_("Reginald Markey", "Maira Merrifield"). +friend_("Reginald Markey", "Serena Merrifield"). +friend_("Rigoberto Guillory", "Chris Larkin"). +friend_("Ronnie Kahler", "Gertrude Neel"). +friend_("Ronnie Kahler", "Quinton Foret"). +friend_("Ronnie Kahler", "Refugio Sanborn"). +friend_("Rosalyn Rickert", "Stephan Tolson"). +friend_("Rosie Guillory", "Cheri Crawley"). +friend_("Rubie Guillory", "Chris Larkin"). +friend_("Rubie Guillory", "Karl Foret"). +friend_("Sheena Markey", "Carol Foret"). +friend_("Stewart Guillory", "Susanna Moller"). +friend_("Stewart Guillory", "Winfred Tobin"). +friend_("Stewart Guillory", "Latasha Neel"). +friend_("Stewart Hall", "Natalie Bayne"). +friend_("Vincent Fetter", "Natalie Bayne"). +friend_("Zackary Markey", "Bradley Fleming"). +friend_("Zackary Markey", "Joetta Crawley"). +friend_("Zackary Markey", "Tianna Tobin"). +friend_("Andre Alonso", "Carol Tobin"). +friend_("Angela Thibodeau", "Florentino Tobin"). +friend_("Angela Thibodeau", "Pedro Tobin"). +friend_("Archie Bayne", "Carol Foret"). +friend_("Carol Tobin", "Ashton Kwan"). +friend_("Carson Crawley", "Roderick Bayne"). +friend_("Cheri Crawley", "Tanner Browne"). +friend_("Darnell Moller", "Shari Lang"). +friend_("Dick Tobin", "Rhoda Moller"). +friend_("Dick Tobin", "Drew Kwan"). +friend_("Dick Tobin", "Marilyn Merrifield"). +friend_("Dylan Tobin", "Carol Foret"). +friend_("Dylan Tobin", "Warren Foret"). +friend_("Florentino Tobin", "Chris Larkin"). +friend_("Freddie Tobin", "Demetrius Merrifield"). +friend_("Geneva Tobin", "Natalie Bayne"). +friend_("Geneva Tobin", "Tanner Browne"). +friend_("Joetta Crawley", "Stephan Tolson"). +friend_("Joetta Crawley", "Gertrude Neel"). +friend_("Kristen Alonso", "Tanner Browne"). +friend_("Mckinley Tobin", "Latasha Neel"). +friend_("Merry Tobin", "Demetrius Merrifield"). +friend_("Natalie Bayne", "Tanner Browne"). +friend_("Natalie Bayne", "Jonas Lang"). +friend_("Oskar Browne", "Lola Neel"). +friend_("Oskar Browne", "Maira Merrifield"). +friend_("Queenie Browne", "Ashton Kwan"). +friend_("Queenie Browne", "Rudy Foret"). +friend_("Rhoda Moller", "Adolph Neel"). +friend_("Roxy Fleming", "Latasha Buie"). +friend_("Samuel Bayne", "Warren Foret"). +friend_("Sanford Moller", "Nana Lang"). +friend_("Shirleen Alonso", "Warren Foret"). +friend_("Stephan Tolson", "Marilyn Merrifield"). +friend_("Susanna Moller", "Demetrius Merrifield"). +friend_("Sylvester Crawley", "Noelia Foret"). +friend_("Tianna Tobin", "Sidney Beach"). +friend_("Adolph Neel", "Latasha Neel"). +friend_("Ashton Kwan", "Misti Beach"). +friend_("Basil Foret", "Margo Kwan"). +friend_("Demetrius Merrifield", "Latasha Neel"). +friend_("Drew Kwan", "Maira Merrifield"). +friend_("Erik Hollister", "Marty Foret"). +friend_("Luke Beach", "Marilyn Merrifield"). +friend_("Renate Foret", "Theodor Foret"). + +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). + +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 resource/2. +:- multifile resource/2. + + +:- 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("Adalberto Kahn", "Hollis Kahn"). +parent("Adalberto Kahn", "Krystal Kahn"). +parent("Ardath Schenck", "Adalberto Kahn"). +parent("Ardath Schenck", "Rae Kahn"). +parent("Dannielle Sales", "Rodolfo Cuomo"). +parent("Dannielle Sales", "Tory Cuomo"). +parent("Eli Coker", "Carrol Coker"). +parent("Eli Coker", "Leeann Coker"). +parent("Forest Anderton", "Malik Anderton"). +parent("Forest Anderton", "Nicolasa Anderton"). +parent("German Kahn", "Hollis Kahn"). +parent("German Kahn", "Krystal Kahn"). +parent("Joetta Sales", "Larae Higginbotham"). +parent("Joetta Sales", "Sean Higginbotham"). +parent("Johnathan Anderton", "Lionel Anderton"). +parent("Johnathan Anderton", "Selena Anderton"). +parent("Juan Sales", "Mckinley Sales"). +parent("Juan Sales", "Sadye Sales"). +parent("Lance Sales", "Dannielle Sales"). +parent("Lance Sales", "Maurice Sales"). +parent("Leeann Coker", "Lionel Anderton"). +parent("Leeann Coker", "Selena Anderton"). +parent("Lionel Anderton", "Jeffry Anderton"). +parent("Lionel Anderton", "My Anderton"). +parent("Lucile Hargett", "Myles Hargett"). +parent("Lucile Hargett", "Stacia Hargett"). +parent("Lue Pike", "Dee Pike"). +parent("Lue Pike", "Mallie Pike"). +parent("Malik Anderton", "Jeffry Anderton"). +parent("Malik Anderton", "My Anderton"). +parent("Mallie Pike", "Lionel Anderton"). +parent("Mallie Pike", "Selena Anderton"). +parent("Mariann Kahn", "Hollis Kahn"). +parent("Mariann Kahn", "Krystal Kahn"). +parent("Maurice Sales", "Alphonso Sales"). +parent("Maurice Sales", "Tanya Sales"). +parent("Mckinley Sales", "Dannielle Sales"). +parent("Mckinley Sales", "Maurice Sales"). +parent("Millard Higginbotham", "Rupert Higginbotham"). +parent("Millard Higginbotham", "Thomasine Higginbotham"). +parent("Morris Kahn", "Adalberto Kahn"). +parent("Morris Kahn", "Rae Kahn"). +parent("Myles Hargett", "Gloria Hargett"). +parent("Myles Hargett", "Randal Hargett"). +parent("Nell Kahn", "Adalberto Kahn"). +parent("Nell Kahn", "Rae Kahn"). +parent("Nico Sales", "Dannielle Sales"). +parent("Nico Sales", "Maurice Sales"). +parent("Rae Kahn", "Lionel Anderton"). +parent("Rae Kahn", "Selena Anderton"). +parent("Rodger Schenck", "Ardath Schenck"). +parent("Rodger Schenck", "Keith Schenck"). +parent("Sean Higginbotham", "Candy Higginbotham"). +parent("Sean Higginbotham", "Millard Higginbotham"). +parent("Selena Anderton", "Dannielle Sales"). +parent("Selena Anderton", "Maurice Sales"). +parent("Stacia Hargett", "Lionel Anderton"). +parent("Stacia Hargett", "Selena Anderton"). +parent("Terry Anderton", "Jeffry Anderton"). +parent("Terry Anderton", "My Anderton"). +parent("Willard Sales", "Joetta Sales"). +parent("Willard Sales", "Lance Sales"). +parent("Alvin Crabb", "Trent Crabb"). +parent("Alvin Crabb", "Vivienne Crabb"). +parent("Arthur Robichaud", "Dudley Robichaud"). +parent("Arthur Robichaud", "Rochelle Robichaud"). +parent("Audie Puente", "Rick Kern"). +parent("Audie Puente", "Zulema Kern"). +parent("Augustus Mcneely", "Deidre Mcneely"). +parent("Augustus Mcneely", "Lucien Mcneely"). +parent("Brett Kern", "Daisy Kern"). +parent("Brett Kern", "Rocco Kern"). +parent("Connie Kern", "Guadalupe Kern"). +parent("Connie Kern", "Sondra Kern"). +parent("Damaris Zander", "Audie Puente"). +parent("Damaris Zander", "Rudolf Puente"). +parent("Elissa Fender", "Augustus Mcneely"). +parent("Elissa Fender", "Kimberlee Mcneely"). +parent("Esperanza Kern", "Guadalupe Kern"). +parent("Esperanza Kern", "Sondra Kern"). +parent("Isis Zander", "Damaris Zander"). +parent("Isis Zander", "Louis Zander"). +parent("Kelvin Youmans", "Margaret Youmans"). +parent("Kelvin Youmans", "Oren Youmans"). +parent("Kena Kite", "Matthias Kite"). +parent("Kena Kite", "Romana Kite"). +parent("Leann Kern", "Darrell Urquhart"). +parent("Leann Kern", "Tracy Urquhart"). +parent("Lucien Mcneely", "Evelyne Mcneely"). +parent("Lucien Mcneely", "Ross Mcneely"). +parent("Lukas Kern", "Guadalupe Kern"). +parent("Lukas Kern", "Sondra Kern"). +parent("Lyman Fender", "Alex Fender"). +parent("Lyman Fender", "Elissa Fender"). +parent("Margaret Youmans", "Trent Crabb"). +parent("Margaret Youmans", "Vivienne Crabb"). +parent("Michell Robichaud", "Arthur Robichaud"). +parent("Michell Robichaud", "Renea Robichaud"). +parent("Natalie Andrus", "Margaret Youmans"). +parent("Natalie Andrus", "Oren Youmans"). +parent("Nikki Tunstall", "Julie Mcneely"). +parent("Nikki Tunstall", "Ward Mcneely"). +parent("Renea Robichaud", "Trent Crabb"). +parent("Renea Robichaud", "Vivienne Crabb"). +parent("Rick Kern", "Guadalupe Kern"). +parent("Rick Kern", "Sondra Kern"). +parent("Ricky Andrus", "Natalie Andrus"). +parent("Ricky Andrus", "Ricardo Andrus"). +parent("Rocco Kern", "Guadalupe Kern"). +parent("Rocco Kern", "Sondra Kern"). +parent("Romana Kite", "Alex Fender"). +parent("Romana Kite", "Elissa Fender"). +parent("Selena Youmans", "Margaret Youmans"). +parent("Selena Youmans", "Oren Youmans"). +parent("Sondra Kern", "Jonas Tunstall"). +parent("Sondra Kern", "Nikki Tunstall"). +parent("Vanessa Fender", "Alex Fender"). +parent("Vanessa Fender", "Elissa Fender"). +parent("Vivienne Crabb", "Leann Kern"). +parent("Vivienne Crabb", "Lukas Kern"). +parent("Ward Mcneely", "Deidre Mcneely"). +parent("Ward Mcneely", "Lucien Mcneely"). +parent("Abraham Guillory", "Alan Guillory"). +parent("Abraham Guillory", "Florence Guillory"). +parent("Ahmad Fetter", "Demetra Fetter"). +parent("Ahmad Fetter", "Rudolf Fetter"). +parent("Alan Guillory", "Carroll Guillory"). +parent("Alan Guillory", "Dawne Guillory"). +parent("Anibal Fogle", "Leesa Fogle"). +parent("Anibal Fogle", "Lyman Fogle"). +parent("Ariel Fetter", "Frank Kahler"). +parent("Ariel Fetter", "Patricia Kahler"). +parent("Aurelio Kahler", "Frank Kahler"). +parent("Aurelio Kahler", "Patricia Kahler"). +parent("Carroll Guillory", "Amanda Guillory"). +parent("Carroll Guillory", "Clint Guillory"). +parent("Dawne Guillory", "Anibal Fogle"). +parent("Dawne Guillory", "Thalia Fogle"). +parent("Demetra Fetter", "Hunter Guillory"). +parent("Demetra Fetter", "Margaret Guillory"). +parent("Gwendolyn Fetter", "Demetra Fetter"). +parent("Gwendolyn Fetter", "Rudolf Fetter"). +parent("Hunter Guillory", "Matilda Guillory"). +parent("Hunter Guillory", "Rigoberto Guillory"). +parent("Jenni Guillory", "Hunter Guillory"). +parent("Jenni Guillory", "Margaret Guillory"). +parent("Karol Fetter", "Ahmad Fetter"). +parent("Karol Fetter", "Dominique Fetter"). +parent("Kendrick Guillory", "Carroll Guillory"). +parent("Kendrick Guillory", "Dawne Guillory"). +parent("Krystal Stockman", "Hunter Guillory"). +parent("Krystal Stockman", "Margaret Guillory"). +parent("Larue Guillory", "Matilda Guillory"). +parent("Larue Guillory", "Rigoberto Guillory"). +parent("Liane Stockman", "Eduardo Stockman"). +parent("Liane Stockman", "Krystal Stockman"). +parent("Mammie Stockman", "Eduardo Stockman"). +parent("Mammie Stockman", "Krystal Stockman"). +parent("Margaret Guillory", "Jefferson Rickert"). +parent("Margaret Guillory", "Rosalyn Rickert"). +parent("Matilda Guillory", "Christopher Hall"). +parent("Matilda Guillory", "Eula Hall"). +parent("Patsy Guillory", "Carroll Guillory"). +parent("Patsy Guillory", "Dawne Guillory"). +parent("Ramona Fetter", "Ahmad Fetter"). +parent("Ramona Fetter", "Dominique Fetter"). +parent("Reginald Markey", "Bart Markey"). +parent("Reginald Markey", "Sheena Markey"). +parent("Rigoberto Guillory", "Carroll Guillory"). +parent("Rigoberto Guillory", "Dawne Guillory"). +parent("Ronnie Kahler", "Aurelio Kahler"). +parent("Ronnie Kahler", "Drema Kahler"). +parent("Rosie Guillory", "Amanda Guillory"). +parent("Rosie Guillory", "Clint Guillory"). +parent("Rubie Guillory", "Matilda Guillory"). +parent("Rubie Guillory", "Rigoberto Guillory"). +parent("Rudolf Fetter", "Alfred Fetter"). +parent("Rudolf Fetter", "Ariel Fetter"). +parent("Sheena Markey", "Hunter Guillory"). +parent("Sheena Markey", "Margaret Guillory"). +parent("Stewart Guillory", "Matilda Guillory"). +parent("Stewart Guillory", "Rigoberto Guillory"). +parent("Stewart Hall", "Christopher Hall"). +parent("Stewart Hall", "Eula Hall"). +parent("Vincent Fetter", "Demetra Fetter"). +parent("Vincent Fetter", "Rudolf Fetter"). +parent("Zackary Markey", "Bart Markey"). +parent("Zackary Markey", "Sheena Markey"). +parent("Briana Tobin", "Natalie Bayne"). +parent("Briana Tobin", "Roderick Bayne"). +parent("Carson Crawley", "Sylvester Crawley"). +parent("Carson Crawley", "Tammy Crawley"). +parent("Cheri Crawley", "Dan Crawley"). +parent("Cheri Crawley", "Flora Crawley"). +parent("Dan Crawley", "Sylvester Crawley"). +parent("Dan Crawley", "Tammy Crawley"). +parent("Dick Tobin", "Dylan Tobin"). +parent("Dick Tobin", "Whitney Tobin"). +parent("Dylan Tobin", "Carol Tobin"). +parent("Dylan Tobin", "Merry Tobin"). +parent("Florentino Tobin", "Dylan Tobin"). +parent("Florentino Tobin", "Whitney Tobin"). +parent("Freddie Tobin", "Mckinley Tobin"). +parent("Freddie Tobin", "Reita Tobin"). +parent("Geneva Tobin", "Dylan Tobin"). +parent("Geneva Tobin", "Whitney Tobin"). +parent("Hyman Alonso", "Andre Alonso"). +parent("Hyman Alonso", "Daisy Alonso"). +parent("Joetta Crawley", "Sylvester Crawley"). +parent("Joetta Crawley", "Tammy Crawley"). +parent("Katy Tolson", "Angela Thibodeau"). +parent("Katy Tolson", "Marion Thibodeau"). +parent("Kristen Alonso", "Andre Alonso"). +parent("Kristen Alonso", "Daisy Alonso"). +parent("Lissa Tobin", "Colette Tobin"). +parent("Lissa Tobin", "Markus Tobin"). +parent("Marcelino Alonso", "Andre Alonso"). +parent("Marcelino Alonso", "Daisy Alonso"). +parent("Markus Tobin", "Dylan Tobin"). +parent("Markus Tobin", "Whitney Tobin"). +parent("Mckinley Tobin", "Briana Tobin"). +parent("Mckinley Tobin", "Dick Tobin"). +parent("Natalie Bayne", "Oskar Browne"). +parent("Natalie Bayne", "Queenie Browne"). +parent("Patti Alonso", "Marcelino Alonso"). +parent("Patti Alonso", "Shirleen Alonso"). +parent("Pedro Tobin", "Dylan Tobin"). +parent("Pedro Tobin", "Whitney Tobin"). +parent("Queenie Browne", "Bradley Fleming"). +parent("Queenie Browne", "Sha Fleming"). +parent("Rhoda Moller", "Darnell Moller"). +parent("Rhoda Moller", "Susanna Moller"). +parent("Roderick Bayne", "Archie Bayne"). +parent("Roderick Bayne", "Rosalyn Bayne"). +parent("Roxy Fleming", "Bradley Fleming"). +parent("Roxy Fleming", "Sha Fleming"). +parent("Samuel Bayne", "Natalie Bayne"). +parent("Samuel Bayne", "Roderick Bayne"). +parent("Sanford Moller", "Darnell Moller"). +parent("Sanford Moller", "Susanna Moller"). +parent("Sha Fleming", "Katy Tolson"). +parent("Sha Fleming", "Stephan Tolson"). +parent("Shirleen Alonso", "Colette Tobin"). +parent("Shirleen Alonso", "Markus Tobin"). +parent("Tammy Crawley", "Marcelino Alonso"). +parent("Tammy Crawley", "Shirleen Alonso"). +parent("Tanner Browne", "Oskar Browne"). +parent("Tanner Browne", "Queenie Browne"). +parent("Tianna Tobin", "Briana Tobin"). +parent("Tianna Tobin", "Dick Tobin"). +parent("Whitney Tobin", "Darnell Moller"). +parent("Whitney Tobin", "Susanna Moller"). +parent("Winfred Tobin", "Colette Tobin"). +parent("Winfred Tobin", "Markus Tobin"). +parent("Adolph Neel", "Andrew Neel"). +parent("Adolph Neel", "Latasha Neel"). +parent("Ashton Kwan", "Luke Beach"). +parent("Ashton Kwan", "Misti Beach"). +parent("Basil Foret", "Larue Foret"). +parent("Basil Foret", "Ricardo Foret"). +parent("Carol Foret", "Quinton Foret"). +parent("Carol Foret", "Renate Foret"). +parent("Drew Kwan", "Ashton Kwan"). +parent("Drew Kwan", "Hubert Kwan"). +parent("Erik Hollister", "Leana Hollister"). +parent("Erik Hollister", "Otto Hollister"). +parent("Estella Foret", "Leana Hollister"). +parent("Estella Foret", "Otto Hollister"). +parent("Evan Foret", "Estella Foret"). +parent("Evan Foret", "Karl Foret"). +parent("Gertrude Neel", "Andrew Neel"). +parent("Gertrude Neel", "Latasha Neel"). +parent("Hayden Kwan", "Drew Kwan"). +parent("Hayden Kwan", "Gemma Kwan"). +parent("Hubert Kwan", "Cristopher Kwan"). +parent("Hubert Kwan", "Margo Kwan"). +parent("Karina Merrifield", "Rudy Foret"). +parent("Karina Merrifield", "Tania Foret"). +parent("Karl Foret", "Quinton Foret"). +parent("Karl Foret", "Renate Foret"). +parent("Latasha Neel", "Donald Buie"). +parent("Latasha Neel", "Latasha Buie"). +parent("Lola Neel", "Andrew Neel"). +parent("Lola Neel", "Latasha Neel"). +parent("Maira Merrifield", "Demetrius Merrifield"). +parent("Maira Merrifield", "Karina Merrifield"). +parent("Margo Kwan", "Rudy Foret"). +parent("Margo Kwan", "Tania Foret"). +parent("Marilyn Merrifield", "Demetrius Merrifield"). +parent("Marilyn Merrifield", "Karina Merrifield"). +parent("Marty Foret", "Rudy Foret"). +parent("Marty Foret", "Tania Foret"). +parent("Nana Lang", "Quinton Foret"). +parent("Nana Lang", "Renate Foret"). +parent("Paula Sanborn", "Andrew Neel"). +parent("Paula Sanborn", "Latasha Neel"). +parent("Refugio Sanborn", "Patrick Sanborn"). +parent("Refugio Sanborn", "Paula Sanborn"). +parent("Renate Foret", "Chris Larkin"). +parent("Renate Foret", "Page Larkin"). +parent("Ricardo Foret", "Rudy Foret"). +parent("Ricardo Foret", "Tania Foret"). +parent("Rudy Foret", "Quinton Foret"). +parent("Rudy Foret", "Renate Foret"). +parent("Serena Merrifield", "Demetrius Merrifield"). +parent("Serena Merrifield", "Karina Merrifield"). +parent("Shari Lang", "Jonas Lang"). +parent("Shari Lang", "Nana Lang"). +parent("Sidney Beach", "Luke Beach"). +parent("Sidney Beach", "Misti Beach"). +parent("Tania Foret", "Donald Buie"). +parent("Tania Foret", "Latasha Buie"). +parent("Theodor Foret", "Adrienne Foret"). +parent("Theodor Foret", "Vicente Foret"). +parent("Vicente Foret", "Rudy Foret"). +parent("Vicente Foret", "Tania Foret"). +parent("Warren Foret", "Marty Foret"). +parent("Warren Foret", "Noelia Foret"). + +cousin(X, Y) :- + parent(X, A), + parent(Y, B), + sibling(A, B), + X\=Y. + +uncle(X, Y) :- + parent(X, A), + brother(A, Y). + +:- 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). + +:- dynamic resource/3. +:- multifile resource/3. + + +second_uncle(X, Y) :- + great_grandparent(X, A), + brother(A, Y). + +:- dynamic gender/2. + +gender("Adalberto Kahn", "male"). +gender("Alphonso Sales", "male"). +gender("Ardath Schenck", "female"). +gender("Candy Higginbotham", "female"). +gender("Carrol Coker", "male"). +gender("Dannielle Sales", "female"). +gender("Dee Pike", "male"). +gender("Eli Coker", "male"). +gender("Forest Anderton", "male"). +gender("German Kahn", "male"). +gender("Gloria Hargett", "female"). +gender("Hollis Kahn", "male"). +gender("Jeffry Anderton", "male"). +gender("Joetta Sales", "female"). +gender("Johnathan Anderton", "male"). +gender("Juan Sales", "male"). +gender("Keith Schenck", "male"). +gender("Krystal Kahn", "female"). +gender("Lance Sales", "male"). +gender("Larae Higginbotham", "female"). +gender("Leeann Coker", "female"). +gender("Lionel Anderton", "male"). +gender("Lucile Hargett", "female"). +gender("Lue Pike", "female"). +gender("Malik Anderton", "male"). +gender("Mallie Pike", "female"). +gender("Mariann Kahn", "female"). +gender("Maurice Sales", "male"). +gender("Mckinley Sales", "male"). +gender("Millard Higginbotham", "male"). +gender("Morris Kahn", "male"). +gender("My Anderton", "female"). +gender("Myles Hargett", "male"). +gender("Nell Kahn", "female"). +gender("Nico Sales", "male"). +gender("Nicolasa Anderton", "female"). +gender("Rae Kahn", "female"). +gender("Randal Hargett", "male"). +gender("Rodger Schenck", "male"). +gender("Rodolfo Cuomo", "male"). +gender("Rupert Higginbotham", "male"). +gender("Sadye Sales", "female"). +gender("Sean Higginbotham", "male"). +gender("Selena Anderton", "female"). +gender("Stacia Hargett", "female"). +gender("Tanya Sales", "female"). +gender("Terry Anderton", "male"). +gender("Thomasine Higginbotham", "female"). +gender("Tory Cuomo", "female"). +gender("Willard Sales", "male"). +gender("Alex Fender", "male"). +gender("Alvin Crabb", "male"). +gender("Arthur Robichaud", "male"). +gender("Audie Puente", "female"). +gender("Augustus Mcneely", "male"). +gender("Brett Kern", "male"). +gender("Connie Kern", "female"). +gender("Daisy Kern", "female"). +gender("Damaris Zander", "female"). +gender("Darrell Urquhart", "male"). +gender("Deidre Mcneely", "female"). +gender("Dudley Robichaud", "male"). +gender("Elissa Fender", "female"). +gender("Esperanza Kern", "female"). +gender("Evelyne Mcneely", "female"). +gender("Guadalupe Kern", "male"). +gender("Isis Zander", "female"). +gender("Jonas Tunstall", "male"). +gender("Julie Mcneely", "female"). +gender("Kelvin Youmans", "male"). +gender("Kena Kite", "female"). +gender("Kimberlee Mcneely", "female"). +gender("Leann Kern", "female"). +gender("Louis Zander", "male"). +gender("Lucien Mcneely", "male"). +gender("Lukas Kern", "male"). +gender("Lyman Fender", "male"). +gender("Margaret Youmans", "female"). +gender("Matthias Kite", "male"). +gender("Michell Robichaud", "female"). +gender("Natalie Andrus", "female"). +gender("Nikki Tunstall", "female"). +gender("Oren Youmans", "male"). +gender("Renea Robichaud", "female"). +gender("Ricardo Andrus", "male"). +gender("Rick Kern", "male"). +gender("Ricky Andrus", "male"). +gender("Rocco Kern", "male"). +gender("Rochelle Robichaud", "female"). +gender("Romana Kite", "female"). +gender("Ross Mcneely", "male"). +gender("Rudolf Puente", "male"). +gender("Selena Youmans", "female"). +gender("Sondra Kern", "female"). +gender("Tracy Urquhart", "female"). +gender("Trent Crabb", "male"). +gender("Vanessa Fender", "female"). +gender("Vivienne Crabb", "female"). +gender("Ward Mcneely", "male"). +gender("Zulema Kern", "female"). +gender("Abraham Guillory", "male"). +gender("Ahmad Fetter", "male"). +gender("Alan Guillory", "male"). +gender("Alfred Fetter", "male"). +gender("Amanda Guillory", "female"). +gender("Anibal Fogle", "male"). +gender("Ariel Fetter", "female"). +gender("Aurelio Kahler", "male"). +gender("Bart Markey", "male"). +gender("Carroll Guillory", "male"). +gender("Christopher Hall", "male"). +gender("Clint Guillory", "male"). +gender("Dawne Guillory", "female"). +gender("Demetra Fetter", "female"). +gender("Dominique Fetter", "female"). +gender("Drema Kahler", "female"). +gender("Eduardo Stockman", "male"). +gender("Eula Hall", "female"). +gender("Florence Guillory", "female"). +gender("Frank Kahler", "male"). +gender("Gwendolyn Fetter", "female"). +gender("Hunter Guillory", "male"). +gender("Jefferson Rickert", "male"). +gender("Jenni Guillory", "female"). +gender("Karol Fetter", "female"). +gender("Kendrick Guillory", "male"). +gender("Krystal Stockman", "female"). +gender("Larue Guillory", "female"). +gender("Leesa Fogle", "female"). +gender("Liane Stockman", "female"). +gender("Lyman Fogle", "male"). +gender("Mammie Stockman", "female"). +gender("Margaret Guillory", "female"). +gender("Matilda Guillory", "female"). +gender("Patricia Kahler", "female"). +gender("Patsy Guillory", "female"). +gender("Ramona Fetter", "female"). +gender("Reginald Markey", "male"). +gender("Rigoberto Guillory", "male"). +gender("Ronnie Kahler", "male"). +gender("Rosalyn Rickert", "female"). +gender("Rosie Guillory", "female"). +gender("Rubie Guillory", "female"). +gender("Rudolf Fetter", "male"). +gender("Sheena Markey", "female"). +gender("Stewart Guillory", "male"). +gender("Stewart Hall", "male"). +gender("Thalia Fogle", "female"). +gender("Vincent Fetter", "male"). +gender("Zackary Markey", "male"). +gender("Andre Alonso", "male"). +gender("Angela Thibodeau", "female"). +gender("Archie Bayne", "male"). +gender("Bradley Fleming", "male"). +gender("Briana Tobin", "female"). +gender("Carol Tobin", "male"). +gender("Carson Crawley", "male"). +gender("Cheri Crawley", "female"). +gender("Colette Tobin", "female"). +gender("Daisy Alonso", "female"). +gender("Dan Crawley", "male"). +gender("Darnell Moller", "male"). +gender("Dick Tobin", "male"). +gender("Dylan Tobin", "male"). +gender("Flora Crawley", "female"). +gender("Florentino Tobin", "male"). +gender("Freddie Tobin", "male"). +gender("Geneva Tobin", "female"). +gender("Hyman Alonso", "male"). +gender("Joetta Crawley", "female"). +gender("Katy Tolson", "female"). +gender("Kristen Alonso", "female"). +gender("Lissa Tobin", "female"). +gender("Marcelino Alonso", "male"). +gender("Marion Thibodeau", "male"). +gender("Markus Tobin", "male"). +gender("Mckinley Tobin", "male"). +gender("Merry Tobin", "female"). +gender("Natalie Bayne", "female"). +gender("Oskar Browne", "male"). +gender("Patti Alonso", "female"). +gender("Pedro Tobin", "male"). +gender("Queenie Browne", "female"). +gender("Reita Tobin", "female"). +gender("Rhoda Moller", "female"). +gender("Roderick Bayne", "male"). +gender("Rosalyn Bayne", "female"). +gender("Roxy Fleming", "female"). +gender("Samuel Bayne", "male"). +gender("Sanford Moller", "male"). +gender("Sha Fleming", "female"). +gender("Shirleen Alonso", "female"). +gender("Stephan Tolson", "male"). +gender("Susanna Moller", "female"). +gender("Sylvester Crawley", "male"). +gender("Tammy Crawley", "female"). +gender("Tanner Browne", "male"). +gender("Tianna Tobin", "female"). +gender("Whitney Tobin", "female"). +gender("Winfred Tobin", "male"). +gender("Adolph Neel", "male"). +gender("Adrienne Foret", "female"). +gender("Andrew Neel", "male"). +gender("Ashton Kwan", "female"). +gender("Basil Foret", "male"). +gender("Carol Foret", "male"). +gender("Chris Larkin", "male"). +gender("Cristopher Kwan", "male"). +gender("Demetrius Merrifield", "male"). +gender("Donald Buie", "male"). +gender("Drew Kwan", "male"). +gender("Erik Hollister", "male"). +gender("Estella Foret", "female"). +gender("Evan Foret", "male"). +gender("Gemma Kwan", "female"). +gender("Gertrude Neel", "female"). +gender("Hayden Kwan", "male"). +gender("Hubert Kwan", "male"). +gender("Jonas Lang", "male"). +gender("Karina Merrifield", "female"). +gender("Karl Foret", "male"). +gender("Larue Foret", "female"). +gender("Latasha Buie", "female"). +gender("Latasha Neel", "female"). +gender("Leana Hollister", "female"). +gender("Lola Neel", "female"). +gender("Luke Beach", "male"). +gender("Maira Merrifield", "female"). +gender("Margo Kwan", "female"). +gender("Marilyn Merrifield", "female"). +gender("Marty Foret", "male"). +gender("Misti Beach", "female"). +gender("Nana Lang", "female"). +gender("Noelia Foret", "female"). +gender("Otto Hollister", "male"). +gender("Page Larkin", "female"). +gender("Patrick Sanborn", "male"). +gender("Paula Sanborn", "female"). +gender("Quinton Foret", "male"). +gender("Refugio Sanborn", "male"). +gender("Renate Foret", "female"). +gender("Ricardo Foret", "male"). +gender("Rudy Foret", "male"). +gender("Serena Merrifield", "female"). +gender("Shari Lang", "female"). +gender("Sidney Beach", "male"). +gender("Tania Foret", "female"). +gender("Theodor Foret", "male"). +gender("Vicente Foret", "male"). +gender("Warren Foret", "male"). + +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).