ag2435 commited on
Commit
7348121
·
1 Parent(s): fe58a99

added a copy of each facts.pl file with .txt format

Browse files
Files changed (37) hide show
  1. README.md +72 -2
  2. depth_20_size_10000_seed_1/facts.txt +0 -0
  3. depth_20_size_10000_seed_2/facts.txt +0 -0
  4. depth_20_size_10000_seed_3/facts.txt +0 -0
  5. depth_20_size_1000_seed_1/facts.txt +0 -0
  6. depth_20_size_1000_seed_2/facts.txt +0 -0
  7. depth_20_size_1000_seed_3/facts.txt +0 -0
  8. depth_20_size_100_seed_1/facts.txt +1375 -0
  9. depth_20_size_100_seed_2/facts.txt +1375 -0
  10. depth_20_size_100_seed_3/facts.txt +1377 -0
  11. depth_20_size_200_seed_1/facts.txt +2344 -0
  12. depth_20_size_200_seed_2/facts.txt +2354 -0
  13. depth_20_size_200_seed_3/facts.txt +2357 -0
  14. depth_20_size_2500_seed_1/facts.txt +0 -0
  15. depth_20_size_2500_seed_2/facts.txt +0 -0
  16. depth_20_size_2500_seed_3/facts.txt +0 -0
  17. depth_20_size_25_seed_1/facts.txt +630 -0
  18. depth_20_size_25_seed_2/facts.txt +620 -0
  19. depth_20_size_25_seed_3/facts.txt +620 -0
  20. depth_20_size_300_seed_1/facts.txt +0 -0
  21. depth_20_size_300_seed_2/facts.txt +0 -0
  22. depth_20_size_300_seed_3/facts.txt +0 -0
  23. depth_20_size_400_seed_1/facts.txt +0 -0
  24. depth_20_size_400_seed_2/facts.txt +0 -0
  25. depth_20_size_400_seed_3/facts.txt +0 -0
  26. depth_20_size_5000_seed_1/facts.txt +0 -0
  27. depth_20_size_5000_seed_2/facts.txt +0 -0
  28. depth_20_size_5000_seed_3/facts.txt +0 -0
  29. depth_20_size_500_seed_1/facts.txt +0 -0
  30. depth_20_size_500_seed_2/facts.txt +0 -0
  31. depth_20_size_500_seed_3/facts.txt +0 -0
  32. depth_20_size_50_seed_1/facts.txt +875 -0
  33. depth_20_size_50_seed_2/facts.txt +870 -0
  34. depth_20_size_50_seed_3/facts.txt +877 -0
  35. depth_20_size_7500_seed_1/facts.txt +0 -0
  36. depth_20_size_7500_seed_2/facts.txt +0 -0
  37. depth_20_size_7500_seed_3/facts.txt +0 -0
README.md CHANGED
@@ -74,7 +74,6 @@ configs:
74
  path: depth_20_size_7500_seed_3/articles.json
75
  - split: depth_20_size_10000_seed_3
76
  path: depth_20_size_10000_seed_3/articles.json
77
-
78
  - config_name: question-answer
79
  data_files:
80
  - split: depth_20_size_25_seed_1
@@ -147,7 +146,78 @@ configs:
147
  path: depth_20_size_7500_seed_3/questions.json
148
  - split: depth_20_size_10000_seed_3
149
  path: depth_20_size_10000_seed_3/questions.json
150
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
151
  ---
152
 
153
  TODO: add 7500 seed 1
 
74
  path: depth_20_size_7500_seed_3/articles.json
75
  - split: depth_20_size_10000_seed_3
76
  path: depth_20_size_10000_seed_3/articles.json
 
77
  - config_name: question-answer
78
  data_files:
79
  - split: depth_20_size_25_seed_1
 
146
  path: depth_20_size_7500_seed_3/questions.json
147
  - split: depth_20_size_10000_seed_3
148
  path: depth_20_size_10000_seed_3/questions.json
149
+ - config_name: facts
150
+ data_files:
151
+ - split: depth_20_size_25_seed_1
152
+ path: depth_20_size_25_seed_1/facts.txt
153
+ - split: depth_20_size_50_seed_1
154
+ path: depth_20_size_50_seed_1/facts.txt
155
+ - split: depth_20_size_100_seed_1
156
+ path: depth_20_size_100_seed_1/facts.txt
157
+ - split: depth_20_size_200_seed_1
158
+ path: depth_20_size_200_seed_1/facts.txt
159
+ - split: depth_20_size_300_seed_1
160
+ path: depth_20_size_300_seed_1/facts.txt
161
+ - split: depth_20_size_400_seed_1
162
+ path: depth_20_size_400_seed_1/facts.txt
163
+ - split: depth_20_size_500_seed_1
164
+ path: depth_20_size_500_seed_1/facts.txt
165
+ - split: depth_20_size_1000_seed_1
166
+ path: depth_20_size_1000_seed_1/facts.txt
167
+ - split: depth_20_size_2500_seed_1
168
+ path: depth_20_size_2500_seed_1/facts.txt
169
+ - split: depth_20_size_5000_seed_1
170
+ path: depth_20_size_5000_seed_1/facts.txt
171
+ - split: depth_20_size_10000_seed_1
172
+ path: depth_20_size_10000_seed_1/facts.txt
173
+ - split: depth_20_size_25_seed_2
174
+ path: depth_20_size_25_seed_2/facts.txt
175
+ - split: depth_20_size_50_seed_2
176
+ path: depth_20_size_50_seed_2/facts.txt
177
+ - split: depth_20_size_100_seed_2
178
+ path: depth_20_size_100_seed_2/facts.txt
179
+ - split: depth_20_size_200_seed_2
180
+ path: depth_20_size_200_seed_2/facts.txt
181
+ - split: depth_20_size_300_seed_2
182
+ path: depth_20_size_300_seed_2/facts.txt
183
+ - split: depth_20_size_400_seed_2
184
+ path: depth_20_size_400_seed_2/facts.txt
185
+ - split: depth_20_size_500_seed_2
186
+ path: depth_20_size_500_seed_2/facts.txt
187
+ - split: depth_20_size_1000_seed_2
188
+ path: depth_20_size_1000_seed_2/facts.txt
189
+ - split: depth_20_size_2500_seed_2
190
+ path: depth_20_size_2500_seed_2/facts.txt
191
+ - split: depth_20_size_5000_seed_2
192
+ path: depth_20_size_5000_seed_2/facts.txt
193
+ - split: depth_20_size_7500_seed_2
194
+ path: depth_20_size_7500_seed_2/facts.txt
195
+ - split: depth_20_size_10000_seed_2
196
+ path: depth_20_size_10000_seed_2/facts.txt
197
+ - split: depth_20_size_25_seed_3
198
+ path: depth_20_size_25_seed_3/facts.txt
199
+ - split: depth_20_size_50_seed_3
200
+ path: depth_20_size_50_seed_3/facts.txt
201
+ - split: depth_20_size_100_seed_3
202
+ path: depth_20_size_100_seed_3/facts.txt
203
+ - split: depth_20_size_200_seed_3
204
+ path: depth_20_size_200_seed_3/facts.txt
205
+ - split: depth_20_size_300_seed_3
206
+ path: depth_20_size_300_seed_3/facts.txt
207
+ - split: depth_20_size_400_seed_3
208
+ path: depth_20_size_400_seed_3/facts.txt
209
+ - split: depth_20_size_500_seed_3
210
+ path: depth_20_size_500_seed_3/facts.txt
211
+ - split: depth_20_size_1000_seed_3
212
+ path: depth_20_size_1000_seed_3/facts.txt
213
+ - split: depth_20_size_2500_seed_3
214
+ path: depth_20_size_2500_seed_3/facts.txt
215
+ - split: depth_20_size_5000_seed_3
216
+ path: depth_20_size_5000_seed_3/facts.txt
217
+ - split: depth_20_size_7500_seed_3
218
+ path: depth_20_size_7500_seed_3/facts.txt
219
+ - split: depth_20_size_10000_seed_3
220
+ path: depth_20_size_10000_seed_3/facts.txt
221
  ---
222
 
223
  TODO: add 7500 seed 1
depth_20_size_10000_seed_1/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_10000_seed_2/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_10000_seed_3/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_1000_seed_1/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_1000_seed_2/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_1000_seed_3/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_100_seed_1/facts.txt ADDED
@@ -0,0 +1,1375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Aida Wang", "meditation").
32
+ hobby("Alec Sinclair", "meteorology").
33
+ hobby("Alfredo Wang", "biology").
34
+ hobby("Alison Smock", "meteorology").
35
+ hobby("Alvaro Smock", "dolls").
36
+ hobby("Alycia Coe", "photography").
37
+ hobby("Barabara Beltran", "shogi").
38
+ hobby("Brian Beltran", "dominoes").
39
+ hobby("Carrol Woodson", "tether car").
40
+ hobby("Christina Coe", "architecture").
41
+ hobby("Christoper Coe", "geocaching").
42
+ hobby("Cortney Parmer", "trainspotting").
43
+ hobby("Cythia Smock", "bus spotting").
44
+ hobby("Daisy Beltran", "research").
45
+ hobby("Dino Beltran", "geography").
46
+ hobby("Dominique Smock", "microbiology").
47
+ hobby("Dwight Hackworth", "canoeing").
48
+ hobby("Earle Coe", "learning").
49
+ hobby("Eli Smock", "dairy farming").
50
+ hobby("Gayla Woodson", "fossil hunting").
51
+ hobby("Gene Smock", "sociology").
52
+ hobby("Isiah Lutz", "finance").
53
+ hobby("Jamison Baptiste", "meditation").
54
+ hobby("Kristen Toombs", "wikipedia editing").
55
+ hobby("Lannie Smock", "radio-controlled car racing").
56
+ hobby("Leeann Sinclair", "social studies").
57
+ hobby("Leisa Lutz", "judo").
58
+ hobby("Lesley Lutz", "flying disc").
59
+ hobby("Lissa Coe", "cricket").
60
+ hobby("Lonny Parmer", "weightlifting").
61
+ hobby("Maria Baptiste", "meditation").
62
+ hobby("Michelle Hackworth", "ballroom dancing").
63
+ hobby("Noelia Lutz", "microscopy").
64
+ hobby("Orlando Beltran", "reading").
65
+ hobby("Reggie Coe", "laser tag").
66
+ hobby("Ricardo Hackworth", "hiking/backpacking").
67
+ hobby("Ryan Wang", "audiophile").
68
+ hobby("Shannon Beltran", "tennis polo").
69
+ hobby("Shelli Beltran", "photography").
70
+ hobby("Stacia Toombs", "backgammon").
71
+ hobby("Tanner Beltran", "microscopy").
72
+ hobby("Tosha Beltran", "herping").
73
+ hobby("Tyson Woodson", "philately").
74
+ hobby("Ulysses Parmer", "birdwatching").
75
+ hobby("Vicki Hackworth", "shogi").
76
+ hobby("Vincent Lutz", "magnet fishing").
77
+ hobby("Virgil Hackworth", "table tennis").
78
+ hobby("Von Sinclair", "scuba diving").
79
+ hobby("Wilbert Toombs", "biology").
80
+ hobby("Williams Smock", "sea glass collecting").
81
+ hobby("Wm Parmer", "research").
82
+ hobby("Angela Culver", "gongoozling").
83
+ hobby("Anibal Stansberry", "benchmarking").
84
+ hobby("Barbara Philpott", "sea glass collecting").
85
+ hobby("Bev Gilmore", "bowling").
86
+ hobby("Brigette Gilmore", "audiophile").
87
+ hobby("Celia Macmillan", "tea bag collecting").
88
+ hobby("Conrad Stansberry", "model aircraft").
89
+ hobby("Cordelia Wiggs", "herping").
90
+ hobby("David Wiggs", "figure skating").
91
+ hobby("Debra Stansberry", "fossil hunting").
92
+ hobby("Desiree Stansberry", "airsoft").
93
+ hobby("Diane Culver", "whale watching").
94
+ hobby("Dionne Stansberry", "pinball").
95
+ hobby("Eliza Wiggs", "research").
96
+ hobby("Emanuel Stansberry", "flying model planes").
97
+ hobby("Frankie Hagerty", "ant farming").
98
+ hobby("Gail Culver", "volleyball").
99
+ hobby("Garry Gilmore", "gongoozling").
100
+ hobby("Gillian Wiggs", "vehicle restoration").
101
+ hobby("Glenda Culver", "car riding").
102
+ hobby("Hayden Stansberry", "mycology").
103
+ hobby("Howard Wiggs", "table football").
104
+ hobby("Hyun Hagerty", "photography").
105
+ hobby("Iva Stansberry", "metal detecting").
106
+ hobby("Jordan Culver", "archery").
107
+ hobby("Jules Culver", "reading").
108
+ hobby("Justine Hagerty", "shortwave listening").
109
+ hobby("Kelvin Culver", "snowmobiling").
110
+ hobby("Kori Wiggs", "research").
111
+ hobby("Laverna Stansberry", "religious studies").
112
+ hobby("Lester Stansberry", "cooking").
113
+ hobby("Lincoln Velasco", "kart racing").
114
+ hobby("Lionel Culver", "darts").
115
+ hobby("Loren Culver", "herping").
116
+ hobby("Markus Hagerty", "backgammon").
117
+ hobby("Maurine Velasco", "herping").
118
+ hobby("Mickey Philpott", "ant farming").
119
+ hobby("Millard Stansberry", "ephemera collecting").
120
+ hobby("Nikki Stansberry", "bus spotting").
121
+ hobby("Oren Stansberry", "research").
122
+ hobby("Quintin Hagerty", "croquet").
123
+ hobby("Renate Stansberry", "leaves").
124
+ hobby("Sona Stansberry", "antiquities").
125
+ hobby("Tad Macmillan", "field hockey").
126
+ hobby("Tamara Macmillan", "leaves").
127
+ hobby("Terence Culver", "auto audiophilia").
128
+ hobby("Tonya Culver", "magic").
129
+ hobby("Victor Stansberry", "people-watching").
130
+ hobby("Wilmer Hagerty", "social studies").
131
+ hobby("Yolanda Philpott", "mineral collecting").
132
+
133
+ granddaughter(X, Y) :-
134
+ grandchild(X, Y),
135
+ female(Y).
136
+
137
+ grandson(X, Y) :-
138
+ grandchild(X, Y),
139
+ male(Y).
140
+
141
+ :- dynamic job/2.
142
+
143
+ job("Aida Wang", "personal assistant").
144
+ job("Alec Sinclair", "health promotion specialist").
145
+ job("Alfredo Wang", "osteopath").
146
+ job("Alison Smock", "broadcast engineer").
147
+ job("Alvaro Smock", "oncologist").
148
+ job("Alycia Coe", "warehouse manager").
149
+ job("Barabara Beltran", "associate professor").
150
+ job("Brian Beltran", "sports therapist").
151
+ job("Carrol Woodson", "retail manager").
152
+ job("Christina Coe", "immunologist").
153
+ job("Christoper Coe", "education administrator").
154
+ job("Cortney Parmer", "early years teacher").
155
+ job("Cythia Smock", "biomedical scientist").
156
+ job("Daisy Beltran", "music tutor").
157
+ job("Dino Beltran", "clinical cytogeneticist").
158
+ job("Dominique Smock", "ecologist").
159
+ job("Dwight Hackworth", "barrister's clerk").
160
+ job("Earle Coe", "petroleum engineer").
161
+ job("Eli Smock", "clinical research associate").
162
+ job("Gayla Woodson", "chief of staff").
163
+ job("Gene Smock", "occupational therapist").
164
+ job("Isiah Lutz", "actuary").
165
+ job("Jamison Baptiste", "police officer").
166
+ job("Kristen Toombs", "sound technician").
167
+ job("Lannie Smock", "theatre manager").
168
+ job("Leeann Sinclair", "clinical biochemist").
169
+ job("Leisa Lutz", "public relations officer").
170
+ job("Lesley Lutz", "music therapist").
171
+ job("Lissa Coe", "librarian").
172
+ job("Lonny Parmer", "building surveyor").
173
+ job("Maria Baptiste", "fitness centre manager").
174
+ job("Michelle Hackworth", "oceanographer").
175
+ job("Noelia Lutz", "historic buildings inspector").
176
+ job("Orlando Beltran", "chief marketing officer").
177
+ job("Reggie Coe", "waste management officer").
178
+ job("Ricardo Hackworth", "medical sales representative").
179
+ job("Ryan Wang", "community pharmacist").
180
+ job("Shannon Beltran", "pension scheme manager").
181
+ job("Shelli Beltran", "armed forces logistics officer").
182
+ job("Stacia Toombs", "environmental education officer").
183
+ job("Tanner Beltran", "medical illustrator").
184
+ job("Tosha Beltran", "museum conservator").
185
+ job("Tyson Woodson", "optometrist").
186
+ job("Ulysses Parmer", "further education lecturer").
187
+ job("Vicki Hackworth", "dancer").
188
+ job("Vincent Lutz", "water engineer").
189
+ job("Virgil Hackworth", "intelligence analyst").
190
+ job("Von Sinclair", "fashion designer").
191
+ job("Wilbert Toombs", "doctor").
192
+ job("Williams Smock", "chartered accountant").
193
+ job("Wm Parmer", "speech and language therapist").
194
+ job("Angela Culver", "clinical embryologist").
195
+ job("Anibal Stansberry", "community development worker").
196
+ job("Barbara Philpott", "games developer").
197
+ job("Bev Gilmore", "accommodation manager").
198
+ job("Brigette Gilmore", "conservation officer").
199
+ job("Celia Macmillan", "forensic scientist").
200
+ job("Conrad Stansberry", "pharmacologist").
201
+ job("Cordelia Wiggs", "dance movement psychotherapist").
202
+ job("David Wiggs", "paediatric nurse").
203
+ job("Debra Stansberry", "research officer").
204
+ job("Desiree Stansberry", "production designer").
205
+ job("Diane Culver", "community development worker").
206
+ job("Dionne Stansberry", "clinical molecular geneticist").
207
+ job("Eliza Wiggs", "set designer").
208
+ job("Emanuel Stansberry", "town planner").
209
+ job("Frankie Hagerty", "print production planner").
210
+ job("Gail Culver", "equality and diversity officer").
211
+ job("Garry Gilmore", "chartered loss adjuster").
212
+ job("Gillian Wiggs", "sales promotion account executive").
213
+ job("Glenda Culver", "banker").
214
+ job("Hayden Stansberry", "systems developer").
215
+ job("Howard Wiggs", "chief financial officer").
216
+ job("Hyun Hagerty", "regulatory affairs officer").
217
+ job("Iva Stansberry", "architect").
218
+ job("Jordan Culver", "health and safety inspector").
219
+ job("Jules Culver", "medical secretary").
220
+ job("Justine Hagerty", "careers adviser").
221
+ job("Kelvin Culver", "civil service administrator").
222
+ job("Kori Wiggs", "optometrist").
223
+ job("Laverna Stansberry", "print production planner").
224
+ job("Lester Stansberry", "arboriculturist").
225
+ job("Lincoln Velasco", "adult nurse").
226
+ job("Lionel Culver", "commercial horticulturist").
227
+ job("Loren Culver", "conference centre manager").
228
+ job("Markus Hagerty", "journalist").
229
+ job("Maurine Velasco", "wellsite geologist").
230
+ job("Mickey Philpott", "community education officer").
231
+ job("Millard Stansberry", "investment analyst").
232
+ job("Nikki Stansberry", "trading standards officer").
233
+ job("Oren Stansberry", "colour technologist").
234
+ job("Quintin Hagerty", "immigration officer").
235
+ job("Renate Stansberry", "human resources officer").
236
+ job("Sona Stansberry", "agricultural consultant").
237
+ job("Tad Macmillan", "fashion designer").
238
+ job("Tamara Macmillan", "actuary").
239
+ job("Terence Culver", "industrial designer").
240
+ job("Tonya Culver", "maintenance engineer").
241
+ job("Victor Stansberry", "data scientist").
242
+ job("Wilmer Hagerty", "health physicist").
243
+ job("Yolanda Philpott", "hospital doctor").
244
+
245
+ great_uncle(X, Y) :-
246
+ grandparent(X, A),
247
+ brother(A, Y).
248
+
249
+ :- dynamic save_all_clauses_to_file/1.
250
+
251
+ save_all_clauses_to_file(A) :-
252
+ open(A, write, B),
253
+ set_output(B),
254
+ listing,
255
+ close(B).
256
+
257
+ :- dynamic term_expansion/4.
258
+ :- multifile term_expansion/4.
259
+
260
+
261
+ grandchild(X, Y) :-
262
+ grandparent(Y, X).
263
+
264
+ :- dynamic dob/2.
265
+
266
+ dob("Aida Wang", "0985-05-30").
267
+ dob("Alec Sinclair", "1006-07-10").
268
+ dob("Alfredo Wang", "1012-02-04").
269
+ dob("Alison Smock", "0929-10-28").
270
+ dob("Alvaro Smock", "0867-07-12").
271
+ dob("Alycia Coe", "0959-01-13").
272
+ dob("Barabara Beltran", "0989-06-11").
273
+ dob("Brian Beltran", "0927-07-27").
274
+ dob("Carrol Woodson", "1033-07-02").
275
+ dob("Christina Coe", "0983-02-26").
276
+ dob("Christoper Coe", "0957-01-08").
277
+ dob("Cortney Parmer", "1014-07-04").
278
+ dob("Cythia Smock", "0956-05-12").
279
+ dob("Daisy Beltran", "0931-09-21").
280
+ dob("Dino Beltran", "0958-08-09").
281
+ dob("Dominique Smock", "0897-09-08").
282
+ dob("Dwight Hackworth", "1016-12-30").
283
+ dob("Earle Coe", "0984-05-03").
284
+ dob("Eli Smock", "0901-01-18").
285
+ dob("Gayla Woodson", "1035-10-24").
286
+ dob("Gene Smock", "0898-08-16").
287
+ dob("Isiah Lutz", "1014-10-18").
288
+ dob("Jamison Baptiste", "0929-02-07").
289
+ dob("Kristen Toombs", "0986-06-27").
290
+ dob("Lannie Smock", "0867-08-24").
291
+ dob("Leeann Sinclair", "1011-10-25").
292
+ dob("Leisa Lutz", "1015-11-21").
293
+ dob("Lesley Lutz", "1040-01-31").
294
+ dob("Lissa Coe", "1010-08-08").
295
+ dob("Lonny Parmer", "1042-08-03").
296
+ dob("Maria Baptiste", "0929-10-22").
297
+ dob("Michelle Hackworth", "1007-05-01").
298
+ dob("Noelia Lutz", "1042-01-27").
299
+ dob("Orlando Beltran", "0953-10-23").
300
+ dob("Reggie Coe", "1009-07-17").
301
+ dob("Ricardo Hackworth", "0983-02-24").
302
+ dob("Ryan Wang", "0982-03-17").
303
+ dob("Shannon Beltran", "0981-04-26").
304
+ dob("Shelli Beltran", "0958-03-08").
305
+ dob("Stacia Toombs", "0959-03-22").
306
+ dob("Tanner Beltran", "0956-11-17").
307
+ dob("Tosha Beltran", "0955-03-27").
308
+ dob("Tyson Woodson", "1068-10-22").
309
+ dob("Ulysses Parmer", "1015-03-18").
310
+ dob("Vicki Hackworth", "0985-05-30").
311
+ dob("Vincent Lutz", "1063-07-01").
312
+ dob("Virgil Hackworth", "1009-06-23").
313
+ dob("Von Sinclair", "1039-02-26").
314
+ dob("Wilbert Toombs", "0956-07-26").
315
+ dob("Williams Smock", "0926-04-04").
316
+ dob("Wm Parmer", "1040-07-04").
317
+ dob("Angela Culver", "0898-11-29").
318
+ dob("Anibal Stansberry", "0973-09-08").
319
+ dob("Barbara Philpott", "0915-10-13").
320
+ dob("Bev Gilmore", "0951-06-19").
321
+ dob("Brigette Gilmore", "0923-05-12").
322
+ dob("Celia Macmillan", "1026-12-07").
323
+ dob("Conrad Stansberry", "1003-10-24").
324
+ dob("Cordelia Wiggs", "0976-12-23").
325
+ dob("David Wiggs", "0979-09-27").
326
+ dob("Debra Stansberry", "1008-03-18").
327
+ dob("Desiree Stansberry", "1002-10-18").
328
+ dob("Diane Culver", "0869-11-24").
329
+ dob("Dionne Stansberry", "1037-04-26").
330
+ dob("Eliza Wiggs", "1040-01-19").
331
+ dob("Emanuel Stansberry", "1034-05-31").
332
+ dob("Frankie Hagerty", "0946-05-01").
333
+ dob("Gail Culver", "0887-02-26").
334
+ dob("Garry Gilmore", "0920-10-17").
335
+ dob("Gillian Wiggs", "1010-02-07").
336
+ dob("Glenda Culver", "0859-05-23").
337
+ dob("Hayden Stansberry", "1005-03-30").
338
+ dob("Howard Wiggs", "1010-06-15").
339
+ dob("Hyun Hagerty", "0946-07-18").
340
+ dob("Iva Stansberry", "0947-12-16").
341
+ dob("Jordan Culver", "0863-05-18").
342
+ dob("Jules Culver", "0865-04-01").
343
+ dob("Justine Hagerty", "0922-04-26").
344
+ dob("Kelvin Culver", "0893-08-01").
345
+ dob("Kori Wiggs", "1043-07-28").
346
+ dob("Laverna Stansberry", "1009-10-20").
347
+ dob("Lester Stansberry", "1030-10-24").
348
+ dob("Lincoln Velasco", "0861-10-10").
349
+ dob("Lionel Culver", "0888-06-17").
350
+ dob("Loren Culver", "0837-04-13").
351
+ dob("Markus Hagerty", "0922-01-07").
352
+ dob("Maurine Velasco", "0861-04-11").
353
+ dob("Mickey Philpott", "0916-05-13").
354
+ dob("Millard Stansberry", "1002-04-17").
355
+ dob("Nikki Stansberry", "1030-04-05").
356
+ dob("Oren Stansberry", "0948-09-28").
357
+ dob("Quintin Hagerty", "0981-01-08").
358
+ dob("Renate Stansberry", "0977-11-30").
359
+ dob("Sona Stansberry", "1005-11-15").
360
+ dob("Tad Macmillan", "1024-03-25").
361
+ dob("Tamara Macmillan", "1055-08-19").
362
+ dob("Terence Culver", "0889-08-09").
363
+ dob("Tonya Culver", "0837-02-09").
364
+ dob("Victor Stansberry", "0980-11-17").
365
+ dob("Wilmer Hagerty", "0948-05-29").
366
+ dob("Yolanda Philpott", "0940-02-02").
367
+
368
+ :- dynamic file_search_path/2.
369
+ :- multifile file_search_path/2.
370
+
371
+ file_search_path(library, Dir) :-
372
+ library_directory(Dir).
373
+ file_search_path(swi, A) :-
374
+ system:current_prolog_flag(home, A).
375
+ file_search_path(swi, A) :-
376
+ system:current_prolog_flag(shared_home, A).
377
+ file_search_path(library, app_config(lib)).
378
+ file_search_path(library, swi(library)).
379
+ file_search_path(library, swi(library/clp)).
380
+ file_search_path(library, A) :-
381
+ system:'$ext_library_directory'(A).
382
+ file_search_path(foreign, swi(A)) :-
383
+ system:
384
+ ( current_prolog_flag(apple_universal_binary, true),
385
+ A='lib/fat-darwin'
386
+ ).
387
+ file_search_path(path, A) :-
388
+ system:
389
+ ( getenv('PATH', B),
390
+ current_prolog_flag(path_sep, C),
391
+ atomic_list_concat(D, C, B),
392
+ '$member'(A, D)
393
+ ).
394
+ file_search_path(user_app_data, A) :-
395
+ system:'$xdg_prolog_directory'(data, A).
396
+ file_search_path(common_app_data, A) :-
397
+ system:'$xdg_prolog_directory'(common_data, A).
398
+ file_search_path(user_app_config, A) :-
399
+ system:'$xdg_prolog_directory'(config, A).
400
+ file_search_path(common_app_config, A) :-
401
+ system:'$xdg_prolog_directory'(common_config, A).
402
+ file_search_path(app_data, user_app_data('.')).
403
+ file_search_path(app_data, common_app_data('.')).
404
+ file_search_path(app_config, user_app_config('.')).
405
+ file_search_path(app_config, common_app_config('.')).
406
+ file_search_path(app_preferences, user_app_config('.')).
407
+ file_search_path(user_profile, app_preferences('.')).
408
+ file_search_path(app, swi(app)).
409
+ file_search_path(app, app_data(app)).
410
+ file_search_path(autoload, swi(library)).
411
+ file_search_path(autoload, pce(prolog/lib)).
412
+ file_search_path(autoload, app_config(lib)).
413
+ file_search_path(autoload, Dir) :-
414
+ '$autoload':'$ext_library_directory'(Dir).
415
+ file_search_path(pack, app_data(pack)).
416
+ file_search_path(library, PackLib) :-
417
+ '$pack':pack_dir(_Name, prolog, PackLib).
418
+ file_search_path(foreign, PackLib) :-
419
+ '$pack':pack_dir(_Name, foreign, PackLib).
420
+ file_search_path(app, AppDir) :-
421
+ '$pack':pack_dir(_Name, app, AppDir).
422
+
423
+ :- multifile prolog_list_goal/1.
424
+
425
+
426
+ :- dynamic type/2.
427
+
428
+ type("Aida Wang", person).
429
+ type("Alec Sinclair", person).
430
+ type("Alfredo Wang", person).
431
+ type("Alison Smock", person).
432
+ type("Alvaro Smock", person).
433
+ type("Alycia Coe", person).
434
+ type("Barabara Beltran", person).
435
+ type("Brian Beltran", person).
436
+ type("Carrol Woodson", person).
437
+ type("Christina Coe", person).
438
+ type("Christoper Coe", person).
439
+ type("Cortney Parmer", person).
440
+ type("Cythia Smock", person).
441
+ type("Daisy Beltran", person).
442
+ type("Dino Beltran", person).
443
+ type("Dominique Smock", person).
444
+ type("Dwight Hackworth", person).
445
+ type("Earle Coe", person).
446
+ type("Eli Smock", person).
447
+ type("Gayla Woodson", person).
448
+ type("Gene Smock", person).
449
+ type("Isiah Lutz", person).
450
+ type("Jamison Baptiste", person).
451
+ type("Kristen Toombs", person).
452
+ type("Lannie Smock", person).
453
+ type("Leeann Sinclair", person).
454
+ type("Leisa Lutz", person).
455
+ type("Lesley Lutz", person).
456
+ type("Lissa Coe", person).
457
+ type("Lonny Parmer", person).
458
+ type("Maria Baptiste", person).
459
+ type("Michelle Hackworth", person).
460
+ type("Noelia Lutz", person).
461
+ type("Orlando Beltran", person).
462
+ type("Reggie Coe", person).
463
+ type("Ricardo Hackworth", person).
464
+ type("Ryan Wang", person).
465
+ type("Shannon Beltran", person).
466
+ type("Shelli Beltran", person).
467
+ type("Stacia Toombs", person).
468
+ type("Tanner Beltran", person).
469
+ type("Tosha Beltran", person).
470
+ type("Tyson Woodson", person).
471
+ type("Ulysses Parmer", person).
472
+ type("Vicki Hackworth", person).
473
+ type("Vincent Lutz", person).
474
+ type("Virgil Hackworth", person).
475
+ type("Von Sinclair", person).
476
+ type("Wilbert Toombs", person).
477
+ type("Williams Smock", person).
478
+ type("Wm Parmer", person).
479
+ type("Angela Culver", person).
480
+ type("Anibal Stansberry", person).
481
+ type("Barbara Philpott", person).
482
+ type("Bev Gilmore", person).
483
+ type("Brigette Gilmore", person).
484
+ type("Celia Macmillan", person).
485
+ type("Conrad Stansberry", person).
486
+ type("Cordelia Wiggs", person).
487
+ type("David Wiggs", person).
488
+ type("Debra Stansberry", person).
489
+ type("Desiree Stansberry", person).
490
+ type("Diane Culver", person).
491
+ type("Dionne Stansberry", person).
492
+ type("Eliza Wiggs", person).
493
+ type("Emanuel Stansberry", person).
494
+ type("Frankie Hagerty", person).
495
+ type("Gail Culver", person).
496
+ type("Garry Gilmore", person).
497
+ type("Gillian Wiggs", person).
498
+ type("Glenda Culver", person).
499
+ type("Hayden Stansberry", person).
500
+ type("Howard Wiggs", person).
501
+ type("Hyun Hagerty", person).
502
+ type("Iva Stansberry", person).
503
+ type("Jordan Culver", person).
504
+ type("Jules Culver", person).
505
+ type("Justine Hagerty", person).
506
+ type("Kelvin Culver", person).
507
+ type("Kori Wiggs", person).
508
+ type("Laverna Stansberry", person).
509
+ type("Lester Stansberry", person).
510
+ type("Lincoln Velasco", person).
511
+ type("Lionel Culver", person).
512
+ type("Loren Culver", person).
513
+ type("Markus Hagerty", person).
514
+ type("Maurine Velasco", person).
515
+ type("Mickey Philpott", person).
516
+ type("Millard Stansberry", person).
517
+ type("Nikki Stansberry", person).
518
+ type("Oren Stansberry", person).
519
+ type("Quintin Hagerty", person).
520
+ type("Renate Stansberry", person).
521
+ type("Sona Stansberry", person).
522
+ type("Tad Macmillan", person).
523
+ type("Tamara Macmillan", person).
524
+ type("Terence Culver", person).
525
+ type("Tonya Culver", person).
526
+ type("Victor Stansberry", person).
527
+ type("Wilmer Hagerty", person).
528
+ type("Yolanda Philpott", person).
529
+
530
+ grandfather(X, Y) :-
531
+ grandparent(X, Y),
532
+ male(Y).
533
+
534
+ :- dynamic expand_query/4.
535
+ :- multifile expand_query/4.
536
+
537
+
538
+ :- dynamic attribute/1.
539
+
540
+ attribute("personal assistant").
541
+ attribute("meditation").
542
+ attribute("health promotion specialist").
543
+ attribute("meteorology").
544
+ attribute("osteopath").
545
+ attribute("biology").
546
+ attribute("broadcast engineer").
547
+ attribute("meteorology").
548
+ attribute("oncologist").
549
+ attribute("dolls").
550
+ attribute("warehouse manager").
551
+ attribute("photography").
552
+ attribute("associate professor").
553
+ attribute("shogi").
554
+ attribute("sports therapist").
555
+ attribute("dominoes").
556
+ attribute("retail manager").
557
+ attribute("tether car").
558
+ attribute("immunologist").
559
+ attribute("architecture").
560
+ attribute("education administrator").
561
+ attribute("geocaching").
562
+ attribute("early years teacher").
563
+ attribute("trainspotting").
564
+ attribute("biomedical scientist").
565
+ attribute("bus spotting").
566
+ attribute("music tutor").
567
+ attribute("research").
568
+ attribute("clinical cytogeneticist").
569
+ attribute("geography").
570
+ attribute("ecologist").
571
+ attribute("microbiology").
572
+ attribute("barrister's clerk").
573
+ attribute("canoeing").
574
+ attribute("petroleum engineer").
575
+ attribute("learning").
576
+ attribute("clinical research associate").
577
+ attribute("dairy farming").
578
+ attribute("chief of staff").
579
+ attribute("fossil hunting").
580
+ attribute("occupational therapist").
581
+ attribute("sociology").
582
+ attribute("actuary").
583
+ attribute("finance").
584
+ attribute("police officer").
585
+ attribute("meditation").
586
+ attribute("sound technician").
587
+ attribute("wikipedia editing").
588
+ attribute("theatre manager").
589
+ attribute("radio-controlled car racing").
590
+ attribute("clinical biochemist").
591
+ attribute("social studies").
592
+ attribute("public relations officer").
593
+ attribute("judo").
594
+ attribute("music therapist").
595
+ attribute("flying disc").
596
+ attribute("librarian").
597
+ attribute("cricket").
598
+ attribute("building surveyor").
599
+ attribute("weightlifting").
600
+ attribute("fitness centre manager").
601
+ attribute("meditation").
602
+ attribute("oceanographer").
603
+ attribute("ballroom dancing").
604
+ attribute("historic buildings inspector").
605
+ attribute("microscopy").
606
+ attribute("chief marketing officer").
607
+ attribute("reading").
608
+ attribute("waste management officer").
609
+ attribute("laser tag").
610
+ attribute("medical sales representative").
611
+ attribute("hiking/backpacking").
612
+ attribute("community pharmacist").
613
+ attribute("audiophile").
614
+ attribute("pension scheme manager").
615
+ attribute("tennis polo").
616
+ attribute("armed forces logistics officer").
617
+ attribute("photography").
618
+ attribute("environmental education officer").
619
+ attribute("backgammon").
620
+ attribute("medical illustrator").
621
+ attribute("microscopy").
622
+ attribute("museum conservator").
623
+ attribute("herping").
624
+ attribute("optometrist").
625
+ attribute("philately").
626
+ attribute("further education lecturer").
627
+ attribute("birdwatching").
628
+ attribute("dancer").
629
+ attribute("shogi").
630
+ attribute("water engineer").
631
+ attribute("magnet fishing").
632
+ attribute("intelligence analyst").
633
+ attribute("table tennis").
634
+ attribute("fashion designer").
635
+ attribute("scuba diving").
636
+ attribute("doctor").
637
+ attribute("biology").
638
+ attribute("chartered accountant").
639
+ attribute("sea glass collecting").
640
+ attribute("speech and language therapist").
641
+ attribute("research").
642
+ attribute("clinical embryologist").
643
+ attribute("gongoozling").
644
+ attribute("community development worker").
645
+ attribute("benchmarking").
646
+ attribute("games developer").
647
+ attribute("sea glass collecting").
648
+ attribute("accommodation manager").
649
+ attribute("bowling").
650
+ attribute("conservation officer").
651
+ attribute("audiophile").
652
+ attribute("forensic scientist").
653
+ attribute("tea bag collecting").
654
+ attribute("pharmacologist").
655
+ attribute("model aircraft").
656
+ attribute("dance movement psychotherapist").
657
+ attribute("herping").
658
+ attribute("paediatric nurse").
659
+ attribute("figure skating").
660
+ attribute("research officer").
661
+ attribute("fossil hunting").
662
+ attribute("production designer").
663
+ attribute("airsoft").
664
+ attribute("community development worker").
665
+ attribute("whale watching").
666
+ attribute("clinical molecular geneticist").
667
+ attribute("pinball").
668
+ attribute("set designer").
669
+ attribute("research").
670
+ attribute("town planner").
671
+ attribute("flying model planes").
672
+ attribute("print production planner").
673
+ attribute("ant farming").
674
+ attribute("equality and diversity officer").
675
+ attribute("volleyball").
676
+ attribute("chartered loss adjuster").
677
+ attribute("gongoozling").
678
+ attribute("sales promotion account executive").
679
+ attribute("vehicle restoration").
680
+ attribute("banker").
681
+ attribute("car riding").
682
+ attribute("systems developer").
683
+ attribute("mycology").
684
+ attribute("chief financial officer").
685
+ attribute("table football").
686
+ attribute("regulatory affairs officer").
687
+ attribute("photography").
688
+ attribute("architect").
689
+ attribute("metal detecting").
690
+ attribute("health and safety inspector").
691
+ attribute("archery").
692
+ attribute("medical secretary").
693
+ attribute("reading").
694
+ attribute("careers adviser").
695
+ attribute("shortwave listening").
696
+ attribute("civil service administrator").
697
+ attribute("snowmobiling").
698
+ attribute("optometrist").
699
+ attribute("research").
700
+ attribute("print production planner").
701
+ attribute("religious studies").
702
+ attribute("arboriculturist").
703
+ attribute("cooking").
704
+ attribute("adult nurse").
705
+ attribute("kart racing").
706
+ attribute("commercial horticulturist").
707
+ attribute("darts").
708
+ attribute("conference centre manager").
709
+ attribute("herping").
710
+ attribute("journalist").
711
+ attribute("backgammon").
712
+ attribute("wellsite geologist").
713
+ attribute("herping").
714
+ attribute("community education officer").
715
+ attribute("ant farming").
716
+ attribute("investment analyst").
717
+ attribute("ephemera collecting").
718
+ attribute("trading standards officer").
719
+ attribute("bus spotting").
720
+ attribute("colour technologist").
721
+ attribute("research").
722
+ attribute("immigration officer").
723
+ attribute("croquet").
724
+ attribute("human resources officer").
725
+ attribute("leaves").
726
+ attribute("agricultural consultant").
727
+ attribute("antiquities").
728
+ attribute("fashion designer").
729
+ attribute("field hockey").
730
+ attribute("actuary").
731
+ attribute("leaves").
732
+ attribute("industrial designer").
733
+ attribute("auto audiophilia").
734
+ attribute("maintenance engineer").
735
+ attribute("magic").
736
+ attribute("data scientist").
737
+ attribute("people-watching").
738
+ attribute("health physicist").
739
+ attribute("social studies").
740
+ attribute("hospital doctor").
741
+ attribute("mineral collecting").
742
+
743
+ great_aunt(X, Y) :-
744
+ grandparent(X, A),
745
+ sister(A, Y).
746
+
747
+ grandparent(X, Y) :-
748
+ parent(X, Z),
749
+ parent(Z, Y).
750
+
751
+ grandmother(X, Y) :-
752
+ grandparent(X, Y),
753
+ female(Y).
754
+
755
+ :- dynamic friend_/2.
756
+
757
+ friend_("Aida Wang", "Conrad Stansberry").
758
+ friend_("Aida Wang", "Lionel Culver").
759
+ friend_("Aida Wang", "Nikki Stansberry").
760
+ friend_("Alec Sinclair", "Alison Smock").
761
+ friend_("Alec Sinclair", "Cythia Smock").
762
+ friend_("Alec Sinclair", "Tanner Beltran").
763
+ friend_("Alec Sinclair", "Tyson Woodson").
764
+ friend_("Alec Sinclair", "Frankie Hagerty").
765
+ friend_("Alfredo Wang", "Kristen Toombs").
766
+ friend_("Alfredo Wang", "Lonny Parmer").
767
+ friend_("Alfredo Wang", "Virgil Hackworth").
768
+ friend_("Alfredo Wang", "Mickey Philpott").
769
+ friend_("Alfredo Wang", "Victor Stansberry").
770
+ friend_("Alison Smock", "Angela Culver").
771
+ friend_("Alison Smock", "Brigette Gilmore").
772
+ friend_("Alvaro Smock", "Ryan Wang").
773
+ friend_("Alvaro Smock", "Jules Culver").
774
+ friend_("Alycia Coe", "Dwight Hackworth").
775
+ friend_("Alycia Coe", "Glenda Culver").
776
+ friend_("Barabara Beltran", "Kristen Toombs").
777
+ friend_("Barabara Beltran", "Ryan Wang").
778
+ friend_("Brian Beltran", "Kristen Toombs").
779
+ friend_("Brian Beltran", "Ryan Wang").
780
+ friend_("Brian Beltran", "Celia Macmillan").
781
+ friend_("Brian Beltran", "Diane Culver").
782
+ friend_("Brian Beltran", "Tamara Macmillan").
783
+ friend_("Carrol Woodson", "Lincoln Velasco").
784
+ friend_("Christina Coe", "Lissa Coe").
785
+ friend_("Christina Coe", "Virgil Hackworth").
786
+ friend_("Christina Coe", "Anibal Stansberry").
787
+ friend_("Christoper Coe", "Dominique Smock").
788
+ friend_("Christoper Coe", "Lissa Coe").
789
+ friend_("Christoper Coe", "Tosha Beltran").
790
+ friend_("Christoper Coe", "Tyson Woodson").
791
+ friend_("Christoper Coe", "Ulysses Parmer").
792
+ friend_("Cortney Parmer", "Ulysses Parmer").
793
+ friend_("Cortney Parmer", "Eliza Wiggs").
794
+ friend_("Cortney Parmer", "Renate Stansberry").
795
+ friend_("Cortney Parmer", "Victor Stansberry").
796
+ friend_("Cythia Smock", "Earle Coe").
797
+ friend_("Cythia Smock", "Vincent Lutz").
798
+ friend_("Daisy Beltran", "Gene Smock").
799
+ friend_("Daisy Beltran", "Loren Culver").
800
+ friend_("Daisy Beltran", "Sona Stansberry").
801
+ friend_("Daisy Beltran", "Tad Macmillan").
802
+ friend_("Dino Beltran", "Leisa Lutz").
803
+ friend_("Dino Beltran", "Diane Culver").
804
+ friend_("Dino Beltran", "Markus Hagerty").
805
+ friend_("Dino Beltran", "Renate Stansberry").
806
+ friend_("Dominique Smock", "Eli Smock").
807
+ friend_("Dominique Smock", "Stacia Toombs").
808
+ friend_("Dominique Smock", "Debra Stansberry").
809
+ friend_("Dwight Hackworth", "Maria Baptiste").
810
+ friend_("Dwight Hackworth", "Justine Hagerty").
811
+ friend_("Earle Coe", "Angela Culver").
812
+ friend_("Earle Coe", "Yolanda Philpott").
813
+ friend_("Eli Smock", "Frankie Hagerty").
814
+ friend_("Eli Smock", "Iva Stansberry").
815
+ friend_("Eli Smock", "Kori Wiggs").
816
+ friend_("Gayla Woodson", "Tyson Woodson").
817
+ friend_("Gayla Woodson", "Gail Culver").
818
+ friend_("Gene Smock", "Leeann Sinclair").
819
+ friend_("Gene Smock", "Tanner Beltran").
820
+ friend_("Gene Smock", "Dionne Stansberry").
821
+ friend_("Gene Smock", "Gillian Wiggs").
822
+ friend_("Gene Smock", "Maurine Velasco").
823
+ friend_("Gene Smock", "Renate Stansberry").
824
+ friend_("Gene Smock", "Tad Macmillan").
825
+ friend_("Isiah Lutz", "Tanner Beltran").
826
+ friend_("Isiah Lutz", "Loren Culver").
827
+ friend_("Jamison Baptiste", "Howard Wiggs").
828
+ friend_("Lannie Smock", "Tad Macmillan").
829
+ friend_("Leeann Sinclair", "Maria Baptiste").
830
+ friend_("Leeann Sinclair", "Hyun Hagerty").
831
+ friend_("Leisa Lutz", "Yolanda Philpott").
832
+ friend_("Lesley Lutz", "Iva Stansberry").
833
+ friend_("Lonny Parmer", "Orlando Beltran").
834
+ friend_("Lonny Parmer", "Vicki Hackworth").
835
+ friend_("Lonny Parmer", "Glenda Culver").
836
+ friend_("Maria Baptiste", "Tanner Beltran").
837
+ friend_("Maria Baptiste", "Conrad Stansberry").
838
+ friend_("Michelle Hackworth", "Stacia Toombs").
839
+ friend_("Michelle Hackworth", "Williams Smock").
840
+ friend_("Michelle Hackworth", "Eliza Wiggs").
841
+ friend_("Michelle Hackworth", "Tamara Macmillan").
842
+ friend_("Noelia Lutz", "Terence Culver").
843
+ friend_("Orlando Beltran", "Ryan Wang").
844
+ friend_("Orlando Beltran", "Tosha Beltran").
845
+ friend_("Orlando Beltran", "Jules Culver").
846
+ friend_("Orlando Beltran", "Lincoln Velasco").
847
+ friend_("Orlando Beltran", "Terence Culver").
848
+ friend_("Reggie Coe", "Lester Stansberry").
849
+ friend_("Reggie Coe", "Sona Stansberry").
850
+ friend_("Reggie Coe", "Terence Culver").
851
+ friend_("Reggie Coe", "Tonya Culver").
852
+ friend_("Ricardo Hackworth", "Millard Stansberry").
853
+ friend_("Shannon Beltran", "Wilmer Hagerty").
854
+ friend_("Shelli Beltran", "Bev Gilmore").
855
+ friend_("Stacia Toombs", "Tamara Macmillan").
856
+ friend_("Tanner Beltran", "Tyson Woodson").
857
+ friend_("Tanner Beltran", "Markus Hagerty").
858
+ friend_("Tanner Beltran", "Oren Stansberry").
859
+ friend_("Tanner Beltran", "Quintin Hagerty").
860
+ friend_("Tanner Beltran", "Terence Culver").
861
+ friend_("Tosha Beltran", "Diane Culver").
862
+ friend_("Tosha Beltran", "Emanuel Stansberry").
863
+ friend_("Tosha Beltran", "Frankie Hagerty").
864
+ friend_("Tosha Beltran", "Maurine Velasco").
865
+ friend_("Tyson Woodson", "Frankie Hagerty").
866
+ friend_("Tyson Woodson", "Maurine Velasco").
867
+ friend_("Vicki Hackworth", "Celia Macmillan").
868
+ friend_("Vicki Hackworth", "Frankie Hagerty").
869
+ friend_("Vicki Hackworth", "Kelvin Culver").
870
+ friend_("Vincent Lutz", "Cordelia Wiggs").
871
+ friend_("Vincent Lutz", "Debra Stansberry").
872
+ friend_("Vincent Lutz", "Kelvin Culver").
873
+ friend_("Vincent Lutz", "Loren Culver").
874
+ friend_("Vincent Lutz", "Renate Stansberry").
875
+ friend_("Von Sinclair", "Debra Stansberry").
876
+ friend_("Von Sinclair", "Sona Stansberry").
877
+ friend_("Wilbert Toombs", "Wm Parmer").
878
+ friend_("Wm Parmer", "David Wiggs").
879
+ friend_("Wm Parmer", "Desiree Stansberry").
880
+ friend_("Wm Parmer", "Gillian Wiggs").
881
+ friend_("Wm Parmer", "Quintin Hagerty").
882
+ friend_("Angela Culver", "Anibal Stansberry").
883
+ friend_("Angela Culver", "Iva Stansberry").
884
+ friend_("Angela Culver", "Maurine Velasco").
885
+ friend_("Anibal Stansberry", "Renate Stansberry").
886
+ friend_("Bev Gilmore", "Jules Culver").
887
+ friend_("Bev Gilmore", "Quintin Hagerty").
888
+ friend_("Brigette Gilmore", "Eliza Wiggs").
889
+ friend_("Conrad Stansberry", "Debra Stansberry").
890
+ friend_("Conrad Stansberry", "Nikki Stansberry").
891
+ friend_("Cordelia Wiggs", "Dionne Stansberry").
892
+ friend_("Cordelia Wiggs", "Maurine Velasco").
893
+ friend_("Desiree Stansberry", "Lincoln Velasco").
894
+ friend_("Desiree Stansberry", "Yolanda Philpott").
895
+ friend_("Dionne Stansberry", "Renate Stansberry").
896
+ friend_("Emanuel Stansberry", "Jules Culver").
897
+ friend_("Gail Culver", "Gillian Wiggs").
898
+ friend_("Gail Culver", "Nikki Stansberry").
899
+ friend_("Garry Gilmore", "Lionel Culver").
900
+ friend_("Garry Gilmore", "Loren Culver").
901
+ friend_("Garry Gilmore", "Mickey Philpott").
902
+ friend_("Gillian Wiggs", "Laverna Stansberry").
903
+ friend_("Gillian Wiggs", "Sona Stansberry").
904
+ friend_("Glenda Culver", "Sona Stansberry").
905
+ friend_("Glenda Culver", "Tamara Macmillan").
906
+ friend_("Hayden Stansberry", "Howard Wiggs").
907
+ friend_("Howard Wiggs", "Tonya Culver").
908
+ friend_("Hyun Hagerty", "Markus Hagerty").
909
+ friend_("Jordan Culver", "Kori Wiggs").
910
+ friend_("Kelvin Culver", "Oren Stansberry").
911
+ friend_("Kelvin Culver", "Yolanda Philpott").
912
+ friend_("Laverna Stansberry", "Lincoln Velasco").
913
+ friend_("Lester Stansberry", "Oren Stansberry").
914
+ friend_("Lincoln Velasco", "Oren Stansberry").
915
+ friend_("Lionel Culver", "Loren Culver").
916
+ friend_("Lionel Culver", "Oren Stansberry").
917
+ friend_("Lionel Culver", "Terence Culver").
918
+ friend_("Mickey Philpott", "Quintin Hagerty").
919
+ friend_("Mickey Philpott", "Sona Stansberry").
920
+ friend_("Nikki Stansberry", "Terence Culver").
921
+ friend_("Quintin Hagerty", "Wilmer Hagerty").
922
+
923
+ friend(X, Y) :-
924
+ friend_(X, Y).
925
+ friend(X, Y) :-
926
+ friend_(Y, X).
927
+
928
+ niece(X, Y) :-
929
+ sibling(X, A),
930
+ daughter(A, Y).
931
+
932
+ nephew(X, Y) :-
933
+ sibling(X, A),
934
+ son(A, Y).
935
+
936
+ brother_in_law(X, Y) :-
937
+ married(X, A),
938
+ brother(A, Y).
939
+
940
+ :- multifile message_property/2.
941
+
942
+
943
+ sister_in_law(X, Y) :-
944
+ married(X, A),
945
+ sister(A, Y).
946
+
947
+ wife(X, Y) :-
948
+ married(X, Y),
949
+ female(Y).
950
+
951
+ husband(X, Y) :-
952
+ married(X, Y),
953
+ male(Y).
954
+
955
+ daughter_in_law(X, Y) :-
956
+ child(X, A),
957
+ wife(A, Y).
958
+
959
+ son_in_law(X, Y) :-
960
+ child(X, A),
961
+ husband(A, Y).
962
+
963
+ son(X, Y) :-
964
+ child(X, Y),
965
+ male(Y).
966
+
967
+ female(X) :-
968
+ gender(X, "female").
969
+
970
+ daughter(X, Y) :-
971
+ child(X, Y),
972
+ female(Y).
973
+
974
+ father_in_law(X, Y) :-
975
+ married(X, A),
976
+ father(A, Y).
977
+
978
+ mother_in_law(X, Y) :-
979
+ married(X, A),
980
+ mother(A, Y).
981
+
982
+ father(X, Y) :-
983
+ parent(X, Y),
984
+ male(Y).
985
+
986
+ :- multifile prolog_predicate_name/2.
987
+
988
+
989
+ child(X, Y) :-
990
+ parent(Y, X).
991
+
992
+ male_first_cousin_once_removed(X, Y) :-
993
+ cousin(X, A),
994
+ son(A, Y),
995
+ X\=Y.
996
+
997
+ :- multifile prolog_clause_name/2.
998
+
999
+
1000
+ :- dynamic expand_answer/2.
1001
+ :- multifile expand_answer/2.
1002
+
1003
+
1004
+ :- dynamic exception/3.
1005
+ :- multifile exception/3.
1006
+
1007
+
1008
+ female_first_cousin_once_removed(X, Y) :-
1009
+ cousin(X, A),
1010
+ daughter(A, Y),
1011
+ X\=Y.
1012
+
1013
+ brother(X, Y) :-
1014
+ sibling(X, Y),
1015
+ male(Y).
1016
+
1017
+ mother(X, Y) :-
1018
+ parent(X, Y),
1019
+ female(Y).
1020
+
1021
+ male_second_cousin(X, Y) :-
1022
+ parent(X, A),
1023
+ parent(Y, B),
1024
+ cousin(A, B),
1025
+ male(Y),
1026
+ X\=Y.
1027
+
1028
+ :- dynamic message_hook/3.
1029
+ :- multifile message_hook/3.
1030
+
1031
+
1032
+ female_second_cousin(X, Y) :-
1033
+ parent(X, A),
1034
+ parent(Y, B),
1035
+ cousin(A, B),
1036
+ female(Y),
1037
+ X\=Y.
1038
+
1039
+ married(X, Y) :-
1040
+ parent(Child, X),
1041
+ parent(Child, Y),
1042
+ X\=Y.
1043
+
1044
+ male(X) :-
1045
+ gender(X, "male").
1046
+
1047
+ :- dynamic prolog_file_type/2.
1048
+ :- multifile prolog_file_type/2.
1049
+
1050
+ prolog_file_type(pl, prolog).
1051
+ prolog_file_type(prolog, prolog).
1052
+ prolog_file_type(qlf, prolog).
1053
+ prolog_file_type(qlf, qlf).
1054
+ prolog_file_type(A, executable) :-
1055
+ system:current_prolog_flag(shared_object_extension, A).
1056
+ prolog_file_type(dylib, executable) :-
1057
+ system:current_prolog_flag(apple, true).
1058
+
1059
+ sister(X, Y) :-
1060
+ sibling(X, Y),
1061
+ female(Y).
1062
+
1063
+ male_cousin(X, Y) :-
1064
+ cousin(X, Y),
1065
+ male(Y).
1066
+
1067
+ :- dynamic nonbinary/1.
1068
+
1069
+ nonbinary(X) :-
1070
+ gender(X, "nonbinary").
1071
+
1072
+ female_cousin(X, Y) :-
1073
+ cousin(X, Y),
1074
+ female(Y).
1075
+
1076
+ sibling(X, Y) :-
1077
+ parent(X, A),
1078
+ parent(Y, A),
1079
+ X\=Y.
1080
+
1081
+ :- dynamic portray/1.
1082
+ :- multifile portray/1.
1083
+
1084
+
1085
+ :- dynamic prolog_load_file/2.
1086
+ :- multifile prolog_load_file/2.
1087
+
1088
+
1089
+ :- dynamic goal_expansion/2.
1090
+ :- multifile goal_expansion/2.
1091
+
1092
+
1093
+ :- dynamic parent/2.
1094
+
1095
+ parent("Aida Wang", "Dino Beltran").
1096
+ parent("Aida Wang", "Shelli Beltran").
1097
+ parent("Alfredo Wang", "Aida Wang").
1098
+ parent("Alfredo Wang", "Ryan Wang").
1099
+ parent("Barabara Beltran", "Dino Beltran").
1100
+ parent("Barabara Beltran", "Shelli Beltran").
1101
+ parent("Christina Coe", "Stacia Toombs").
1102
+ parent("Christina Coe", "Wilbert Toombs").
1103
+ parent("Cortney Parmer", "Aida Wang").
1104
+ parent("Cortney Parmer", "Ryan Wang").
1105
+ parent("Cythia Smock", "Alison Smock").
1106
+ parent("Cythia Smock", "Williams Smock").
1107
+ parent("Dino Beltran", "Brian Beltran").
1108
+ parent("Dino Beltran", "Daisy Beltran").
1109
+ parent("Dwight Hackworth", "Ricardo Hackworth").
1110
+ parent("Dwight Hackworth", "Vicki Hackworth").
1111
+ parent("Earle Coe", "Alycia Coe").
1112
+ parent("Earle Coe", "Christoper Coe").
1113
+ parent("Eli Smock", "Alvaro Smock").
1114
+ parent("Eli Smock", "Lannie Smock").
1115
+ parent("Gayla Woodson", "Lissa Coe").
1116
+ parent("Gayla Woodson", "Reggie Coe").
1117
+ parent("Gene Smock", "Alvaro Smock").
1118
+ parent("Gene Smock", "Lannie Smock").
1119
+ parent("Kristen Toombs", "Stacia Toombs").
1120
+ parent("Kristen Toombs", "Wilbert Toombs").
1121
+ parent("Leeann Sinclair", "Ricardo Hackworth").
1122
+ parent("Leeann Sinclair", "Vicki Hackworth").
1123
+ parent("Leisa Lutz", "Ricardo Hackworth").
1124
+ parent("Leisa Lutz", "Vicki Hackworth").
1125
+ parent("Lesley Lutz", "Isiah Lutz").
1126
+ parent("Lesley Lutz", "Leisa Lutz").
1127
+ parent("Lonny Parmer", "Cortney Parmer").
1128
+ parent("Lonny Parmer", "Ulysses Parmer").
1129
+ parent("Michelle Hackworth", "Ricardo Hackworth").
1130
+ parent("Michelle Hackworth", "Vicki Hackworth").
1131
+ parent("Orlando Beltran", "Brian Beltran").
1132
+ parent("Orlando Beltran", "Daisy Beltran").
1133
+ parent("Reggie Coe", "Christina Coe").
1134
+ parent("Reggie Coe", "Earle Coe").
1135
+ parent("Shannon Beltran", "Orlando Beltran").
1136
+ parent("Shannon Beltran", "Tosha Beltran").
1137
+ parent("Shelli Beltran", "Alison Smock").
1138
+ parent("Shelli Beltran", "Williams Smock").
1139
+ parent("Stacia Toombs", "Alison Smock").
1140
+ parent("Stacia Toombs", "Williams Smock").
1141
+ parent("Tanner Beltran", "Brian Beltran").
1142
+ parent("Tanner Beltran", "Daisy Beltran").
1143
+ parent("Tosha Beltran", "Jamison Baptiste").
1144
+ parent("Tosha Beltran", "Maria Baptiste").
1145
+ parent("Tyson Woodson", "Carrol Woodson").
1146
+ parent("Tyson Woodson", "Gayla Woodson").
1147
+ parent("Vicki Hackworth", "Dino Beltran").
1148
+ parent("Vicki Hackworth", "Shelli Beltran").
1149
+ parent("Vincent Lutz", "Lesley Lutz").
1150
+ parent("Vincent Lutz", "Noelia Lutz").
1151
+ parent("Virgil Hackworth", "Ricardo Hackworth").
1152
+ parent("Virgil Hackworth", "Vicki Hackworth").
1153
+ parent("Von Sinclair", "Alec Sinclair").
1154
+ parent("Von Sinclair", "Leeann Sinclair").
1155
+ parent("Williams Smock", "Dominique Smock").
1156
+ parent("Williams Smock", "Gene Smock").
1157
+ parent("Wm Parmer", "Cortney Parmer").
1158
+ parent("Wm Parmer", "Ulysses Parmer").
1159
+ parent("Angela Culver", "Diane Culver").
1160
+ parent("Angela Culver", "Jules Culver").
1161
+ parent("Anibal Stansberry", "Iva Stansberry").
1162
+ parent("Anibal Stansberry", "Oren Stansberry").
1163
+ parent("Bev Gilmore", "Brigette Gilmore").
1164
+ parent("Bev Gilmore", "Garry Gilmore").
1165
+ parent("Brigette Gilmore", "Gail Culver").
1166
+ parent("Brigette Gilmore", "Terence Culver").
1167
+ parent("Celia Macmillan", "Desiree Stansberry").
1168
+ parent("Celia Macmillan", "Millard Stansberry").
1169
+ parent("Conrad Stansberry", "Anibal Stansberry").
1170
+ parent("Conrad Stansberry", "Renate Stansberry").
1171
+ parent("Dionne Stansberry", "Debra Stansberry").
1172
+ parent("Dionne Stansberry", "Hayden Stansberry").
1173
+ parent("Eliza Wiggs", "Gillian Wiggs").
1174
+ parent("Eliza Wiggs", "Howard Wiggs").
1175
+ parent("Emanuel Stansberry", "Debra Stansberry").
1176
+ parent("Emanuel Stansberry", "Hayden Stansberry").
1177
+ parent("Frankie Hagerty", "Justine Hagerty").
1178
+ parent("Frankie Hagerty", "Markus Hagerty").
1179
+ parent("Gail Culver", "Lincoln Velasco").
1180
+ parent("Gail Culver", "Maurine Velasco").
1181
+ parent("Gillian Wiggs", "Anibal Stansberry").
1182
+ parent("Gillian Wiggs", "Renate Stansberry").
1183
+ parent("Hayden Stansberry", "Anibal Stansberry").
1184
+ parent("Hayden Stansberry", "Renate Stansberry").
1185
+ parent("Howard Wiggs", "Cordelia Wiggs").
1186
+ parent("Howard Wiggs", "David Wiggs").
1187
+ parent("Hyun Hagerty", "Brigette Gilmore").
1188
+ parent("Hyun Hagerty", "Garry Gilmore").
1189
+ parent("Iva Stansberry", "Barbara Philpott").
1190
+ parent("Iva Stansberry", "Mickey Philpott").
1191
+ parent("Jordan Culver", "Loren Culver").
1192
+ parent("Jordan Culver", "Tonya Culver").
1193
+ parent("Jules Culver", "Loren Culver").
1194
+ parent("Jules Culver", "Tonya Culver").
1195
+ parent("Kelvin Culver", "Diane Culver").
1196
+ parent("Kelvin Culver", "Jules Culver").
1197
+ parent("Kori Wiggs", "Gillian Wiggs").
1198
+ parent("Kori Wiggs", "Howard Wiggs").
1199
+ parent("Laverna Stansberry", "Anibal Stansberry").
1200
+ parent("Laverna Stansberry", "Renate Stansberry").
1201
+ parent("Lester Stansberry", "Conrad Stansberry").
1202
+ parent("Lester Stansberry", "Sona Stansberry").
1203
+ parent("Lionel Culver", "Glenda Culver").
1204
+ parent("Lionel Culver", "Jordan Culver").
1205
+ parent("Millard Stansberry", "Anibal Stansberry").
1206
+ parent("Millard Stansberry", "Renate Stansberry").
1207
+ parent("Nikki Stansberry", "Desiree Stansberry").
1208
+ parent("Nikki Stansberry", "Millard Stansberry").
1209
+ parent("Quintin Hagerty", "Frankie Hagerty").
1210
+ parent("Quintin Hagerty", "Hyun Hagerty").
1211
+ parent("Renate Stansberry", "Frankie Hagerty").
1212
+ parent("Renate Stansberry", "Hyun Hagerty").
1213
+ parent("Tamara Macmillan", "Celia Macmillan").
1214
+ parent("Tamara Macmillan", "Tad Macmillan").
1215
+ parent("Terence Culver", "Glenda Culver").
1216
+ parent("Terence Culver", "Jordan Culver").
1217
+ parent("Victor Stansberry", "Iva Stansberry").
1218
+ parent("Victor Stansberry", "Oren Stansberry").
1219
+ parent("Wilmer Hagerty", "Justine Hagerty").
1220
+ parent("Wilmer Hagerty", "Markus Hagerty").
1221
+ parent("Yolanda Philpott", "Barbara Philpott").
1222
+ parent("Yolanda Philpott", "Mickey Philpott").
1223
+
1224
+ cousin(X, Y) :-
1225
+ parent(X, A),
1226
+ parent(Y, B),
1227
+ sibling(A, B),
1228
+ X\=Y.
1229
+
1230
+ uncle(X, Y) :-
1231
+ parent(X, A),
1232
+ brother(A, Y).
1233
+
1234
+ :- dynamic resource/3.
1235
+ :- multifile resource/3.
1236
+
1237
+
1238
+ :- thread_local thread_message_hook/3.
1239
+ :- dynamic thread_message_hook/3.
1240
+ :- volatile thread_message_hook/3.
1241
+
1242
+
1243
+ aunt(X, Y) :-
1244
+ parent(X, A),
1245
+ sister(A, Y).
1246
+
1247
+ second_uncle(X, Y) :-
1248
+ great_grandparent(X, A),
1249
+ brother(A, Y).
1250
+
1251
+ :- dynamic gender/2.
1252
+
1253
+ gender("Aida Wang", "female").
1254
+ gender("Alec Sinclair", "male").
1255
+ gender("Alfredo Wang", "male").
1256
+ gender("Alison Smock", "female").
1257
+ gender("Alvaro Smock", "male").
1258
+ gender("Alycia Coe", "female").
1259
+ gender("Barabara Beltran", "female").
1260
+ gender("Brian Beltran", "male").
1261
+ gender("Carrol Woodson", "male").
1262
+ gender("Christina Coe", "female").
1263
+ gender("Christoper Coe", "male").
1264
+ gender("Cortney Parmer", "female").
1265
+ gender("Cythia Smock", "female").
1266
+ gender("Daisy Beltran", "female").
1267
+ gender("Dino Beltran", "male").
1268
+ gender("Dominique Smock", "female").
1269
+ gender("Dwight Hackworth", "male").
1270
+ gender("Earle Coe", "male").
1271
+ gender("Eli Smock", "male").
1272
+ gender("Gayla Woodson", "female").
1273
+ gender("Gene Smock", "male").
1274
+ gender("Isiah Lutz", "male").
1275
+ gender("Jamison Baptiste", "male").
1276
+ gender("Kristen Toombs", "female").
1277
+ gender("Lannie Smock", "female").
1278
+ gender("Leeann Sinclair", "female").
1279
+ gender("Leisa Lutz", "female").
1280
+ gender("Lesley Lutz", "male").
1281
+ gender("Lissa Coe", "female").
1282
+ gender("Lonny Parmer", "male").
1283
+ gender("Maria Baptiste", "female").
1284
+ gender("Michelle Hackworth", "female").
1285
+ gender("Noelia Lutz", "female").
1286
+ gender("Orlando Beltran", "male").
1287
+ gender("Reggie Coe", "male").
1288
+ gender("Ricardo Hackworth", "male").
1289
+ gender("Ryan Wang", "male").
1290
+ gender("Shannon Beltran", "female").
1291
+ gender("Shelli Beltran", "female").
1292
+ gender("Stacia Toombs", "female").
1293
+ gender("Tanner Beltran", "male").
1294
+ gender("Tosha Beltran", "female").
1295
+ gender("Tyson Woodson", "male").
1296
+ gender("Ulysses Parmer", "male").
1297
+ gender("Vicki Hackworth", "female").
1298
+ gender("Vincent Lutz", "male").
1299
+ gender("Virgil Hackworth", "male").
1300
+ gender("Von Sinclair", "male").
1301
+ gender("Wilbert Toombs", "male").
1302
+ gender("Williams Smock", "male").
1303
+ gender("Wm Parmer", "male").
1304
+ gender("Angela Culver", "female").
1305
+ gender("Anibal Stansberry", "male").
1306
+ gender("Barbara Philpott", "female").
1307
+ gender("Bev Gilmore", "female").
1308
+ gender("Brigette Gilmore", "female").
1309
+ gender("Celia Macmillan", "female").
1310
+ gender("Conrad Stansberry", "male").
1311
+ gender("Cordelia Wiggs", "female").
1312
+ gender("David Wiggs", "male").
1313
+ gender("Debra Stansberry", "female").
1314
+ gender("Desiree Stansberry", "female").
1315
+ gender("Diane Culver", "female").
1316
+ gender("Dionne Stansberry", "female").
1317
+ gender("Eliza Wiggs", "female").
1318
+ gender("Emanuel Stansberry", "male").
1319
+ gender("Frankie Hagerty", "male").
1320
+ gender("Gail Culver", "female").
1321
+ gender("Garry Gilmore", "male").
1322
+ gender("Gillian Wiggs", "female").
1323
+ gender("Glenda Culver", "female").
1324
+ gender("Hayden Stansberry", "male").
1325
+ gender("Howard Wiggs", "male").
1326
+ gender("Hyun Hagerty", "female").
1327
+ gender("Iva Stansberry", "female").
1328
+ gender("Jordan Culver", "male").
1329
+ gender("Jules Culver", "male").
1330
+ gender("Justine Hagerty", "female").
1331
+ gender("Kelvin Culver", "male").
1332
+ gender("Kori Wiggs", "female").
1333
+ gender("Laverna Stansberry", "female").
1334
+ gender("Lester Stansberry", "male").
1335
+ gender("Lincoln Velasco", "male").
1336
+ gender("Lionel Culver", "male").
1337
+ gender("Loren Culver", "male").
1338
+ gender("Markus Hagerty", "male").
1339
+ gender("Maurine Velasco", "female").
1340
+ gender("Mickey Philpott", "male").
1341
+ gender("Millard Stansberry", "male").
1342
+ gender("Nikki Stansberry", "female").
1343
+ gender("Oren Stansberry", "male").
1344
+ gender("Quintin Hagerty", "male").
1345
+ gender("Renate Stansberry", "female").
1346
+ gender("Sona Stansberry", "female").
1347
+ gender("Tad Macmillan", "male").
1348
+ gender("Tamara Macmillan", "female").
1349
+ gender("Terence Culver", "male").
1350
+ gender("Tonya Culver", "female").
1351
+ gender("Victor Stansberry", "male").
1352
+ gender("Wilmer Hagerty", "male").
1353
+ gender("Yolanda Philpott", "female").
1354
+
1355
+ second_aunt(X, Y) :-
1356
+ great_grandparent(X, A),
1357
+ sister(A, Y).
1358
+
1359
+ great_grandson(X, Y) :-
1360
+ great_grandchild(X, Y),
1361
+ male(Y).
1362
+
1363
+ :- dynamic pyrun/2.
1364
+
1365
+ pyrun(A, B) :-
1366
+ read_term_from_atom(A, C, [variable_names(B)]),
1367
+ call(C).
1368
+
1369
+ great_granddaughter(X, Y) :-
1370
+ great_grandchild(X, Y),
1371
+ female(Y).
1372
+
1373
+ :- dynamic resource/2.
1374
+ :- multifile resource/2.
1375
+
depth_20_size_100_seed_2/facts.txt ADDED
@@ -0,0 +1,1375 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Abdul Felker", "birdwatching").
32
+ hobby("Adolph Barbee", "geography").
33
+ hobby("Alice Lance", "research").
34
+ hobby("Allie Barbee", "audiophile").
35
+ hobby("Allison Barbee", "knowledge/word games").
36
+ hobby("Alvin Lance", "geocaching").
37
+ hobby("Andres Barbee", "croquet").
38
+ hobby("Andrew Parkinson", "badminton").
39
+ hobby("Brooks George", "fossil hunting").
40
+ hobby("Clint Rahman", "rail transport modelling").
41
+ hobby("Colette Rahman", "jujitsu").
42
+ hobby("Courtney Parkinson", "beauty pageants").
43
+ hobby("Dalton Parkinson", "softball").
44
+ hobby("Dollie Barbee", "golfing").
45
+ hobby("Elicia Barbee", "inline skating").
46
+ hobby("Elyse Barbee", "radio-controlled model collecting").
47
+ hobby("Emma George", "videography").
48
+ hobby("Garth Kean", "butterfly watching").
49
+ hobby("Guadalupe Barbee", "learning").
50
+ hobby("Jenni Felker", "business").
51
+ hobby("Karolyn Lance", "curling").
52
+ hobby("Kelley Barbee", "magnet fishing").
53
+ hobby("Kenny Barbee", "pickleball").
54
+ hobby("Kirk Lo", "shuffleboard").
55
+ hobby("Konstantin Barbee", "geocaching").
56
+ hobby("Korey Kean", "trade fair visiting").
57
+ hobby("Krystle Barbee", "lapel pins").
58
+ hobby("Kurt Parkinson", "rock balancing").
59
+ hobby("Latosha Rahman", "breakdancing").
60
+ hobby("Leonila Parkinson", "audiophile").
61
+ hobby("Lesley Barbee", "dairy farming").
62
+ hobby("Lyndon Barbee", "research").
63
+ hobby("Marvin Hope", "mineral collecting").
64
+ hobby("Merrill Kean", "research").
65
+ hobby("Mitchel George", "mineral collecting").
66
+ hobby("Nettie Barbee", "learning").
67
+ hobby("Rocco Lance", "magnet fishing").
68
+ hobby("Rory George", "whale watching").
69
+ hobby("Royce Lo", "research").
70
+ hobby("Rudy Barbee", "fusilately").
71
+ hobby("Solomon Rahman", "shortwave listening").
72
+ hobby("Tracey Kean", "microscopy").
73
+ hobby("Twyla Parkinson", "life science").
74
+ hobby("Tyrone Parkinson", "meditation").
75
+ hobby("Wallace Ragland", "science and technology studies").
76
+ hobby("Walter Hope", "frisbee").
77
+ hobby("Wanda Lo", "satellite watching").
78
+ hobby("Wanita Hope", "chemistry").
79
+ hobby("Willie Parkinson", "ballet dancing").
80
+ hobby("Yasmin Ragland", "antiquities").
81
+ hobby("Ahmad Vansickle", "rock balancing").
82
+ hobby("Albertine Thrower", "leaves").
83
+ hobby("Alejandrina Thrower", "table football").
84
+ hobby("Andre Vansickle", "shogi").
85
+ hobby("Benny Guay", "learning").
86
+ hobby("Brain Thrower", "radio-controlled model playing").
87
+ hobby("Candice Bianchi", "whale watching").
88
+ hobby("Carmen Bianchi", "sociology").
89
+ hobby("Cesar Guay", "people-watching").
90
+ hobby("Chrissy Vansickle", "bowling").
91
+ hobby("Concepcion Najera", "city trip").
92
+ hobby("Edgar Bianchi", "ant farming").
93
+ hobby("Esperanza Bianchi", "whale watching").
94
+ hobby("Esperanza Ervin", "button collecting").
95
+ hobby("Eve Ervin", "archaeology").
96
+ hobby("Georgette Gebhart", "herping").
97
+ hobby("Gertrude Guay", "audiophile").
98
+ hobby("Hal Gebhart", "fencing").
99
+ hobby("Jaime Veilleux", "magnet fishing").
100
+ hobby("Jim Bianchi", "mineral collecting").
101
+ hobby("Joshua Ervin", "table tennis").
102
+ hobby("Kendrick Sherrod", "shortwave listening").
103
+ hobby("Kristopher Veilleux", "geocaching").
104
+ hobby("Landon Ervin", "physics").
105
+ hobby("Laurel Bianchi", "polo").
106
+ hobby("Laurel Guay", "lotology").
107
+ hobby("Linwood Thrower", "stone collecting").
108
+ hobby("Loraine Vansickle", "flower collecting and pressing").
109
+ hobby("Lucas Bianchi", "research").
110
+ hobby("Lura Bianchi", "netball").
111
+ hobby("Maragret Bianchi", "architecture").
112
+ hobby("Mauricio Vansickle", "bus spotting").
113
+ hobby("Minerva Pennington", "shortwave listening").
114
+ hobby("Norris Sherrod", "radio-controlled model playing").
115
+ hobby("Ollie Bianchi", "archaeology").
116
+ hobby("Philip Thrower", "geography").
117
+ hobby("Pricilla Pennington", "audiophile").
118
+ hobby("Raphael Ervin", "sea glass collecting").
119
+ hobby("Renea Thrower", "auto audiophilia").
120
+ hobby("Robby Pennington", "aircraft spotting").
121
+ hobby("Rosena Veilleux", "stone collecting").
122
+ hobby("Roxy Guay", "fencing").
123
+ hobby("Roy Najera", "cribbage").
124
+ hobby("Sarita Bianchi", "ant-keeping").
125
+ hobby("Shante Najera", "skateboarding").
126
+ hobby("Shizuko Veilleux", "herbalism").
127
+ hobby("Shon Guay", "satellite watching").
128
+ hobby("Sylvester Sherrod", "airsoft").
129
+ hobby("Twila Veilleux", "beekeeping").
130
+ hobby("Winnifred Sherrod", "darts").
131
+ hobby("Zachary Guay", "photography").
132
+
133
+ granddaughter(X, Y) :-
134
+ grandchild(X, Y),
135
+ female(Y).
136
+
137
+ grandson(X, Y) :-
138
+ grandchild(X, Y),
139
+ male(Y).
140
+
141
+ :- dynamic job/2.
142
+
143
+ job("Abdul Felker", "police officer").
144
+ job("Adolph Barbee", "community education officer").
145
+ job("Alice Lance", "herbalist").
146
+ job("Allie Barbee", "podiatrist").
147
+ job("Allison Barbee", "prison officer").
148
+ job("Alvin Lance", "animal technologist").
149
+ job("Andres Barbee", "leisure centre manager").
150
+ job("Andrew Parkinson", "speech and language therapist").
151
+ job("Brooks George", "dietitian").
152
+ job("Clint Rahman", "amenity horticulturist").
153
+ job("Colette Rahman", "theatre stage manager").
154
+ job("Courtney Parkinson", "hydrologist").
155
+ job("Dalton Parkinson", "learning mentor").
156
+ job("Dollie Barbee", "location manager").
157
+ job("Elicia Barbee", "chartered management accountant").
158
+ job("Elyse Barbee", "plant breeder").
159
+ job("Emma George", "advertising account executive").
160
+ job("Garth Kean", "tourism officer").
161
+ job("Guadalupe Barbee", "civil service fast streamer").
162
+ job("Jenni Felker", "designer").
163
+ job("Karolyn Lance", "development worker").
164
+ job("Kelley Barbee", "tourist information centre manager").
165
+ job("Kenny Barbee", "community education officer").
166
+ job("Kirk Lo", "farm manager").
167
+ job("Konstantin Barbee", "doctor").
168
+ job("Korey Kean", "newspaper journalist").
169
+ job("Krystle Barbee", "customer service manager").
170
+ job("Kurt Parkinson", "public house manager").
171
+ job("Latosha Rahman", "exercise physiologist").
172
+ job("Leonila Parkinson", "early years teacher").
173
+ job("Lesley Barbee", "chief executive officer").
174
+ job("Lyndon Barbee", "bookseller").
175
+ job("Marvin Hope", "physiotherapist").
176
+ job("Merrill Kean", "occupational hygienist").
177
+ job("Mitchel George", "advertising copywriter").
178
+ job("Nettie Barbee", "radiographer").
179
+ job("Rocco Lance", "mining engineer").
180
+ job("Rory George", "warden").
181
+ job("Royce Lo", "regulatory affairs officer").
182
+ job("Rudy Barbee", "location manager").
183
+ job("Solomon Rahman", "producer").
184
+ job("Tracey Kean", "teaching laboratory technician").
185
+ job("Twyla Parkinson", "orthoptist").
186
+ job("Tyrone Parkinson", "agricultural consultant").
187
+ job("Wallace Ragland", "quarry manager").
188
+ job("Walter Hope", "risk analyst").
189
+ job("Wanda Lo", "physiological scientist").
190
+ job("Wanita Hope", "equality and diversity officer").
191
+ job("Willie Parkinson", "firefighter").
192
+ job("Yasmin Ragland", "purchasing manager").
193
+ job("Ahmad Vansickle", "illustrator").
194
+ job("Albertine Thrower", "press photographer").
195
+ job("Alejandrina Thrower", "legal executive").
196
+ job("Andre Vansickle", "neurosurgeon").
197
+ job("Benny Guay", "IT sales professional").
198
+ job("Brain Thrower", "quarry manager").
199
+ job("Candice Bianchi", "veterinary surgeon").
200
+ job("Carmen Bianchi", "merchandiser").
201
+ job("Cesar Guay", "clinical scientist").
202
+ job("Chrissy Vansickle", "equities trader").
203
+ job("Concepcion Najera", "TEFL teacher").
204
+ job("Edgar Bianchi", "pension scheme manager").
205
+ job("Esperanza Bianchi", "outdoor activities manager").
206
+ job("Esperanza Ervin", "musician").
207
+ job("Eve Ervin", "artist").
208
+ job("Georgette Gebhart", "customer service manager").
209
+ job("Gertrude Guay", "dancer").
210
+ job("Hal Gebhart", "educational psychologist").
211
+ job("Jaime Veilleux", "animator").
212
+ job("Jim Bianchi", "barrister's clerk").
213
+ job("Joshua Ervin", "oceanographer").
214
+ job("Kendrick Sherrod", "chemical engineer").
215
+ job("Kristopher Veilleux", "animator").
216
+ job("Landon Ervin", "production designer").
217
+ job("Laurel Bianchi", "surveyor").
218
+ job("Laurel Guay", "animator").
219
+ job("Linwood Thrower", "advice worker").
220
+ job("Loraine Vansickle", "sports coach").
221
+ job("Lucas Bianchi", "scientific laboratory technician").
222
+ job("Lura Bianchi", "psychiatric nurse").
223
+ job("Maragret Bianchi", "water engineer").
224
+ job("Mauricio Vansickle", "professor emeritus").
225
+ job("Minerva Pennington", "loss adjuster").
226
+ job("Norris Sherrod", "sales promotion account executive").
227
+ job("Ollie Bianchi", "telecommunications researcher").
228
+ job("Philip Thrower", "music tutor").
229
+ job("Pricilla Pennington", "software engineer").
230
+ job("Raphael Ervin", "film editor").
231
+ job("Renea Thrower", "therapist").
232
+ job("Robby Pennington", "quarry manager").
233
+ job("Rosena Veilleux", "bookseller").
234
+ job("Roxy Guay", "public affairs consultant").
235
+ job("Roy Najera", "camera operator").
236
+ job("Sarita Bianchi", "artist").
237
+ job("Shante Najera", "secondary school teacher").
238
+ job("Shizuko Veilleux", "sports administrator").
239
+ job("Shon Guay", "radio producer").
240
+ job("Sylvester Sherrod", "seismic interpreter").
241
+ job("Twila Veilleux", "charity fundraiser").
242
+ job("Winnifred Sherrod", "museum education officer").
243
+ job("Zachary Guay", "artist").
244
+
245
+ great_uncle(X, Y) :-
246
+ grandparent(X, A),
247
+ brother(A, Y).
248
+
249
+ :- dynamic save_all_clauses_to_file/1.
250
+
251
+ save_all_clauses_to_file(A) :-
252
+ open(A, write, B),
253
+ set_output(B),
254
+ listing,
255
+ close(B).
256
+
257
+ :- dynamic term_expansion/4.
258
+ :- multifile term_expansion/4.
259
+
260
+
261
+ grandchild(X, Y) :-
262
+ grandparent(Y, X).
263
+
264
+ :- dynamic dob/2.
265
+
266
+ dob("Abdul Felker", "0895-03-24").
267
+ dob("Adolph Barbee", "0980-08-29").
268
+ dob("Alice Lance", "0951-04-07").
269
+ dob("Allie Barbee", "0928-07-23").
270
+ dob("Allison Barbee", "1005-06-23").
271
+ dob("Alvin Lance", "0950-05-19").
272
+ dob("Andres Barbee", "0977-09-16").
273
+ dob("Andrew Parkinson", "0952-04-16").
274
+ dob("Brooks George", "1006-06-23").
275
+ dob("Clint Rahman", "0866-11-02").
276
+ dob("Colette Rahman", "0861-05-02").
277
+ dob("Courtney Parkinson", "0954-06-24").
278
+ dob("Dalton Parkinson", "0984-02-16").
279
+ dob("Dollie Barbee", "0975-03-08").
280
+ dob("Elicia Barbee", "1040-03-27").
281
+ dob("Elyse Barbee", "1033-12-12").
282
+ dob("Emma George", "0978-10-20").
283
+ dob("Garth Kean", "0954-09-11").
284
+ dob("Guadalupe Barbee", "0950-11-19").
285
+ dob("Jenni Felker", "0896-03-17").
286
+ dob("Karolyn Lance", "0924-11-06").
287
+ dob("Kelley Barbee", "0952-08-19").
288
+ dob("Kenny Barbee", "0953-06-18").
289
+ dob("Kirk Lo", "1091-03-24").
290
+ dob("Konstantin Barbee", "1007-05-04").
291
+ dob("Korey Kean", "0984-12-02").
292
+ dob("Krystle Barbee", "1008-12-24").
293
+ dob("Kurt Parkinson", "0924-12-27").
294
+ dob("Latosha Rahman", "0840-02-22").
295
+ dob("Leonila Parkinson", "0924-09-18").
296
+ dob("Lesley Barbee", "1067-06-07").
297
+ dob("Lyndon Barbee", "1036-01-09").
298
+ dob("Marvin Hope", "1013-11-28").
299
+ dob("Merrill Kean", "0981-09-04").
300
+ dob("Mitchel George", "1007-06-03").
301
+ dob("Nettie Barbee", "1032-05-15").
302
+ dob("Rocco Lance", "0924-02-03").
303
+ dob("Rory George", "0974-12-02").
304
+ dob("Royce Lo", "1059-07-07").
305
+ dob("Rudy Barbee", "0927-04-02").
306
+ dob("Solomon Rahman", "0837-10-06").
307
+ dob("Tracey Kean", "0956-03-15").
308
+ dob("Twyla Parkinson", "0949-02-16").
309
+ dob("Tyrone Parkinson", "0982-10-06").
310
+ dob("Wallace Ragland", "0951-01-09").
311
+ dob("Walter Hope", "0980-04-11").
312
+ dob("Wanda Lo", "1059-03-28").
313
+ dob("Wanita Hope", "0977-12-27").
314
+ dob("Willie Parkinson", "0954-09-22").
315
+ dob("Yasmin Ragland", "0952-10-08").
316
+ dob("Ahmad Vansickle", "0993-08-22").
317
+ dob("Albertine Thrower", "0937-11-27").
318
+ dob("Alejandrina Thrower", "0913-03-27").
319
+ dob("Andre Vansickle", "1023-01-14").
320
+ dob("Benny Guay", "0967-12-07").
321
+ dob("Brain Thrower", "0914-08-21").
322
+ dob("Candice Bianchi", "0972-05-04").
323
+ dob("Carmen Bianchi", "0973-07-04").
324
+ dob("Cesar Guay", "0943-11-10").
325
+ dob("Chrissy Vansickle", "0996-09-22").
326
+ dob("Concepcion Najera", "0970-03-15").
327
+ dob("Edgar Bianchi", "0947-04-06").
328
+ dob("Esperanza Bianchi", "0894-11-11").
329
+ dob("Esperanza Ervin", "1005-08-13").
330
+ dob("Eve Ervin", "0973-09-08").
331
+ dob("Georgette Gebhart", "0903-01-10").
332
+ dob("Gertrude Guay", "0915-06-21").
333
+ dob("Hal Gebhart", "0903-10-03").
334
+ dob("Jaime Veilleux", "1036-02-05").
335
+ dob("Jim Bianchi", "0895-10-16").
336
+ dob("Joshua Ervin", "1003-03-26").
337
+ dob("Kendrick Sherrod", "1068-05-13").
338
+ dob("Kristopher Veilleux", "1068-05-01").
339
+ dob("Landon Ervin", "0975-04-15").
340
+ dob("Laurel Bianchi", "0974-01-03").
341
+ dob("Laurel Guay", "0941-08-21").
342
+ dob("Linwood Thrower", "0965-10-01").
343
+ dob("Loraine Vansickle", "0960-04-13").
344
+ dob("Lucas Bianchi", "0923-04-04").
345
+ dob("Lura Bianchi", "0945-08-20").
346
+ dob("Maragret Bianchi", "1000-02-09").
347
+ dob("Mauricio Vansickle", "0965-09-21").
348
+ dob("Minerva Pennington", "0992-06-19").
349
+ dob("Norris Sherrod", "1032-06-23").
350
+ dob("Ollie Bianchi", "0997-04-20").
351
+ dob("Philip Thrower", "0939-12-12").
352
+ dob("Pricilla Pennington", "0969-02-09").
353
+ dob("Raphael Ervin", "1032-04-29").
354
+ dob("Renea Thrower", "0969-02-09").
355
+ dob("Robby Pennington", "0968-05-13").
356
+ dob("Rosena Veilleux", "1039-12-18").
357
+ dob("Roxy Guay", "0969-01-11").
358
+ dob("Roy Najera", "0964-10-25").
359
+ dob("Sarita Bianchi", "0922-07-27").
360
+ dob("Shante Najera", "0999-05-20").
361
+ dob("Shizuko Veilleux", "1067-12-01").
362
+ dob("Shon Guay", "0915-06-10").
363
+ dob("Sylvester Sherrod", "1067-04-16").
364
+ dob("Twila Veilleux", "1091-12-30").
365
+ dob("Winnifred Sherrod", "1038-12-21").
366
+ dob("Zachary Guay", "0995-11-14").
367
+
368
+ :- dynamic file_search_path/2.
369
+ :- multifile file_search_path/2.
370
+
371
+ file_search_path(library, Dir) :-
372
+ library_directory(Dir).
373
+ file_search_path(swi, A) :-
374
+ system:current_prolog_flag(home, A).
375
+ file_search_path(swi, A) :-
376
+ system:current_prolog_flag(shared_home, A).
377
+ file_search_path(library, app_config(lib)).
378
+ file_search_path(library, swi(library)).
379
+ file_search_path(library, swi(library/clp)).
380
+ file_search_path(library, A) :-
381
+ system:'$ext_library_directory'(A).
382
+ file_search_path(foreign, swi(A)) :-
383
+ system:
384
+ ( current_prolog_flag(apple_universal_binary, true),
385
+ A='lib/fat-darwin'
386
+ ).
387
+ file_search_path(path, A) :-
388
+ system:
389
+ ( getenv('PATH', B),
390
+ current_prolog_flag(path_sep, C),
391
+ atomic_list_concat(D, C, B),
392
+ '$member'(A, D)
393
+ ).
394
+ file_search_path(user_app_data, A) :-
395
+ system:'$xdg_prolog_directory'(data, A).
396
+ file_search_path(common_app_data, A) :-
397
+ system:'$xdg_prolog_directory'(common_data, A).
398
+ file_search_path(user_app_config, A) :-
399
+ system:'$xdg_prolog_directory'(config, A).
400
+ file_search_path(common_app_config, A) :-
401
+ system:'$xdg_prolog_directory'(common_config, A).
402
+ file_search_path(app_data, user_app_data('.')).
403
+ file_search_path(app_data, common_app_data('.')).
404
+ file_search_path(app_config, user_app_config('.')).
405
+ file_search_path(app_config, common_app_config('.')).
406
+ file_search_path(app_preferences, user_app_config('.')).
407
+ file_search_path(user_profile, app_preferences('.')).
408
+ file_search_path(app, swi(app)).
409
+ file_search_path(app, app_data(app)).
410
+ file_search_path(autoload, swi(library)).
411
+ file_search_path(autoload, pce(prolog/lib)).
412
+ file_search_path(autoload, app_config(lib)).
413
+ file_search_path(autoload, Dir) :-
414
+ '$autoload':'$ext_library_directory'(Dir).
415
+ file_search_path(pack, app_data(pack)).
416
+ file_search_path(library, PackLib) :-
417
+ '$pack':pack_dir(_Name, prolog, PackLib).
418
+ file_search_path(foreign, PackLib) :-
419
+ '$pack':pack_dir(_Name, foreign, PackLib).
420
+ file_search_path(app, AppDir) :-
421
+ '$pack':pack_dir(_Name, app, AppDir).
422
+
423
+ :- multifile prolog_list_goal/1.
424
+
425
+
426
+ :- dynamic type/2.
427
+
428
+ type("Abdul Felker", person).
429
+ type("Adolph Barbee", person).
430
+ type("Alice Lance", person).
431
+ type("Allie Barbee", person).
432
+ type("Allison Barbee", person).
433
+ type("Alvin Lance", person).
434
+ type("Andres Barbee", person).
435
+ type("Andrew Parkinson", person).
436
+ type("Brooks George", person).
437
+ type("Clint Rahman", person).
438
+ type("Colette Rahman", person).
439
+ type("Courtney Parkinson", person).
440
+ type("Dalton Parkinson", person).
441
+ type("Dollie Barbee", person).
442
+ type("Elicia Barbee", person).
443
+ type("Elyse Barbee", person).
444
+ type("Emma George", person).
445
+ type("Garth Kean", person).
446
+ type("Guadalupe Barbee", person).
447
+ type("Jenni Felker", person).
448
+ type("Karolyn Lance", person).
449
+ type("Kelley Barbee", person).
450
+ type("Kenny Barbee", person).
451
+ type("Kirk Lo", person).
452
+ type("Konstantin Barbee", person).
453
+ type("Korey Kean", person).
454
+ type("Krystle Barbee", person).
455
+ type("Kurt Parkinson", person).
456
+ type("Latosha Rahman", person).
457
+ type("Leonila Parkinson", person).
458
+ type("Lesley Barbee", person).
459
+ type("Lyndon Barbee", person).
460
+ type("Marvin Hope", person).
461
+ type("Merrill Kean", person).
462
+ type("Mitchel George", person).
463
+ type("Nettie Barbee", person).
464
+ type("Rocco Lance", person).
465
+ type("Rory George", person).
466
+ type("Royce Lo", person).
467
+ type("Rudy Barbee", person).
468
+ type("Solomon Rahman", person).
469
+ type("Tracey Kean", person).
470
+ type("Twyla Parkinson", person).
471
+ type("Tyrone Parkinson", person).
472
+ type("Wallace Ragland", person).
473
+ type("Walter Hope", person).
474
+ type("Wanda Lo", person).
475
+ type("Wanita Hope", person).
476
+ type("Willie Parkinson", person).
477
+ type("Yasmin Ragland", person).
478
+ type("Ahmad Vansickle", person).
479
+ type("Albertine Thrower", person).
480
+ type("Alejandrina Thrower", person).
481
+ type("Andre Vansickle", person).
482
+ type("Benny Guay", person).
483
+ type("Brain Thrower", person).
484
+ type("Candice Bianchi", person).
485
+ type("Carmen Bianchi", person).
486
+ type("Cesar Guay", person).
487
+ type("Chrissy Vansickle", person).
488
+ type("Concepcion Najera", person).
489
+ type("Edgar Bianchi", person).
490
+ type("Esperanza Bianchi", person).
491
+ type("Esperanza Ervin", person).
492
+ type("Eve Ervin", person).
493
+ type("Georgette Gebhart", person).
494
+ type("Gertrude Guay", person).
495
+ type("Hal Gebhart", person).
496
+ type("Jaime Veilleux", person).
497
+ type("Jim Bianchi", person).
498
+ type("Joshua Ervin", person).
499
+ type("Kendrick Sherrod", person).
500
+ type("Kristopher Veilleux", person).
501
+ type("Landon Ervin", person).
502
+ type("Laurel Bianchi", person).
503
+ type("Laurel Guay", person).
504
+ type("Linwood Thrower", person).
505
+ type("Loraine Vansickle", person).
506
+ type("Lucas Bianchi", person).
507
+ type("Lura Bianchi", person).
508
+ type("Maragret Bianchi", person).
509
+ type("Mauricio Vansickle", person).
510
+ type("Minerva Pennington", person).
511
+ type("Norris Sherrod", person).
512
+ type("Ollie Bianchi", person).
513
+ type("Philip Thrower", person).
514
+ type("Pricilla Pennington", person).
515
+ type("Raphael Ervin", person).
516
+ type("Renea Thrower", person).
517
+ type("Robby Pennington", person).
518
+ type("Rosena Veilleux", person).
519
+ type("Roxy Guay", person).
520
+ type("Roy Najera", person).
521
+ type("Sarita Bianchi", person).
522
+ type("Shante Najera", person).
523
+ type("Shizuko Veilleux", person).
524
+ type("Shon Guay", person).
525
+ type("Sylvester Sherrod", person).
526
+ type("Twila Veilleux", person).
527
+ type("Winnifred Sherrod", person).
528
+ type("Zachary Guay", person).
529
+
530
+ grandfather(X, Y) :-
531
+ grandparent(X, Y),
532
+ male(Y).
533
+
534
+ :- dynamic expand_query/4.
535
+ :- multifile expand_query/4.
536
+
537
+
538
+ :- dynamic attribute/1.
539
+
540
+ attribute("police officer").
541
+ attribute("birdwatching").
542
+ attribute("community education officer").
543
+ attribute("geography").
544
+ attribute("herbalist").
545
+ attribute("research").
546
+ attribute("podiatrist").
547
+ attribute("audiophile").
548
+ attribute("prison officer").
549
+ attribute("knowledge/word games").
550
+ attribute("animal technologist").
551
+ attribute("geocaching").
552
+ attribute("leisure centre manager").
553
+ attribute("croquet").
554
+ attribute("speech and language therapist").
555
+ attribute("badminton").
556
+ attribute("dietitian").
557
+ attribute("fossil hunting").
558
+ attribute("amenity horticulturist").
559
+ attribute("rail transport modelling").
560
+ attribute("theatre stage manager").
561
+ attribute("jujitsu").
562
+ attribute("hydrologist").
563
+ attribute("beauty pageants").
564
+ attribute("learning mentor").
565
+ attribute("softball").
566
+ attribute("location manager").
567
+ attribute("golfing").
568
+ attribute("chartered management accountant").
569
+ attribute("inline skating").
570
+ attribute("plant breeder").
571
+ attribute("radio-controlled model collecting").
572
+ attribute("advertising account executive").
573
+ attribute("videography").
574
+ attribute("tourism officer").
575
+ attribute("butterfly watching").
576
+ attribute("civil service fast streamer").
577
+ attribute("learning").
578
+ attribute("designer").
579
+ attribute("business").
580
+ attribute("development worker").
581
+ attribute("curling").
582
+ attribute("tourist information centre manager").
583
+ attribute("magnet fishing").
584
+ attribute("community education officer").
585
+ attribute("pickleball").
586
+ attribute("farm manager").
587
+ attribute("shuffleboard").
588
+ attribute("doctor").
589
+ attribute("geocaching").
590
+ attribute("newspaper journalist").
591
+ attribute("trade fair visiting").
592
+ attribute("customer service manager").
593
+ attribute("lapel pins").
594
+ attribute("public house manager").
595
+ attribute("rock balancing").
596
+ attribute("exercise physiologist").
597
+ attribute("breakdancing").
598
+ attribute("early years teacher").
599
+ attribute("audiophile").
600
+ attribute("chief executive officer").
601
+ attribute("dairy farming").
602
+ attribute("bookseller").
603
+ attribute("research").
604
+ attribute("physiotherapist").
605
+ attribute("mineral collecting").
606
+ attribute("occupational hygienist").
607
+ attribute("research").
608
+ attribute("advertising copywriter").
609
+ attribute("mineral collecting").
610
+ attribute("radiographer").
611
+ attribute("learning").
612
+ attribute("mining engineer").
613
+ attribute("magnet fishing").
614
+ attribute("warden").
615
+ attribute("whale watching").
616
+ attribute("regulatory affairs officer").
617
+ attribute("research").
618
+ attribute("location manager").
619
+ attribute("fusilately").
620
+ attribute("producer").
621
+ attribute("shortwave listening").
622
+ attribute("teaching laboratory technician").
623
+ attribute("microscopy").
624
+ attribute("orthoptist").
625
+ attribute("life science").
626
+ attribute("agricultural consultant").
627
+ attribute("meditation").
628
+ attribute("quarry manager").
629
+ attribute("science and technology studies").
630
+ attribute("risk analyst").
631
+ attribute("frisbee").
632
+ attribute("physiological scientist").
633
+ attribute("satellite watching").
634
+ attribute("equality and diversity officer").
635
+ attribute("chemistry").
636
+ attribute("firefighter").
637
+ attribute("ballet dancing").
638
+ attribute("purchasing manager").
639
+ attribute("antiquities").
640
+ attribute("illustrator").
641
+ attribute("rock balancing").
642
+ attribute("press photographer").
643
+ attribute("leaves").
644
+ attribute("legal executive").
645
+ attribute("table football").
646
+ attribute("neurosurgeon").
647
+ attribute("shogi").
648
+ attribute("IT sales professional").
649
+ attribute("learning").
650
+ attribute("quarry manager").
651
+ attribute("radio-controlled model playing").
652
+ attribute("veterinary surgeon").
653
+ attribute("whale watching").
654
+ attribute("merchandiser").
655
+ attribute("sociology").
656
+ attribute("clinical scientist").
657
+ attribute("people-watching").
658
+ attribute("equities trader").
659
+ attribute("bowling").
660
+ attribute("TEFL teacher").
661
+ attribute("city trip").
662
+ attribute("pension scheme manager").
663
+ attribute("ant farming").
664
+ attribute("outdoor activities manager").
665
+ attribute("whale watching").
666
+ attribute("musician").
667
+ attribute("button collecting").
668
+ attribute("artist").
669
+ attribute("archaeology").
670
+ attribute("customer service manager").
671
+ attribute("herping").
672
+ attribute("dancer").
673
+ attribute("audiophile").
674
+ attribute("educational psychologist").
675
+ attribute("fencing").
676
+ attribute("animator").
677
+ attribute("magnet fishing").
678
+ attribute("barrister's clerk").
679
+ attribute("mineral collecting").
680
+ attribute("oceanographer").
681
+ attribute("table tennis").
682
+ attribute("chemical engineer").
683
+ attribute("shortwave listening").
684
+ attribute("animator").
685
+ attribute("geocaching").
686
+ attribute("production designer").
687
+ attribute("physics").
688
+ attribute("surveyor").
689
+ attribute("polo").
690
+ attribute("animator").
691
+ attribute("lotology").
692
+ attribute("advice worker").
693
+ attribute("stone collecting").
694
+ attribute("sports coach").
695
+ attribute("flower collecting and pressing").
696
+ attribute("scientific laboratory technician").
697
+ attribute("research").
698
+ attribute("psychiatric nurse").
699
+ attribute("netball").
700
+ attribute("water engineer").
701
+ attribute("architecture").
702
+ attribute("professor emeritus").
703
+ attribute("bus spotting").
704
+ attribute("loss adjuster").
705
+ attribute("shortwave listening").
706
+ attribute("sales promotion account executive").
707
+ attribute("radio-controlled model playing").
708
+ attribute("telecommunications researcher").
709
+ attribute("archaeology").
710
+ attribute("music tutor").
711
+ attribute("geography").
712
+ attribute("software engineer").
713
+ attribute("audiophile").
714
+ attribute("film editor").
715
+ attribute("sea glass collecting").
716
+ attribute("therapist").
717
+ attribute("auto audiophilia").
718
+ attribute("quarry manager").
719
+ attribute("aircraft spotting").
720
+ attribute("bookseller").
721
+ attribute("stone collecting").
722
+ attribute("public affairs consultant").
723
+ attribute("fencing").
724
+ attribute("camera operator").
725
+ attribute("cribbage").
726
+ attribute("artist").
727
+ attribute("ant-keeping").
728
+ attribute("secondary school teacher").
729
+ attribute("skateboarding").
730
+ attribute("sports administrator").
731
+ attribute("herbalism").
732
+ attribute("radio producer").
733
+ attribute("satellite watching").
734
+ attribute("seismic interpreter").
735
+ attribute("airsoft").
736
+ attribute("charity fundraiser").
737
+ attribute("beekeeping").
738
+ attribute("museum education officer").
739
+ attribute("darts").
740
+ attribute("artist").
741
+ attribute("photography").
742
+
743
+ great_aunt(X, Y) :-
744
+ grandparent(X, A),
745
+ sister(A, Y).
746
+
747
+ grandparent(X, Y) :-
748
+ parent(X, Z),
749
+ parent(Z, Y).
750
+
751
+ grandmother(X, Y) :-
752
+ grandparent(X, Y),
753
+ female(Y).
754
+
755
+ :- dynamic friend_/2.
756
+
757
+ friend_("Abdul Felker", "Carmen Bianchi").
758
+ friend_("Abdul Felker", "Norris Sherrod").
759
+ friend_("Abdul Felker", "Robby Pennington").
760
+ friend_("Adolph Barbee", "Allie Barbee").
761
+ friend_("Adolph Barbee", "Dalton Parkinson").
762
+ friend_("Adolph Barbee", "Solomon Rahman").
763
+ friend_("Adolph Barbee", "Twyla Parkinson").
764
+ friend_("Adolph Barbee", "Gertrude Guay").
765
+ friend_("Alice Lance", "Kirk Lo").
766
+ friend_("Alice Lance", "Leonila Parkinson").
767
+ friend_("Alice Lance", "Wanda Lo").
768
+ friend_("Alice Lance", "Raphael Ervin").
769
+ friend_("Alice Lance", "Twila Veilleux").
770
+ friend_("Allie Barbee", "Albertine Thrower").
771
+ friend_("Allie Barbee", "Brain Thrower").
772
+ friend_("Allison Barbee", "Rocco Lance").
773
+ friend_("Allison Barbee", "Linwood Thrower").
774
+ friend_("Alvin Lance", "Emma George").
775
+ friend_("Alvin Lance", "Joshua Ervin").
776
+ friend_("Andres Barbee", "Kirk Lo").
777
+ friend_("Andres Barbee", "Rocco Lance").
778
+ friend_("Andrew Parkinson", "Kirk Lo").
779
+ friend_("Andrew Parkinson", "Rocco Lance").
780
+ friend_("Andrew Parkinson", "Candice Bianchi").
781
+ friend_("Andrew Parkinson", "Esperanza Bianchi").
782
+ friend_("Andrew Parkinson", "Shizuko Veilleux").
783
+ friend_("Brooks George", "Minerva Pennington").
784
+ friend_("Clint Rahman", "Latosha Rahman").
785
+ friend_("Clint Rahman", "Wanda Lo").
786
+ friend_("Clint Rahman", "Alejandrina Thrower").
787
+ friend_("Colette Rahman", "Elyse Barbee").
788
+ friend_("Colette Rahman", "Latosha Rahman").
789
+ friend_("Colette Rahman", "Tracey Kean").
790
+ friend_("Colette Rahman", "Twyla Parkinson").
791
+ friend_("Colette Rahman", "Tyrone Parkinson").
792
+ friend_("Courtney Parkinson", "Tyrone Parkinson").
793
+ friend_("Courtney Parkinson", "Eve Ervin").
794
+ friend_("Courtney Parkinson", "Roy Najera").
795
+ friend_("Courtney Parkinson", "Twila Veilleux").
796
+ friend_("Dalton Parkinson", "Garth Kean").
797
+ friend_("Dalton Parkinson", "Walter Hope").
798
+ friend_("Dollie Barbee", "Karolyn Lance").
799
+ friend_("Dollie Barbee", "Ollie Bianchi").
800
+ friend_("Dollie Barbee", "Sarita Bianchi").
801
+ friend_("Dollie Barbee", "Shante Najera").
802
+ friend_("Elicia Barbee", "Krystle Barbee").
803
+ friend_("Elicia Barbee", "Esperanza Bianchi").
804
+ friend_("Elicia Barbee", "Philip Thrower").
805
+ friend_("Elicia Barbee", "Roy Najera").
806
+ friend_("Elyse Barbee", "Guadalupe Barbee").
807
+ friend_("Elyse Barbee", "Rudy Barbee").
808
+ friend_("Elyse Barbee", "Concepcion Najera").
809
+ friend_("Emma George", "Lesley Barbee").
810
+ friend_("Emma George", "Loraine Vansickle").
811
+ friend_("Garth Kean", "Albertine Thrower").
812
+ friend_("Garth Kean", "Zachary Guay").
813
+ friend_("Guadalupe Barbee", "Gertrude Guay").
814
+ friend_("Guadalupe Barbee", "Laurel Bianchi").
815
+ friend_("Guadalupe Barbee", "Lura Bianchi").
816
+ friend_("Jenni Felker", "Twyla Parkinson").
817
+ friend_("Jenni Felker", "Hal Gebhart").
818
+ friend_("Karolyn Lance", "Korey Kean").
819
+ friend_("Karolyn Lance", "Solomon Rahman").
820
+ friend_("Karolyn Lance", "Esperanza Ervin").
821
+ friend_("Karolyn Lance", "Jim Bianchi").
822
+ friend_("Karolyn Lance", "Pricilla Pennington").
823
+ friend_("Karolyn Lance", "Roy Najera").
824
+ friend_("Karolyn Lance", "Shante Najera").
825
+ friend_("Kelley Barbee", "Solomon Rahman").
826
+ friend_("Kelley Barbee", "Ollie Bianchi").
827
+ friend_("Kenny Barbee", "Kristopher Veilleux").
828
+ friend_("Konstantin Barbee", "Shante Najera").
829
+ friend_("Korey Kean", "Lesley Barbee").
830
+ friend_("Korey Kean", "Landon Ervin").
831
+ friend_("Krystle Barbee", "Zachary Guay").
832
+ friend_("Kurt Parkinson", "Laurel Bianchi").
833
+ friend_("Leonila Parkinson", "Merrill Kean").
834
+ friend_("Leonila Parkinson", "Wallace Ragland").
835
+ friend_("Leonila Parkinson", "Joshua Ervin").
836
+ friend_("Lesley Barbee", "Solomon Rahman").
837
+ friend_("Lesley Barbee", "Carmen Bianchi").
838
+ friend_("Lyndon Barbee", "Rudy Barbee").
839
+ friend_("Lyndon Barbee", "Yasmin Ragland").
840
+ friend_("Lyndon Barbee", "Eve Ervin").
841
+ friend_("Lyndon Barbee", "Shizuko Veilleux").
842
+ friend_("Marvin Hope", "Shon Guay").
843
+ friend_("Merrill Kean", "Rocco Lance").
844
+ friend_("Merrill Kean", "Tracey Kean").
845
+ friend_("Merrill Kean", "Linwood Thrower").
846
+ friend_("Merrill Kean", "Minerva Pennington").
847
+ friend_("Merrill Kean", "Shon Guay").
848
+ friend_("Mitchel George", "Mauricio Vansickle").
849
+ friend_("Mitchel George", "Sarita Bianchi").
850
+ friend_("Mitchel George", "Shon Guay").
851
+ friend_("Mitchel George", "Sylvester Sherrod").
852
+ friend_("Nettie Barbee", "Renea Thrower").
853
+ friend_("Rory George", "Winnifred Sherrod").
854
+ friend_("Royce Lo", "Benny Guay").
855
+ friend_("Rudy Barbee", "Shizuko Veilleux").
856
+ friend_("Solomon Rahman", "Twyla Parkinson").
857
+ friend_("Solomon Rahman", "Philip Thrower").
858
+ friend_("Solomon Rahman", "Rosena Veilleux").
859
+ friend_("Solomon Rahman", "Roxy Guay").
860
+ friend_("Solomon Rahman", "Shon Guay").
861
+ friend_("Tracey Kean", "Esperanza Bianchi").
862
+ friend_("Tracey Kean", "Georgette Gebhart").
863
+ friend_("Tracey Kean", "Gertrude Guay").
864
+ friend_("Tracey Kean", "Pricilla Pennington").
865
+ friend_("Twyla Parkinson", "Gertrude Guay").
866
+ friend_("Twyla Parkinson", "Pricilla Pennington").
867
+ friend_("Wallace Ragland", "Candice Bianchi").
868
+ friend_("Wallace Ragland", "Gertrude Guay").
869
+ friend_("Wallace Ragland", "Lucas Bianchi").
870
+ friend_("Walter Hope", "Cesar Guay").
871
+ friend_("Walter Hope", "Concepcion Najera").
872
+ friend_("Walter Hope", "Lucas Bianchi").
873
+ friend_("Walter Hope", "Ollie Bianchi").
874
+ friend_("Walter Hope", "Roy Najera").
875
+ friend_("Wanita Hope", "Concepcion Najera").
876
+ friend_("Wanita Hope", "Sarita Bianchi").
877
+ friend_("Willie Parkinson", "Ahmad Vansickle").
878
+ friend_("Ahmad Vansickle", "Chrissy Vansickle").
879
+ friend_("Ahmad Vansickle", "Edgar Bianchi").
880
+ friend_("Ahmad Vansickle", "Jim Bianchi").
881
+ friend_("Ahmad Vansickle", "Roxy Guay").
882
+ friend_("Albertine Thrower", "Alejandrina Thrower").
883
+ friend_("Albertine Thrower", "Laurel Bianchi").
884
+ friend_("Albertine Thrower", "Pricilla Pennington").
885
+ friend_("Alejandrina Thrower", "Roy Najera").
886
+ friend_("Benny Guay", "Linwood Thrower").
887
+ friend_("Benny Guay", "Roxy Guay").
888
+ friend_("Brain Thrower", "Eve Ervin").
889
+ friend_("Carmen Bianchi", "Concepcion Najera").
890
+ friend_("Carmen Bianchi", "Robby Pennington").
891
+ friend_("Cesar Guay", "Esperanza Ervin").
892
+ friend_("Cesar Guay", "Pricilla Pennington").
893
+ friend_("Edgar Bianchi", "Minerva Pennington").
894
+ friend_("Edgar Bianchi", "Zachary Guay").
895
+ friend_("Esperanza Ervin", "Roy Najera").
896
+ friend_("Georgette Gebhart", "Linwood Thrower").
897
+ friend_("Hal Gebhart", "Jim Bianchi").
898
+ friend_("Hal Gebhart", "Robby Pennington").
899
+ friend_("Jaime Veilleux", "Norris Sherrod").
900
+ friend_("Jaime Veilleux", "Ollie Bianchi").
901
+ friend_("Jaime Veilleux", "Raphael Ervin").
902
+ friend_("Jim Bianchi", "Maragret Bianchi").
903
+ friend_("Jim Bianchi", "Sarita Bianchi").
904
+ friend_("Joshua Ervin", "Sarita Bianchi").
905
+ friend_("Joshua Ervin", "Shizuko Veilleux").
906
+ friend_("Kendrick Sherrod", "Kristopher Veilleux").
907
+ friend_("Kristopher Veilleux", "Sylvester Sherrod").
908
+ friend_("Landon Ervin", "Philip Thrower").
909
+ friend_("Laurel Guay", "Lura Bianchi").
910
+ friend_("Lucas Bianchi", "Rosena Veilleux").
911
+ friend_("Lucas Bianchi", "Zachary Guay").
912
+ friend_("Maragret Bianchi", "Minerva Pennington").
913
+ friend_("Mauricio Vansickle", "Rosena Veilleux").
914
+ friend_("Minerva Pennington", "Rosena Veilleux").
915
+ friend_("Norris Sherrod", "Ollie Bianchi").
916
+ friend_("Norris Sherrod", "Rosena Veilleux").
917
+ friend_("Norris Sherrod", "Shon Guay").
918
+ friend_("Raphael Ervin", "Roxy Guay").
919
+ friend_("Raphael Ervin", "Sarita Bianchi").
920
+ friend_("Robby Pennington", "Shon Guay").
921
+ friend_("Roxy Guay", "Winnifred Sherrod").
922
+
923
+ friend(X, Y) :-
924
+ friend_(X, Y).
925
+ friend(X, Y) :-
926
+ friend_(Y, X).
927
+
928
+ niece(X, Y) :-
929
+ sibling(X, A),
930
+ daughter(A, Y).
931
+
932
+ nephew(X, Y) :-
933
+ sibling(X, A),
934
+ son(A, Y).
935
+
936
+ brother_in_law(X, Y) :-
937
+ married(X, A),
938
+ brother(A, Y).
939
+
940
+ :- multifile message_property/2.
941
+
942
+
943
+ sister_in_law(X, Y) :-
944
+ married(X, A),
945
+ sister(A, Y).
946
+
947
+ wife(X, Y) :-
948
+ married(X, Y),
949
+ female(Y).
950
+
951
+ husband(X, Y) :-
952
+ married(X, Y),
953
+ male(Y).
954
+
955
+ daughter_in_law(X, Y) :-
956
+ child(X, A),
957
+ wife(A, Y).
958
+
959
+ son_in_law(X, Y) :-
960
+ child(X, A),
961
+ husband(A, Y).
962
+
963
+ son(X, Y) :-
964
+ child(X, Y),
965
+ male(Y).
966
+
967
+ female(X) :-
968
+ gender(X, "female").
969
+
970
+ daughter(X, Y) :-
971
+ child(X, Y),
972
+ female(Y).
973
+
974
+ father_in_law(X, Y) :-
975
+ married(X, A),
976
+ father(A, Y).
977
+
978
+ mother_in_law(X, Y) :-
979
+ married(X, A),
980
+ mother(A, Y).
981
+
982
+ father(X, Y) :-
983
+ parent(X, Y),
984
+ male(Y).
985
+
986
+ :- multifile prolog_predicate_name/2.
987
+
988
+
989
+ child(X, Y) :-
990
+ parent(Y, X).
991
+
992
+ male_first_cousin_once_removed(X, Y) :-
993
+ cousin(X, A),
994
+ son(A, Y),
995
+ X\=Y.
996
+
997
+ :- multifile prolog_clause_name/2.
998
+
999
+
1000
+ :- dynamic expand_answer/2.
1001
+ :- multifile expand_answer/2.
1002
+
1003
+
1004
+ :- dynamic exception/3.
1005
+ :- multifile exception/3.
1006
+
1007
+
1008
+ female_first_cousin_once_removed(X, Y) :-
1009
+ cousin(X, A),
1010
+ daughter(A, Y),
1011
+ X\=Y.
1012
+
1013
+ brother(X, Y) :-
1014
+ sibling(X, Y),
1015
+ male(Y).
1016
+
1017
+ mother(X, Y) :-
1018
+ parent(X, Y),
1019
+ female(Y).
1020
+
1021
+ male_second_cousin(X, Y) :-
1022
+ parent(X, A),
1023
+ parent(Y, B),
1024
+ cousin(A, B),
1025
+ male(Y),
1026
+ X\=Y.
1027
+
1028
+ :- dynamic message_hook/3.
1029
+ :- multifile message_hook/3.
1030
+
1031
+
1032
+ female_second_cousin(X, Y) :-
1033
+ parent(X, A),
1034
+ parent(Y, B),
1035
+ cousin(A, B),
1036
+ female(Y),
1037
+ X\=Y.
1038
+
1039
+ married(X, Y) :-
1040
+ parent(Child, X),
1041
+ parent(Child, Y),
1042
+ X\=Y.
1043
+
1044
+ male(X) :-
1045
+ gender(X, "male").
1046
+
1047
+ :- dynamic prolog_file_type/2.
1048
+ :- multifile prolog_file_type/2.
1049
+
1050
+ prolog_file_type(pl, prolog).
1051
+ prolog_file_type(prolog, prolog).
1052
+ prolog_file_type(qlf, prolog).
1053
+ prolog_file_type(qlf, qlf).
1054
+ prolog_file_type(A, executable) :-
1055
+ system:current_prolog_flag(shared_object_extension, A).
1056
+ prolog_file_type(dylib, executable) :-
1057
+ system:current_prolog_flag(apple, true).
1058
+
1059
+ sister(X, Y) :-
1060
+ sibling(X, Y),
1061
+ female(Y).
1062
+
1063
+ male_cousin(X, Y) :-
1064
+ cousin(X, Y),
1065
+ male(Y).
1066
+
1067
+ :- dynamic nonbinary/1.
1068
+
1069
+ nonbinary(X) :-
1070
+ gender(X, "nonbinary").
1071
+
1072
+ female_cousin(X, Y) :-
1073
+ cousin(X, Y),
1074
+ female(Y).
1075
+
1076
+ sibling(X, Y) :-
1077
+ parent(X, A),
1078
+ parent(Y, A),
1079
+ X\=Y.
1080
+
1081
+ :- dynamic portray/1.
1082
+ :- multifile portray/1.
1083
+
1084
+
1085
+ :- dynamic prolog_load_file/2.
1086
+ :- multifile prolog_load_file/2.
1087
+
1088
+
1089
+ :- dynamic goal_expansion/2.
1090
+ :- multifile goal_expansion/2.
1091
+
1092
+
1093
+ :- dynamic parent/2.
1094
+
1095
+ parent("Adolph Barbee", "Kelley Barbee").
1096
+ parent("Adolph Barbee", "Kenny Barbee").
1097
+ parent("Alice Lance", "Karolyn Lance").
1098
+ parent("Alice Lance", "Rocco Lance").
1099
+ parent("Allison Barbee", "Andres Barbee").
1100
+ parent("Allison Barbee", "Dollie Barbee").
1101
+ parent("Alvin Lance", "Karolyn Lance").
1102
+ parent("Alvin Lance", "Rocco Lance").
1103
+ parent("Andres Barbee", "Kelley Barbee").
1104
+ parent("Andres Barbee", "Kenny Barbee").
1105
+ parent("Andrew Parkinson", "Kurt Parkinson").
1106
+ parent("Andrew Parkinson", "Leonila Parkinson").
1107
+ parent("Brooks George", "Emma George").
1108
+ parent("Brooks George", "Rory George").
1109
+ parent("Clint Rahman", "Latosha Rahman").
1110
+ parent("Clint Rahman", "Solomon Rahman").
1111
+ parent("Courtney Parkinson", "Karolyn Lance").
1112
+ parent("Courtney Parkinson", "Rocco Lance").
1113
+ parent("Dalton Parkinson", "Courtney Parkinson").
1114
+ parent("Dalton Parkinson", "Willie Parkinson").
1115
+ parent("Dollie Barbee", "Wallace Ragland").
1116
+ parent("Dollie Barbee", "Yasmin Ragland").
1117
+ parent("Elicia Barbee", "Konstantin Barbee").
1118
+ parent("Elicia Barbee", "Krystle Barbee").
1119
+ parent("Emma George", "Courtney Parkinson").
1120
+ parent("Emma George", "Willie Parkinson").
1121
+ parent("Guadalupe Barbee", "Allie Barbee").
1122
+ parent("Guadalupe Barbee", "Rudy Barbee").
1123
+ parent("Jenni Felker", "Clint Rahman").
1124
+ parent("Jenni Felker", "Colette Rahman").
1125
+ parent("Karolyn Lance", "Abdul Felker").
1126
+ parent("Karolyn Lance", "Jenni Felker").
1127
+ parent("Kelley Barbee", "Karolyn Lance").
1128
+ parent("Kelley Barbee", "Rocco Lance").
1129
+ parent("Kenny Barbee", "Allie Barbee").
1130
+ parent("Kenny Barbee", "Rudy Barbee").
1131
+ parent("Kirk Lo", "Royce Lo").
1132
+ parent("Kirk Lo", "Wanda Lo").
1133
+ parent("Konstantin Barbee", "Andres Barbee").
1134
+ parent("Konstantin Barbee", "Dollie Barbee").
1135
+ parent("Korey Kean", "Garth Kean").
1136
+ parent("Korey Kean", "Tracey Kean").
1137
+ parent("Krystle Barbee", "Walter Hope").
1138
+ parent("Krystle Barbee", "Wanita Hope").
1139
+ parent("Lesley Barbee", "Elyse Barbee").
1140
+ parent("Lesley Barbee", "Lyndon Barbee").
1141
+ parent("Lyndon Barbee", "Konstantin Barbee").
1142
+ parent("Lyndon Barbee", "Krystle Barbee").
1143
+ parent("Marvin Hope", "Walter Hope").
1144
+ parent("Marvin Hope", "Wanita Hope").
1145
+ parent("Merrill Kean", "Garth Kean").
1146
+ parent("Merrill Kean", "Tracey Kean").
1147
+ parent("Mitchel George", "Emma George").
1148
+ parent("Mitchel George", "Rory George").
1149
+ parent("Nettie Barbee", "Konstantin Barbee").
1150
+ parent("Nettie Barbee", "Krystle Barbee").
1151
+ parent("Tracey Kean", "Karolyn Lance").
1152
+ parent("Tracey Kean", "Rocco Lance").
1153
+ parent("Twyla Parkinson", "Kurt Parkinson").
1154
+ parent("Twyla Parkinson", "Leonila Parkinson").
1155
+ parent("Tyrone Parkinson", "Courtney Parkinson").
1156
+ parent("Tyrone Parkinson", "Willie Parkinson").
1157
+ parent("Wanda Lo", "Elyse Barbee").
1158
+ parent("Wanda Lo", "Lyndon Barbee").
1159
+ parent("Willie Parkinson", "Kurt Parkinson").
1160
+ parent("Willie Parkinson", "Leonila Parkinson").
1161
+ parent("Ahmad Vansickle", "Loraine Vansickle").
1162
+ parent("Ahmad Vansickle", "Mauricio Vansickle").
1163
+ parent("Albertine Thrower", "Georgette Gebhart").
1164
+ parent("Albertine Thrower", "Hal Gebhart").
1165
+ parent("Andre Vansickle", "Ahmad Vansickle").
1166
+ parent("Andre Vansickle", "Chrissy Vansickle").
1167
+ parent("Benny Guay", "Cesar Guay").
1168
+ parent("Benny Guay", "Laurel Guay").
1169
+ parent("Candice Bianchi", "Albertine Thrower").
1170
+ parent("Candice Bianchi", "Philip Thrower").
1171
+ parent("Carmen Bianchi", "Edgar Bianchi").
1172
+ parent("Carmen Bianchi", "Lura Bianchi").
1173
+ parent("Cesar Guay", "Gertrude Guay").
1174
+ parent("Cesar Guay", "Shon Guay").
1175
+ parent("Chrissy Vansickle", "Pricilla Pennington").
1176
+ parent("Chrissy Vansickle", "Robby Pennington").
1177
+ parent("Concepcion Najera", "Edgar Bianchi").
1178
+ parent("Concepcion Najera", "Lura Bianchi").
1179
+ parent("Edgar Bianchi", "Lucas Bianchi").
1180
+ parent("Edgar Bianchi", "Sarita Bianchi").
1181
+ parent("Esperanza Ervin", "Candice Bianchi").
1182
+ parent("Esperanza Ervin", "Carmen Bianchi").
1183
+ parent("Joshua Ervin", "Eve Ervin").
1184
+ parent("Joshua Ervin", "Landon Ervin").
1185
+ parent("Kendrick Sherrod", "Norris Sherrod").
1186
+ parent("Kendrick Sherrod", "Winnifred Sherrod").
1187
+ parent("Kristopher Veilleux", "Jaime Veilleux").
1188
+ parent("Kristopher Veilleux", "Rosena Veilleux").
1189
+ parent("Laurel Bianchi", "Edgar Bianchi").
1190
+ parent("Laurel Bianchi", "Lura Bianchi").
1191
+ parent("Linwood Thrower", "Albertine Thrower").
1192
+ parent("Linwood Thrower", "Philip Thrower").
1193
+ parent("Lucas Bianchi", "Esperanza Bianchi").
1194
+ parent("Lucas Bianchi", "Jim Bianchi").
1195
+ parent("Maragret Bianchi", "Candice Bianchi").
1196
+ parent("Maragret Bianchi", "Carmen Bianchi").
1197
+ parent("Minerva Pennington", "Pricilla Pennington").
1198
+ parent("Minerva Pennington", "Robby Pennington").
1199
+ parent("Ollie Bianchi", "Candice Bianchi").
1200
+ parent("Ollie Bianchi", "Carmen Bianchi").
1201
+ parent("Philip Thrower", "Alejandrina Thrower").
1202
+ parent("Philip Thrower", "Brain Thrower").
1203
+ parent("Pricilla Pennington", "Albertine Thrower").
1204
+ parent("Pricilla Pennington", "Philip Thrower").
1205
+ parent("Raphael Ervin", "Esperanza Ervin").
1206
+ parent("Raphael Ervin", "Joshua Ervin").
1207
+ parent("Renea Thrower", "Albertine Thrower").
1208
+ parent("Renea Thrower", "Philip Thrower").
1209
+ parent("Rosena Veilleux", "Esperanza Ervin").
1210
+ parent("Rosena Veilleux", "Joshua Ervin").
1211
+ parent("Roxy Guay", "Albertine Thrower").
1212
+ parent("Roxy Guay", "Philip Thrower").
1213
+ parent("Shante Najera", "Concepcion Najera").
1214
+ parent("Shante Najera", "Roy Najera").
1215
+ parent("Sylvester Sherrod", "Norris Sherrod").
1216
+ parent("Sylvester Sherrod", "Winnifred Sherrod").
1217
+ parent("Twila Veilleux", "Kristopher Veilleux").
1218
+ parent("Twila Veilleux", "Shizuko Veilleux").
1219
+ parent("Winnifred Sherrod", "Esperanza Ervin").
1220
+ parent("Winnifred Sherrod", "Joshua Ervin").
1221
+ parent("Zachary Guay", "Benny Guay").
1222
+ parent("Zachary Guay", "Roxy Guay").
1223
+
1224
+ cousin(X, Y) :-
1225
+ parent(X, A),
1226
+ parent(Y, B),
1227
+ sibling(A, B),
1228
+ X\=Y.
1229
+
1230
+ uncle(X, Y) :-
1231
+ parent(X, A),
1232
+ brother(A, Y).
1233
+
1234
+ :- dynamic resource/3.
1235
+ :- multifile resource/3.
1236
+
1237
+
1238
+ :- thread_local thread_message_hook/3.
1239
+ :- dynamic thread_message_hook/3.
1240
+ :- volatile thread_message_hook/3.
1241
+
1242
+
1243
+ aunt(X, Y) :-
1244
+ parent(X, A),
1245
+ sister(A, Y).
1246
+
1247
+ second_uncle(X, Y) :-
1248
+ great_grandparent(X, A),
1249
+ brother(A, Y).
1250
+
1251
+ :- dynamic gender/2.
1252
+
1253
+ gender("Abdul Felker", "male").
1254
+ gender("Adolph Barbee", "male").
1255
+ gender("Alice Lance", "female").
1256
+ gender("Allie Barbee", "female").
1257
+ gender("Allison Barbee", "female").
1258
+ gender("Alvin Lance", "male").
1259
+ gender("Andres Barbee", "male").
1260
+ gender("Andrew Parkinson", "male").
1261
+ gender("Brooks George", "male").
1262
+ gender("Clint Rahman", "male").
1263
+ gender("Colette Rahman", "female").
1264
+ gender("Courtney Parkinson", "female").
1265
+ gender("Dalton Parkinson", "male").
1266
+ gender("Dollie Barbee", "female").
1267
+ gender("Elicia Barbee", "female").
1268
+ gender("Elyse Barbee", "female").
1269
+ gender("Emma George", "female").
1270
+ gender("Garth Kean", "male").
1271
+ gender("Guadalupe Barbee", "male").
1272
+ gender("Jenni Felker", "female").
1273
+ gender("Karolyn Lance", "female").
1274
+ gender("Kelley Barbee", "female").
1275
+ gender("Kenny Barbee", "male").
1276
+ gender("Kirk Lo", "male").
1277
+ gender("Konstantin Barbee", "male").
1278
+ gender("Korey Kean", "male").
1279
+ gender("Krystle Barbee", "female").
1280
+ gender("Kurt Parkinson", "male").
1281
+ gender("Latosha Rahman", "female").
1282
+ gender("Leonila Parkinson", "female").
1283
+ gender("Lesley Barbee", "male").
1284
+ gender("Lyndon Barbee", "male").
1285
+ gender("Marvin Hope", "male").
1286
+ gender("Merrill Kean", "male").
1287
+ gender("Mitchel George", "male").
1288
+ gender("Nettie Barbee", "female").
1289
+ gender("Rocco Lance", "male").
1290
+ gender("Rory George", "male").
1291
+ gender("Royce Lo", "male").
1292
+ gender("Rudy Barbee", "male").
1293
+ gender("Solomon Rahman", "male").
1294
+ gender("Tracey Kean", "female").
1295
+ gender("Twyla Parkinson", "female").
1296
+ gender("Tyrone Parkinson", "male").
1297
+ gender("Wallace Ragland", "male").
1298
+ gender("Walter Hope", "male").
1299
+ gender("Wanda Lo", "female").
1300
+ gender("Wanita Hope", "female").
1301
+ gender("Willie Parkinson", "male").
1302
+ gender("Yasmin Ragland", "female").
1303
+ gender("Ahmad Vansickle", "male").
1304
+ gender("Albertine Thrower", "female").
1305
+ gender("Alejandrina Thrower", "female").
1306
+ gender("Andre Vansickle", "male").
1307
+ gender("Benny Guay", "male").
1308
+ gender("Brain Thrower", "male").
1309
+ gender("Candice Bianchi", "female").
1310
+ gender("Carmen Bianchi", "male").
1311
+ gender("Cesar Guay", "male").
1312
+ gender("Chrissy Vansickle", "female").
1313
+ gender("Concepcion Najera", "female").
1314
+ gender("Edgar Bianchi", "male").
1315
+ gender("Esperanza Bianchi", "female").
1316
+ gender("Esperanza Ervin", "female").
1317
+ gender("Eve Ervin", "female").
1318
+ gender("Georgette Gebhart", "female").
1319
+ gender("Gertrude Guay", "female").
1320
+ gender("Hal Gebhart", "male").
1321
+ gender("Jaime Veilleux", "male").
1322
+ gender("Jim Bianchi", "male").
1323
+ gender("Joshua Ervin", "male").
1324
+ gender("Kendrick Sherrod", "male").
1325
+ gender("Kristopher Veilleux", "male").
1326
+ gender("Landon Ervin", "male").
1327
+ gender("Laurel Bianchi", "female").
1328
+ gender("Laurel Guay", "female").
1329
+ gender("Linwood Thrower", "male").
1330
+ gender("Loraine Vansickle", "female").
1331
+ gender("Lucas Bianchi", "male").
1332
+ gender("Lura Bianchi", "female").
1333
+ gender("Maragret Bianchi", "female").
1334
+ gender("Mauricio Vansickle", "male").
1335
+ gender("Minerva Pennington", "female").
1336
+ gender("Norris Sherrod", "male").
1337
+ gender("Ollie Bianchi", "female").
1338
+ gender("Philip Thrower", "male").
1339
+ gender("Pricilla Pennington", "female").
1340
+ gender("Raphael Ervin", "male").
1341
+ gender("Renea Thrower", "female").
1342
+ gender("Robby Pennington", "male").
1343
+ gender("Rosena Veilleux", "female").
1344
+ gender("Roxy Guay", "female").
1345
+ gender("Roy Najera", "male").
1346
+ gender("Sarita Bianchi", "female").
1347
+ gender("Shante Najera", "female").
1348
+ gender("Shizuko Veilleux", "female").
1349
+ gender("Shon Guay", "male").
1350
+ gender("Sylvester Sherrod", "male").
1351
+ gender("Twila Veilleux", "female").
1352
+ gender("Winnifred Sherrod", "female").
1353
+ gender("Zachary Guay", "male").
1354
+
1355
+ second_aunt(X, Y) :-
1356
+ great_grandparent(X, A),
1357
+ sister(A, Y).
1358
+
1359
+ great_grandson(X, Y) :-
1360
+ great_grandchild(X, Y),
1361
+ male(Y).
1362
+
1363
+ :- dynamic pyrun/2.
1364
+
1365
+ pyrun(A, B) :-
1366
+ read_term_from_atom(A, C, [variable_names(B)]),
1367
+ call(C).
1368
+
1369
+ great_granddaughter(X, Y) :-
1370
+ great_grandchild(X, Y),
1371
+ female(Y).
1372
+
1373
+ :- dynamic resource/2.
1374
+ :- multifile resource/2.
1375
+
depth_20_size_100_seed_3/facts.txt ADDED
@@ -0,0 +1,1377 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Alethia Kidd", "amateur astronomy").
32
+ hobby("Alexis Kingsley", "crystals").
33
+ hobby("Ana Colin", "stamp collecting").
34
+ hobby("Antionette Song", "trainspotting").
35
+ hobby("Byron Song", "animation").
36
+ hobby("Carlos Baptiste", "esports").
37
+ hobby("Damon Song", "magnet fishing").
38
+ hobby("Danilo Colin", "billiards").
39
+ hobby("Deirdre Bivins", "iceboat racing").
40
+ hobby("Eddie Song", "aerospace").
41
+ hobby("Elisabeth Kingsley", "learning").
42
+ hobby("Felton Kidd", "meteorology").
43
+ hobby("Freda Song", "learning").
44
+ hobby("Gene Song", "trapshooting").
45
+ hobby("Genesis Colin", "shoes").
46
+ hobby("Geneva Song", "meteorology").
47
+ hobby("Gilbert Summerlin", "birdwatching").
48
+ hobby("Hannah Bivins", "mahjong").
49
+ hobby("Hyun Song", "horseback riding").
50
+ hobby("Idell Kidd", "birdwatching").
51
+ hobby("Isidro Kidd", "air sports").
52
+ hobby("Jamal Song", "publishing").
53
+ hobby("Jeana Song", "fossicking").
54
+ hobby("Jesse Kiel", "dolls").
55
+ hobby("Jolene Song", "web design").
56
+ hobby("Lance Kiel", "tourism").
57
+ hobby("Lester Bivins", "lapel pins").
58
+ hobby("Lynda Colin", "slot car").
59
+ hobby("Madaline Song", "audiophile").
60
+ hobby("Matilda Summerlin", "model united nations").
61
+ hobby("Maynard Song", "insect collecting").
62
+ hobby("Mckinley Colin", "baking").
63
+ hobby("Meghann Kidd", "mineral collecting").
64
+ hobby("Melvin Kidd", "stone collecting").
65
+ hobby("Nathaniel Song", "dandyism").
66
+ hobby("Nikki Kidd", "mineral collecting").
67
+ hobby("Nina Song", "digital hoarding").
68
+ hobby("Noreen Kingsley", "reading").
69
+ hobby("Ramona Colin", "pinball").
70
+ hobby("Romelia Song", "dog sport").
71
+ hobby("Seymour Song", "research").
72
+ hobby("Shelly Reece", "butterfly watching").
73
+ hobby("Sol Song", "research").
74
+ hobby("Stephan Kidd", "stamp collecting").
75
+ hobby("Tawana Summerlin", "jogging").
76
+ hobby("Thomasine Kidd", "rowing").
77
+ hobby("Tod Song", "sport stacking").
78
+ hobby("Twila Baptiste", "audiophile").
79
+ hobby("Winfred Baptiste", "seashell collecting").
80
+ hobby("Wyatt Reece", "skateboarding").
81
+ hobby("Yvette Song", "lomography").
82
+ hobby("Adah Camper", "ant farming").
83
+ hobby("Adele Ahmad", "rock tumbling").
84
+ hobby("Amos Vargas", "birdwatching").
85
+ hobby("Angie Vargas", "model aircraft").
86
+ hobby("Ayesha Abbate", "die-cast toy").
87
+ hobby("Bradley Yocum", "metal detecting").
88
+ hobby("Carina Vargas", "learning").
89
+ hobby("Christa Vargas", "phillumeny").
90
+ hobby("David Mcclelland", "cycling").
91
+ hobby("Derek Flatt", "benchmarking").
92
+ hobby("Eddy Vargas", "sociology").
93
+ hobby("Elfriede Moffitt", "shoes").
94
+ hobby("Eli Flatt", "jujitsu").
95
+ hobby("Elvie Vargas", "tourism").
96
+ hobby("Errol Camper", "ant farming").
97
+ hobby("Forrest Vargas", "slot car racing").
98
+ hobby("Fred Vargas", "flower collecting and pressing").
99
+ hobby("Gerry Vargas", "videography").
100
+ hobby("Ginger Hamrick", "powerlifting").
101
+ hobby("Harriette Vargas", "picnicking").
102
+ hobby("Ivan Abbate", "stone collecting").
103
+ hobby("Jeannie Loper", "sea glass collecting").
104
+ hobby("Joey Mcclelland", "radio-controlled model playing").
105
+ hobby("Kacey Yocum", "badminton").
106
+ hobby("Kendrick Vargas", "insect collecting").
107
+ hobby("Kraig Hamrick", "animation").
108
+ hobby("Livia Camper", "bowling").
109
+ hobby("Marlana Mcclelland", "disc golf").
110
+ hobby("Millard Camper", "model aircraft").
111
+ hobby("Newton Moffitt", "ant farming").
112
+ hobby("Nicholas Vargas", "geography").
113
+ hobby("Noe Vargas", "meditation").
114
+ hobby("Page Vargas", "slot car racing").
115
+ hobby("Pamula Flatt", "stone collecting").
116
+ hobby("Raphael Vargas", "roundnet").
117
+ hobby("Renaldo Ahmad", "chemistry").
118
+ hobby("Robyn Vargas", "tether car").
119
+ hobby("Ronnie Vargas", "roller skating").
120
+ hobby("Rosie Vargas", "aircraft spotting").
121
+ hobby("Son Loper", "martial arts").
122
+ hobby("Stevie Vargas", "rowing").
123
+ hobby("Thelma Flatt", "philately").
124
+ hobby("Theodore Yocum", "research").
125
+ hobby("Theron Mcclelland", "butterfly watching").
126
+ hobby("Toney Vargas", "neuroscience").
127
+ hobby("Valentina Vargas", "judo").
128
+ hobby("Wendell Flatt", "cycling").
129
+ hobby("Will Vargas", "myrmecology").
130
+ hobby("Winnifred Mcclelland", "auto audiophilia").
131
+ hobby("Xavier Vargas", "lomography").
132
+
133
+ granddaughter(X, Y) :-
134
+ grandchild(X, Y),
135
+ female(Y).
136
+
137
+ grandson(X, Y) :-
138
+ grandchild(X, Y),
139
+ male(Y).
140
+
141
+ :- dynamic job/2.
142
+
143
+ job("Alethia Kidd", "academic librarian").
144
+ job("Alexis Kingsley", "clinical research associate").
145
+ job("Ana Colin", "museum curator").
146
+ job("Antionette Song", "technical sales engineer").
147
+ job("Byron Song", "advertising account planner").
148
+ job("Carlos Baptiste", "toxicologist").
149
+ job("Damon Song", "education administrator").
150
+ job("Danilo Colin", "colour technologist").
151
+ job("Deirdre Bivins", "regulatory affairs officer").
152
+ job("Eddie Song", "gaffer").
153
+ job("Elisabeth Kingsley", "producer").
154
+ job("Felton Kidd", "newspaper journalist").
155
+ job("Freda Song", "social researcher").
156
+ job("Gene Song", "learning disability nurse").
157
+ job("Genesis Colin", "interior and spatial designer").
158
+ job("Geneva Song", "pharmacologist").
159
+ job("Gilbert Summerlin", "investment banker").
160
+ job("Hannah Bivins", "biomedical engineer").
161
+ job("Hyun Song", "marketing executive").
162
+ job("Idell Kidd", "chartered legal executive").
163
+ job("Isidro Kidd", "public relations officer").
164
+ job("Jamal Song", "nutritional therapist").
165
+ job("Jeana Song", "psychotherapist").
166
+ job("Jesse Kiel", "production designer").
167
+ job("Jolene Song", "phytotherapist").
168
+ job("Lance Kiel", "training and development officer").
169
+ job("Lester Bivins", "electronics engineer").
170
+ job("Lynda Colin", "contracting civil engineer").
171
+ job("Madaline Song", "air traffic controller").
172
+ job("Matilda Summerlin", "airline pilot").
173
+ job("Maynard Song", "IT consultant").
174
+ job("Mckinley Colin", "geophysical data processor").
175
+ job("Meghann Kidd", "careers information officer").
176
+ job("Melvin Kidd", "applications developer").
177
+ job("Nathaniel Song", "architectural technologist").
178
+ job("Nikki Kidd", "horticultural therapist").
179
+ job("Nina Song", "theme park manager").
180
+ job("Noreen Kingsley", "animal nutritionist").
181
+ job("Ramona Colin", "education administrator").
182
+ job("Romelia Song", "community development worker").
183
+ job("Seymour Song", "ophthalmologist").
184
+ job("Shelly Reece", "lobbyist").
185
+ job("Sol Song", "telecommunications researcher").
186
+ job("Stephan Kidd", "social worker").
187
+ job("Tawana Summerlin", "exercise physiologist").
188
+ job("Thomasine Kidd", "senior tax professional").
189
+ job("Tod Song", "environmental consultant").
190
+ job("Twila Baptiste", "soil scientist").
191
+ job("Winfred Baptiste", "interpreter").
192
+ job("Wyatt Reece", "professor emeritus").
193
+ job("Yvette Song", "archivist").
194
+ job("Adah Camper", "herpetologist").
195
+ job("Adele Ahmad", "transport planner").
196
+ job("Amos Vargas", "advice worker").
197
+ job("Angie Vargas", "hospital pharmacist").
198
+ job("Ayesha Abbate", "network engineer").
199
+ job("Bradley Yocum", "personal assistant").
200
+ job("Carina Vargas", "tax inspector").
201
+ job("Christa Vargas", "industrial buyer").
202
+ job("David Mcclelland", "physicist").
203
+ job("Derek Flatt", "sub").
204
+ job("Eddy Vargas", "market researcher").
205
+ job("Elfriede Moffitt", "building services engineer").
206
+ job("Eli Flatt", "general practice doctor").
207
+ job("Elvie Vargas", "dispensing optician").
208
+ job("Errol Camper", "company secretary").
209
+ job("Forrest Vargas", "sub").
210
+ job("Fred Vargas", "accounting technician").
211
+ job("Gerry Vargas", "local government officer").
212
+ job("Ginger Hamrick", "magazine features editor").
213
+ job("Harriette Vargas", "publishing rights manager").
214
+ job("Ivan Abbate", "government social research officer").
215
+ job("Jeannie Loper", "mudlogger").
216
+ job("Joey Mcclelland", "senior tax professional").
217
+ job("Kacey Yocum", "patent examiner").
218
+ job("Kendrick Vargas", "science writer").
219
+ job("Kraig Hamrick", "estate agent").
220
+ job("Livia Camper", "lighting technician").
221
+ job("Marlana Mcclelland", "fine artist").
222
+ job("Millard Camper", "ship broker").
223
+ job("Newton Moffitt", "tree surgeon").
224
+ job("Nicholas Vargas", "geologist").
225
+ job("Noe Vargas", "restaurant manager").
226
+ job("Page Vargas", "designer").
227
+ job("Pamula Flatt", "drilling engineer").
228
+ job("Raphael Vargas", "radiographer").
229
+ job("Renaldo Ahmad", "legal secretary").
230
+ job("Robyn Vargas", "health visitor").
231
+ job("Ronnie Vargas", "medical physicist").
232
+ job("Rosie Vargas", "engineer").
233
+ job("Son Loper", "geophysical data processor").
234
+ job("Stevie Vargas", "midwife").
235
+ job("Thelma Flatt", "financial risk analyst").
236
+ job("Theodore Yocum", "English as a foreign language teacher").
237
+ job("Theron Mcclelland", "personnel officer").
238
+ job("Toney Vargas", "systems analyst").
239
+ job("Valentina Vargas", "animator").
240
+ job("Wendell Flatt", "educational psychologist").
241
+ job("Will Vargas", "production manager").
242
+ job("Winnifred Mcclelland", "magazine journalist").
243
+ job("Xavier Vargas", "runner").
244
+
245
+ great_uncle(X, Y) :-
246
+ grandparent(X, A),
247
+ brother(A, Y).
248
+
249
+ :- dynamic save_all_clauses_to_file/1.
250
+
251
+ save_all_clauses_to_file(A) :-
252
+ open(A, write, B),
253
+ set_output(B),
254
+ listing,
255
+ close(B).
256
+
257
+ :- dynamic term_expansion/4.
258
+ :- multifile term_expansion/4.
259
+
260
+
261
+ grandchild(X, Y) :-
262
+ grandparent(Y, X).
263
+
264
+ :- dynamic dob/2.
265
+
266
+ dob("Alethia Kidd", "0873-07-19").
267
+ dob("Alexis Kingsley", "1041-10-02").
268
+ dob("Ana Colin", "0935-04-16").
269
+ dob("Antionette Song", "0991-05-04").
270
+ dob("Byron Song", "0908-09-14").
271
+ dob("Carlos Baptiste", "1044-12-31").
272
+ dob("Damon Song", "1021-10-02").
273
+ dob("Danilo Colin", "0909-08-09").
274
+ dob("Deirdre Bivins", "1021-12-21").
275
+ dob("Eddie Song", "0935-01-05").
276
+ dob("Elisabeth Kingsley", "1073-05-19").
277
+ dob("Felton Kidd", "0874-01-26").
278
+ dob("Freda Song", "0961-03-14").
279
+ dob("Gene Song", "1016-07-28").
280
+ dob("Genesis Colin", "0935-10-02").
281
+ dob("Geneva Song", "1017-08-26").
282
+ dob("Gilbert Summerlin", "0875-11-11").
283
+ dob("Hannah Bivins", "0991-10-05").
284
+ dob("Hyun Song", "0908-01-20").
285
+ dob("Idell Kidd", "0882-10-19").
286
+ dob("Isidro Kidd", "0900-05-25").
287
+ dob("Jamal Song", "0961-07-23").
288
+ dob("Jeana Song", "0965-11-11").
289
+ dob("Jesse Kiel", "0878-11-05").
290
+ dob("Jolene Song", "1015-01-07").
291
+ dob("Lance Kiel", "0879-03-08").
292
+ dob("Lester Bivins", "0991-03-23").
293
+ dob("Lynda Colin", "0941-08-16").
294
+ dob("Madaline Song", "0959-12-18").
295
+ dob("Matilda Summerlin", "0874-08-12").
296
+ dob("Maynard Song", "1023-05-28").
297
+ dob("Mckinley Colin", "0936-10-18").
298
+ dob("Meghann Kidd", "0929-12-23").
299
+ dob("Melvin Kidd", "0905-06-22").
300
+ dob("Nathaniel Song", "0985-07-27").
301
+ dob("Nikki Kidd", "0903-01-28").
302
+ dob("Nina Song", "0936-08-07").
303
+ dob("Noreen Kingsley", "1042-12-18").
304
+ dob("Ramona Colin", "0909-09-08").
305
+ dob("Romelia Song", "1020-12-02").
306
+ dob("Seymour Song", "0964-05-16").
307
+ dob("Shelly Reece", "0985-04-02").
308
+ dob("Sol Song", "0993-10-31").
309
+ dob("Stephan Kidd", "0852-06-22").
310
+ dob("Tawana Summerlin", "0904-08-01").
311
+ dob("Thomasine Kidd", "0854-04-15").
312
+ dob("Tod Song", "0993-10-31").
313
+ dob("Twila Baptiste", "1018-11-12").
314
+ dob("Winfred Baptiste", "1014-09-07").
315
+ dob("Wyatt Reece", "0983-05-04").
316
+ dob("Yvette Song", "0962-11-01").
317
+ dob("Adah Camper", "0932-07-19").
318
+ dob("Adele Ahmad", "0925-02-26").
319
+ dob("Amos Vargas", "0956-09-05").
320
+ dob("Angie Vargas", "0977-10-14").
321
+ dob("Ayesha Abbate", "0916-07-12").
322
+ dob("Bradley Yocum", "0978-01-11").
323
+ dob("Carina Vargas", "0983-08-23").
324
+ dob("Christa Vargas", "0955-08-11").
325
+ dob("David Mcclelland", "1006-12-16").
326
+ dob("Derek Flatt", "0970-03-01").
327
+ dob("Eddy Vargas", "0980-12-28").
328
+ dob("Elfriede Moffitt", "0880-02-08").
329
+ dob("Eli Flatt", "0945-08-01").
330
+ dob("Elvie Vargas", "1005-07-01").
331
+ dob("Errol Camper", "0927-10-02").
332
+ dob("Forrest Vargas", "1002-10-20").
333
+ dob("Fred Vargas", "0981-04-01").
334
+ dob("Gerry Vargas", "0980-03-01").
335
+ dob("Ginger Hamrick", "0947-04-05").
336
+ dob("Harriette Vargas", "0958-03-01").
337
+ dob("Ivan Abbate", "0919-06-20").
338
+ dob("Jeannie Loper", "0846-01-09").
339
+ dob("Joey Mcclelland", "0974-07-26").
340
+ dob("Kacey Yocum", "0982-03-17").
341
+ dob("Kendrick Vargas", "1010-11-04").
342
+ dob("Kraig Hamrick", "0950-03-09").
343
+ dob("Livia Camper", "0905-05-08").
344
+ dob("Marlana Mcclelland", "1006-08-22").
345
+ dob("Millard Camper", "0903-07-02").
346
+ dob("Newton Moffitt", "0880-10-06").
347
+ dob("Nicholas Vargas", "1033-02-24").
348
+ dob("Noe Vargas", "0983-04-25").
349
+ dob("Page Vargas", "1008-11-17").
350
+ dob("Pamula Flatt", "0946-04-07").
351
+ dob("Raphael Vargas", "1009-02-12").
352
+ dob("Renaldo Ahmad", "0928-10-18").
353
+ dob("Robyn Vargas", "1008-05-19").
354
+ dob("Ronnie Vargas", "0983-02-22").
355
+ dob("Rosie Vargas", "0983-02-16").
356
+ dob("Son Loper", "0851-04-10").
357
+ dob("Stevie Vargas", "0929-04-04").
358
+ dob("Thelma Flatt", "0968-03-13").
359
+ dob("Theodore Yocum", "1009-01-14").
360
+ dob("Theron Mcclelland", "1032-04-22").
361
+ dob("Toney Vargas", "1007-07-11").
362
+ dob("Valentina Vargas", "0929-05-28").
363
+ dob("Wendell Flatt", "0974-07-13").
364
+ dob("Will Vargas", "0958-01-11").
365
+ dob("Winnifred Mcclelland", "0974-12-02").
366
+ dob("Xavier Vargas", "0983-02-22").
367
+
368
+ :- dynamic file_search_path/2.
369
+ :- multifile file_search_path/2.
370
+
371
+ file_search_path(library, Dir) :-
372
+ library_directory(Dir).
373
+ file_search_path(swi, A) :-
374
+ system:current_prolog_flag(home, A).
375
+ file_search_path(swi, A) :-
376
+ system:current_prolog_flag(shared_home, A).
377
+ file_search_path(library, app_config(lib)).
378
+ file_search_path(library, swi(library)).
379
+ file_search_path(library, swi(library/clp)).
380
+ file_search_path(library, A) :-
381
+ system:'$ext_library_directory'(A).
382
+ file_search_path(foreign, swi(A)) :-
383
+ system:
384
+ ( current_prolog_flag(apple_universal_binary, true),
385
+ A='lib/fat-darwin'
386
+ ).
387
+ file_search_path(path, A) :-
388
+ system:
389
+ ( getenv('PATH', B),
390
+ current_prolog_flag(path_sep, C),
391
+ atomic_list_concat(D, C, B),
392
+ '$member'(A, D)
393
+ ).
394
+ file_search_path(user_app_data, A) :-
395
+ system:'$xdg_prolog_directory'(data, A).
396
+ file_search_path(common_app_data, A) :-
397
+ system:'$xdg_prolog_directory'(common_data, A).
398
+ file_search_path(user_app_config, A) :-
399
+ system:'$xdg_prolog_directory'(config, A).
400
+ file_search_path(common_app_config, A) :-
401
+ system:'$xdg_prolog_directory'(common_config, A).
402
+ file_search_path(app_data, user_app_data('.')).
403
+ file_search_path(app_data, common_app_data('.')).
404
+ file_search_path(app_config, user_app_config('.')).
405
+ file_search_path(app_config, common_app_config('.')).
406
+ file_search_path(app_preferences, user_app_config('.')).
407
+ file_search_path(user_profile, app_preferences('.')).
408
+ file_search_path(app, swi(app)).
409
+ file_search_path(app, app_data(app)).
410
+ file_search_path(autoload, swi(library)).
411
+ file_search_path(autoload, pce(prolog/lib)).
412
+ file_search_path(autoload, app_config(lib)).
413
+ file_search_path(autoload, Dir) :-
414
+ '$autoload':'$ext_library_directory'(Dir).
415
+ file_search_path(pack, app_data(pack)).
416
+ file_search_path(library, PackLib) :-
417
+ '$pack':pack_dir(_Name, prolog, PackLib).
418
+ file_search_path(foreign, PackLib) :-
419
+ '$pack':pack_dir(_Name, foreign, PackLib).
420
+ file_search_path(app, AppDir) :-
421
+ '$pack':pack_dir(_Name, app, AppDir).
422
+
423
+ :- multifile prolog_list_goal/1.
424
+
425
+
426
+ :- dynamic type/2.
427
+
428
+ type("Alethia Kidd", person).
429
+ type("Alexis Kingsley", person).
430
+ type("Ana Colin", person).
431
+ type("Antionette Song", person).
432
+ type("Byron Song", person).
433
+ type("Carlos Baptiste", person).
434
+ type("Damon Song", person).
435
+ type("Danilo Colin", person).
436
+ type("Deirdre Bivins", person).
437
+ type("Eddie Song", person).
438
+ type("Elisabeth Kingsley", person).
439
+ type("Felton Kidd", person).
440
+ type("Freda Song", person).
441
+ type("Gene Song", person).
442
+ type("Genesis Colin", person).
443
+ type("Geneva Song", person).
444
+ type("Gilbert Summerlin", person).
445
+ type("Hannah Bivins", person).
446
+ type("Hyun Song", person).
447
+ type("Idell Kidd", person).
448
+ type("Isidro Kidd", person).
449
+ type("Jamal Song", person).
450
+ type("Jeana Song", person).
451
+ type("Jesse Kiel", person).
452
+ type("Jolene Song", person).
453
+ type("Lance Kiel", person).
454
+ type("Lester Bivins", person).
455
+ type("Lynda Colin", person).
456
+ type("Madaline Song", person).
457
+ type("Matilda Summerlin", person).
458
+ type("Maynard Song", person).
459
+ type("Mckinley Colin", person).
460
+ type("Meghann Kidd", person).
461
+ type("Melvin Kidd", person).
462
+ type("Nathaniel Song", person).
463
+ type("Nikki Kidd", person).
464
+ type("Nina Song", person).
465
+ type("Noreen Kingsley", person).
466
+ type("Ramona Colin", person).
467
+ type("Romelia Song", person).
468
+ type("Seymour Song", person).
469
+ type("Shelly Reece", person).
470
+ type("Sol Song", person).
471
+ type("Stephan Kidd", person).
472
+ type("Tawana Summerlin", person).
473
+ type("Thomasine Kidd", person).
474
+ type("Tod Song", person).
475
+ type("Twila Baptiste", person).
476
+ type("Winfred Baptiste", person).
477
+ type("Wyatt Reece", person).
478
+ type("Yvette Song", person).
479
+ type("Adah Camper", person).
480
+ type("Adele Ahmad", person).
481
+ type("Amos Vargas", person).
482
+ type("Angie Vargas", person).
483
+ type("Ayesha Abbate", person).
484
+ type("Bradley Yocum", person).
485
+ type("Carina Vargas", person).
486
+ type("Christa Vargas", person).
487
+ type("David Mcclelland", person).
488
+ type("Derek Flatt", person).
489
+ type("Eddy Vargas", person).
490
+ type("Elfriede Moffitt", person).
491
+ type("Eli Flatt", person).
492
+ type("Elvie Vargas", person).
493
+ type("Errol Camper", person).
494
+ type("Forrest Vargas", person).
495
+ type("Fred Vargas", person).
496
+ type("Gerry Vargas", person).
497
+ type("Ginger Hamrick", person).
498
+ type("Harriette Vargas", person).
499
+ type("Ivan Abbate", person).
500
+ type("Jeannie Loper", person).
501
+ type("Joey Mcclelland", person).
502
+ type("Kacey Yocum", person).
503
+ type("Kendrick Vargas", person).
504
+ type("Kraig Hamrick", person).
505
+ type("Livia Camper", person).
506
+ type("Marlana Mcclelland", person).
507
+ type("Millard Camper", person).
508
+ type("Newton Moffitt", person).
509
+ type("Nicholas Vargas", person).
510
+ type("Noe Vargas", person).
511
+ type("Page Vargas", person).
512
+ type("Pamula Flatt", person).
513
+ type("Raphael Vargas", person).
514
+ type("Renaldo Ahmad", person).
515
+ type("Robyn Vargas", person).
516
+ type("Ronnie Vargas", person).
517
+ type("Rosie Vargas", person).
518
+ type("Son Loper", person).
519
+ type("Stevie Vargas", person).
520
+ type("Thelma Flatt", person).
521
+ type("Theodore Yocum", person).
522
+ type("Theron Mcclelland", person).
523
+ type("Toney Vargas", person).
524
+ type("Valentina Vargas", person).
525
+ type("Wendell Flatt", person).
526
+ type("Will Vargas", person).
527
+ type("Winnifred Mcclelland", person).
528
+ type("Xavier Vargas", person).
529
+
530
+ grandfather(X, Y) :-
531
+ grandparent(X, Y),
532
+ male(Y).
533
+
534
+ :- dynamic expand_query/4.
535
+ :- multifile expand_query/4.
536
+
537
+
538
+ :- dynamic attribute/1.
539
+
540
+ attribute("academic librarian").
541
+ attribute("amateur astronomy").
542
+ attribute("clinical research associate").
543
+ attribute("crystals").
544
+ attribute("museum curator").
545
+ attribute("stamp collecting").
546
+ attribute("technical sales engineer").
547
+ attribute("trainspotting").
548
+ attribute("advertising account planner").
549
+ attribute("animation").
550
+ attribute("toxicologist").
551
+ attribute("esports").
552
+ attribute("education administrator").
553
+ attribute("magnet fishing").
554
+ attribute("colour technologist").
555
+ attribute("billiards").
556
+ attribute("regulatory affairs officer").
557
+ attribute("iceboat racing").
558
+ attribute("gaffer").
559
+ attribute("aerospace").
560
+ attribute("producer").
561
+ attribute("learning").
562
+ attribute("newspaper journalist").
563
+ attribute("meteorology").
564
+ attribute("social researcher").
565
+ attribute("learning").
566
+ attribute("learning disability nurse").
567
+ attribute("trapshooting").
568
+ attribute("interior and spatial designer").
569
+ attribute("shoes").
570
+ attribute("pharmacologist").
571
+ attribute("meteorology").
572
+ attribute("investment banker").
573
+ attribute("birdwatching").
574
+ attribute("biomedical engineer").
575
+ attribute("mahjong").
576
+ attribute("marketing executive").
577
+ attribute("horseback riding").
578
+ attribute("chartered legal executive").
579
+ attribute("birdwatching").
580
+ attribute("public relations officer").
581
+ attribute("air sports").
582
+ attribute("nutritional therapist").
583
+ attribute("publishing").
584
+ attribute("psychotherapist").
585
+ attribute("fossicking").
586
+ attribute("production designer").
587
+ attribute("dolls").
588
+ attribute("phytotherapist").
589
+ attribute("web design").
590
+ attribute("training and development officer").
591
+ attribute("tourism").
592
+ attribute("electronics engineer").
593
+ attribute("lapel pins").
594
+ attribute("contracting civil engineer").
595
+ attribute("slot car").
596
+ attribute("air traffic controller").
597
+ attribute("audiophile").
598
+ attribute("airline pilot").
599
+ attribute("model united nations").
600
+ attribute("IT consultant").
601
+ attribute("insect collecting").
602
+ attribute("geophysical data processor").
603
+ attribute("baking").
604
+ attribute("careers information officer").
605
+ attribute("mineral collecting").
606
+ attribute("applications developer").
607
+ attribute("stone collecting").
608
+ attribute("architectural technologist").
609
+ attribute("dandyism").
610
+ attribute("horticultural therapist").
611
+ attribute("mineral collecting").
612
+ attribute("theme park manager").
613
+ attribute("digital hoarding").
614
+ attribute("animal nutritionist").
615
+ attribute("reading").
616
+ attribute("education administrator").
617
+ attribute("pinball").
618
+ attribute("community development worker").
619
+ attribute("dog sport").
620
+ attribute("ophthalmologist").
621
+ attribute("research").
622
+ attribute("lobbyist").
623
+ attribute("butterfly watching").
624
+ attribute("telecommunications researcher").
625
+ attribute("research").
626
+ attribute("social worker").
627
+ attribute("stamp collecting").
628
+ attribute("exercise physiologist").
629
+ attribute("jogging").
630
+ attribute("senior tax professional").
631
+ attribute("rowing").
632
+ attribute("environmental consultant").
633
+ attribute("sport stacking").
634
+ attribute("soil scientist").
635
+ attribute("audiophile").
636
+ attribute("interpreter").
637
+ attribute("seashell collecting").
638
+ attribute("professor emeritus").
639
+ attribute("skateboarding").
640
+ attribute("archivist").
641
+ attribute("lomography").
642
+ attribute("herpetologist").
643
+ attribute("ant farming").
644
+ attribute("transport planner").
645
+ attribute("rock tumbling").
646
+ attribute("advice worker").
647
+ attribute("birdwatching").
648
+ attribute("hospital pharmacist").
649
+ attribute("model aircraft").
650
+ attribute("network engineer").
651
+ attribute("die-cast toy").
652
+ attribute("personal assistant").
653
+ attribute("metal detecting").
654
+ attribute("tax inspector").
655
+ attribute("learning").
656
+ attribute("industrial buyer").
657
+ attribute("phillumeny").
658
+ attribute("physicist").
659
+ attribute("cycling").
660
+ attribute("sub").
661
+ attribute("benchmarking").
662
+ attribute("market researcher").
663
+ attribute("sociology").
664
+ attribute("building services engineer").
665
+ attribute("shoes").
666
+ attribute("general practice doctor").
667
+ attribute("jujitsu").
668
+ attribute("dispensing optician").
669
+ attribute("tourism").
670
+ attribute("company secretary").
671
+ attribute("ant farming").
672
+ attribute("sub").
673
+ attribute("slot car racing").
674
+ attribute("accounting technician").
675
+ attribute("flower collecting and pressing").
676
+ attribute("local government officer").
677
+ attribute("videography").
678
+ attribute("magazine features editor").
679
+ attribute("powerlifting").
680
+ attribute("publishing rights manager").
681
+ attribute("picnicking").
682
+ attribute("government social research officer").
683
+ attribute("stone collecting").
684
+ attribute("mudlogger").
685
+ attribute("sea glass collecting").
686
+ attribute("senior tax professional").
687
+ attribute("radio-controlled model playing").
688
+ attribute("patent examiner").
689
+ attribute("badminton").
690
+ attribute("science writer").
691
+ attribute("insect collecting").
692
+ attribute("estate agent").
693
+ attribute("animation").
694
+ attribute("lighting technician").
695
+ attribute("bowling").
696
+ attribute("fine artist").
697
+ attribute("disc golf").
698
+ attribute("ship broker").
699
+ attribute("model aircraft").
700
+ attribute("tree surgeon").
701
+ attribute("ant farming").
702
+ attribute("geologist").
703
+ attribute("geography").
704
+ attribute("restaurant manager").
705
+ attribute("meditation").
706
+ attribute("designer").
707
+ attribute("slot car racing").
708
+ attribute("drilling engineer").
709
+ attribute("stone collecting").
710
+ attribute("radiographer").
711
+ attribute("roundnet").
712
+ attribute("legal secretary").
713
+ attribute("chemistry").
714
+ attribute("health visitor").
715
+ attribute("tether car").
716
+ attribute("medical physicist").
717
+ attribute("roller skating").
718
+ attribute("engineer").
719
+ attribute("aircraft spotting").
720
+ attribute("geophysical data processor").
721
+ attribute("martial arts").
722
+ attribute("midwife").
723
+ attribute("rowing").
724
+ attribute("financial risk analyst").
725
+ attribute("philately").
726
+ attribute("English as a foreign language teacher").
727
+ attribute("research").
728
+ attribute("personnel officer").
729
+ attribute("butterfly watching").
730
+ attribute("systems analyst").
731
+ attribute("neuroscience").
732
+ attribute("animator").
733
+ attribute("judo").
734
+ attribute("educational psychologist").
735
+ attribute("cycling").
736
+ attribute("production manager").
737
+ attribute("myrmecology").
738
+ attribute("magazine journalist").
739
+ attribute("auto audiophilia").
740
+ attribute("runner").
741
+ attribute("lomography").
742
+
743
+ great_aunt(X, Y) :-
744
+ grandparent(X, A),
745
+ sister(A, Y).
746
+
747
+ grandparent(X, Y) :-
748
+ parent(X, Z),
749
+ parent(Z, Y).
750
+
751
+ grandmother(X, Y) :-
752
+ grandparent(X, Y),
753
+ female(Y).
754
+
755
+ :- dynamic friend_/2.
756
+
757
+ friend_("Alethia Kidd", "Carina Vargas").
758
+ friend_("Alethia Kidd", "Page Vargas").
759
+ friend_("Alethia Kidd", "Rosie Vargas").
760
+ friend_("Alexis Kingsley", "Antionette Song").
761
+ friend_("Alexis Kingsley", "Freda Song").
762
+ friend_("Alexis Kingsley", "Seymour Song").
763
+ friend_("Alexis Kingsley", "Sol Song").
764
+ friend_("Alexis Kingsley", "Forrest Vargas").
765
+ friend_("Ana Colin", "Jesse Kiel").
766
+ friend_("Ana Colin", "Matilda Summerlin").
767
+ friend_("Ana Colin", "Tod Song").
768
+ friend_("Ana Colin", "Robyn Vargas").
769
+ friend_("Ana Colin", "Will Vargas").
770
+ friend_("Antionette Song", "Adah Camper").
771
+ friend_("Antionette Song", "Ayesha Abbate").
772
+ friend_("Byron Song", "Nina Song").
773
+ friend_("Byron Song", "Kraig Hamrick").
774
+ friend_("Carlos Baptiste", "Gilbert Summerlin").
775
+ friend_("Carlos Baptiste", "Harriette Vargas").
776
+ friend_("Damon Song", "Jesse Kiel").
777
+ friend_("Damon Song", "Nina Song").
778
+ friend_("Danilo Colin", "Jesse Kiel").
779
+ friend_("Danilo Colin", "Nina Song").
780
+ friend_("Danilo Colin", "Bradley Yocum").
781
+ friend_("Danilo Colin", "Elfriede Moffitt").
782
+ friend_("Danilo Colin", "Toney Vargas").
783
+ friend_("Deirdre Bivins", "Noe Vargas").
784
+ friend_("Eddie Song", "Madaline Song").
785
+ friend_("Eddie Song", "Tod Song").
786
+ friend_("Eddie Song", "Adele Ahmad").
787
+ friend_("Elisabeth Kingsley", "Geneva Song").
788
+ friend_("Elisabeth Kingsley", "Madaline Song").
789
+ friend_("Elisabeth Kingsley", "Shelly Reece").
790
+ friend_("Elisabeth Kingsley", "Sol Song").
791
+ friend_("Elisabeth Kingsley", "Stephan Kidd").
792
+ friend_("Felton Kidd", "Stephan Kidd").
793
+ friend_("Felton Kidd", "Elvie Vargas").
794
+ friend_("Felton Kidd", "Thelma Flatt").
795
+ friend_("Felton Kidd", "Will Vargas").
796
+ friend_("Freda Song", "Hannah Bivins").
797
+ friend_("Freda Song", "Thomasine Kidd").
798
+ friend_("Gene Song", "Isidro Kidd").
799
+ friend_("Gene Song", "Pamula Flatt").
800
+ friend_("Gene Song", "Theodore Yocum").
801
+ friend_("Gene Song", "Theron Mcclelland").
802
+ friend_("Genesis Colin", "Lester Bivins").
803
+ friend_("Genesis Colin", "Elfriede Moffitt").
804
+ friend_("Genesis Colin", "Raphael Vargas").
805
+ friend_("Genesis Colin", "Thelma Flatt").
806
+ friend_("Geneva Song", "Hyun Song").
807
+ friend_("Geneva Song", "Romelia Song").
808
+ friend_("Geneva Song", "Derek Flatt").
809
+ friend_("Gilbert Summerlin", "Maynard Song").
810
+ friend_("Gilbert Summerlin", "Livia Camper").
811
+ friend_("Hannah Bivins", "Adah Camper").
812
+ friend_("Hannah Bivins", "Xavier Vargas").
813
+ friend_("Hyun Song", "Forrest Vargas").
814
+ friend_("Hyun Song", "Kacey Yocum").
815
+ friend_("Hyun Song", "Millard Camper").
816
+ friend_("Idell Kidd", "Sol Song").
817
+ friend_("Idell Kidd", "Fred Vargas").
818
+ friend_("Isidro Kidd", "Lance Kiel").
819
+ friend_("Isidro Kidd", "Seymour Song").
820
+ friend_("Isidro Kidd", "Eli Flatt").
821
+ friend_("Isidro Kidd", "Ginger Hamrick").
822
+ friend_("Isidro Kidd", "Renaldo Ahmad").
823
+ friend_("Isidro Kidd", "Thelma Flatt").
824
+ friend_("Isidro Kidd", "Theron Mcclelland").
825
+ friend_("Jamal Song", "Seymour Song").
826
+ friend_("Jamal Song", "Pamula Flatt").
827
+ friend_("Jeana Song", "Jeannie Loper").
828
+ friend_("Jolene Song", "Theron Mcclelland").
829
+ friend_("Lance Kiel", "Maynard Song").
830
+ friend_("Lance Kiel", "Joey Mcclelland").
831
+ friend_("Lester Bivins", "Xavier Vargas").
832
+ friend_("Lynda Colin", "Kacey Yocum").
833
+ friend_("Matilda Summerlin", "Melvin Kidd").
834
+ friend_("Matilda Summerlin", "Tawana Summerlin").
835
+ friend_("Matilda Summerlin", "Harriette Vargas").
836
+ friend_("Maynard Song", "Seymour Song").
837
+ friend_("Maynard Song", "Carina Vargas").
838
+ friend_("Mckinley Colin", "Romelia Song").
839
+ friend_("Mckinley Colin", "Wyatt Reece").
840
+ friend_("Mckinley Colin", "Elvie Vargas").
841
+ friend_("Mckinley Colin", "Toney Vargas").
842
+ friend_("Meghann Kidd", "Valentina Vargas").
843
+ friend_("Melvin Kidd", "Nina Song").
844
+ friend_("Melvin Kidd", "Shelly Reece").
845
+ friend_("Melvin Kidd", "Kraig Hamrick").
846
+ friend_("Melvin Kidd", "Noe Vargas").
847
+ friend_("Melvin Kidd", "Valentina Vargas").
848
+ friend_("Nathaniel Song", "Nicholas Vargas").
849
+ friend_("Nathaniel Song", "Theodore Yocum").
850
+ friend_("Nathaniel Song", "Valentina Vargas").
851
+ friend_("Nathaniel Song", "Wendell Flatt").
852
+ friend_("Nikki Kidd", "Ronnie Vargas").
853
+ friend_("Noreen Kingsley", "Winnifred Mcclelland").
854
+ friend_("Ramona Colin", "Angie Vargas").
855
+ friend_("Romelia Song", "Toney Vargas").
856
+ friend_("Seymour Song", "Sol Song").
857
+ friend_("Seymour Song", "Raphael Vargas").
858
+ friend_("Seymour Song", "Son Loper").
859
+ friend_("Seymour Song", "Stevie Vargas").
860
+ friend_("Seymour Song", "Valentina Vargas").
861
+ friend_("Shelly Reece", "Elfriede Moffitt").
862
+ friend_("Shelly Reece", "Errol Camper").
863
+ friend_("Shelly Reece", "Forrest Vargas").
864
+ friend_("Shelly Reece", "Renaldo Ahmad").
865
+ friend_("Sol Song", "Forrest Vargas").
866
+ friend_("Sol Song", "Renaldo Ahmad").
867
+ friend_("Tawana Summerlin", "Bradley Yocum").
868
+ friend_("Tawana Summerlin", "Forrest Vargas").
869
+ friend_("Tawana Summerlin", "Marlana Mcclelland").
870
+ friend_("Thomasine Kidd", "Christa Vargas").
871
+ friend_("Thomasine Kidd", "Derek Flatt").
872
+ friend_("Thomasine Kidd", "Marlana Mcclelland").
873
+ friend_("Thomasine Kidd", "Pamula Flatt").
874
+ friend_("Thomasine Kidd", "Thelma Flatt").
875
+ friend_("Twila Baptiste", "Derek Flatt").
876
+ friend_("Twila Baptiste", "Theodore Yocum").
877
+ friend_("Winfred Baptiste", "Yvette Song").
878
+ friend_("Yvette Song", "David Mcclelland").
879
+ friend_("Yvette Song", "Eddy Vargas").
880
+ friend_("Yvette Song", "Ginger Hamrick").
881
+ friend_("Yvette Song", "Stevie Vargas").
882
+ friend_("Adah Camper", "Adele Ahmad").
883
+ friend_("Adah Camper", "Kacey Yocum").
884
+ friend_("Adah Camper", "Renaldo Ahmad").
885
+ friend_("Adele Ahmad", "Thelma Flatt").
886
+ friend_("Angie Vargas", "Kraig Hamrick").
887
+ friend_("Angie Vargas", "Stevie Vargas").
888
+ friend_("Ayesha Abbate", "Elvie Vargas").
889
+ friend_("Carina Vargas", "Derek Flatt").
890
+ friend_("Carina Vargas", "Rosie Vargas").
891
+ friend_("Christa Vargas", "Eli Flatt").
892
+ friend_("Christa Vargas", "Renaldo Ahmad").
893
+ friend_("Eddy Vargas", "Noe Vargas").
894
+ friend_("Eddy Vargas", "Xavier Vargas").
895
+ friend_("Eli Flatt", "Thelma Flatt").
896
+ friend_("Errol Camper", "Kraig Hamrick").
897
+ friend_("Fred Vargas", "Ginger Hamrick").
898
+ friend_("Fred Vargas", "Rosie Vargas").
899
+ friend_("Gerry Vargas", "Page Vargas").
900
+ friend_("Gerry Vargas", "Pamula Flatt").
901
+ friend_("Gerry Vargas", "Robyn Vargas").
902
+ friend_("Ginger Hamrick", "Newton Moffitt").
903
+ friend_("Ginger Hamrick", "Theodore Yocum").
904
+ friend_("Harriette Vargas", "Theodore Yocum").
905
+ friend_("Harriette Vargas", "Toney Vargas").
906
+ friend_("Ivan Abbate", "Jeannie Loper").
907
+ friend_("Jeannie Loper", "Wendell Flatt").
908
+ friend_("Joey Mcclelland", "Raphael Vargas").
909
+ friend_("Kendrick Vargas", "Millard Camper").
910
+ friend_("Marlana Mcclelland", "Son Loper").
911
+ friend_("Marlana Mcclelland", "Xavier Vargas").
912
+ friend_("Newton Moffitt", "Noe Vargas").
913
+ friend_("Nicholas Vargas", "Son Loper").
914
+ friend_("Noe Vargas", "Son Loper").
915
+ friend_("Page Vargas", "Pamula Flatt").
916
+ friend_("Page Vargas", "Son Loper").
917
+ friend_("Page Vargas", "Valentina Vargas").
918
+ friend_("Robyn Vargas", "Stevie Vargas").
919
+ friend_("Robyn Vargas", "Theodore Yocum").
920
+ friend_("Rosie Vargas", "Valentina Vargas").
921
+ friend_("Stevie Vargas", "Winnifred Mcclelland").
922
+
923
+ friend(X, Y) :-
924
+ friend_(X, Y).
925
+ friend(X, Y) :-
926
+ friend_(Y, X).
927
+
928
+ niece(X, Y) :-
929
+ sibling(X, A),
930
+ daughter(A, Y).
931
+
932
+ nephew(X, Y) :-
933
+ sibling(X, A),
934
+ son(A, Y).
935
+
936
+ brother_in_law(X, Y) :-
937
+ married(X, A),
938
+ brother(A, Y).
939
+
940
+ :- multifile message_property/2.
941
+
942
+
943
+ sister_in_law(X, Y) :-
944
+ married(X, A),
945
+ sister(A, Y).
946
+
947
+ wife(X, Y) :-
948
+ married(X, Y),
949
+ female(Y).
950
+
951
+ husband(X, Y) :-
952
+ married(X, Y),
953
+ male(Y).
954
+
955
+ daughter_in_law(X, Y) :-
956
+ child(X, A),
957
+ wife(A, Y).
958
+
959
+ son_in_law(X, Y) :-
960
+ child(X, A),
961
+ husband(A, Y).
962
+
963
+ son(X, Y) :-
964
+ child(X, Y),
965
+ male(Y).
966
+
967
+ female(X) :-
968
+ gender(X, "female").
969
+
970
+ daughter(X, Y) :-
971
+ child(X, Y),
972
+ female(Y).
973
+
974
+ father_in_law(X, Y) :-
975
+ married(X, A),
976
+ father(A, Y).
977
+
978
+ mother_in_law(X, Y) :-
979
+ married(X, A),
980
+ mother(A, Y).
981
+
982
+ father(X, Y) :-
983
+ parent(X, Y),
984
+ male(Y).
985
+
986
+ :- multifile prolog_predicate_name/2.
987
+
988
+
989
+ child(X, Y) :-
990
+ parent(Y, X).
991
+
992
+ male_first_cousin_once_removed(X, Y) :-
993
+ cousin(X, A),
994
+ son(A, Y),
995
+ X\=Y.
996
+
997
+ :- multifile prolog_clause_name/2.
998
+
999
+
1000
+ :- dynamic expand_answer/2.
1001
+ :- multifile expand_answer/2.
1002
+
1003
+
1004
+ :- dynamic exception/3.
1005
+ :- multifile exception/3.
1006
+
1007
+
1008
+ female_first_cousin_once_removed(X, Y) :-
1009
+ cousin(X, A),
1010
+ daughter(A, Y),
1011
+ X\=Y.
1012
+
1013
+ brother(X, Y) :-
1014
+ sibling(X, Y),
1015
+ male(Y).
1016
+
1017
+ mother(X, Y) :-
1018
+ parent(X, Y),
1019
+ female(Y).
1020
+
1021
+ male_second_cousin(X, Y) :-
1022
+ parent(X, A),
1023
+ parent(Y, B),
1024
+ cousin(A, B),
1025
+ male(Y),
1026
+ X\=Y.
1027
+
1028
+ :- dynamic message_hook/3.
1029
+ :- multifile message_hook/3.
1030
+
1031
+
1032
+ female_second_cousin(X, Y) :-
1033
+ parent(X, A),
1034
+ parent(Y, B),
1035
+ cousin(A, B),
1036
+ female(Y),
1037
+ X\=Y.
1038
+
1039
+ married(X, Y) :-
1040
+ parent(Child, X),
1041
+ parent(Child, Y),
1042
+ X\=Y.
1043
+
1044
+ male(X) :-
1045
+ gender(X, "male").
1046
+
1047
+ :- dynamic prolog_file_type/2.
1048
+ :- multifile prolog_file_type/2.
1049
+
1050
+ prolog_file_type(pl, prolog).
1051
+ prolog_file_type(prolog, prolog).
1052
+ prolog_file_type(qlf, prolog).
1053
+ prolog_file_type(qlf, qlf).
1054
+ prolog_file_type(A, executable) :-
1055
+ system:current_prolog_flag(shared_object_extension, A).
1056
+ prolog_file_type(dylib, executable) :-
1057
+ system:current_prolog_flag(apple, true).
1058
+
1059
+ sister(X, Y) :-
1060
+ sibling(X, Y),
1061
+ female(Y).
1062
+
1063
+ male_cousin(X, Y) :-
1064
+ cousin(X, Y),
1065
+ male(Y).
1066
+
1067
+ :- dynamic nonbinary/1.
1068
+
1069
+ nonbinary(X) :-
1070
+ gender(X, "nonbinary").
1071
+
1072
+ female_cousin(X, Y) :-
1073
+ cousin(X, Y),
1074
+ female(Y).
1075
+
1076
+ sibling(X, Y) :-
1077
+ parent(X, A),
1078
+ parent(Y, A),
1079
+ X\=Y.
1080
+
1081
+ :- dynamic portray/1.
1082
+ :- multifile portray/1.
1083
+
1084
+
1085
+ :- dynamic prolog_load_file/2.
1086
+ :- multifile prolog_load_file/2.
1087
+
1088
+
1089
+ :- dynamic goal_expansion/2.
1090
+ :- multifile goal_expansion/2.
1091
+
1092
+
1093
+ :- dynamic parent/2.
1094
+
1095
+ parent("Ana Colin", "Danilo Colin").
1096
+ parent("Ana Colin", "Ramona Colin").
1097
+ parent("Carlos Baptiste", "Twila Baptiste").
1098
+ parent("Carlos Baptiste", "Winfred Baptiste").
1099
+ parent("Damon Song", "Antionette Song").
1100
+ parent("Damon Song", "Sol Song").
1101
+ parent("Deirdre Bivins", "Hannah Bivins").
1102
+ parent("Deirdre Bivins", "Lester Bivins").
1103
+ parent("Eddie Song", "Byron Song").
1104
+ parent("Eddie Song", "Hyun Song").
1105
+ parent("Elisabeth Kingsley", "Alexis Kingsley").
1106
+ parent("Elisabeth Kingsley", "Noreen Kingsley").
1107
+ parent("Felton Kidd", "Stephan Kidd").
1108
+ parent("Felton Kidd", "Thomasine Kidd").
1109
+ parent("Gene Song", "Antionette Song").
1110
+ parent("Gene Song", "Sol Song").
1111
+ parent("Genesis Colin", "Melvin Kidd").
1112
+ parent("Genesis Colin", "Nikki Kidd").
1113
+ parent("Geneva Song", "Antionette Song").
1114
+ parent("Geneva Song", "Sol Song").
1115
+ parent("Hannah Bivins", "Jamal Song").
1116
+ parent("Hannah Bivins", "Yvette Song").
1117
+ parent("Idell Kidd", "Stephan Kidd").
1118
+ parent("Idell Kidd", "Thomasine Kidd").
1119
+ parent("Isidro Kidd", "Alethia Kidd").
1120
+ parent("Isidro Kidd", "Felton Kidd").
1121
+ parent("Jamal Song", "Eddie Song").
1122
+ parent("Jamal Song", "Nina Song").
1123
+ parent("Jeana Song", "Eddie Song").
1124
+ parent("Jeana Song", "Nina Song").
1125
+ parent("Jolene Song", "Shelly Reece").
1126
+ parent("Jolene Song", "Wyatt Reece").
1127
+ parent("Lynda Colin", "Danilo Colin").
1128
+ parent("Lynda Colin", "Ramona Colin").
1129
+ parent("Madaline Song", "Eddie Song").
1130
+ parent("Madaline Song", "Nina Song").
1131
+ parent("Maynard Song", "Antionette Song").
1132
+ parent("Maynard Song", "Sol Song").
1133
+ parent("Mckinley Colin", "Danilo Colin").
1134
+ parent("Mckinley Colin", "Ramona Colin").
1135
+ parent("Meghann Kidd", "Melvin Kidd").
1136
+ parent("Meghann Kidd", "Nikki Kidd").
1137
+ parent("Melvin Kidd", "Alethia Kidd").
1138
+ parent("Melvin Kidd", "Felton Kidd").
1139
+ parent("Nathaniel Song", "Freda Song").
1140
+ parent("Nathaniel Song", "Seymour Song").
1141
+ parent("Nikki Kidd", "Gilbert Summerlin").
1142
+ parent("Nikki Kidd", "Matilda Summerlin").
1143
+ parent("Noreen Kingsley", "Gene Song").
1144
+ parent("Noreen Kingsley", "Jolene Song").
1145
+ parent("Ramona Colin", "Jesse Kiel").
1146
+ parent("Ramona Colin", "Lance Kiel").
1147
+ parent("Romelia Song", "Antionette Song").
1148
+ parent("Romelia Song", "Sol Song").
1149
+ parent("Seymour Song", "Eddie Song").
1150
+ parent("Seymour Song", "Nina Song").
1151
+ parent("Sol Song", "Jamal Song").
1152
+ parent("Sol Song", "Yvette Song").
1153
+ parent("Tawana Summerlin", "Gilbert Summerlin").
1154
+ parent("Tawana Summerlin", "Matilda Summerlin").
1155
+ parent("Tod Song", "Jamal Song").
1156
+ parent("Tod Song", "Yvette Song").
1157
+ parent("Twila Baptiste", "Hannah Bivins").
1158
+ parent("Twila Baptiste", "Lester Bivins").
1159
+ parent("Yvette Song", "Genesis Colin").
1160
+ parent("Yvette Song", "Mckinley Colin").
1161
+ parent("Adah Camper", "Livia Camper").
1162
+ parent("Adah Camper", "Millard Camper").
1163
+ parent("Amos Vargas", "Stevie Vargas").
1164
+ parent("Amos Vargas", "Valentina Vargas").
1165
+ parent("Angie Vargas", "Eli Flatt").
1166
+ parent("Angie Vargas", "Pamula Flatt").
1167
+ parent("David Mcclelland", "Joey Mcclelland").
1168
+ parent("David Mcclelland", "Winnifred Mcclelland").
1169
+ parent("Derek Flatt", "Eli Flatt").
1170
+ parent("Derek Flatt", "Pamula Flatt").
1171
+ parent("Eddy Vargas", "Harriette Vargas").
1172
+ parent("Eddy Vargas", "Will Vargas").
1173
+ parent("Elfriede Moffitt", "Jeannie Loper").
1174
+ parent("Elfriede Moffitt", "Son Loper").
1175
+ parent("Elvie Vargas", "Angie Vargas").
1176
+ parent("Elvie Vargas", "Gerry Vargas").
1177
+ parent("Errol Camper", "Livia Camper").
1178
+ parent("Errol Camper", "Millard Camper").
1179
+ parent("Forrest Vargas", "Angie Vargas").
1180
+ parent("Forrest Vargas", "Gerry Vargas").
1181
+ parent("Fred Vargas", "Amos Vargas").
1182
+ parent("Fred Vargas", "Christa Vargas").
1183
+ parent("Gerry Vargas", "Amos Vargas").
1184
+ parent("Gerry Vargas", "Christa Vargas").
1185
+ parent("Harriette Vargas", "Adele Ahmad").
1186
+ parent("Harriette Vargas", "Renaldo Ahmad").
1187
+ parent("Kacey Yocum", "Amos Vargas").
1188
+ parent("Kacey Yocum", "Christa Vargas").
1189
+ parent("Kendrick Vargas", "Angie Vargas").
1190
+ parent("Kendrick Vargas", "Gerry Vargas").
1191
+ parent("Livia Camper", "Elfriede Moffitt").
1192
+ parent("Livia Camper", "Newton Moffitt").
1193
+ parent("Marlana Mcclelland", "Angie Vargas").
1194
+ parent("Marlana Mcclelland", "Gerry Vargas").
1195
+ parent("Nicholas Vargas", "Kendrick Vargas").
1196
+ parent("Nicholas Vargas", "Page Vargas").
1197
+ parent("Noe Vargas", "Amos Vargas").
1198
+ parent("Noe Vargas", "Christa Vargas").
1199
+ parent("Pamula Flatt", "Ayesha Abbate").
1200
+ parent("Pamula Flatt", "Ivan Abbate").
1201
+ parent("Raphael Vargas", "Ronnie Vargas").
1202
+ parent("Raphael Vargas", "Rosie Vargas").
1203
+ parent("Robyn Vargas", "Carina Vargas").
1204
+ parent("Robyn Vargas", "Xavier Vargas").
1205
+ parent("Ronnie Vargas", "Harriette Vargas").
1206
+ parent("Ronnie Vargas", "Will Vargas").
1207
+ parent("Rosie Vargas", "Ginger Hamrick").
1208
+ parent("Rosie Vargas", "Kraig Hamrick").
1209
+ parent("Thelma Flatt", "Eli Flatt").
1210
+ parent("Thelma Flatt", "Pamula Flatt").
1211
+ parent("Theodore Yocum", "Bradley Yocum").
1212
+ parent("Theodore Yocum", "Kacey Yocum").
1213
+ parent("Theron Mcclelland", "David Mcclelland").
1214
+ parent("Theron Mcclelland", "Marlana Mcclelland").
1215
+ parent("Toney Vargas", "Angie Vargas").
1216
+ parent("Toney Vargas", "Gerry Vargas").
1217
+ parent("Valentina Vargas", "Livia Camper").
1218
+ parent("Valentina Vargas", "Millard Camper").
1219
+ parent("Wendell Flatt", "Eli Flatt").
1220
+ parent("Wendell Flatt", "Pamula Flatt").
1221
+ parent("Will Vargas", "Stevie Vargas").
1222
+ parent("Will Vargas", "Valentina Vargas").
1223
+ parent("Xavier Vargas", "Harriette Vargas").
1224
+ parent("Xavier Vargas", "Will Vargas").
1225
+
1226
+ cousin(X, Y) :-
1227
+ parent(X, A),
1228
+ parent(Y, B),
1229
+ sibling(A, B),
1230
+ X\=Y.
1231
+
1232
+ uncle(X, Y) :-
1233
+ parent(X, A),
1234
+ brother(A, Y).
1235
+
1236
+ :- dynamic resource/3.
1237
+ :- multifile resource/3.
1238
+
1239
+
1240
+ :- thread_local thread_message_hook/3.
1241
+ :- dynamic thread_message_hook/3.
1242
+ :- volatile thread_message_hook/3.
1243
+
1244
+
1245
+ aunt(X, Y) :-
1246
+ parent(X, A),
1247
+ sister(A, Y).
1248
+
1249
+ second_uncle(X, Y) :-
1250
+ great_grandparent(X, A),
1251
+ brother(A, Y).
1252
+
1253
+ :- dynamic gender/2.
1254
+
1255
+ gender("Alethia Kidd", "female").
1256
+ gender("Alexis Kingsley", "male").
1257
+ gender("Ana Colin", "female").
1258
+ gender("Antionette Song", "female").
1259
+ gender("Byron Song", "male").
1260
+ gender("Carlos Baptiste", "male").
1261
+ gender("Damon Song", "male").
1262
+ gender("Danilo Colin", "male").
1263
+ gender("Deirdre Bivins", "female").
1264
+ gender("Eddie Song", "male").
1265
+ gender("Elisabeth Kingsley", "female").
1266
+ gender("Felton Kidd", "male").
1267
+ gender("Freda Song", "female").
1268
+ gender("Gene Song", "male").
1269
+ gender("Genesis Colin", "female").
1270
+ gender("Geneva Song", "female").
1271
+ gender("Gilbert Summerlin", "male").
1272
+ gender("Hannah Bivins", "female").
1273
+ gender("Hyun Song", "female").
1274
+ gender("Idell Kidd", "female").
1275
+ gender("Isidro Kidd", "male").
1276
+ gender("Jamal Song", "male").
1277
+ gender("Jeana Song", "female").
1278
+ gender("Jesse Kiel", "female").
1279
+ gender("Jolene Song", "female").
1280
+ gender("Lance Kiel", "male").
1281
+ gender("Lester Bivins", "male").
1282
+ gender("Lynda Colin", "female").
1283
+ gender("Madaline Song", "female").
1284
+ gender("Matilda Summerlin", "female").
1285
+ gender("Maynard Song", "male").
1286
+ gender("Mckinley Colin", "male").
1287
+ gender("Meghann Kidd", "female").
1288
+ gender("Melvin Kidd", "male").
1289
+ gender("Nathaniel Song", "male").
1290
+ gender("Nikki Kidd", "female").
1291
+ gender("Nina Song", "female").
1292
+ gender("Noreen Kingsley", "female").
1293
+ gender("Ramona Colin", "female").
1294
+ gender("Romelia Song", "female").
1295
+ gender("Seymour Song", "male").
1296
+ gender("Shelly Reece", "female").
1297
+ gender("Sol Song", "male").
1298
+ gender("Stephan Kidd", "male").
1299
+ gender("Tawana Summerlin", "female").
1300
+ gender("Thomasine Kidd", "female").
1301
+ gender("Tod Song", "male").
1302
+ gender("Twila Baptiste", "female").
1303
+ gender("Winfred Baptiste", "male").
1304
+ gender("Wyatt Reece", "male").
1305
+ gender("Yvette Song", "female").
1306
+ gender("Adah Camper", "female").
1307
+ gender("Adele Ahmad", "female").
1308
+ gender("Amos Vargas", "male").
1309
+ gender("Angie Vargas", "female").
1310
+ gender("Ayesha Abbate", "female").
1311
+ gender("Bradley Yocum", "male").
1312
+ gender("Carina Vargas", "female").
1313
+ gender("Christa Vargas", "female").
1314
+ gender("David Mcclelland", "male").
1315
+ gender("Derek Flatt", "male").
1316
+ gender("Eddy Vargas", "male").
1317
+ gender("Elfriede Moffitt", "female").
1318
+ gender("Eli Flatt", "male").
1319
+ gender("Elvie Vargas", "female").
1320
+ gender("Errol Camper", "male").
1321
+ gender("Forrest Vargas", "male").
1322
+ gender("Fred Vargas", "male").
1323
+ gender("Gerry Vargas", "male").
1324
+ gender("Ginger Hamrick", "female").
1325
+ gender("Harriette Vargas", "female").
1326
+ gender("Ivan Abbate", "male").
1327
+ gender("Jeannie Loper", "female").
1328
+ gender("Joey Mcclelland", "male").
1329
+ gender("Kacey Yocum", "female").
1330
+ gender("Kendrick Vargas", "male").
1331
+ gender("Kraig Hamrick", "male").
1332
+ gender("Livia Camper", "female").
1333
+ gender("Marlana Mcclelland", "female").
1334
+ gender("Millard Camper", "male").
1335
+ gender("Newton Moffitt", "male").
1336
+ gender("Nicholas Vargas", "male").
1337
+ gender("Noe Vargas", "male").
1338
+ gender("Page Vargas", "female").
1339
+ gender("Pamula Flatt", "female").
1340
+ gender("Raphael Vargas", "male").
1341
+ gender("Renaldo Ahmad", "male").
1342
+ gender("Robyn Vargas", "female").
1343
+ gender("Ronnie Vargas", "male").
1344
+ gender("Rosie Vargas", "female").
1345
+ gender("Son Loper", "male").
1346
+ gender("Stevie Vargas", "male").
1347
+ gender("Thelma Flatt", "female").
1348
+ gender("Theodore Yocum", "male").
1349
+ gender("Theron Mcclelland", "male").
1350
+ gender("Toney Vargas", "male").
1351
+ gender("Valentina Vargas", "female").
1352
+ gender("Wendell Flatt", "male").
1353
+ gender("Will Vargas", "male").
1354
+ gender("Winnifred Mcclelland", "female").
1355
+ gender("Xavier Vargas", "male").
1356
+
1357
+ second_aunt(X, Y) :-
1358
+ great_grandparent(X, A),
1359
+ sister(A, Y).
1360
+
1361
+ great_grandson(X, Y) :-
1362
+ great_grandchild(X, Y),
1363
+ male(Y).
1364
+
1365
+ :- dynamic pyrun/2.
1366
+
1367
+ pyrun(A, B) :-
1368
+ read_term_from_atom(A, C, [variable_names(B)]),
1369
+ call(C).
1370
+
1371
+ great_granddaughter(X, Y) :-
1372
+ great_grandchild(X, Y),
1373
+ female(Y).
1374
+
1375
+ :- dynamic resource/2.
1376
+ :- multifile resource/2.
1377
+
depth_20_size_200_seed_1/facts.txt ADDED
@@ -0,0 +1,2344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Aida Wang", "meditation").
32
+ hobby("Alec Sinclair", "meteorology").
33
+ hobby("Alfredo Wang", "biology").
34
+ hobby("Alison Smock", "meteorology").
35
+ hobby("Alvaro Smock", "dolls").
36
+ hobby("Alycia Coe", "photography").
37
+ hobby("Barabara Beltran", "shogi").
38
+ hobby("Brian Beltran", "dominoes").
39
+ hobby("Carrol Woodson", "tether car").
40
+ hobby("Christina Coe", "architecture").
41
+ hobby("Christoper Coe", "geocaching").
42
+ hobby("Cortney Parmer", "trainspotting").
43
+ hobby("Cythia Smock", "bus spotting").
44
+ hobby("Daisy Beltran", "research").
45
+ hobby("Dino Beltran", "geography").
46
+ hobby("Dominique Smock", "microbiology").
47
+ hobby("Dwight Hackworth", "canoeing").
48
+ hobby("Earle Coe", "learning").
49
+ hobby("Eli Smock", "dairy farming").
50
+ hobby("Gayla Woodson", "fossil hunting").
51
+ hobby("Gene Smock", "sociology").
52
+ hobby("Isiah Lutz", "finance").
53
+ hobby("Jamison Baptiste", "meditation").
54
+ hobby("Kristen Toombs", "wikipedia editing").
55
+ hobby("Lannie Smock", "radio-controlled car racing").
56
+ hobby("Leeann Sinclair", "social studies").
57
+ hobby("Leisa Lutz", "judo").
58
+ hobby("Lesley Lutz", "flying disc").
59
+ hobby("Lissa Coe", "cricket").
60
+ hobby("Lonny Parmer", "weightlifting").
61
+ hobby("Maria Baptiste", "meditation").
62
+ hobby("Michelle Hackworth", "ballroom dancing").
63
+ hobby("Noelia Lutz", "microscopy").
64
+ hobby("Orlando Beltran", "reading").
65
+ hobby("Reggie Coe", "laser tag").
66
+ hobby("Ricardo Hackworth", "hiking/backpacking").
67
+ hobby("Ryan Wang", "audiophile").
68
+ hobby("Shannon Beltran", "tennis polo").
69
+ hobby("Shelli Beltran", "photography").
70
+ hobby("Stacia Toombs", "backgammon").
71
+ hobby("Tanner Beltran", "microscopy").
72
+ hobby("Tosha Beltran", "herping").
73
+ hobby("Tyson Woodson", "philately").
74
+ hobby("Ulysses Parmer", "birdwatching").
75
+ hobby("Vicki Hackworth", "shogi").
76
+ hobby("Vincent Lutz", "magnet fishing").
77
+ hobby("Virgil Hackworth", "table tennis").
78
+ hobby("Von Sinclair", "scuba diving").
79
+ hobby("Wilbert Toombs", "biology").
80
+ hobby("Williams Smock", "sea glass collecting").
81
+ hobby("Wm Parmer", "research").
82
+ hobby("Angela Culver", "gongoozling").
83
+ hobby("Anibal Stansberry", "benchmarking").
84
+ hobby("Barbara Philpott", "sea glass collecting").
85
+ hobby("Bev Gilmore", "bowling").
86
+ hobby("Brigette Gilmore", "audiophile").
87
+ hobby("Celia Macmillan", "tea bag collecting").
88
+ hobby("Conrad Stansberry", "model aircraft").
89
+ hobby("Cordelia Wiggs", "herping").
90
+ hobby("David Wiggs", "figure skating").
91
+ hobby("Debra Stansberry", "fossil hunting").
92
+ hobby("Desiree Stansberry", "airsoft").
93
+ hobby("Diane Culver", "whale watching").
94
+ hobby("Dionne Stansberry", "pinball").
95
+ hobby("Eliza Wiggs", "research").
96
+ hobby("Emanuel Stansberry", "flying model planes").
97
+ hobby("Frankie Hagerty", "ant farming").
98
+ hobby("Gail Culver", "volleyball").
99
+ hobby("Garry Gilmore", "gongoozling").
100
+ hobby("Gillian Wiggs", "vehicle restoration").
101
+ hobby("Glenda Culver", "car riding").
102
+ hobby("Hayden Stansberry", "mycology").
103
+ hobby("Howard Wiggs", "table football").
104
+ hobby("Hyun Hagerty", "photography").
105
+ hobby("Iva Stansberry", "metal detecting").
106
+ hobby("Jordan Culver", "archery").
107
+ hobby("Jules Culver", "reading").
108
+ hobby("Justine Hagerty", "shortwave listening").
109
+ hobby("Kelvin Culver", "snowmobiling").
110
+ hobby("Kori Wiggs", "research").
111
+ hobby("Laverna Stansberry", "religious studies").
112
+ hobby("Lester Stansberry", "cooking").
113
+ hobby("Lincoln Velasco", "kart racing").
114
+ hobby("Lionel Culver", "darts").
115
+ hobby("Loren Culver", "herping").
116
+ hobby("Markus Hagerty", "backgammon").
117
+ hobby("Maurine Velasco", "herping").
118
+ hobby("Mickey Philpott", "ant farming").
119
+ hobby("Millard Stansberry", "ephemera collecting").
120
+ hobby("Nikki Stansberry", "bus spotting").
121
+ hobby("Oren Stansberry", "research").
122
+ hobby("Quintin Hagerty", "croquet").
123
+ hobby("Renate Stansberry", "leaves").
124
+ hobby("Sona Stansberry", "antiquities").
125
+ hobby("Tad Macmillan", "field hockey").
126
+ hobby("Tamara Macmillan", "leaves").
127
+ hobby("Terence Culver", "auto audiophilia").
128
+ hobby("Tonya Culver", "magic").
129
+ hobby("Victor Stansberry", "people-watching").
130
+ hobby("Wilmer Hagerty", "social studies").
131
+ hobby("Yolanda Philpott", "mineral collecting").
132
+ hobby("Adelaida Ricketts", "fusilately").
133
+ hobby("Benny Abrams", "surfing").
134
+ hobby("Bobby Ricketts", "magic").
135
+ hobby("Bridget Solorio", "story writing").
136
+ hobby("Brooks Ricketts", "curling").
137
+ hobby("Cicely Abrams", "museum visiting").
138
+ hobby("Cordelia Zepeda", "benchmarking").
139
+ hobby("Cory Ricketts", "meteorology").
140
+ hobby("Dee Ricketts", "entrepreneurship").
141
+ hobby("Deidra Ricketts", "deltiology").
142
+ hobby("Dennis Ricketts", "badminton").
143
+ hobby("Edmund Abrams", "flag football").
144
+ hobby("Erin Ricketts", "shooting").
145
+ hobby("Flora Ricketts", "rock tumbling").
146
+ hobby("Hoa Leija", "beekeeping").
147
+ hobby("Jennifer Ricketts", "ephemera collecting").
148
+ hobby("Kory Ricketts", "medical science").
149
+ hobby("Kristie Abrams", "microscopy").
150
+ hobby("Kristopher Ricketts", "leaves").
151
+ hobby("Lauren Brumbaugh", "philately").
152
+ hobby("Lora Ricketts", "research").
153
+ hobby("Lyman Leija", "horseshoes").
154
+ hobby("Madelyn Ricketts", "insect collecting").
155
+ hobby("Maranda Ricketts", "fencing").
156
+ hobby("Marlene Isaacs", "insect collecting").
157
+ hobby("Melina Deming", "book collecting").
158
+ hobby("Micheal Leija", "business").
159
+ hobby("Milton Brumbaugh", "fishkeeping").
160
+ hobby("Mona Leija", "dolls").
161
+ hobby("Nick Solorio", "fitness").
162
+ hobby("Orval Ricketts", "paintball").
163
+ hobby("Paula Ricketts", "vintage clothing").
164
+ hobby("Randi Leija", "shuffleboard").
165
+ hobby("Raymond Leija", "sports memorabilia").
166
+ hobby("Reed Abrams", "kart racing").
167
+ hobby("Reggie Brumbaugh", "trapshooting").
168
+ hobby("Renea Ricketts", "table tennis").
169
+ hobby("Rhonda Ricketts", "rock climbing").
170
+ hobby("Rocky Ricketts", "gymnastics").
171
+ hobby("Rolanda Isaacs", "auto audiophilia").
172
+ hobby("Rosalee Brumbaugh", "myrmecology").
173
+ hobby("Samuel Ricketts", "flower collecting and pressing").
174
+ hobby("Shane Leija", "baton twirling").
175
+ hobby("Spencer Ricketts", "metal detecting").
176
+ hobby("Terrell Isaacs", "radio-controlled model playing").
177
+ hobby("Tiffanie Leija", "fossicking").
178
+ hobby("Tommy Zepeda", "shopping").
179
+ hobby("Toney Ricketts", "satellite watching").
180
+ hobby("Ulysses Deming", "carrier pigeons").
181
+ hobby("Winnifred Ricketts", "publishing").
182
+ hobby("Adella Schwarz", "learning").
183
+ hobby("Alberto Schwarz", "fishing").
184
+ hobby("Antony Kinder", "mini golf").
185
+ hobby("Aura Schwarz", "beekeeping").
186
+ hobby("Bernice Kinder", "sailing").
187
+ hobby("Carmelita Schwarz", "cycling").
188
+ hobby("Carter Bolen", "hobby horsing").
189
+ hobby("Clark Kinder", "dog walking").
190
+ hobby("Dawne Grover", "life science").
191
+ hobby("Delbert Menchaca", "leaves").
192
+ hobby("Dillon Schwarz", "volleyball").
193
+ hobby("Dylan Schwarz", "railway studies").
194
+ hobby("Elbert Canada", "butterfly watching").
195
+ hobby("Elyse Canada", "magnet fishing").
196
+ hobby("Emilie Schwarz", "insect collecting").
197
+ hobby("Eugene Schwarz", "films").
198
+ hobby("Eugenio Schwarz", "race walking").
199
+ hobby("Federico Schwarz", "dairy farming").
200
+ hobby("Francis Grover", "wikipedia editing").
201
+ hobby("Gustavo Grover", "kart racing").
202
+ hobby("Hank Schwarz", "people-watching").
203
+ hobby("Herbert Bolen", "whale watching").
204
+ hobby("Hope Schwarz", "shooting sports").
205
+ hobby("Irish Schwarz", "debate").
206
+ hobby("Jeanette Byrd", "table tennis").
207
+ hobby("Jeremiah Schwarz", "archaeology").
208
+ hobby("Joanna Schwarz", "lotology").
209
+ hobby("Judith Schwarz", "stone collecting").
210
+ hobby("Kent Schwarz", "birdwatching").
211
+ hobby("Kimberely Menchaca", "rock balancing").
212
+ hobby("Lorina Kinder", "karting").
213
+ hobby("Magdalena Schwarz", "disc golf").
214
+ hobby("Nada Schwarz", "shortwave listening").
215
+ hobby("Odette Schwarz", "audiophile").
216
+ hobby("Omar Schwarz", "bus spotting").
217
+ hobby("Pamula Schwarz", "shortwave listening").
218
+ hobby("Paula Bass", "fishkeeping").
219
+ hobby("Phylis Bolen", "tea bag collecting").
220
+ hobby("Randi Bass", "phillumeny").
221
+ hobby("Randi Schwarz", "stamp collecting").
222
+ hobby("Randolph Schwarz", "volleyball").
223
+ hobby("Riley Grover", "learning").
224
+ hobby("Rodolfo Byrd", "shooting").
225
+ hobby("Ross Bolen", "audiophile").
226
+ hobby("Shawnta Schwarz", "knife collecting").
227
+ hobby("Sona Kinder", "learning").
228
+ hobby("Sueann Bolen", "letterboxing").
229
+ hobby("Tania Schwarz", "beekeeping").
230
+ hobby("Tomas Bass", "bridge").
231
+ hobby("Zelda Schwarz", "perfume").
232
+
233
+ granddaughter(X, Y) :-
234
+ grandchild(X, Y),
235
+ female(Y).
236
+
237
+ grandson(X, Y) :-
238
+ grandchild(X, Y),
239
+ male(Y).
240
+
241
+ :- dynamic job/2.
242
+
243
+ job("Aida Wang", "personal assistant").
244
+ job("Alec Sinclair", "health promotion specialist").
245
+ job("Alfredo Wang", "osteopath").
246
+ job("Alison Smock", "broadcast engineer").
247
+ job("Alvaro Smock", "oncologist").
248
+ job("Alycia Coe", "warehouse manager").
249
+ job("Barabara Beltran", "associate professor").
250
+ job("Brian Beltran", "sports therapist").
251
+ job("Carrol Woodson", "retail manager").
252
+ job("Christina Coe", "immunologist").
253
+ job("Christoper Coe", "education administrator").
254
+ job("Cortney Parmer", "early years teacher").
255
+ job("Cythia Smock", "biomedical scientist").
256
+ job("Daisy Beltran", "music tutor").
257
+ job("Dino Beltran", "clinical cytogeneticist").
258
+ job("Dominique Smock", "ecologist").
259
+ job("Dwight Hackworth", "barrister's clerk").
260
+ job("Earle Coe", "petroleum engineer").
261
+ job("Eli Smock", "clinical research associate").
262
+ job("Gayla Woodson", "chief of staff").
263
+ job("Gene Smock", "occupational therapist").
264
+ job("Isiah Lutz", "actuary").
265
+ job("Jamison Baptiste", "police officer").
266
+ job("Kristen Toombs", "sound technician").
267
+ job("Lannie Smock", "theatre manager").
268
+ job("Leeann Sinclair", "clinical biochemist").
269
+ job("Leisa Lutz", "public relations officer").
270
+ job("Lesley Lutz", "music therapist").
271
+ job("Lissa Coe", "librarian").
272
+ job("Lonny Parmer", "building surveyor").
273
+ job("Maria Baptiste", "fitness centre manager").
274
+ job("Michelle Hackworth", "oceanographer").
275
+ job("Noelia Lutz", "historic buildings inspector").
276
+ job("Orlando Beltran", "chief marketing officer").
277
+ job("Reggie Coe", "waste management officer").
278
+ job("Ricardo Hackworth", "medical sales representative").
279
+ job("Ryan Wang", "community pharmacist").
280
+ job("Shannon Beltran", "pension scheme manager").
281
+ job("Shelli Beltran", "armed forces logistics officer").
282
+ job("Stacia Toombs", "environmental education officer").
283
+ job("Tanner Beltran", "medical illustrator").
284
+ job("Tosha Beltran", "museum conservator").
285
+ job("Tyson Woodson", "optometrist").
286
+ job("Ulysses Parmer", "further education lecturer").
287
+ job("Vicki Hackworth", "dancer").
288
+ job("Vincent Lutz", "water engineer").
289
+ job("Virgil Hackworth", "intelligence analyst").
290
+ job("Von Sinclair", "fashion designer").
291
+ job("Wilbert Toombs", "doctor").
292
+ job("Williams Smock", "chartered accountant").
293
+ job("Wm Parmer", "speech and language therapist").
294
+ job("Angela Culver", "clinical embryologist").
295
+ job("Anibal Stansberry", "community development worker").
296
+ job("Barbara Philpott", "games developer").
297
+ job("Bev Gilmore", "accommodation manager").
298
+ job("Brigette Gilmore", "conservation officer").
299
+ job("Celia Macmillan", "forensic scientist").
300
+ job("Conrad Stansberry", "pharmacologist").
301
+ job("Cordelia Wiggs", "dance movement psychotherapist").
302
+ job("David Wiggs", "paediatric nurse").
303
+ job("Debra Stansberry", "research officer").
304
+ job("Desiree Stansberry", "production designer").
305
+ job("Diane Culver", "community development worker").
306
+ job("Dionne Stansberry", "clinical molecular geneticist").
307
+ job("Eliza Wiggs", "set designer").
308
+ job("Emanuel Stansberry", "town planner").
309
+ job("Frankie Hagerty", "print production planner").
310
+ job("Gail Culver", "equality and diversity officer").
311
+ job("Garry Gilmore", "chartered loss adjuster").
312
+ job("Gillian Wiggs", "sales promotion account executive").
313
+ job("Glenda Culver", "banker").
314
+ job("Hayden Stansberry", "systems developer").
315
+ job("Howard Wiggs", "chief financial officer").
316
+ job("Hyun Hagerty", "regulatory affairs officer").
317
+ job("Iva Stansberry", "architect").
318
+ job("Jordan Culver", "health and safety inspector").
319
+ job("Jules Culver", "medical secretary").
320
+ job("Justine Hagerty", "careers adviser").
321
+ job("Kelvin Culver", "civil service administrator").
322
+ job("Kori Wiggs", "optometrist").
323
+ job("Laverna Stansberry", "print production planner").
324
+ job("Lester Stansberry", "arboriculturist").
325
+ job("Lincoln Velasco", "adult nurse").
326
+ job("Lionel Culver", "commercial horticulturist").
327
+ job("Loren Culver", "conference centre manager").
328
+ job("Markus Hagerty", "journalist").
329
+ job("Maurine Velasco", "wellsite geologist").
330
+ job("Mickey Philpott", "community education officer").
331
+ job("Millard Stansberry", "investment analyst").
332
+ job("Nikki Stansberry", "trading standards officer").
333
+ job("Oren Stansberry", "colour technologist").
334
+ job("Quintin Hagerty", "immigration officer").
335
+ job("Renate Stansberry", "human resources officer").
336
+ job("Sona Stansberry", "agricultural consultant").
337
+ job("Tad Macmillan", "fashion designer").
338
+ job("Tamara Macmillan", "actuary").
339
+ job("Terence Culver", "industrial designer").
340
+ job("Tonya Culver", "maintenance engineer").
341
+ job("Victor Stansberry", "data scientist").
342
+ job("Wilmer Hagerty", "health physicist").
343
+ job("Yolanda Philpott", "hospital doctor").
344
+ job("Adelaida Ricketts", "radiographer").
345
+ job("Benny Abrams", "midwife").
346
+ job("Bobby Ricketts", "music therapist").
347
+ job("Bridget Solorio", "medical secretary").
348
+ job("Brooks Ricketts", "hospital pharmacist").
349
+ job("Cicely Abrams", "chemist").
350
+ job("Cordelia Zepeda", "editor").
351
+ job("Cory Ricketts", "technical brewer").
352
+ job("Dee Ricketts", "hospital pharmacist").
353
+ job("Deidra Ricketts", "learning disability nurse").
354
+ job("Dennis Ricketts", "financial manager").
355
+ job("Edmund Abrams", "chief executive officer").
356
+ job("Erin Ricketts", "programme researcher").
357
+ job("Flora Ricketts", "printmaker").
358
+ job("Hoa Leija", "sports coach").
359
+ job("Jennifer Ricketts", "trading standards officer").
360
+ job("Kory Ricketts", "physiological scientist").
361
+ job("Kristie Abrams", "immunologist").
362
+ job("Kristopher Ricketts", "advice worker").
363
+ job("Lauren Brumbaugh", "ambulance person").
364
+ job("Lora Ricketts", "tourism officer").
365
+ job("Lyman Leija", "solicitor").
366
+ job("Madelyn Ricketts", "insurance account manager").
367
+ job("Maranda Ricketts", "police officer").
368
+ job("Marlene Isaacs", "quantity surveyor").
369
+ job("Melina Deming", "building services engineer").
370
+ job("Micheal Leija", "futures trader").
371
+ job("Milton Brumbaugh", "prison officer").
372
+ job("Mona Leija", "web designer").
373
+ job("Nick Solorio", "therapeutic radiographer").
374
+ job("Orval Ricketts", "planning and development surveyor").
375
+ job("Paula Ricketts", "neurosurgeon").
376
+ job("Randi Leija", "sports administrator").
377
+ job("Raymond Leija", "quarry manager").
378
+ job("Reed Abrams", "homeopath").
379
+ job("Reggie Brumbaugh", "psychiatrist").
380
+ job("Renea Ricketts", "wellsite geologist").
381
+ job("Rhonda Ricketts", "historic buildings inspector").
382
+ job("Rocky Ricketts", "rural practice surveyor").
383
+ job("Rolanda Isaacs", "meteorologist").
384
+ job("Rosalee Brumbaugh", "farm manager").
385
+ job("Samuel Ricketts", "minerals surveyor").
386
+ job("Shane Leija", "textile designer").
387
+ job("Spencer Ricketts", "teaching laboratory technician").
388
+ job("Terrell Isaacs", "meteorologist").
389
+ job("Tiffanie Leija", "insurance broker").
390
+ job("Tommy Zepeda", "early years teacher").
391
+ job("Toney Ricketts", "curator").
392
+ job("Ulysses Deming", "furniture designer").
393
+ job("Winnifred Ricketts", "risk analyst").
394
+ job("Adella Schwarz", "museum exhibitions officer").
395
+ job("Alberto Schwarz", "pilot").
396
+ job("Antony Kinder", "human resources officer").
397
+ job("Aura Schwarz", "public relations officer").
398
+ job("Bernice Kinder", "solicitor").
399
+ job("Carmelita Schwarz", "broadcast engineer").
400
+ job("Carter Bolen", "chiropractor").
401
+ job("Clark Kinder", "statistician").
402
+ job("Dawne Grover", "musician").
403
+ job("Delbert Menchaca", "economist").
404
+ job("Dillon Schwarz", "company secretary").
405
+ job("Dylan Schwarz", "editorial assistant").
406
+ job("Elbert Canada", "transport planner").
407
+ job("Elyse Canada", "customer service manager").
408
+ job("Emilie Schwarz", "camera operator").
409
+ job("Eugene Schwarz", "psychotherapist").
410
+ job("Eugenio Schwarz", "scientific laboratory technician").
411
+ job("Federico Schwarz", "travel agency manager").
412
+ job("Francis Grover", "geologist").
413
+ job("Gustavo Grover", "soil scientist").
414
+ job("Hank Schwarz", "optometrist").
415
+ job("Herbert Bolen", "banker").
416
+ job("Hope Schwarz", "media buyer").
417
+ job("Irish Schwarz", "careers adviser").
418
+ job("Jeanette Byrd", "garment technologist").
419
+ job("Jeremiah Schwarz", "advertising art director").
420
+ job("Joanna Schwarz", "market researcher").
421
+ job("Judith Schwarz", "IT consultant").
422
+ job("Kent Schwarz", "probation officer").
423
+ job("Kimberely Menchaca", "marketing executive").
424
+ job("Lorina Kinder", "investment banker").
425
+ job("Magdalena Schwarz", "product development scientist").
426
+ job("Nada Schwarz", "museum curator").
427
+ job("Odette Schwarz", "sales professional").
428
+ job("Omar Schwarz", "charity officer").
429
+ job("Pamula Schwarz", "charity fundraiser").
430
+ job("Paula Bass", "insurance account manager").
431
+ job("Phylis Bolen", "chartered certified accountant").
432
+ job("Randi Bass", "environmental education officer").
433
+ job("Randi Schwarz", "chemist").
434
+ job("Randolph Schwarz", "research officer").
435
+ job("Riley Grover", "dispensing optician").
436
+ job("Rodolfo Byrd", "operations geologist").
437
+ job("Ross Bolen", "chartered loss adjuster").
438
+ job("Shawnta Schwarz", "bookseller").
439
+ job("Sona Kinder", "arts administrator").
440
+ job("Sueann Bolen", "mining engineer").
441
+ job("Tania Schwarz", "museum exhibitions officer").
442
+ job("Tomas Bass", "forensic scientist").
443
+ job("Zelda Schwarz", "chief technology officer").
444
+
445
+ great_uncle(X, Y) :-
446
+ grandparent(X, A),
447
+ brother(A, Y).
448
+
449
+ :- dynamic save_all_clauses_to_file/1.
450
+
451
+ save_all_clauses_to_file(A) :-
452
+ open(A, write, B),
453
+ set_output(B),
454
+ listing,
455
+ close(B).
456
+
457
+ :- dynamic term_expansion/4.
458
+ :- multifile term_expansion/4.
459
+
460
+
461
+ grandchild(X, Y) :-
462
+ grandparent(Y, X).
463
+
464
+ :- dynamic dob/2.
465
+
466
+ dob("Aida Wang", "0985-05-30").
467
+ dob("Alec Sinclair", "1006-07-10").
468
+ dob("Alfredo Wang", "1012-02-04").
469
+ dob("Alison Smock", "0929-10-28").
470
+ dob("Alvaro Smock", "0867-07-12").
471
+ dob("Alycia Coe", "0959-01-13").
472
+ dob("Barabara Beltran", "0989-06-11").
473
+ dob("Brian Beltran", "0927-07-27").
474
+ dob("Carrol Woodson", "1033-07-02").
475
+ dob("Christina Coe", "0983-02-26").
476
+ dob("Christoper Coe", "0957-01-08").
477
+ dob("Cortney Parmer", "1014-07-04").
478
+ dob("Cythia Smock", "0956-05-12").
479
+ dob("Daisy Beltran", "0931-09-21").
480
+ dob("Dino Beltran", "0958-08-09").
481
+ dob("Dominique Smock", "0897-09-08").
482
+ dob("Dwight Hackworth", "1016-12-30").
483
+ dob("Earle Coe", "0984-05-03").
484
+ dob("Eli Smock", "0901-01-18").
485
+ dob("Gayla Woodson", "1035-10-24").
486
+ dob("Gene Smock", "0898-08-16").
487
+ dob("Isiah Lutz", "1014-10-18").
488
+ dob("Jamison Baptiste", "0929-02-07").
489
+ dob("Kristen Toombs", "0986-06-27").
490
+ dob("Lannie Smock", "0867-08-24").
491
+ dob("Leeann Sinclair", "1011-10-25").
492
+ dob("Leisa Lutz", "1015-11-21").
493
+ dob("Lesley Lutz", "1040-01-31").
494
+ dob("Lissa Coe", "1010-08-08").
495
+ dob("Lonny Parmer", "1042-08-03").
496
+ dob("Maria Baptiste", "0929-10-22").
497
+ dob("Michelle Hackworth", "1007-05-01").
498
+ dob("Noelia Lutz", "1042-01-27").
499
+ dob("Orlando Beltran", "0953-10-23").
500
+ dob("Reggie Coe", "1009-07-17").
501
+ dob("Ricardo Hackworth", "0983-02-24").
502
+ dob("Ryan Wang", "0982-03-17").
503
+ dob("Shannon Beltran", "0981-04-26").
504
+ dob("Shelli Beltran", "0958-03-08").
505
+ dob("Stacia Toombs", "0959-03-22").
506
+ dob("Tanner Beltran", "0956-11-17").
507
+ dob("Tosha Beltran", "0955-03-27").
508
+ dob("Tyson Woodson", "1068-10-22").
509
+ dob("Ulysses Parmer", "1015-03-18").
510
+ dob("Vicki Hackworth", "0985-05-30").
511
+ dob("Vincent Lutz", "1063-07-01").
512
+ dob("Virgil Hackworth", "1009-06-23").
513
+ dob("Von Sinclair", "1039-02-26").
514
+ dob("Wilbert Toombs", "0956-07-26").
515
+ dob("Williams Smock", "0926-04-04").
516
+ dob("Wm Parmer", "1040-07-04").
517
+ dob("Angela Culver", "0898-11-29").
518
+ dob("Anibal Stansberry", "0973-09-08").
519
+ dob("Barbara Philpott", "0915-10-13").
520
+ dob("Bev Gilmore", "0951-06-19").
521
+ dob("Brigette Gilmore", "0923-05-12").
522
+ dob("Celia Macmillan", "1026-12-07").
523
+ dob("Conrad Stansberry", "1003-10-24").
524
+ dob("Cordelia Wiggs", "0976-12-23").
525
+ dob("David Wiggs", "0979-09-27").
526
+ dob("Debra Stansberry", "1008-03-18").
527
+ dob("Desiree Stansberry", "1002-10-18").
528
+ dob("Diane Culver", "0869-11-24").
529
+ dob("Dionne Stansberry", "1037-04-26").
530
+ dob("Eliza Wiggs", "1040-01-19").
531
+ dob("Emanuel Stansberry", "1034-05-31").
532
+ dob("Frankie Hagerty", "0946-05-01").
533
+ dob("Gail Culver", "0887-02-26").
534
+ dob("Garry Gilmore", "0920-10-17").
535
+ dob("Gillian Wiggs", "1010-02-07").
536
+ dob("Glenda Culver", "0859-05-23").
537
+ dob("Hayden Stansberry", "1005-03-30").
538
+ dob("Howard Wiggs", "1010-06-15").
539
+ dob("Hyun Hagerty", "0946-07-18").
540
+ dob("Iva Stansberry", "0947-12-16").
541
+ dob("Jordan Culver", "0863-05-18").
542
+ dob("Jules Culver", "0865-04-01").
543
+ dob("Justine Hagerty", "0922-04-26").
544
+ dob("Kelvin Culver", "0893-08-01").
545
+ dob("Kori Wiggs", "1043-07-28").
546
+ dob("Laverna Stansberry", "1009-10-20").
547
+ dob("Lester Stansberry", "1030-10-24").
548
+ dob("Lincoln Velasco", "0861-10-10").
549
+ dob("Lionel Culver", "0888-06-17").
550
+ dob("Loren Culver", "0837-04-13").
551
+ dob("Markus Hagerty", "0922-01-07").
552
+ dob("Maurine Velasco", "0861-04-11").
553
+ dob("Mickey Philpott", "0916-05-13").
554
+ dob("Millard Stansberry", "1002-04-17").
555
+ dob("Nikki Stansberry", "1030-04-05").
556
+ dob("Oren Stansberry", "0948-09-28").
557
+ dob("Quintin Hagerty", "0981-01-08").
558
+ dob("Renate Stansberry", "0977-11-30").
559
+ dob("Sona Stansberry", "1005-11-15").
560
+ dob("Tad Macmillan", "1024-03-25").
561
+ dob("Tamara Macmillan", "1055-08-19").
562
+ dob("Terence Culver", "0889-08-09").
563
+ dob("Tonya Culver", "0837-02-09").
564
+ dob("Victor Stansberry", "0980-11-17").
565
+ dob("Wilmer Hagerty", "0948-05-29").
566
+ dob("Yolanda Philpott", "0940-02-02").
567
+ dob("Adelaida Ricketts", "0922-12-18").
568
+ dob("Benny Abrams", "0896-12-12").
569
+ dob("Bobby Ricketts", "0947-04-09").
570
+ dob("Bridget Solorio", "0986-07-21").
571
+ dob("Brooks Ricketts", "0898-02-26").
572
+ dob("Cicely Abrams", "0870-01-06").
573
+ dob("Cordelia Zepeda", "0916-07-26").
574
+ dob("Cory Ricketts", "0878-04-27").
575
+ dob("Dee Ricketts", "0972-08-01").
576
+ dob("Deidra Ricketts", "0946-02-25").
577
+ dob("Dennis Ricketts", "0923-07-06").
578
+ dob("Edmund Abrams", "0845-10-24").
579
+ dob("Erin Ricketts", "0900-05-21").
580
+ dob("Flora Ricketts", "0879-05-07").
581
+ dob("Hoa Leija", "0902-04-25").
582
+ dob("Jennifer Ricketts", "0975-05-24").
583
+ dob("Kory Ricketts", "0950-01-14").
584
+ dob("Kristie Abrams", "0843-03-20").
585
+ dob("Kristopher Ricketts", "0850-09-22").
586
+ dob("Lauren Brumbaugh", "1041-06-15").
587
+ dob("Lora Ricketts", "0952-09-06").
588
+ dob("Lyman Leija", "0901-03-05").
589
+ dob("Madelyn Ricketts", "0850-06-15").
590
+ dob("Maranda Ricketts", "0988-06-04").
591
+ dob("Marlene Isaacs", "0954-08-24").
592
+ dob("Melina Deming", "0929-07-13").
593
+ dob("Micheal Leija", "0922-10-24").
594
+ dob("Milton Brumbaugh", "1045-08-29").
595
+ dob("Mona Leija", "0928-05-15").
596
+ dob("Nick Solorio", "0984-11-19").
597
+ dob("Orval Ricketts", "0906-08-02").
598
+ dob("Paula Ricketts", "0925-09-21").
599
+ dob("Randi Leija", "0900-05-14").
600
+ dob("Raymond Leija", "0926-06-19").
601
+ dob("Reed Abrams", "0870-11-15").
602
+ dob("Reggie Brumbaugh", "1014-09-14").
603
+ dob("Renea Ricketts", "0904-01-13").
604
+ dob("Rhonda Ricketts", "0958-11-25").
605
+ dob("Rocky Ricketts", "0923-06-06").
606
+ dob("Rolanda Isaacs", "0927-12-01").
607
+ dob("Rosalee Brumbaugh", "1016-02-10").
608
+ dob("Samuel Ricketts", "0952-08-04").
609
+ dob("Shane Leija", "0873-05-27").
610
+ dob("Spencer Ricketts", "0959-10-28").
611
+ dob("Terrell Isaacs", "0926-10-24").
612
+ dob("Tiffanie Leija", "0875-11-15").
613
+ dob("Tommy Zepeda", "0915-11-25").
614
+ dob("Toney Ricketts", "0949-05-16").
615
+ dob("Ulysses Deming", "0930-07-19").
616
+ dob("Winnifred Ricketts", "0954-04-23").
617
+ dob("Adella Schwarz", "1034-01-20").
618
+ dob("Alberto Schwarz", "1010-07-13").
619
+ dob("Antony Kinder", "1032-03-16").
620
+ dob("Aura Schwarz", "0953-08-08").
621
+ dob("Bernice Kinder", "1003-04-28").
622
+ dob("Carmelita Schwarz", "0984-01-08").
623
+ dob("Carter Bolen", "1014-01-31").
624
+ dob("Clark Kinder", "1000-02-09").
625
+ dob("Dawne Grover", "1031-02-26").
626
+ dob("Delbert Menchaca", "0953-05-15").
627
+ dob("Dillon Schwarz", "0979-09-16").
628
+ dob("Dylan Schwarz", "0899-09-16").
629
+ dob("Elbert Canada", "0893-11-15").
630
+ dob("Elyse Canada", "0889-07-11").
631
+ dob("Emilie Schwarz", "1008-11-19").
632
+ dob("Eugene Schwarz", "1004-10-08").
633
+ dob("Eugenio Schwarz", "0954-12-07").
634
+ dob("Federico Schwarz", "1032-10-11").
635
+ dob("Francis Grover", "1056-09-26").
636
+ dob("Gustavo Grover", "1026-05-24").
637
+ dob("Hank Schwarz", "1035-06-29").
638
+ dob("Herbert Bolen", "1007-04-10").
639
+ dob("Hope Schwarz", "1036-04-11").
640
+ dob("Irish Schwarz", "1007-10-06").
641
+ dob("Jeanette Byrd", "0976-08-12").
642
+ dob("Jeremiah Schwarz", "1007-09-13").
643
+ dob("Joanna Schwarz", "1060-04-19").
644
+ dob("Judith Schwarz", "0974-06-18").
645
+ dob("Kent Schwarz", "0978-10-20").
646
+ dob("Kimberely Menchaca", "0954-09-19").
647
+ dob("Lorina Kinder", "1062-06-10").
648
+ dob("Magdalena Schwarz", "1002-06-23").
649
+ dob("Nada Schwarz", "1009-06-26").
650
+ dob("Odette Schwarz", "0954-03-05").
651
+ dob("Omar Schwarz", "0926-12-20").
652
+ dob("Pamula Schwarz", "0979-02-20").
653
+ dob("Paula Bass", "1076-04-16").
654
+ dob("Phylis Bolen", "1014-07-25").
655
+ dob("Randi Bass", "1044-03-08").
656
+ dob("Randi Schwarz", "0999-10-04").
657
+ dob("Randolph Schwarz", "1038-10-02").
658
+ dob("Riley Grover", "1063-02-01").
659
+ dob("Rodolfo Byrd", "0977-05-16").
660
+ dob("Ross Bolen", "0983-07-06").
661
+ dob("Shawnta Schwarz", "0897-10-28").
662
+ dob("Sona Kinder", "1030-01-10").
663
+ dob("Sueann Bolen", "0982-10-22").
664
+ dob("Tania Schwarz", "0923-08-11").
665
+ dob("Tomas Bass", "1046-08-17").
666
+ dob("Zelda Schwarz", "0982-10-22").
667
+
668
+ :- dynamic file_search_path/2.
669
+ :- multifile file_search_path/2.
670
+
671
+ file_search_path(library, Dir) :-
672
+ library_directory(Dir).
673
+ file_search_path(swi, A) :-
674
+ system:current_prolog_flag(home, A).
675
+ file_search_path(swi, A) :-
676
+ system:current_prolog_flag(shared_home, A).
677
+ file_search_path(library, app_config(lib)).
678
+ file_search_path(library, swi(library)).
679
+ file_search_path(library, swi(library/clp)).
680
+ file_search_path(library, A) :-
681
+ system:'$ext_library_directory'(A).
682
+ file_search_path(foreign, swi(A)) :-
683
+ system:
684
+ ( current_prolog_flag(apple_universal_binary, true),
685
+ A='lib/fat-darwin'
686
+ ).
687
+ file_search_path(path, A) :-
688
+ system:
689
+ ( getenv('PATH', B),
690
+ current_prolog_flag(path_sep, C),
691
+ atomic_list_concat(D, C, B),
692
+ '$member'(A, D)
693
+ ).
694
+ file_search_path(user_app_data, A) :-
695
+ system:'$xdg_prolog_directory'(data, A).
696
+ file_search_path(common_app_data, A) :-
697
+ system:'$xdg_prolog_directory'(common_data, A).
698
+ file_search_path(user_app_config, A) :-
699
+ system:'$xdg_prolog_directory'(config, A).
700
+ file_search_path(common_app_config, A) :-
701
+ system:'$xdg_prolog_directory'(common_config, A).
702
+ file_search_path(app_data, user_app_data('.')).
703
+ file_search_path(app_data, common_app_data('.')).
704
+ file_search_path(app_config, user_app_config('.')).
705
+ file_search_path(app_config, common_app_config('.')).
706
+ file_search_path(app_preferences, user_app_config('.')).
707
+ file_search_path(user_profile, app_preferences('.')).
708
+ file_search_path(app, swi(app)).
709
+ file_search_path(app, app_data(app)).
710
+ file_search_path(autoload, swi(library)).
711
+ file_search_path(autoload, pce(prolog/lib)).
712
+ file_search_path(autoload, app_config(lib)).
713
+ file_search_path(autoload, Dir) :-
714
+ '$autoload':'$ext_library_directory'(Dir).
715
+ file_search_path(pack, app_data(pack)).
716
+ file_search_path(library, PackLib) :-
717
+ '$pack':pack_dir(_Name, prolog, PackLib).
718
+ file_search_path(foreign, PackLib) :-
719
+ '$pack':pack_dir(_Name, foreign, PackLib).
720
+ file_search_path(app, AppDir) :-
721
+ '$pack':pack_dir(_Name, app, AppDir).
722
+
723
+ :- multifile prolog_list_goal/1.
724
+
725
+
726
+ :- dynamic type/2.
727
+
728
+ type("Aida Wang", person).
729
+ type("Alec Sinclair", person).
730
+ type("Alfredo Wang", person).
731
+ type("Alison Smock", person).
732
+ type("Alvaro Smock", person).
733
+ type("Alycia Coe", person).
734
+ type("Barabara Beltran", person).
735
+ type("Brian Beltran", person).
736
+ type("Carrol Woodson", person).
737
+ type("Christina Coe", person).
738
+ type("Christoper Coe", person).
739
+ type("Cortney Parmer", person).
740
+ type("Cythia Smock", person).
741
+ type("Daisy Beltran", person).
742
+ type("Dino Beltran", person).
743
+ type("Dominique Smock", person).
744
+ type("Dwight Hackworth", person).
745
+ type("Earle Coe", person).
746
+ type("Eli Smock", person).
747
+ type("Gayla Woodson", person).
748
+ type("Gene Smock", person).
749
+ type("Isiah Lutz", person).
750
+ type("Jamison Baptiste", person).
751
+ type("Kristen Toombs", person).
752
+ type("Lannie Smock", person).
753
+ type("Leeann Sinclair", person).
754
+ type("Leisa Lutz", person).
755
+ type("Lesley Lutz", person).
756
+ type("Lissa Coe", person).
757
+ type("Lonny Parmer", person).
758
+ type("Maria Baptiste", person).
759
+ type("Michelle Hackworth", person).
760
+ type("Noelia Lutz", person).
761
+ type("Orlando Beltran", person).
762
+ type("Reggie Coe", person).
763
+ type("Ricardo Hackworth", person).
764
+ type("Ryan Wang", person).
765
+ type("Shannon Beltran", person).
766
+ type("Shelli Beltran", person).
767
+ type("Stacia Toombs", person).
768
+ type("Tanner Beltran", person).
769
+ type("Tosha Beltran", person).
770
+ type("Tyson Woodson", person).
771
+ type("Ulysses Parmer", person).
772
+ type("Vicki Hackworth", person).
773
+ type("Vincent Lutz", person).
774
+ type("Virgil Hackworth", person).
775
+ type("Von Sinclair", person).
776
+ type("Wilbert Toombs", person).
777
+ type("Williams Smock", person).
778
+ type("Wm Parmer", person).
779
+ type("Angela Culver", person).
780
+ type("Anibal Stansberry", person).
781
+ type("Barbara Philpott", person).
782
+ type("Bev Gilmore", person).
783
+ type("Brigette Gilmore", person).
784
+ type("Celia Macmillan", person).
785
+ type("Conrad Stansberry", person).
786
+ type("Cordelia Wiggs", person).
787
+ type("David Wiggs", person).
788
+ type("Debra Stansberry", person).
789
+ type("Desiree Stansberry", person).
790
+ type("Diane Culver", person).
791
+ type("Dionne Stansberry", person).
792
+ type("Eliza Wiggs", person).
793
+ type("Emanuel Stansberry", person).
794
+ type("Frankie Hagerty", person).
795
+ type("Gail Culver", person).
796
+ type("Garry Gilmore", person).
797
+ type("Gillian Wiggs", person).
798
+ type("Glenda Culver", person).
799
+ type("Hayden Stansberry", person).
800
+ type("Howard Wiggs", person).
801
+ type("Hyun Hagerty", person).
802
+ type("Iva Stansberry", person).
803
+ type("Jordan Culver", person).
804
+ type("Jules Culver", person).
805
+ type("Justine Hagerty", person).
806
+ type("Kelvin Culver", person).
807
+ type("Kori Wiggs", person).
808
+ type("Laverna Stansberry", person).
809
+ type("Lester Stansberry", person).
810
+ type("Lincoln Velasco", person).
811
+ type("Lionel Culver", person).
812
+ type("Loren Culver", person).
813
+ type("Markus Hagerty", person).
814
+ type("Maurine Velasco", person).
815
+ type("Mickey Philpott", person).
816
+ type("Millard Stansberry", person).
817
+ type("Nikki Stansberry", person).
818
+ type("Oren Stansberry", person).
819
+ type("Quintin Hagerty", person).
820
+ type("Renate Stansberry", person).
821
+ type("Sona Stansberry", person).
822
+ type("Tad Macmillan", person).
823
+ type("Tamara Macmillan", person).
824
+ type("Terence Culver", person).
825
+ type("Tonya Culver", person).
826
+ type("Victor Stansberry", person).
827
+ type("Wilmer Hagerty", person).
828
+ type("Yolanda Philpott", person).
829
+ type("Adelaida Ricketts", person).
830
+ type("Benny Abrams", person).
831
+ type("Bobby Ricketts", person).
832
+ type("Bridget Solorio", person).
833
+ type("Brooks Ricketts", person).
834
+ type("Cicely Abrams", person).
835
+ type("Cordelia Zepeda", person).
836
+ type("Cory Ricketts", person).
837
+ type("Dee Ricketts", person).
838
+ type("Deidra Ricketts", person).
839
+ type("Dennis Ricketts", person).
840
+ type("Edmund Abrams", person).
841
+ type("Erin Ricketts", person).
842
+ type("Flora Ricketts", person).
843
+ type("Hoa Leija", person).
844
+ type("Jennifer Ricketts", person).
845
+ type("Kory Ricketts", person).
846
+ type("Kristie Abrams", person).
847
+ type("Kristopher Ricketts", person).
848
+ type("Lauren Brumbaugh", person).
849
+ type("Lora Ricketts", person).
850
+ type("Lyman Leija", person).
851
+ type("Madelyn Ricketts", person).
852
+ type("Maranda Ricketts", person).
853
+ type("Marlene Isaacs", person).
854
+ type("Melina Deming", person).
855
+ type("Micheal Leija", person).
856
+ type("Milton Brumbaugh", person).
857
+ type("Mona Leija", person).
858
+ type("Nick Solorio", person).
859
+ type("Orval Ricketts", person).
860
+ type("Paula Ricketts", person).
861
+ type("Randi Leija", person).
862
+ type("Raymond Leija", person).
863
+ type("Reed Abrams", person).
864
+ type("Reggie Brumbaugh", person).
865
+ type("Renea Ricketts", person).
866
+ type("Rhonda Ricketts", person).
867
+ type("Rocky Ricketts", person).
868
+ type("Rolanda Isaacs", person).
869
+ type("Rosalee Brumbaugh", person).
870
+ type("Samuel Ricketts", person).
871
+ type("Shane Leija", person).
872
+ type("Spencer Ricketts", person).
873
+ type("Terrell Isaacs", person).
874
+ type("Tiffanie Leija", person).
875
+ type("Tommy Zepeda", person).
876
+ type("Toney Ricketts", person).
877
+ type("Ulysses Deming", person).
878
+ type("Winnifred Ricketts", person).
879
+ type("Adella Schwarz", person).
880
+ type("Alberto Schwarz", person).
881
+ type("Antony Kinder", person).
882
+ type("Aura Schwarz", person).
883
+ type("Bernice Kinder", person).
884
+ type("Carmelita Schwarz", person).
885
+ type("Carter Bolen", person).
886
+ type("Clark Kinder", person).
887
+ type("Dawne Grover", person).
888
+ type("Delbert Menchaca", person).
889
+ type("Dillon Schwarz", person).
890
+ type("Dylan Schwarz", person).
891
+ type("Elbert Canada", person).
892
+ type("Elyse Canada", person).
893
+ type("Emilie Schwarz", person).
894
+ type("Eugene Schwarz", person).
895
+ type("Eugenio Schwarz", person).
896
+ type("Federico Schwarz", person).
897
+ type("Francis Grover", person).
898
+ type("Gustavo Grover", person).
899
+ type("Hank Schwarz", person).
900
+ type("Herbert Bolen", person).
901
+ type("Hope Schwarz", person).
902
+ type("Irish Schwarz", person).
903
+ type("Jeanette Byrd", person).
904
+ type("Jeremiah Schwarz", person).
905
+ type("Joanna Schwarz", person).
906
+ type("Judith Schwarz", person).
907
+ type("Kent Schwarz", person).
908
+ type("Kimberely Menchaca", person).
909
+ type("Lorina Kinder", person).
910
+ type("Magdalena Schwarz", person).
911
+ type("Nada Schwarz", person).
912
+ type("Odette Schwarz", person).
913
+ type("Omar Schwarz", person).
914
+ type("Pamula Schwarz", person).
915
+ type("Paula Bass", person).
916
+ type("Phylis Bolen", person).
917
+ type("Randi Bass", person).
918
+ type("Randi Schwarz", person).
919
+ type("Randolph Schwarz", person).
920
+ type("Riley Grover", person).
921
+ type("Rodolfo Byrd", person).
922
+ type("Ross Bolen", person).
923
+ type("Shawnta Schwarz", person).
924
+ type("Sona Kinder", person).
925
+ type("Sueann Bolen", person).
926
+ type("Tania Schwarz", person).
927
+ type("Tomas Bass", person).
928
+ type("Zelda Schwarz", person).
929
+
930
+ grandfather(X, Y) :-
931
+ grandparent(X, Y),
932
+ male(Y).
933
+
934
+ :- dynamic expand_query/4.
935
+ :- multifile expand_query/4.
936
+
937
+
938
+ :- dynamic attribute/1.
939
+
940
+ attribute("personal assistant").
941
+ attribute("meditation").
942
+ attribute("health promotion specialist").
943
+ attribute("meteorology").
944
+ attribute("osteopath").
945
+ attribute("biology").
946
+ attribute("broadcast engineer").
947
+ attribute("meteorology").
948
+ attribute("oncologist").
949
+ attribute("dolls").
950
+ attribute("warehouse manager").
951
+ attribute("photography").
952
+ attribute("associate professor").
953
+ attribute("shogi").
954
+ attribute("sports therapist").
955
+ attribute("dominoes").
956
+ attribute("retail manager").
957
+ attribute("tether car").
958
+ attribute("immunologist").
959
+ attribute("architecture").
960
+ attribute("education administrator").
961
+ attribute("geocaching").
962
+ attribute("early years teacher").
963
+ attribute("trainspotting").
964
+ attribute("biomedical scientist").
965
+ attribute("bus spotting").
966
+ attribute("music tutor").
967
+ attribute("research").
968
+ attribute("clinical cytogeneticist").
969
+ attribute("geography").
970
+ attribute("ecologist").
971
+ attribute("microbiology").
972
+ attribute("barrister's clerk").
973
+ attribute("canoeing").
974
+ attribute("petroleum engineer").
975
+ attribute("learning").
976
+ attribute("clinical research associate").
977
+ attribute("dairy farming").
978
+ attribute("chief of staff").
979
+ attribute("fossil hunting").
980
+ attribute("occupational therapist").
981
+ attribute("sociology").
982
+ attribute("actuary").
983
+ attribute("finance").
984
+ attribute("police officer").
985
+ attribute("meditation").
986
+ attribute("sound technician").
987
+ attribute("wikipedia editing").
988
+ attribute("theatre manager").
989
+ attribute("radio-controlled car racing").
990
+ attribute("clinical biochemist").
991
+ attribute("social studies").
992
+ attribute("public relations officer").
993
+ attribute("judo").
994
+ attribute("music therapist").
995
+ attribute("flying disc").
996
+ attribute("librarian").
997
+ attribute("cricket").
998
+ attribute("building surveyor").
999
+ attribute("weightlifting").
1000
+ attribute("fitness centre manager").
1001
+ attribute("meditation").
1002
+ attribute("oceanographer").
1003
+ attribute("ballroom dancing").
1004
+ attribute("historic buildings inspector").
1005
+ attribute("microscopy").
1006
+ attribute("chief marketing officer").
1007
+ attribute("reading").
1008
+ attribute("waste management officer").
1009
+ attribute("laser tag").
1010
+ attribute("medical sales representative").
1011
+ attribute("hiking/backpacking").
1012
+ attribute("community pharmacist").
1013
+ attribute("audiophile").
1014
+ attribute("pension scheme manager").
1015
+ attribute("tennis polo").
1016
+ attribute("armed forces logistics officer").
1017
+ attribute("photography").
1018
+ attribute("environmental education officer").
1019
+ attribute("backgammon").
1020
+ attribute("medical illustrator").
1021
+ attribute("microscopy").
1022
+ attribute("museum conservator").
1023
+ attribute("herping").
1024
+ attribute("optometrist").
1025
+ attribute("philately").
1026
+ attribute("further education lecturer").
1027
+ attribute("birdwatching").
1028
+ attribute("dancer").
1029
+ attribute("shogi").
1030
+ attribute("water engineer").
1031
+ attribute("magnet fishing").
1032
+ attribute("intelligence analyst").
1033
+ attribute("table tennis").
1034
+ attribute("fashion designer").
1035
+ attribute("scuba diving").
1036
+ attribute("doctor").
1037
+ attribute("biology").
1038
+ attribute("chartered accountant").
1039
+ attribute("sea glass collecting").
1040
+ attribute("speech and language therapist").
1041
+ attribute("research").
1042
+ attribute("clinical embryologist").
1043
+ attribute("gongoozling").
1044
+ attribute("community development worker").
1045
+ attribute("benchmarking").
1046
+ attribute("games developer").
1047
+ attribute("sea glass collecting").
1048
+ attribute("accommodation manager").
1049
+ attribute("bowling").
1050
+ attribute("conservation officer").
1051
+ attribute("audiophile").
1052
+ attribute("forensic scientist").
1053
+ attribute("tea bag collecting").
1054
+ attribute("pharmacologist").
1055
+ attribute("model aircraft").
1056
+ attribute("dance movement psychotherapist").
1057
+ attribute("herping").
1058
+ attribute("paediatric nurse").
1059
+ attribute("figure skating").
1060
+ attribute("research officer").
1061
+ attribute("fossil hunting").
1062
+ attribute("production designer").
1063
+ attribute("airsoft").
1064
+ attribute("community development worker").
1065
+ attribute("whale watching").
1066
+ attribute("clinical molecular geneticist").
1067
+ attribute("pinball").
1068
+ attribute("set designer").
1069
+ attribute("research").
1070
+ attribute("town planner").
1071
+ attribute("flying model planes").
1072
+ attribute("print production planner").
1073
+ attribute("ant farming").
1074
+ attribute("equality and diversity officer").
1075
+ attribute("volleyball").
1076
+ attribute("chartered loss adjuster").
1077
+ attribute("gongoozling").
1078
+ attribute("sales promotion account executive").
1079
+ attribute("vehicle restoration").
1080
+ attribute("banker").
1081
+ attribute("car riding").
1082
+ attribute("systems developer").
1083
+ attribute("mycology").
1084
+ attribute("chief financial officer").
1085
+ attribute("table football").
1086
+ attribute("regulatory affairs officer").
1087
+ attribute("photography").
1088
+ attribute("architect").
1089
+ attribute("metal detecting").
1090
+ attribute("health and safety inspector").
1091
+ attribute("archery").
1092
+ attribute("medical secretary").
1093
+ attribute("reading").
1094
+ attribute("careers adviser").
1095
+ attribute("shortwave listening").
1096
+ attribute("civil service administrator").
1097
+ attribute("snowmobiling").
1098
+ attribute("optometrist").
1099
+ attribute("research").
1100
+ attribute("print production planner").
1101
+ attribute("religious studies").
1102
+ attribute("arboriculturist").
1103
+ attribute("cooking").
1104
+ attribute("adult nurse").
1105
+ attribute("kart racing").
1106
+ attribute("commercial horticulturist").
1107
+ attribute("darts").
1108
+ attribute("conference centre manager").
1109
+ attribute("herping").
1110
+ attribute("journalist").
1111
+ attribute("backgammon").
1112
+ attribute("wellsite geologist").
1113
+ attribute("herping").
1114
+ attribute("community education officer").
1115
+ attribute("ant farming").
1116
+ attribute("investment analyst").
1117
+ attribute("ephemera collecting").
1118
+ attribute("trading standards officer").
1119
+ attribute("bus spotting").
1120
+ attribute("colour technologist").
1121
+ attribute("research").
1122
+ attribute("immigration officer").
1123
+ attribute("croquet").
1124
+ attribute("human resources officer").
1125
+ attribute("leaves").
1126
+ attribute("agricultural consultant").
1127
+ attribute("antiquities").
1128
+ attribute("fashion designer").
1129
+ attribute("field hockey").
1130
+ attribute("actuary").
1131
+ attribute("leaves").
1132
+ attribute("industrial designer").
1133
+ attribute("auto audiophilia").
1134
+ attribute("maintenance engineer").
1135
+ attribute("magic").
1136
+ attribute("data scientist").
1137
+ attribute("people-watching").
1138
+ attribute("health physicist").
1139
+ attribute("social studies").
1140
+ attribute("hospital doctor").
1141
+ attribute("mineral collecting").
1142
+ attribute("radiographer").
1143
+ attribute("fusilately").
1144
+ attribute("midwife").
1145
+ attribute("surfing").
1146
+ attribute("music therapist").
1147
+ attribute("magic").
1148
+ attribute("medical secretary").
1149
+ attribute("story writing").
1150
+ attribute("hospital pharmacist").
1151
+ attribute("curling").
1152
+ attribute("chemist").
1153
+ attribute("museum visiting").
1154
+ attribute("editor").
1155
+ attribute("benchmarking").
1156
+ attribute("technical brewer").
1157
+ attribute("meteorology").
1158
+ attribute("hospital pharmacist").
1159
+ attribute("entrepreneurship").
1160
+ attribute("learning disability nurse").
1161
+ attribute("deltiology").
1162
+ attribute("financial manager").
1163
+ attribute("badminton").
1164
+ attribute("chief executive officer").
1165
+ attribute("flag football").
1166
+ attribute("programme researcher").
1167
+ attribute("shooting").
1168
+ attribute("printmaker").
1169
+ attribute("rock tumbling").
1170
+ attribute("sports coach").
1171
+ attribute("beekeeping").
1172
+ attribute("trading standards officer").
1173
+ attribute("ephemera collecting").
1174
+ attribute("physiological scientist").
1175
+ attribute("medical science").
1176
+ attribute("immunologist").
1177
+ attribute("microscopy").
1178
+ attribute("advice worker").
1179
+ attribute("leaves").
1180
+ attribute("ambulance person").
1181
+ attribute("philately").
1182
+ attribute("tourism officer").
1183
+ attribute("research").
1184
+ attribute("solicitor").
1185
+ attribute("horseshoes").
1186
+ attribute("insurance account manager").
1187
+ attribute("insect collecting").
1188
+ attribute("police officer").
1189
+ attribute("fencing").
1190
+ attribute("quantity surveyor").
1191
+ attribute("insect collecting").
1192
+ attribute("building services engineer").
1193
+ attribute("book collecting").
1194
+ attribute("futures trader").
1195
+ attribute("business").
1196
+ attribute("prison officer").
1197
+ attribute("fishkeeping").
1198
+ attribute("web designer").
1199
+ attribute("dolls").
1200
+ attribute("therapeutic radiographer").
1201
+ attribute("fitness").
1202
+ attribute("planning and development surveyor").
1203
+ attribute("paintball").
1204
+ attribute("neurosurgeon").
1205
+ attribute("vintage clothing").
1206
+ attribute("sports administrator").
1207
+ attribute("shuffleboard").
1208
+ attribute("quarry manager").
1209
+ attribute("sports memorabilia").
1210
+ attribute("homeopath").
1211
+ attribute("kart racing").
1212
+ attribute("psychiatrist").
1213
+ attribute("trapshooting").
1214
+ attribute("wellsite geologist").
1215
+ attribute("table tennis").
1216
+ attribute("historic buildings inspector").
1217
+ attribute("rock climbing").
1218
+ attribute("rural practice surveyor").
1219
+ attribute("gymnastics").
1220
+ attribute("meteorologist").
1221
+ attribute("auto audiophilia").
1222
+ attribute("farm manager").
1223
+ attribute("myrmecology").
1224
+ attribute("minerals surveyor").
1225
+ attribute("flower collecting and pressing").
1226
+ attribute("textile designer").
1227
+ attribute("baton twirling").
1228
+ attribute("teaching laboratory technician").
1229
+ attribute("metal detecting").
1230
+ attribute("meteorologist").
1231
+ attribute("radio-controlled model playing").
1232
+ attribute("insurance broker").
1233
+ attribute("fossicking").
1234
+ attribute("early years teacher").
1235
+ attribute("shopping").
1236
+ attribute("curator").
1237
+ attribute("satellite watching").
1238
+ attribute("furniture designer").
1239
+ attribute("carrier pigeons").
1240
+ attribute("risk analyst").
1241
+ attribute("publishing").
1242
+ attribute("museum exhibitions officer").
1243
+ attribute("learning").
1244
+ attribute("pilot").
1245
+ attribute("fishing").
1246
+ attribute("human resources officer").
1247
+ attribute("mini golf").
1248
+ attribute("public relations officer").
1249
+ attribute("beekeeping").
1250
+ attribute("solicitor").
1251
+ attribute("sailing").
1252
+ attribute("broadcast engineer").
1253
+ attribute("cycling").
1254
+ attribute("chiropractor").
1255
+ attribute("hobby horsing").
1256
+ attribute("statistician").
1257
+ attribute("dog walking").
1258
+ attribute("musician").
1259
+ attribute("life science").
1260
+ attribute("economist").
1261
+ attribute("leaves").
1262
+ attribute("company secretary").
1263
+ attribute("volleyball").
1264
+ attribute("editorial assistant").
1265
+ attribute("railway studies").
1266
+ attribute("transport planner").
1267
+ attribute("butterfly watching").
1268
+ attribute("customer service manager").
1269
+ attribute("magnet fishing").
1270
+ attribute("camera operator").
1271
+ attribute("insect collecting").
1272
+ attribute("psychotherapist").
1273
+ attribute("films").
1274
+ attribute("scientific laboratory technician").
1275
+ attribute("race walking").
1276
+ attribute("travel agency manager").
1277
+ attribute("dairy farming").
1278
+ attribute("geologist").
1279
+ attribute("wikipedia editing").
1280
+ attribute("soil scientist").
1281
+ attribute("kart racing").
1282
+ attribute("optometrist").
1283
+ attribute("people-watching").
1284
+ attribute("banker").
1285
+ attribute("whale watching").
1286
+ attribute("media buyer").
1287
+ attribute("shooting sports").
1288
+ attribute("careers adviser").
1289
+ attribute("debate").
1290
+ attribute("garment technologist").
1291
+ attribute("table tennis").
1292
+ attribute("advertising art director").
1293
+ attribute("archaeology").
1294
+ attribute("market researcher").
1295
+ attribute("lotology").
1296
+ attribute("IT consultant").
1297
+ attribute("stone collecting").
1298
+ attribute("probation officer").
1299
+ attribute("birdwatching").
1300
+ attribute("marketing executive").
1301
+ attribute("rock balancing").
1302
+ attribute("investment banker").
1303
+ attribute("karting").
1304
+ attribute("product development scientist").
1305
+ attribute("disc golf").
1306
+ attribute("museum curator").
1307
+ attribute("shortwave listening").
1308
+ attribute("sales professional").
1309
+ attribute("audiophile").
1310
+ attribute("charity officer").
1311
+ attribute("bus spotting").
1312
+ attribute("charity fundraiser").
1313
+ attribute("shortwave listening").
1314
+ attribute("insurance account manager").
1315
+ attribute("fishkeeping").
1316
+ attribute("chartered certified accountant").
1317
+ attribute("tea bag collecting").
1318
+ attribute("environmental education officer").
1319
+ attribute("phillumeny").
1320
+ attribute("chemist").
1321
+ attribute("stamp collecting").
1322
+ attribute("research officer").
1323
+ attribute("volleyball").
1324
+ attribute("dispensing optician").
1325
+ attribute("learning").
1326
+ attribute("operations geologist").
1327
+ attribute("shooting").
1328
+ attribute("chartered loss adjuster").
1329
+ attribute("audiophile").
1330
+ attribute("bookseller").
1331
+ attribute("knife collecting").
1332
+ attribute("arts administrator").
1333
+ attribute("learning").
1334
+ attribute("mining engineer").
1335
+ attribute("letterboxing").
1336
+ attribute("museum exhibitions officer").
1337
+ attribute("beekeeping").
1338
+ attribute("forensic scientist").
1339
+ attribute("bridge").
1340
+ attribute("chief technology officer").
1341
+ attribute("perfume").
1342
+
1343
+ great_aunt(X, Y) :-
1344
+ grandparent(X, A),
1345
+ sister(A, Y).
1346
+
1347
+ grandparent(X, Y) :-
1348
+ parent(X, Z),
1349
+ parent(Z, Y).
1350
+
1351
+ grandmother(X, Y) :-
1352
+ grandparent(X, Y),
1353
+ female(Y).
1354
+
1355
+ :- dynamic friend_/2.
1356
+
1357
+ friend_("Aida Wang", "Jamison Baptiste").
1358
+ friend_("Aida Wang", "Ulysses Parmer").
1359
+ friend_("Aida Wang", "Angela Culver").
1360
+ friend_("Aida Wang", "Paula Ricketts").
1361
+ friend_("Aida Wang", "Rhonda Ricketts").
1362
+ friend_("Aida Wang", "Hope Schwarz").
1363
+ friend_("Alec Sinclair", "Anibal Stansberry").
1364
+ friend_("Alec Sinclair", "Lester Stansberry").
1365
+ friend_("Alec Sinclair", "Milton Brumbaugh").
1366
+ friend_("Alec Sinclair", "Riley Grover").
1367
+ friend_("Alfredo Wang", "Lonny Parmer").
1368
+ friend_("Alfredo Wang", "Emanuel Stansberry").
1369
+ friend_("Alfredo Wang", "Justine Hagerty").
1370
+ friend_("Alfredo Wang", "Kori Wiggs").
1371
+ friend_("Alfredo Wang", "Cory Ricketts").
1372
+ friend_("Alfredo Wang", "Phylis Bolen").
1373
+ friend_("Alfredo Wang", "Riley Grover").
1374
+ friend_("Alison Smock", "Alvaro Smock").
1375
+ friend_("Alison Smock", "Milton Brumbaugh").
1376
+ friend_("Alison Smock", "Rosalee Brumbaugh").
1377
+ friend_("Alvaro Smock", "Conrad Stansberry").
1378
+ friend_("Alvaro Smock", "Mickey Philpott").
1379
+ friend_("Alvaro Smock", "Milton Brumbaugh").
1380
+ friend_("Alycia Coe", "Cordelia Wiggs").
1381
+ friend_("Barabara Beltran", "Celia Macmillan").
1382
+ friend_("Barabara Beltran", "Conrad Stansberry").
1383
+ friend_("Barabara Beltran", "Kristie Abrams").
1384
+ friend_("Barabara Beltran", "Lyman Leija").
1385
+ friend_("Brian Beltran", "Jennifer Ricketts").
1386
+ friend_("Brian Beltran", "Kristopher Ricketts").
1387
+ friend_("Brian Beltran", "Randi Bass").
1388
+ friend_("Carrol Woodson", "Renea Ricketts").
1389
+ friend_("Christoper Coe", "Cordelia Zepeda").
1390
+ friend_("Cortney Parmer", "David Wiggs").
1391
+ friend_("Cortney Parmer", "Ulysses Deming").
1392
+ friend_("Cortney Parmer", "Shawnta Schwarz").
1393
+ friend_("Cythia Smock", "Leisa Lutz").
1394
+ friend_("Cythia Smock", "Ryan Wang").
1395
+ friend_("Cythia Smock", "Nikki Stansberry").
1396
+ friend_("Cythia Smock", "Wilmer Hagerty").
1397
+ friend_("Cythia Smock", "Paula Bass").
1398
+ friend_("Cythia Smock", "Ross Bolen").
1399
+ friend_("Dino Beltran", "Shannon Beltran").
1400
+ friend_("Dominique Smock", "Dwight Hackworth").
1401
+ friend_("Dominique Smock", "Odette Schwarz").
1402
+ friend_("Dwight Hackworth", "Noelia Lutz").
1403
+ friend_("Dwight Hackworth", "Victor Stansberry").
1404
+ friend_("Dwight Hackworth", "Odette Schwarz").
1405
+ friend_("Earle Coe", "Rhonda Ricketts").
1406
+ friend_("Earle Coe", "Carter Bolen").
1407
+ friend_("Eli Smock", "Ulysses Parmer").
1408
+ friend_("Eli Smock", "Brooks Ricketts").
1409
+ friend_("Eli Smock", "Clark Kinder").
1410
+ friend_("Eli Smock", "Elbert Canada").
1411
+ friend_("Gayla Woodson", "Howard Wiggs").
1412
+ friend_("Gayla Woodson", "Millard Stansberry").
1413
+ friend_("Gayla Woodson", "Orval Ricketts").
1414
+ friend_("Gene Smock", "Jamison Baptiste").
1415
+ friend_("Gene Smock", "Rosalee Brumbaugh").
1416
+ friend_("Isiah Lutz", "Lannie Smock").
1417
+ friend_("Isiah Lutz", "Shane Leija").
1418
+ friend_("Isiah Lutz", "Carmelita Schwarz").
1419
+ friend_("Isiah Lutz", "Francis Grover").
1420
+ friend_("Jamison Baptiste", "Laverna Stansberry").
1421
+ friend_("Jamison Baptiste", "Randolph Schwarz").
1422
+ friend_("Kristen Toombs", "Noelia Lutz").
1423
+ friend_("Kristen Toombs", "Celia Macmillan").
1424
+ friend_("Kristen Toombs", "Conrad Stansberry").
1425
+ friend_("Kristen Toombs", "Loren Culver").
1426
+ friend_("Kristen Toombs", "Cory Ricketts").
1427
+ friend_("Lannie Smock", "Winnifred Ricketts").
1428
+ friend_("Lannie Smock", "Irish Schwarz").
1429
+ friend_("Leeann Sinclair", "Noelia Lutz").
1430
+ friend_("Leeann Sinclair", "Kent Schwarz").
1431
+ friend_("Lesley Lutz", "Quintin Hagerty").
1432
+ friend_("Lesley Lutz", "Winnifred Ricketts").
1433
+ friend_("Lesley Lutz", "Jeremiah Schwarz").
1434
+ friend_("Lissa Coe", "Debra Stansberry").
1435
+ friend_("Lissa Coe", "Sona Stansberry").
1436
+ friend_("Lissa Coe", "Bobby Ricketts").
1437
+ friend_("Lissa Coe", "Raymond Leija").
1438
+ friend_("Lonny Parmer", "Brigette Gilmore").
1439
+ friend_("Lonny Parmer", "David Wiggs").
1440
+ friend_("Lonny Parmer", "Eugenio Schwarz").
1441
+ friend_("Maria Baptiste", "Oren Stansberry").
1442
+ friend_("Maria Baptiste", "Melina Deming").
1443
+ friend_("Michelle Hackworth", "Nick Solorio").
1444
+ friend_("Michelle Hackworth", "Ulysses Deming").
1445
+ friend_("Noelia Lutz", "Toney Ricketts").
1446
+ friend_("Noelia Lutz", "Ulysses Deming").
1447
+ friend_("Orlando Beltran", "Hyun Hagerty").
1448
+ friend_("Orlando Beltran", "Paula Ricketts").
1449
+ friend_("Reggie Coe", "Von Sinclair").
1450
+ friend_("Ricardo Hackworth", "Stacia Toombs").
1451
+ friend_("Ryan Wang", "Stacia Toombs").
1452
+ friend_("Shannon Beltran", "Tanner Beltran").
1453
+ friend_("Shannon Beltran", "Renate Stansberry").
1454
+ friend_("Shannon Beltran", "Jeremiah Schwarz").
1455
+ friend_("Shannon Beltran", "Kimberely Menchaca").
1456
+ friend_("Shannon Beltran", "Ross Bolen").
1457
+ friend_("Stacia Toombs", "Justine Hagerty").
1458
+ friend_("Stacia Toombs", "Francis Grover").
1459
+ friend_("Tanner Beltran", "Mickey Philpott").
1460
+ friend_("Tanner Beltran", "Tomas Bass").
1461
+ friend_("Tosha Beltran", "Samuel Ricketts").
1462
+ friend_("Tyson Woodson", "Marlene Isaacs").
1463
+ friend_("Tyson Woodson", "Ross Bolen").
1464
+ friend_("Ulysses Parmer", "Iva Stansberry").
1465
+ friend_("Vicki Hackworth", "Lauren Brumbaugh").
1466
+ friend_("Vicki Hackworth", "Nick Solorio").
1467
+ friend_("Vicki Hackworth", "Raymond Leija").
1468
+ friend_("Vincent Lutz", "Wm Parmer").
1469
+ friend_("Vincent Lutz", "Zelda Schwarz").
1470
+ friend_("Virgil Hackworth", "David Wiggs").
1471
+ friend_("Virgil Hackworth", "Dionne Stansberry").
1472
+ friend_("Virgil Hackworth", "Markus Hagerty").
1473
+ friend_("Virgil Hackworth", "Elbert Canada").
1474
+ friend_("Virgil Hackworth", "Randolph Schwarz").
1475
+ friend_("Von Sinclair", "Micheal Leija").
1476
+ friend_("Von Sinclair", "Bernice Kinder").
1477
+ friend_("Wilbert Toombs", "Wm Parmer").
1478
+ friend_("Williams Smock", "Markus Hagerty").
1479
+ friend_("Williams Smock", "Lorina Kinder").
1480
+ friend_("Williams Smock", "Paula Bass").
1481
+ friend_("Williams Smock", "Sona Kinder").
1482
+ friend_("Wm Parmer", "Victor Stansberry").
1483
+ friend_("Wm Parmer", "Melina Deming").
1484
+ friend_("Wm Parmer", "Reggie Brumbaugh").
1485
+ friend_("Angela Culver", "Cordelia Wiggs").
1486
+ friend_("Angela Culver", "Debra Stansberry").
1487
+ friend_("Anibal Stansberry", "Eliza Wiggs").
1488
+ friend_("Anibal Stansberry", "Kristopher Ricketts").
1489
+ friend_("Anibal Stansberry", "Randi Schwarz").
1490
+ friend_("Barbara Philpott", "Debra Stansberry").
1491
+ friend_("Barbara Philpott", "Diane Culver").
1492
+ friend_("Barbara Philpott", "Mickey Philpott").
1493
+ friend_("Barbara Philpott", "Tonya Culver").
1494
+ friend_("Barbara Philpott", "Lora Ricketts").
1495
+ friend_("Barbara Philpott", "Carmelita Schwarz").
1496
+ friend_("Bev Gilmore", "Hayden Stansberry").
1497
+ friend_("Bev Gilmore", "Kimberely Menchaca").
1498
+ friend_("Brigette Gilmore", "Carter Bolen").
1499
+ friend_("Celia Macmillan", "Bridget Solorio").
1500
+ friend_("Celia Macmillan", "Jeanette Byrd").
1501
+ friend_("Cordelia Wiggs", "Alberto Schwarz").
1502
+ friend_("Cordelia Wiggs", "Paula Bass").
1503
+ friend_("David Wiggs", "Maranda Ricketts").
1504
+ friend_("Debra Stansberry", "Orval Ricketts").
1505
+ friend_("Debra Stansberry", "Kimberely Menchaca").
1506
+ friend_("Diane Culver", "Gillian Wiggs").
1507
+ friend_("Diane Culver", "Dennis Ricketts").
1508
+ friend_("Diane Culver", "Jennifer Ricketts").
1509
+ friend_("Diane Culver", "Reggie Brumbaugh").
1510
+ friend_("Diane Culver", "Elbert Canada").
1511
+ friend_("Dionne Stansberry", "Hayden Stansberry").
1512
+ friend_("Dionne Stansberry", "Lincoln Velasco").
1513
+ friend_("Dionne Stansberry", "Victor Stansberry").
1514
+ friend_("Dionne Stansberry", "Kristie Abrams").
1515
+ friend_("Eliza Wiggs", "Mona Leija").
1516
+ friend_("Emanuel Stansberry", "Lyman Leija").
1517
+ friend_("Emanuel Stansberry", "Clark Kinder").
1518
+ friend_("Emanuel Stansberry", "Delbert Menchaca").
1519
+ friend_("Emanuel Stansberry", "Zelda Schwarz").
1520
+ friend_("Frankie Hagerty", "Tad Macmillan").
1521
+ friend_("Frankie Hagerty", "Edmund Abrams").
1522
+ friend_("Frankie Hagerty", "Nick Solorio").
1523
+ friend_("Frankie Hagerty", "Joanna Schwarz").
1524
+ friend_("Frankie Hagerty", "Omar Schwarz").
1525
+ friend_("Frankie Hagerty", "Randolph Schwarz").
1526
+ friend_("Gail Culver", "Samuel Ricketts").
1527
+ friend_("Gail Culver", "Delbert Menchaca").
1528
+ friend_("Garry Gilmore", "Markus Hagerty").
1529
+ friend_("Garry Gilmore", "Cordelia Zepeda").
1530
+ friend_("Gillian Wiggs", "Oren Stansberry").
1531
+ friend_("Gillian Wiggs", "Deidra Ricketts").
1532
+ friend_("Gillian Wiggs", "Omar Schwarz").
1533
+ friend_("Glenda Culver", "Loren Culver").
1534
+ friend_("Glenda Culver", "Deidra Ricketts").
1535
+ friend_("Glenda Culver", "Paula Ricketts").
1536
+ friend_("Glenda Culver", "Carter Bolen").
1537
+ friend_("Hayden Stansberry", "Dawne Grover").
1538
+ friend_("Hayden Stansberry", "Paula Bass").
1539
+ friend_("Hyun Hagerty", "Sona Stansberry").
1540
+ friend_("Hyun Hagerty", "Hoa Leija").
1541
+ friend_("Iva Stansberry", "Bridget Solorio").
1542
+ friend_("Iva Stansberry", "Eugenio Schwarz").
1543
+ friend_("Jordan Culver", "Sona Stansberry").
1544
+ friend_("Jordan Culver", "Madelyn Ricketts").
1545
+ friend_("Jules Culver", "Kori Wiggs").
1546
+ friend_("Jules Culver", "Cory Ricketts").
1547
+ friend_("Jules Culver", "Flora Ricketts").
1548
+ friend_("Justine Hagerty", "Hank Schwarz").
1549
+ friend_("Kelvin Culver", "Sona Stansberry").
1550
+ friend_("Kelvin Culver", "Benny Abrams").
1551
+ friend_("Kelvin Culver", "Kristie Abrams").
1552
+ friend_("Kelvin Culver", "Carter Bolen").
1553
+ friend_("Kelvin Culver", "Dylan Schwarz").
1554
+ friend_("Laverna Stansberry", "Rodolfo Byrd").
1555
+ friend_("Lester Stansberry", "Adelaida Ricketts").
1556
+ friend_("Lester Stansberry", "Kimberely Menchaca").
1557
+ friend_("Lester Stansberry", "Nada Schwarz").
1558
+ friend_("Lincoln Velasco", "Kristopher Ricketts").
1559
+ friend_("Lincoln Velasco", "Carmelita Schwarz").
1560
+ friend_("Lincoln Velasco", "Delbert Menchaca").
1561
+ friend_("Loren Culver", "Paula Ricketts").
1562
+ friend_("Loren Culver", "Renea Ricketts").
1563
+ friend_("Markus Hagerty", "Reed Abrams").
1564
+ friend_("Maurine Velasco", "Renate Stansberry").
1565
+ friend_("Maurine Velasco", "Orval Ricketts").
1566
+ friend_("Maurine Velasco", "Sueann Bolen").
1567
+ friend_("Mickey Philpott", "Nikki Stansberry").
1568
+ friend_("Mickey Philpott", "Reed Abrams").
1569
+ friend_("Millard Stansberry", "Omar Schwarz").
1570
+ friend_("Nikki Stansberry", "Reed Abrams").
1571
+ friend_("Oren Stansberry", "Rosalee Brumbaugh").
1572
+ friend_("Oren Stansberry", "Herbert Bolen").
1573
+ friend_("Oren Stansberry", "Odette Schwarz").
1574
+ friend_("Oren Stansberry", "Paula Bass").
1575
+ friend_("Quintin Hagerty", "Jeremiah Schwarz").
1576
+ friend_("Renate Stansberry", "Paula Ricketts").
1577
+ friend_("Renate Stansberry", "Clark Kinder").
1578
+ friend_("Sona Stansberry", "Mona Leija").
1579
+ friend_("Sona Stansberry", "Tomas Bass").
1580
+ friend_("Tad Macmillan", "Lora Ricketts").
1581
+ friend_("Tad Macmillan", "Rolanda Isaacs").
1582
+ friend_("Tad Macmillan", "Sueann Bolen").
1583
+ friend_("Tamara Macmillan", "Elyse Canada").
1584
+ friend_("Terence Culver", "Lora Ricketts").
1585
+ friend_("Tonya Culver", "Magdalena Schwarz").
1586
+ friend_("Tonya Culver", "Odette Schwarz").
1587
+ friend_("Victor Stansberry", "Milton Brumbaugh").
1588
+ friend_("Victor Stansberry", "Mona Leija").
1589
+ friend_("Victor Stansberry", "Carmelita Schwarz").
1590
+ friend_("Wilmer Hagerty", "Erin Ricketts").
1591
+ friend_("Wilmer Hagerty", "Jennifer Ricketts").
1592
+ friend_("Wilmer Hagerty", "Jeremiah Schwarz").
1593
+ friend_("Yolanda Philpott", "Reed Abrams").
1594
+ friend_("Benny Abrams", "Terrell Isaacs").
1595
+ friend_("Benny Abrams", "Jeremiah Schwarz").
1596
+ friend_("Bobby Ricketts", "Jennifer Ricketts").
1597
+ friend_("Bridget Solorio", "Rodolfo Byrd").
1598
+ friend_("Brooks Ricketts", "Lorina Kinder").
1599
+ friend_("Cicely Abrams", "Raymond Leija").
1600
+ friend_("Cicely Abrams", "Odette Schwarz").
1601
+ friend_("Cordelia Zepeda", "Spencer Ricketts").
1602
+ friend_("Cory Ricketts", "Jeremiah Schwarz").
1603
+ friend_("Dee Ricketts", "Lauren Brumbaugh").
1604
+ friend_("Dee Ricketts", "Delbert Menchaca").
1605
+ friend_("Deidra Ricketts", "Mona Leija").
1606
+ friend_("Deidra Ricketts", "Emilie Schwarz").
1607
+ friend_("Deidra Ricketts", "Randolph Schwarz").
1608
+ friend_("Dennis Ricketts", "Kristopher Ricketts").
1609
+ friend_("Dennis Ricketts", "Antony Kinder").
1610
+ friend_("Dennis Ricketts", "Judith Schwarz").
1611
+ friend_("Dennis Ricketts", "Sueann Bolen").
1612
+ friend_("Erin Ricketts", "Randi Leija").
1613
+ friend_("Erin Ricketts", "Tiffanie Leija").
1614
+ friend_("Flora Ricketts", "Lora Ricketts").
1615
+ friend_("Hoa Leija", "Alberto Schwarz").
1616
+ friend_("Kory Ricketts", "Eugene Schwarz").
1617
+ friend_("Kory Ricketts", "Zelda Schwarz").
1618
+ friend_("Kristie Abrams", "Milton Brumbaugh").
1619
+ friend_("Kristie Abrams", "Randolph Schwarz").
1620
+ friend_("Lora Ricketts", "Herbert Bolen").
1621
+ friend_("Lyman Leija", "Micheal Leija").
1622
+ friend_("Madelyn Ricketts", "Toney Ricketts").
1623
+ friend_("Maranda Ricketts", "Rosalee Brumbaugh").
1624
+ friend_("Marlene Isaacs", "Francis Grover").
1625
+ friend_("Melina Deming", "Milton Brumbaugh").
1626
+ friend_("Melina Deming", "Rocky Ricketts").
1627
+ friend_("Micheal Leija", "Terrell Isaacs").
1628
+ friend_("Micheal Leija", "Kent Schwarz").
1629
+ friend_("Milton Brumbaugh", "Alberto Schwarz").
1630
+ friend_("Milton Brumbaugh", "Bernice Kinder").
1631
+ friend_("Mona Leija", "Orval Ricketts").
1632
+ friend_("Orval Ricketts", "Francis Grover").
1633
+ friend_("Raymond Leija", "Samuel Ricketts").
1634
+ friend_("Reed Abrams", "Hope Schwarz").
1635
+ friend_("Reggie Brumbaugh", "Gustavo Grover").
1636
+ friend_("Renea Ricketts", "Elbert Canada").
1637
+ friend_("Rhonda Ricketts", "Tiffanie Leija").
1638
+ friend_("Rhonda Ricketts", "Hank Schwarz").
1639
+ friend_("Rhonda Ricketts", "Magdalena Schwarz").
1640
+ friend_("Rocky Ricketts", "Samuel Ricketts").
1641
+ friend_("Rocky Ricketts", "Emilie Schwarz").
1642
+ friend_("Rocky Ricketts", "Judith Schwarz").
1643
+ friend_("Rosalee Brumbaugh", "Winnifred Ricketts").
1644
+ friend_("Samuel Ricketts", "Zelda Schwarz").
1645
+ friend_("Spencer Ricketts", "Francis Grover").
1646
+ friend_("Ulysses Deming", "Herbert Bolen").
1647
+ friend_("Adella Schwarz", "Carter Bolen").
1648
+ friend_("Alberto Schwarz", "Gustavo Grover").
1649
+ friend_("Dawne Grover", "Kent Schwarz").
1650
+ friend_("Delbert Menchaca", "Magdalena Schwarz").
1651
+ friend_("Dillon Schwarz", "Zelda Schwarz").
1652
+ friend_("Elbert Canada", "Phylis Bolen").
1653
+ friend_("Emilie Schwarz", "Rodolfo Byrd").
1654
+ friend_("Eugenio Schwarz", "Zelda Schwarz").
1655
+ friend_("Gustavo Grover", "Joanna Schwarz").
1656
+ friend_("Hank Schwarz", "Tomas Bass").
1657
+ friend_("Jeanette Byrd", "Sueann Bolen").
1658
+ friend_("Lorina Kinder", "Paula Bass").
1659
+ friend_("Randi Bass", "Randolph Schwarz").
1660
+ friend_("Randi Bass", "Zelda Schwarz").
1661
+
1662
+ friend(X, Y) :-
1663
+ friend_(X, Y).
1664
+ friend(X, Y) :-
1665
+ friend_(Y, X).
1666
+
1667
+ niece(X, Y) :-
1668
+ sibling(X, A),
1669
+ daughter(A, Y).
1670
+
1671
+ nephew(X, Y) :-
1672
+ sibling(X, A),
1673
+ son(A, Y).
1674
+
1675
+ brother_in_law(X, Y) :-
1676
+ married(X, A),
1677
+ brother(A, Y).
1678
+
1679
+ :- multifile message_property/2.
1680
+
1681
+
1682
+ sister_in_law(X, Y) :-
1683
+ married(X, A),
1684
+ sister(A, Y).
1685
+
1686
+ wife(X, Y) :-
1687
+ married(X, Y),
1688
+ female(Y).
1689
+
1690
+ husband(X, Y) :-
1691
+ married(X, Y),
1692
+ male(Y).
1693
+
1694
+ daughter_in_law(X, Y) :-
1695
+ child(X, A),
1696
+ wife(A, Y).
1697
+
1698
+ son_in_law(X, Y) :-
1699
+ child(X, A),
1700
+ husband(A, Y).
1701
+
1702
+ son(X, Y) :-
1703
+ child(X, Y),
1704
+ male(Y).
1705
+
1706
+ female(X) :-
1707
+ gender(X, "female").
1708
+
1709
+ daughter(X, Y) :-
1710
+ child(X, Y),
1711
+ female(Y).
1712
+
1713
+ father_in_law(X, Y) :-
1714
+ married(X, A),
1715
+ father(A, Y).
1716
+
1717
+ mother_in_law(X, Y) :-
1718
+ married(X, A),
1719
+ mother(A, Y).
1720
+
1721
+ father(X, Y) :-
1722
+ parent(X, Y),
1723
+ male(Y).
1724
+
1725
+ :- multifile prolog_predicate_name/2.
1726
+
1727
+
1728
+ child(X, Y) :-
1729
+ parent(Y, X).
1730
+
1731
+ male_first_cousin_once_removed(X, Y) :-
1732
+ cousin(X, A),
1733
+ son(A, Y),
1734
+ X\=Y.
1735
+
1736
+ :- multifile prolog_clause_name/2.
1737
+
1738
+
1739
+ :- dynamic expand_answer/2.
1740
+ :- multifile expand_answer/2.
1741
+
1742
+
1743
+ :- dynamic exception/3.
1744
+ :- multifile exception/3.
1745
+
1746
+
1747
+ female_first_cousin_once_removed(X, Y) :-
1748
+ cousin(X, A),
1749
+ daughter(A, Y),
1750
+ X\=Y.
1751
+
1752
+ brother(X, Y) :-
1753
+ sibling(X, Y),
1754
+ male(Y).
1755
+
1756
+ mother(X, Y) :-
1757
+ parent(X, Y),
1758
+ female(Y).
1759
+
1760
+ male_second_cousin(X, Y) :-
1761
+ parent(X, A),
1762
+ parent(Y, B),
1763
+ cousin(A, B),
1764
+ male(Y),
1765
+ X\=Y.
1766
+
1767
+ :- dynamic message_hook/3.
1768
+ :- multifile message_hook/3.
1769
+
1770
+
1771
+ female_second_cousin(X, Y) :-
1772
+ parent(X, A),
1773
+ parent(Y, B),
1774
+ cousin(A, B),
1775
+ female(Y),
1776
+ X\=Y.
1777
+
1778
+ married(X, Y) :-
1779
+ parent(Child, X),
1780
+ parent(Child, Y),
1781
+ X\=Y.
1782
+
1783
+ male(X) :-
1784
+ gender(X, "male").
1785
+
1786
+ :- dynamic prolog_file_type/2.
1787
+ :- multifile prolog_file_type/2.
1788
+
1789
+ prolog_file_type(pl, prolog).
1790
+ prolog_file_type(prolog, prolog).
1791
+ prolog_file_type(qlf, prolog).
1792
+ prolog_file_type(qlf, qlf).
1793
+ prolog_file_type(A, executable) :-
1794
+ system:current_prolog_flag(shared_object_extension, A).
1795
+ prolog_file_type(dylib, executable) :-
1796
+ system:current_prolog_flag(apple, true).
1797
+
1798
+ sister(X, Y) :-
1799
+ sibling(X, Y),
1800
+ female(Y).
1801
+
1802
+ male_cousin(X, Y) :-
1803
+ cousin(X, Y),
1804
+ male(Y).
1805
+
1806
+ :- dynamic nonbinary/1.
1807
+
1808
+ nonbinary(X) :-
1809
+ gender(X, "nonbinary").
1810
+
1811
+ female_cousin(X, Y) :-
1812
+ cousin(X, Y),
1813
+ female(Y).
1814
+
1815
+ sibling(X, Y) :-
1816
+ parent(X, A),
1817
+ parent(Y, A),
1818
+ X\=Y.
1819
+
1820
+ :- dynamic portray/1.
1821
+ :- multifile portray/1.
1822
+
1823
+
1824
+ :- dynamic prolog_load_file/2.
1825
+ :- multifile prolog_load_file/2.
1826
+
1827
+
1828
+ :- dynamic goal_expansion/2.
1829
+ :- multifile goal_expansion/2.
1830
+
1831
+
1832
+ :- dynamic parent/2.
1833
+
1834
+ parent("Aida Wang", "Dino Beltran").
1835
+ parent("Aida Wang", "Shelli Beltran").
1836
+ parent("Alfredo Wang", "Aida Wang").
1837
+ parent("Alfredo Wang", "Ryan Wang").
1838
+ parent("Barabara Beltran", "Dino Beltran").
1839
+ parent("Barabara Beltran", "Shelli Beltran").
1840
+ parent("Christina Coe", "Stacia Toombs").
1841
+ parent("Christina Coe", "Wilbert Toombs").
1842
+ parent("Cortney Parmer", "Aida Wang").
1843
+ parent("Cortney Parmer", "Ryan Wang").
1844
+ parent("Cythia Smock", "Alison Smock").
1845
+ parent("Cythia Smock", "Williams Smock").
1846
+ parent("Dino Beltran", "Brian Beltran").
1847
+ parent("Dino Beltran", "Daisy Beltran").
1848
+ parent("Dwight Hackworth", "Ricardo Hackworth").
1849
+ parent("Dwight Hackworth", "Vicki Hackworth").
1850
+ parent("Earle Coe", "Alycia Coe").
1851
+ parent("Earle Coe", "Christoper Coe").
1852
+ parent("Eli Smock", "Alvaro Smock").
1853
+ parent("Eli Smock", "Lannie Smock").
1854
+ parent("Gayla Woodson", "Lissa Coe").
1855
+ parent("Gayla Woodson", "Reggie Coe").
1856
+ parent("Gene Smock", "Alvaro Smock").
1857
+ parent("Gene Smock", "Lannie Smock").
1858
+ parent("Kristen Toombs", "Stacia Toombs").
1859
+ parent("Kristen Toombs", "Wilbert Toombs").
1860
+ parent("Leeann Sinclair", "Ricardo Hackworth").
1861
+ parent("Leeann Sinclair", "Vicki Hackworth").
1862
+ parent("Leisa Lutz", "Ricardo Hackworth").
1863
+ parent("Leisa Lutz", "Vicki Hackworth").
1864
+ parent("Lesley Lutz", "Isiah Lutz").
1865
+ parent("Lesley Lutz", "Leisa Lutz").
1866
+ parent("Lonny Parmer", "Cortney Parmer").
1867
+ parent("Lonny Parmer", "Ulysses Parmer").
1868
+ parent("Michelle Hackworth", "Ricardo Hackworth").
1869
+ parent("Michelle Hackworth", "Vicki Hackworth").
1870
+ parent("Orlando Beltran", "Brian Beltran").
1871
+ parent("Orlando Beltran", "Daisy Beltran").
1872
+ parent("Reggie Coe", "Christina Coe").
1873
+ parent("Reggie Coe", "Earle Coe").
1874
+ parent("Shannon Beltran", "Orlando Beltran").
1875
+ parent("Shannon Beltran", "Tosha Beltran").
1876
+ parent("Shelli Beltran", "Alison Smock").
1877
+ parent("Shelli Beltran", "Williams Smock").
1878
+ parent("Stacia Toombs", "Alison Smock").
1879
+ parent("Stacia Toombs", "Williams Smock").
1880
+ parent("Tanner Beltran", "Brian Beltran").
1881
+ parent("Tanner Beltran", "Daisy Beltran").
1882
+ parent("Tosha Beltran", "Jamison Baptiste").
1883
+ parent("Tosha Beltran", "Maria Baptiste").
1884
+ parent("Tyson Woodson", "Carrol Woodson").
1885
+ parent("Tyson Woodson", "Gayla Woodson").
1886
+ parent("Vicki Hackworth", "Dino Beltran").
1887
+ parent("Vicki Hackworth", "Shelli Beltran").
1888
+ parent("Vincent Lutz", "Lesley Lutz").
1889
+ parent("Vincent Lutz", "Noelia Lutz").
1890
+ parent("Virgil Hackworth", "Ricardo Hackworth").
1891
+ parent("Virgil Hackworth", "Vicki Hackworth").
1892
+ parent("Von Sinclair", "Alec Sinclair").
1893
+ parent("Von Sinclair", "Leeann Sinclair").
1894
+ parent("Williams Smock", "Dominique Smock").
1895
+ parent("Williams Smock", "Gene Smock").
1896
+ parent("Wm Parmer", "Cortney Parmer").
1897
+ parent("Wm Parmer", "Ulysses Parmer").
1898
+ parent("Angela Culver", "Diane Culver").
1899
+ parent("Angela Culver", "Jules Culver").
1900
+ parent("Anibal Stansberry", "Iva Stansberry").
1901
+ parent("Anibal Stansberry", "Oren Stansberry").
1902
+ parent("Bev Gilmore", "Brigette Gilmore").
1903
+ parent("Bev Gilmore", "Garry Gilmore").
1904
+ parent("Brigette Gilmore", "Gail Culver").
1905
+ parent("Brigette Gilmore", "Terence Culver").
1906
+ parent("Celia Macmillan", "Desiree Stansberry").
1907
+ parent("Celia Macmillan", "Millard Stansberry").
1908
+ parent("Conrad Stansberry", "Anibal Stansberry").
1909
+ parent("Conrad Stansberry", "Renate Stansberry").
1910
+ parent("Dionne Stansberry", "Debra Stansberry").
1911
+ parent("Dionne Stansberry", "Hayden Stansberry").
1912
+ parent("Eliza Wiggs", "Gillian Wiggs").
1913
+ parent("Eliza Wiggs", "Howard Wiggs").
1914
+ parent("Emanuel Stansberry", "Debra Stansberry").
1915
+ parent("Emanuel Stansberry", "Hayden Stansberry").
1916
+ parent("Frankie Hagerty", "Justine Hagerty").
1917
+ parent("Frankie Hagerty", "Markus Hagerty").
1918
+ parent("Gail Culver", "Lincoln Velasco").
1919
+ parent("Gail Culver", "Maurine Velasco").
1920
+ parent("Gillian Wiggs", "Anibal Stansberry").
1921
+ parent("Gillian Wiggs", "Renate Stansberry").
1922
+ parent("Hayden Stansberry", "Anibal Stansberry").
1923
+ parent("Hayden Stansberry", "Renate Stansberry").
1924
+ parent("Howard Wiggs", "Cordelia Wiggs").
1925
+ parent("Howard Wiggs", "David Wiggs").
1926
+ parent("Hyun Hagerty", "Brigette Gilmore").
1927
+ parent("Hyun Hagerty", "Garry Gilmore").
1928
+ parent("Iva Stansberry", "Barbara Philpott").
1929
+ parent("Iva Stansberry", "Mickey Philpott").
1930
+ parent("Jordan Culver", "Loren Culver").
1931
+ parent("Jordan Culver", "Tonya Culver").
1932
+ parent("Jules Culver", "Loren Culver").
1933
+ parent("Jules Culver", "Tonya Culver").
1934
+ parent("Kelvin Culver", "Diane Culver").
1935
+ parent("Kelvin Culver", "Jules Culver").
1936
+ parent("Kori Wiggs", "Gillian Wiggs").
1937
+ parent("Kori Wiggs", "Howard Wiggs").
1938
+ parent("Laverna Stansberry", "Anibal Stansberry").
1939
+ parent("Laverna Stansberry", "Renate Stansberry").
1940
+ parent("Lester Stansberry", "Conrad Stansberry").
1941
+ parent("Lester Stansberry", "Sona Stansberry").
1942
+ parent("Lionel Culver", "Glenda Culver").
1943
+ parent("Lionel Culver", "Jordan Culver").
1944
+ parent("Millard Stansberry", "Anibal Stansberry").
1945
+ parent("Millard Stansberry", "Renate Stansberry").
1946
+ parent("Nikki Stansberry", "Desiree Stansberry").
1947
+ parent("Nikki Stansberry", "Millard Stansberry").
1948
+ parent("Quintin Hagerty", "Frankie Hagerty").
1949
+ parent("Quintin Hagerty", "Hyun Hagerty").
1950
+ parent("Renate Stansberry", "Frankie Hagerty").
1951
+ parent("Renate Stansberry", "Hyun Hagerty").
1952
+ parent("Tamara Macmillan", "Celia Macmillan").
1953
+ parent("Tamara Macmillan", "Tad Macmillan").
1954
+ parent("Terence Culver", "Glenda Culver").
1955
+ parent("Terence Culver", "Jordan Culver").
1956
+ parent("Victor Stansberry", "Iva Stansberry").
1957
+ parent("Victor Stansberry", "Oren Stansberry").
1958
+ parent("Wilmer Hagerty", "Justine Hagerty").
1959
+ parent("Wilmer Hagerty", "Markus Hagerty").
1960
+ parent("Yolanda Philpott", "Barbara Philpott").
1961
+ parent("Yolanda Philpott", "Mickey Philpott").
1962
+ parent("Benny Abrams", "Cicely Abrams").
1963
+ parent("Benny Abrams", "Reed Abrams").
1964
+ parent("Bobby Ricketts", "Paula Ricketts").
1965
+ parent("Bobby Ricketts", "Rocky Ricketts").
1966
+ parent("Bridget Solorio", "Rhonda Ricketts").
1967
+ parent("Bridget Solorio", "Spencer Ricketts").
1968
+ parent("Brooks Ricketts", "Cory Ricketts").
1969
+ parent("Brooks Ricketts", "Flora Ricketts").
1970
+ parent("Cory Ricketts", "Kristopher Ricketts").
1971
+ parent("Cory Ricketts", "Madelyn Ricketts").
1972
+ parent("Dee Ricketts", "Deidra Ricketts").
1973
+ parent("Dee Ricketts", "Toney Ricketts").
1974
+ parent("Deidra Ricketts", "Cordelia Zepeda").
1975
+ parent("Deidra Ricketts", "Tommy Zepeda").
1976
+ parent("Dennis Ricketts", "Brooks Ricketts").
1977
+ parent("Dennis Ricketts", "Erin Ricketts").
1978
+ parent("Erin Ricketts", "Cicely Abrams").
1979
+ parent("Erin Ricketts", "Reed Abrams").
1980
+ parent("Hoa Leija", "Shane Leija").
1981
+ parent("Hoa Leija", "Tiffanie Leija").
1982
+ parent("Jennifer Ricketts", "Deidra Ricketts").
1983
+ parent("Jennifer Ricketts", "Toney Ricketts").
1984
+ parent("Kory Ricketts", "Adelaida Ricketts").
1985
+ parent("Kory Ricketts", "Dennis Ricketts").
1986
+ parent("Lauren Brumbaugh", "Reggie Brumbaugh").
1987
+ parent("Lauren Brumbaugh", "Rosalee Brumbaugh").
1988
+ parent("Lora Ricketts", "Adelaida Ricketts").
1989
+ parent("Lora Ricketts", "Dennis Ricketts").
1990
+ parent("Lyman Leija", "Shane Leija").
1991
+ parent("Lyman Leija", "Tiffanie Leija").
1992
+ parent("Maranda Ricketts", "Rhonda Ricketts").
1993
+ parent("Maranda Ricketts", "Spencer Ricketts").
1994
+ parent("Marlene Isaacs", "Rolanda Isaacs").
1995
+ parent("Marlene Isaacs", "Terrell Isaacs").
1996
+ parent("Micheal Leija", "Lyman Leija").
1997
+ parent("Micheal Leija", "Randi Leija").
1998
+ parent("Milton Brumbaugh", "Reggie Brumbaugh").
1999
+ parent("Milton Brumbaugh", "Rosalee Brumbaugh").
2000
+ parent("Mona Leija", "Lyman Leija").
2001
+ parent("Mona Leija", "Randi Leija").
2002
+ parent("Orval Ricketts", "Cory Ricketts").
2003
+ parent("Orval Ricketts", "Flora Ricketts").
2004
+ parent("Paula Ricketts", "Lyman Leija").
2005
+ parent("Paula Ricketts", "Randi Leija").
2006
+ parent("Raymond Leija", "Lyman Leija").
2007
+ parent("Raymond Leija", "Randi Leija").
2008
+ parent("Reed Abrams", "Edmund Abrams").
2009
+ parent("Reed Abrams", "Kristie Abrams").
2010
+ parent("Renea Ricketts", "Cory Ricketts").
2011
+ parent("Renea Ricketts", "Flora Ricketts").
2012
+ parent("Rhonda Ricketts", "Melina Deming").
2013
+ parent("Rhonda Ricketts", "Ulysses Deming").
2014
+ parent("Rocky Ricketts", "Brooks Ricketts").
2015
+ parent("Rocky Ricketts", "Erin Ricketts").
2016
+ parent("Rolanda Isaacs", "Brooks Ricketts").
2017
+ parent("Rolanda Isaacs", "Erin Ricketts").
2018
+ parent("Rosalee Brumbaugh", "Bridget Solorio").
2019
+ parent("Rosalee Brumbaugh", "Nick Solorio").
2020
+ parent("Samuel Ricketts", "Paula Ricketts").
2021
+ parent("Samuel Ricketts", "Rocky Ricketts").
2022
+ parent("Spencer Ricketts", "Paula Ricketts").
2023
+ parent("Spencer Ricketts", "Rocky Ricketts").
2024
+ parent("Toney Ricketts", "Paula Ricketts").
2025
+ parent("Toney Ricketts", "Rocky Ricketts").
2026
+ parent("Winnifred Ricketts", "Paula Ricketts").
2027
+ parent("Winnifred Ricketts", "Rocky Ricketts").
2028
+ parent("Adella Schwarz", "Irish Schwarz").
2029
+ parent("Adella Schwarz", "Jeremiah Schwarz").
2030
+ parent("Alberto Schwarz", "Dillon Schwarz").
2031
+ parent("Alberto Schwarz", "Pamula Schwarz").
2032
+ parent("Antony Kinder", "Bernice Kinder").
2033
+ parent("Antony Kinder", "Clark Kinder").
2034
+ parent("Aura Schwarz", "Omar Schwarz").
2035
+ parent("Aura Schwarz", "Tania Schwarz").
2036
+ parent("Bernice Kinder", "Judith Schwarz").
2037
+ parent("Bernice Kinder", "Kent Schwarz").
2038
+ parent("Carmelita Schwarz", "Eugenio Schwarz").
2039
+ parent("Carmelita Schwarz", "Odette Schwarz").
2040
+ parent("Carter Bolen", "Ross Bolen").
2041
+ parent("Carter Bolen", "Sueann Bolen").
2042
+ parent("Dawne Grover", "Bernice Kinder").
2043
+ parent("Dawne Grover", "Clark Kinder").
2044
+ parent("Dillon Schwarz", "Eugenio Schwarz").
2045
+ parent("Dillon Schwarz", "Odette Schwarz").
2046
+ parent("Emilie Schwarz", "Dillon Schwarz").
2047
+ parent("Emilie Schwarz", "Pamula Schwarz").
2048
+ parent("Eugene Schwarz", "Dillon Schwarz").
2049
+ parent("Eugene Schwarz", "Pamula Schwarz").
2050
+ parent("Eugenio Schwarz", "Omar Schwarz").
2051
+ parent("Eugenio Schwarz", "Tania Schwarz").
2052
+ parent("Federico Schwarz", "Alberto Schwarz").
2053
+ parent("Federico Schwarz", "Nada Schwarz").
2054
+ parent("Francis Grover", "Dawne Grover").
2055
+ parent("Francis Grover", "Gustavo Grover").
2056
+ parent("Hank Schwarz", "Irish Schwarz").
2057
+ parent("Hank Schwarz", "Jeremiah Schwarz").
2058
+ parent("Herbert Bolen", "Ross Bolen").
2059
+ parent("Herbert Bolen", "Sueann Bolen").
2060
+ parent("Irish Schwarz", "Jeanette Byrd").
2061
+ parent("Irish Schwarz", "Rodolfo Byrd").
2062
+ parent("Jeremiah Schwarz", "Dillon Schwarz").
2063
+ parent("Jeremiah Schwarz", "Pamula Schwarz").
2064
+ parent("Joanna Schwarz", "Hank Schwarz").
2065
+ parent("Joanna Schwarz", "Hope Schwarz").
2066
+ parent("Kent Schwarz", "Eugenio Schwarz").
2067
+ parent("Kent Schwarz", "Odette Schwarz").
2068
+ parent("Lorina Kinder", "Antony Kinder").
2069
+ parent("Lorina Kinder", "Sona Kinder").
2070
+ parent("Magdalena Schwarz", "Dillon Schwarz").
2071
+ parent("Magdalena Schwarz", "Pamula Schwarz").
2072
+ parent("Omar Schwarz", "Dylan Schwarz").
2073
+ parent("Omar Schwarz", "Shawnta Schwarz").
2074
+ parent("Pamula Schwarz", "Delbert Menchaca").
2075
+ parent("Pamula Schwarz", "Kimberely Menchaca").
2076
+ parent("Paula Bass", "Randi Bass").
2077
+ parent("Paula Bass", "Tomas Bass").
2078
+ parent("Randi Bass", "Carter Bolen").
2079
+ parent("Randi Bass", "Phylis Bolen").
2080
+ parent("Randi Schwarz", "Judith Schwarz").
2081
+ parent("Randi Schwarz", "Kent Schwarz").
2082
+ parent("Randolph Schwarz", "Irish Schwarz").
2083
+ parent("Randolph Schwarz", "Jeremiah Schwarz").
2084
+ parent("Riley Grover", "Dawne Grover").
2085
+ parent("Riley Grover", "Gustavo Grover").
2086
+ parent("Sueann Bolen", "Eugenio Schwarz").
2087
+ parent("Sueann Bolen", "Odette Schwarz").
2088
+ parent("Tania Schwarz", "Elbert Canada").
2089
+ parent("Tania Schwarz", "Elyse Canada").
2090
+ parent("Zelda Schwarz", "Eugenio Schwarz").
2091
+ parent("Zelda Schwarz", "Odette Schwarz").
2092
+
2093
+ cousin(X, Y) :-
2094
+ parent(X, A),
2095
+ parent(Y, B),
2096
+ sibling(A, B),
2097
+ X\=Y.
2098
+
2099
+ uncle(X, Y) :-
2100
+ parent(X, A),
2101
+ brother(A, Y).
2102
+
2103
+ :- dynamic resource/3.
2104
+ :- multifile resource/3.
2105
+
2106
+
2107
+ :- thread_local thread_message_hook/3.
2108
+ :- dynamic thread_message_hook/3.
2109
+ :- volatile thread_message_hook/3.
2110
+
2111
+
2112
+ aunt(X, Y) :-
2113
+ parent(X, A),
2114
+ sister(A, Y).
2115
+
2116
+ second_uncle(X, Y) :-
2117
+ great_grandparent(X, A),
2118
+ brother(A, Y).
2119
+
2120
+ :- dynamic gender/2.
2121
+
2122
+ gender("Aida Wang", "female").
2123
+ gender("Alec Sinclair", "male").
2124
+ gender("Alfredo Wang", "male").
2125
+ gender("Alison Smock", "female").
2126
+ gender("Alvaro Smock", "male").
2127
+ gender("Alycia Coe", "female").
2128
+ gender("Barabara Beltran", "female").
2129
+ gender("Brian Beltran", "male").
2130
+ gender("Carrol Woodson", "male").
2131
+ gender("Christina Coe", "female").
2132
+ gender("Christoper Coe", "male").
2133
+ gender("Cortney Parmer", "female").
2134
+ gender("Cythia Smock", "female").
2135
+ gender("Daisy Beltran", "female").
2136
+ gender("Dino Beltran", "male").
2137
+ gender("Dominique Smock", "female").
2138
+ gender("Dwight Hackworth", "male").
2139
+ gender("Earle Coe", "male").
2140
+ gender("Eli Smock", "male").
2141
+ gender("Gayla Woodson", "female").
2142
+ gender("Gene Smock", "male").
2143
+ gender("Isiah Lutz", "male").
2144
+ gender("Jamison Baptiste", "male").
2145
+ gender("Kristen Toombs", "female").
2146
+ gender("Lannie Smock", "female").
2147
+ gender("Leeann Sinclair", "female").
2148
+ gender("Leisa Lutz", "female").
2149
+ gender("Lesley Lutz", "male").
2150
+ gender("Lissa Coe", "female").
2151
+ gender("Lonny Parmer", "male").
2152
+ gender("Maria Baptiste", "female").
2153
+ gender("Michelle Hackworth", "female").
2154
+ gender("Noelia Lutz", "female").
2155
+ gender("Orlando Beltran", "male").
2156
+ gender("Reggie Coe", "male").
2157
+ gender("Ricardo Hackworth", "male").
2158
+ gender("Ryan Wang", "male").
2159
+ gender("Shannon Beltran", "female").
2160
+ gender("Shelli Beltran", "female").
2161
+ gender("Stacia Toombs", "female").
2162
+ gender("Tanner Beltran", "male").
2163
+ gender("Tosha Beltran", "female").
2164
+ gender("Tyson Woodson", "male").
2165
+ gender("Ulysses Parmer", "male").
2166
+ gender("Vicki Hackworth", "female").
2167
+ gender("Vincent Lutz", "male").
2168
+ gender("Virgil Hackworth", "male").
2169
+ gender("Von Sinclair", "male").
2170
+ gender("Wilbert Toombs", "male").
2171
+ gender("Williams Smock", "male").
2172
+ gender("Wm Parmer", "male").
2173
+ gender("Angela Culver", "female").
2174
+ gender("Anibal Stansberry", "male").
2175
+ gender("Barbara Philpott", "female").
2176
+ gender("Bev Gilmore", "female").
2177
+ gender("Brigette Gilmore", "female").
2178
+ gender("Celia Macmillan", "female").
2179
+ gender("Conrad Stansberry", "male").
2180
+ gender("Cordelia Wiggs", "female").
2181
+ gender("David Wiggs", "male").
2182
+ gender("Debra Stansberry", "female").
2183
+ gender("Desiree Stansberry", "female").
2184
+ gender("Diane Culver", "female").
2185
+ gender("Dionne Stansberry", "female").
2186
+ gender("Eliza Wiggs", "female").
2187
+ gender("Emanuel Stansberry", "male").
2188
+ gender("Frankie Hagerty", "male").
2189
+ gender("Gail Culver", "female").
2190
+ gender("Garry Gilmore", "male").
2191
+ gender("Gillian Wiggs", "female").
2192
+ gender("Glenda Culver", "female").
2193
+ gender("Hayden Stansberry", "male").
2194
+ gender("Howard Wiggs", "male").
2195
+ gender("Hyun Hagerty", "female").
2196
+ gender("Iva Stansberry", "female").
2197
+ gender("Jordan Culver", "male").
2198
+ gender("Jules Culver", "male").
2199
+ gender("Justine Hagerty", "female").
2200
+ gender("Kelvin Culver", "male").
2201
+ gender("Kori Wiggs", "female").
2202
+ gender("Laverna Stansberry", "female").
2203
+ gender("Lester Stansberry", "male").
2204
+ gender("Lincoln Velasco", "male").
2205
+ gender("Lionel Culver", "male").
2206
+ gender("Loren Culver", "male").
2207
+ gender("Markus Hagerty", "male").
2208
+ gender("Maurine Velasco", "female").
2209
+ gender("Mickey Philpott", "male").
2210
+ gender("Millard Stansberry", "male").
2211
+ gender("Nikki Stansberry", "female").
2212
+ gender("Oren Stansberry", "male").
2213
+ gender("Quintin Hagerty", "male").
2214
+ gender("Renate Stansberry", "female").
2215
+ gender("Sona Stansberry", "female").
2216
+ gender("Tad Macmillan", "male").
2217
+ gender("Tamara Macmillan", "female").
2218
+ gender("Terence Culver", "male").
2219
+ gender("Tonya Culver", "female").
2220
+ gender("Victor Stansberry", "male").
2221
+ gender("Wilmer Hagerty", "male").
2222
+ gender("Yolanda Philpott", "female").
2223
+ gender("Adelaida Ricketts", "female").
2224
+ gender("Benny Abrams", "male").
2225
+ gender("Bobby Ricketts", "male").
2226
+ gender("Bridget Solorio", "female").
2227
+ gender("Brooks Ricketts", "male").
2228
+ gender("Cicely Abrams", "female").
2229
+ gender("Cordelia Zepeda", "female").
2230
+ gender("Cory Ricketts", "male").
2231
+ gender("Dee Ricketts", "male").
2232
+ gender("Deidra Ricketts", "female").
2233
+ gender("Dennis Ricketts", "male").
2234
+ gender("Edmund Abrams", "male").
2235
+ gender("Erin Ricketts", "female").
2236
+ gender("Flora Ricketts", "female").
2237
+ gender("Hoa Leija", "female").
2238
+ gender("Jennifer Ricketts", "female").
2239
+ gender("Kory Ricketts", "male").
2240
+ gender("Kristie Abrams", "female").
2241
+ gender("Kristopher Ricketts", "male").
2242
+ gender("Lauren Brumbaugh", "female").
2243
+ gender("Lora Ricketts", "female").
2244
+ gender("Lyman Leija", "male").
2245
+ gender("Madelyn Ricketts", "female").
2246
+ gender("Maranda Ricketts", "female").
2247
+ gender("Marlene Isaacs", "female").
2248
+ gender("Melina Deming", "female").
2249
+ gender("Micheal Leija", "male").
2250
+ gender("Milton Brumbaugh", "male").
2251
+ gender("Mona Leija", "female").
2252
+ gender("Nick Solorio", "male").
2253
+ gender("Orval Ricketts", "male").
2254
+ gender("Paula Ricketts", "female").
2255
+ gender("Randi Leija", "female").
2256
+ gender("Raymond Leija", "male").
2257
+ gender("Reed Abrams", "male").
2258
+ gender("Reggie Brumbaugh", "male").
2259
+ gender("Renea Ricketts", "female").
2260
+ gender("Rhonda Ricketts", "female").
2261
+ gender("Rocky Ricketts", "male").
2262
+ gender("Rolanda Isaacs", "female").
2263
+ gender("Rosalee Brumbaugh", "female").
2264
+ gender("Samuel Ricketts", "male").
2265
+ gender("Shane Leija", "male").
2266
+ gender("Spencer Ricketts", "male").
2267
+ gender("Terrell Isaacs", "male").
2268
+ gender("Tiffanie Leija", "female").
2269
+ gender("Tommy Zepeda", "male").
2270
+ gender("Toney Ricketts", "male").
2271
+ gender("Ulysses Deming", "male").
2272
+ gender("Winnifred Ricketts", "female").
2273
+ gender("Adella Schwarz", "female").
2274
+ gender("Alberto Schwarz", "male").
2275
+ gender("Antony Kinder", "male").
2276
+ gender("Aura Schwarz", "female").
2277
+ gender("Bernice Kinder", "female").
2278
+ gender("Carmelita Schwarz", "female").
2279
+ gender("Carter Bolen", "male").
2280
+ gender("Clark Kinder", "male").
2281
+ gender("Dawne Grover", "female").
2282
+ gender("Delbert Menchaca", "male").
2283
+ gender("Dillon Schwarz", "male").
2284
+ gender("Dylan Schwarz", "male").
2285
+ gender("Elbert Canada", "male").
2286
+ gender("Elyse Canada", "female").
2287
+ gender("Emilie Schwarz", "female").
2288
+ gender("Eugene Schwarz", "male").
2289
+ gender("Eugenio Schwarz", "male").
2290
+ gender("Federico Schwarz", "male").
2291
+ gender("Francis Grover", "male").
2292
+ gender("Gustavo Grover", "male").
2293
+ gender("Hank Schwarz", "male").
2294
+ gender("Herbert Bolen", "male").
2295
+ gender("Hope Schwarz", "female").
2296
+ gender("Irish Schwarz", "female").
2297
+ gender("Jeanette Byrd", "female").
2298
+ gender("Jeremiah Schwarz", "male").
2299
+ gender("Joanna Schwarz", "female").
2300
+ gender("Judith Schwarz", "female").
2301
+ gender("Kent Schwarz", "male").
2302
+ gender("Kimberely Menchaca", "female").
2303
+ gender("Lorina Kinder", "female").
2304
+ gender("Magdalena Schwarz", "female").
2305
+ gender("Nada Schwarz", "female").
2306
+ gender("Odette Schwarz", "female").
2307
+ gender("Omar Schwarz", "male").
2308
+ gender("Pamula Schwarz", "female").
2309
+ gender("Paula Bass", "female").
2310
+ gender("Phylis Bolen", "female").
2311
+ gender("Randi Bass", "female").
2312
+ gender("Randi Schwarz", "female").
2313
+ gender("Randolph Schwarz", "male").
2314
+ gender("Riley Grover", "male").
2315
+ gender("Rodolfo Byrd", "male").
2316
+ gender("Ross Bolen", "male").
2317
+ gender("Shawnta Schwarz", "female").
2318
+ gender("Sona Kinder", "female").
2319
+ gender("Sueann Bolen", "female").
2320
+ gender("Tania Schwarz", "female").
2321
+ gender("Tomas Bass", "male").
2322
+ gender("Zelda Schwarz", "female").
2323
+
2324
+ second_aunt(X, Y) :-
2325
+ great_grandparent(X, A),
2326
+ sister(A, Y).
2327
+
2328
+ great_grandson(X, Y) :-
2329
+ great_grandchild(X, Y),
2330
+ male(Y).
2331
+
2332
+ :- dynamic pyrun/2.
2333
+
2334
+ pyrun(A, B) :-
2335
+ read_term_from_atom(A, C, [variable_names(B)]),
2336
+ call(C).
2337
+
2338
+ great_granddaughter(X, Y) :-
2339
+ great_grandchild(X, Y),
2340
+ female(Y).
2341
+
2342
+ :- dynamic resource/2.
2343
+ :- multifile resource/2.
2344
+
depth_20_size_200_seed_2/facts.txt ADDED
@@ -0,0 +1,2354 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Abdul Felker", "birdwatching").
32
+ hobby("Adolph Barbee", "geography").
33
+ hobby("Alice Lance", "research").
34
+ hobby("Allie Barbee", "audiophile").
35
+ hobby("Allison Barbee", "knowledge/word games").
36
+ hobby("Alvin Lance", "geocaching").
37
+ hobby("Andres Barbee", "croquet").
38
+ hobby("Andrew Parkinson", "badminton").
39
+ hobby("Brooks George", "fossil hunting").
40
+ hobby("Clint Rahman", "rail transport modelling").
41
+ hobby("Colette Rahman", "jujitsu").
42
+ hobby("Courtney Parkinson", "beauty pageants").
43
+ hobby("Dalton Parkinson", "softball").
44
+ hobby("Dollie Barbee", "golfing").
45
+ hobby("Elicia Barbee", "inline skating").
46
+ hobby("Elyse Barbee", "radio-controlled model collecting").
47
+ hobby("Emma George", "videography").
48
+ hobby("Garth Kean", "butterfly watching").
49
+ hobby("Guadalupe Barbee", "learning").
50
+ hobby("Jenni Felker", "business").
51
+ hobby("Karolyn Lance", "curling").
52
+ hobby("Kelley Barbee", "magnet fishing").
53
+ hobby("Kenny Barbee", "pickleball").
54
+ hobby("Kirk Lo", "shuffleboard").
55
+ hobby("Konstantin Barbee", "geocaching").
56
+ hobby("Korey Kean", "trade fair visiting").
57
+ hobby("Krystle Barbee", "lapel pins").
58
+ hobby("Kurt Parkinson", "rock balancing").
59
+ hobby("Latosha Rahman", "breakdancing").
60
+ hobby("Leonila Parkinson", "audiophile").
61
+ hobby("Lesley Barbee", "dairy farming").
62
+ hobby("Lyndon Barbee", "research").
63
+ hobby("Marvin Hope", "mineral collecting").
64
+ hobby("Merrill Kean", "research").
65
+ hobby("Mitchel George", "mineral collecting").
66
+ hobby("Nettie Barbee", "learning").
67
+ hobby("Rocco Lance", "magnet fishing").
68
+ hobby("Rory George", "whale watching").
69
+ hobby("Royce Lo", "research").
70
+ hobby("Rudy Barbee", "fusilately").
71
+ hobby("Solomon Rahman", "shortwave listening").
72
+ hobby("Tracey Kean", "microscopy").
73
+ hobby("Twyla Parkinson", "life science").
74
+ hobby("Tyrone Parkinson", "meditation").
75
+ hobby("Wallace Ragland", "science and technology studies").
76
+ hobby("Walter Hope", "frisbee").
77
+ hobby("Wanda Lo", "satellite watching").
78
+ hobby("Wanita Hope", "chemistry").
79
+ hobby("Willie Parkinson", "ballet dancing").
80
+ hobby("Yasmin Ragland", "antiquities").
81
+ hobby("Ahmad Vansickle", "rock balancing").
82
+ hobby("Albertine Thrower", "leaves").
83
+ hobby("Alejandrina Thrower", "table football").
84
+ hobby("Andre Vansickle", "shogi").
85
+ hobby("Benny Guay", "learning").
86
+ hobby("Brain Thrower", "radio-controlled model playing").
87
+ hobby("Candice Bianchi", "whale watching").
88
+ hobby("Carmen Bianchi", "sociology").
89
+ hobby("Cesar Guay", "people-watching").
90
+ hobby("Chrissy Vansickle", "bowling").
91
+ hobby("Concepcion Najera", "city trip").
92
+ hobby("Edgar Bianchi", "ant farming").
93
+ hobby("Esperanza Bianchi", "whale watching").
94
+ hobby("Esperanza Ervin", "button collecting").
95
+ hobby("Eve Ervin", "archaeology").
96
+ hobby("Georgette Gebhart", "herping").
97
+ hobby("Gertrude Guay", "audiophile").
98
+ hobby("Hal Gebhart", "fencing").
99
+ hobby("Jaime Veilleux", "magnet fishing").
100
+ hobby("Jim Bianchi", "mineral collecting").
101
+ hobby("Joshua Ervin", "table tennis").
102
+ hobby("Kendrick Sherrod", "shortwave listening").
103
+ hobby("Kristopher Veilleux", "geocaching").
104
+ hobby("Landon Ervin", "physics").
105
+ hobby("Laurel Bianchi", "polo").
106
+ hobby("Laurel Guay", "lotology").
107
+ hobby("Linwood Thrower", "stone collecting").
108
+ hobby("Loraine Vansickle", "flower collecting and pressing").
109
+ hobby("Lucas Bianchi", "research").
110
+ hobby("Lura Bianchi", "netball").
111
+ hobby("Maragret Bianchi", "architecture").
112
+ hobby("Mauricio Vansickle", "bus spotting").
113
+ hobby("Minerva Pennington", "shortwave listening").
114
+ hobby("Norris Sherrod", "radio-controlled model playing").
115
+ hobby("Ollie Bianchi", "archaeology").
116
+ hobby("Philip Thrower", "geography").
117
+ hobby("Pricilla Pennington", "audiophile").
118
+ hobby("Raphael Ervin", "sea glass collecting").
119
+ hobby("Renea Thrower", "auto audiophilia").
120
+ hobby("Robby Pennington", "aircraft spotting").
121
+ hobby("Rosena Veilleux", "stone collecting").
122
+ hobby("Roxy Guay", "fencing").
123
+ hobby("Roy Najera", "cribbage").
124
+ hobby("Sarita Bianchi", "ant-keeping").
125
+ hobby("Shante Najera", "skateboarding").
126
+ hobby("Shizuko Veilleux", "herbalism").
127
+ hobby("Shon Guay", "satellite watching").
128
+ hobby("Sylvester Sherrod", "airsoft").
129
+ hobby("Twila Veilleux", "beekeeping").
130
+ hobby("Winnifred Sherrod", "darts").
131
+ hobby("Zachary Guay", "photography").
132
+ hobby("Adella Stites", "bus spotting").
133
+ hobby("Andrea Stites", "laser tag").
134
+ hobby("Angel Kress", "geography").
135
+ hobby("Arthur Stites", "powerboat racing").
136
+ hobby("Casey Dow", "shortwave listening").
137
+ hobby("Cherise Darling", "backgammon").
138
+ hobby("Chris Stites", "disc golf").
139
+ hobby("Darrick Darling", "nordic skating").
140
+ hobby("Deirdre Fries", "shopping").
141
+ hobby("Donnie Turgeon", "auto racing").
142
+ hobby("Donovan Stites", "benchmarking").
143
+ hobby("Dwain Stites", "microbiology").
144
+ hobby("Eddie Darling", "research").
145
+ hobby("Edmond Abney", "tennis").
146
+ hobby("Eldon Stites", "surfing").
147
+ hobby("Evelia Nelms", "sports memorabilia").
148
+ hobby("Giovanni Stites", "backgammon").
149
+ hobby("Grant Stites", "meteorology").
150
+ hobby("Harvey Stites", "whale watching").
151
+ hobby("Hunter Darling", "beekeeping").
152
+ hobby("Ione Stites", "entrepreneurship").
153
+ hobby("Jewel Abney", "railway studies").
154
+ hobby("Jewell Stites", "mathematics").
155
+ hobby("Joanne Dow", "leaves").
156
+ hobby("Joel Fries", "sea glass collecting").
157
+ hobby("Julio Nelms", "snowboarding").
158
+ hobby("Kenny Southerland", "trainspotting").
159
+ hobby("Kent Turgeon", "sea glass collecting").
160
+ hobby("Kieth Dow", "learning").
161
+ hobby("Kisha Stites", "meteorology").
162
+ hobby("Kris Stites", "microscopy").
163
+ hobby("Ladawn Turgeon", "publishing").
164
+ hobby("Lawerence Stites", "aircraft spotting").
165
+ hobby("Leopoldo Stites", "research").
166
+ hobby("Marcel Abney", "tour skating").
167
+ hobby("Margaret Turgeon", "science and technology studies").
168
+ hobby("Maxwell Deming", "cycling").
169
+ hobby("Mayra Stites", "meditation").
170
+ hobby("Minnie Darling", "fossil hunting").
171
+ hobby("Mitchell Darling", "auto audiophilia").
172
+ hobby("Nada Stites", "antiquities").
173
+ hobby("Nickolas Deming", "engineering").
174
+ hobby("Oralia Kress", "butterfly watching").
175
+ hobby("Pansy Southerland", "ant farming").
176
+ hobby("Shamika Dow", "fishkeeping").
177
+ hobby("Shirleen Stites", "knife collecting").
178
+ hobby("Staci Deming", "sea glass collecting").
179
+ hobby("Tanya Darling", "auto audiophilia").
180
+ hobby("Tyrone Deming", "publishing").
181
+ hobby("Wayne Stites", "vintage cars").
182
+ hobby("Wilmer Stites", "exhibition drill").
183
+ hobby("Adella Mcbroom", "microscopy").
184
+ hobby("Alina Huntley", "insect collecting").
185
+ hobby("Allyson Brashear", "reading").
186
+ hobby("Allyson Gorton", "beach volleyball").
187
+ hobby("Anastacia Grigg", "squash").
188
+ hobby("Anneliese Brashear", "whale watching").
189
+ hobby("Audie Dodge", "mineral collecting").
190
+ hobby("Autumn Brashear", "reading").
191
+ hobby("Barry Huntley", "table football").
192
+ hobby("Bess Dodge", "equestrianism").
193
+ hobby("Booker Grigg", "car riding").
194
+ hobby("Brooks Huntley", "hobby horsing").
195
+ hobby("Carmella Huntley", "jujitsu").
196
+ hobby("Cleveland Mcbroom", "publishing").
197
+ hobby("Dean Mcbroom", "geocaching").
198
+ hobby("Demarcus Huntley", "social studies").
199
+ hobby("Desiree Mcbroom", "shortwave listening").
200
+ hobby("Dorris Huntley", "birdwatching").
201
+ hobby("Dudley Dodge", "deltiology").
202
+ hobby("Ezequiel Gorton", "leaves").
203
+ hobby("Felipe Brashear", "fishkeeping").
204
+ hobby("Gwenn Mcbroom", "butterfly watching").
205
+ hobby("Harvey Mcbroom", "publishing").
206
+ hobby("Jacquelyn Huntley", "biology").
207
+ hobby("James Mcbroom", "movie memorabilia collecting").
208
+ hobby("Jordan Mcbroom", "butterfly watching").
209
+ hobby("Lissa Mcbroom", "myrmecology").
210
+ hobby("Lowell Gorton", "seashell collecting").
211
+ hobby("Maryann Mcbroom", "shoes").
212
+ hobby("Matt Mcbroom", "research").
213
+ hobby("Max Gorton", "amateur astronomy").
214
+ hobby("Melvin Dodge", "bowling").
215
+ hobby("Mervin Mcbroom", "ant-keeping").
216
+ hobby("Mike Grigg", "herping").
217
+ hobby("Morgan Huntley", "shortwave listening").
218
+ hobby("Nydia Grigg", "aircraft spotting").
219
+ hobby("Oleta Mcbroom", "lacrosse").
220
+ hobby("Omar Grigg", "horseshoes").
221
+ hobby("Orlando Brashear", "seashell collecting").
222
+ hobby("Randolph Grigg", "flying").
223
+ hobby("Rena Grigg", "pinball").
224
+ hobby("Reynaldo Brashear", "crystals").
225
+ hobby("Sandy Mcbroom", "antiquities").
226
+ hobby("Shannon Grigg", "shoes").
227
+ hobby("Shelton Dodge", "association football").
228
+ hobby("Sue Mcbroom", "horseback riding").
229
+ hobby("Tamara Mcbroom", "fossil hunting").
230
+ hobby("Theodore Grigg", "lapel pins").
231
+ hobby("Tianna Brashear", "transit map collecting").
232
+ hobby("Windy Gorton", "driving").
233
+ hobby("Zelma Mcbroom", "larping").
234
+
235
+ granddaughter(X, Y) :-
236
+ grandchild(X, Y),
237
+ female(Y).
238
+
239
+ grandson(X, Y) :-
240
+ grandchild(X, Y),
241
+ male(Y).
242
+
243
+ :- dynamic job/2.
244
+
245
+ job("Abdul Felker", "police officer").
246
+ job("Adolph Barbee", "community education officer").
247
+ job("Alice Lance", "herbalist").
248
+ job("Allie Barbee", "podiatrist").
249
+ job("Allison Barbee", "prison officer").
250
+ job("Alvin Lance", "animal technologist").
251
+ job("Andres Barbee", "leisure centre manager").
252
+ job("Andrew Parkinson", "speech and language therapist").
253
+ job("Brooks George", "dietitian").
254
+ job("Clint Rahman", "amenity horticulturist").
255
+ job("Colette Rahman", "theatre stage manager").
256
+ job("Courtney Parkinson", "hydrologist").
257
+ job("Dalton Parkinson", "learning mentor").
258
+ job("Dollie Barbee", "location manager").
259
+ job("Elicia Barbee", "chartered management accountant").
260
+ job("Elyse Barbee", "plant breeder").
261
+ job("Emma George", "advertising account executive").
262
+ job("Garth Kean", "tourism officer").
263
+ job("Guadalupe Barbee", "civil service fast streamer").
264
+ job("Jenni Felker", "designer").
265
+ job("Karolyn Lance", "development worker").
266
+ job("Kelley Barbee", "tourist information centre manager").
267
+ job("Kenny Barbee", "community education officer").
268
+ job("Kirk Lo", "farm manager").
269
+ job("Konstantin Barbee", "doctor").
270
+ job("Korey Kean", "newspaper journalist").
271
+ job("Krystle Barbee", "customer service manager").
272
+ job("Kurt Parkinson", "public house manager").
273
+ job("Latosha Rahman", "exercise physiologist").
274
+ job("Leonila Parkinson", "early years teacher").
275
+ job("Lesley Barbee", "chief executive officer").
276
+ job("Lyndon Barbee", "bookseller").
277
+ job("Marvin Hope", "physiotherapist").
278
+ job("Merrill Kean", "occupational hygienist").
279
+ job("Mitchel George", "advertising copywriter").
280
+ job("Nettie Barbee", "radiographer").
281
+ job("Rocco Lance", "mining engineer").
282
+ job("Rory George", "warden").
283
+ job("Royce Lo", "regulatory affairs officer").
284
+ job("Rudy Barbee", "location manager").
285
+ job("Solomon Rahman", "producer").
286
+ job("Tracey Kean", "teaching laboratory technician").
287
+ job("Twyla Parkinson", "orthoptist").
288
+ job("Tyrone Parkinson", "agricultural consultant").
289
+ job("Wallace Ragland", "quarry manager").
290
+ job("Walter Hope", "risk analyst").
291
+ job("Wanda Lo", "physiological scientist").
292
+ job("Wanita Hope", "equality and diversity officer").
293
+ job("Willie Parkinson", "firefighter").
294
+ job("Yasmin Ragland", "purchasing manager").
295
+ job("Ahmad Vansickle", "illustrator").
296
+ job("Albertine Thrower", "press photographer").
297
+ job("Alejandrina Thrower", "legal executive").
298
+ job("Andre Vansickle", "neurosurgeon").
299
+ job("Benny Guay", "IT sales professional").
300
+ job("Brain Thrower", "quarry manager").
301
+ job("Candice Bianchi", "veterinary surgeon").
302
+ job("Carmen Bianchi", "merchandiser").
303
+ job("Cesar Guay", "clinical scientist").
304
+ job("Chrissy Vansickle", "equities trader").
305
+ job("Concepcion Najera", "TEFL teacher").
306
+ job("Edgar Bianchi", "pension scheme manager").
307
+ job("Esperanza Bianchi", "outdoor activities manager").
308
+ job("Esperanza Ervin", "musician").
309
+ job("Eve Ervin", "artist").
310
+ job("Georgette Gebhart", "customer service manager").
311
+ job("Gertrude Guay", "dancer").
312
+ job("Hal Gebhart", "educational psychologist").
313
+ job("Jaime Veilleux", "animator").
314
+ job("Jim Bianchi", "barrister's clerk").
315
+ job("Joshua Ervin", "oceanographer").
316
+ job("Kendrick Sherrod", "chemical engineer").
317
+ job("Kristopher Veilleux", "animator").
318
+ job("Landon Ervin", "production designer").
319
+ job("Laurel Bianchi", "surveyor").
320
+ job("Laurel Guay", "animator").
321
+ job("Linwood Thrower", "advice worker").
322
+ job("Loraine Vansickle", "sports coach").
323
+ job("Lucas Bianchi", "scientific laboratory technician").
324
+ job("Lura Bianchi", "psychiatric nurse").
325
+ job("Maragret Bianchi", "water engineer").
326
+ job("Mauricio Vansickle", "professor emeritus").
327
+ job("Minerva Pennington", "loss adjuster").
328
+ job("Norris Sherrod", "sales promotion account executive").
329
+ job("Ollie Bianchi", "telecommunications researcher").
330
+ job("Philip Thrower", "music tutor").
331
+ job("Pricilla Pennington", "software engineer").
332
+ job("Raphael Ervin", "film editor").
333
+ job("Renea Thrower", "therapist").
334
+ job("Robby Pennington", "quarry manager").
335
+ job("Rosena Veilleux", "bookseller").
336
+ job("Roxy Guay", "public affairs consultant").
337
+ job("Roy Najera", "camera operator").
338
+ job("Sarita Bianchi", "artist").
339
+ job("Shante Najera", "secondary school teacher").
340
+ job("Shizuko Veilleux", "sports administrator").
341
+ job("Shon Guay", "radio producer").
342
+ job("Sylvester Sherrod", "seismic interpreter").
343
+ job("Twila Veilleux", "charity fundraiser").
344
+ job("Winnifred Sherrod", "museum education officer").
345
+ job("Zachary Guay", "artist").
346
+ job("Adella Stites", "catering manager").
347
+ job("Andrea Stites", "cabin crew").
348
+ job("Angel Kress", "print production planner").
349
+ job("Arthur Stites", "editorial assistant").
350
+ job("Casey Dow", "adult guidance worker").
351
+ job("Cherise Darling", "dance movement psychotherapist").
352
+ job("Chris Stites", "mechanical engineer").
353
+ job("Darrick Darling", "software engineer").
354
+ job("Deirdre Fries", "personnel officer").
355
+ job("Donnie Turgeon", "quarry manager").
356
+ job("Donovan Stites", "social worker").
357
+ job("Dwain Stites", "careers information officer").
358
+ job("Eddie Darling", "journalist").
359
+ job("Edmond Abney", "merchandiser").
360
+ job("Eldon Stites", "arts administrator").
361
+ job("Evelia Nelms", "careers information officer").
362
+ job("Giovanni Stites", "child psychotherapist").
363
+ job("Grant Stites", "chartered loss adjuster").
364
+ job("Harvey Stites", "corporate investment banker").
365
+ job("Hunter Darling", "fashion designer").
366
+ job("Ione Stites", "bonds trader").
367
+ job("Jewel Abney", "lecturer").
368
+ job("Jewell Stites", "advertising account planner").
369
+ job("Joanne Dow", "careers information officer").
370
+ job("Joel Fries", "translator").
371
+ job("Julio Nelms", "geochemist").
372
+ job("Kenny Southerland", "chartered legal executive").
373
+ job("Kent Turgeon", "therapist").
374
+ job("Kieth Dow", "medical illustrator").
375
+ job("Kisha Stites", "programme researcher").
376
+ job("Kris Stites", "financial controller").
377
+ job("Ladawn Turgeon", "pathologist").
378
+ job("Lawerence Stites", "seismic interpreter").
379
+ job("Leopoldo Stites", "technical author").
380
+ job("Marcel Abney", "leisure centre manager").
381
+ job("Margaret Turgeon", "sound technician").
382
+ job("Maxwell Deming", "pilot").
383
+ job("Mayra Stites", "IT technical support officer").
384
+ job("Minnie Darling", "social researcher").
385
+ job("Mitchell Darling", "video editor").
386
+ job("Nada Stites", "chief technology officer").
387
+ job("Nickolas Deming", "clothing technologist").
388
+ job("Oralia Kress", "analytical chemist").
389
+ job("Pansy Southerland", "health visitor").
390
+ job("Shamika Dow", "museum conservator").
391
+ job("Shirleen Stites", "plant breeder").
392
+ job("Staci Deming", "curator").
393
+ job("Tanya Darling", "chartered management accountant").
394
+ job("Tyrone Deming", "ambulance person").
395
+ job("Wayne Stites", "brewing technologist").
396
+ job("Wilmer Stites", "community arts worker").
397
+ job("Adella Mcbroom", "petroleum engineer").
398
+ job("Alina Huntley", "rural practice surveyor").
399
+ job("Allyson Brashear", "petroleum engineer").
400
+ job("Allyson Gorton", "legal secretary").
401
+ job("Anastacia Grigg", "herbalist").
402
+ job("Anneliese Brashear", "private music teacher").
403
+ job("Audie Dodge", "air broker").
404
+ job("Autumn Brashear", "chemist").
405
+ job("Barry Huntley", "therapist").
406
+ job("Bess Dodge", "minerals surveyor").
407
+ job("Booker Grigg", "computer games developer").
408
+ job("Brooks Huntley", "corporate treasurer").
409
+ job("Carmella Huntley", "textile designer").
410
+ job("Cleveland Mcbroom", "local government officer").
411
+ job("Dean Mcbroom", "building services engineer").
412
+ job("Demarcus Huntley", "surveyor").
413
+ job("Desiree Mcbroom", "public relations account executive").
414
+ job("Dorris Huntley", "lawyer").
415
+ job("Dudley Dodge", "oncologist").
416
+ job("Ezequiel Gorton", "senior tax professional").
417
+ job("Felipe Brashear", "textile designer").
418
+ job("Gwenn Mcbroom", "estate manager").
419
+ job("Harvey Mcbroom", "chief operating officer").
420
+ job("Jacquelyn Huntley", "chiropractor").
421
+ job("James Mcbroom", "chief technology officer").
422
+ job("Jordan Mcbroom", "herbalist").
423
+ job("Lissa Mcbroom", "media buyer").
424
+ job("Lowell Gorton", "secondary school teacher").
425
+ job("Maryann Mcbroom", "agricultural consultant").
426
+ job("Matt Mcbroom", "fashion designer").
427
+ job("Max Gorton", "acupuncturist").
428
+ job("Melvin Dodge", "clothing technologist").
429
+ job("Mervin Mcbroom", "building services engineer").
430
+ job("Mike Grigg", "purchasing manager").
431
+ job("Morgan Huntley", "medical technical officer").
432
+ job("Nydia Grigg", "broadcast presenter").
433
+ job("Oleta Mcbroom", "retail merchandiser").
434
+ job("Omar Grigg", "nutritional therapist").
435
+ job("Orlando Brashear", "therapeutic radiographer").
436
+ job("Randolph Grigg", "geographical information systems officer").
437
+ job("Rena Grigg", "computer games developer").
438
+ job("Reynaldo Brashear", "copy").
439
+ job("Sandy Mcbroom", "embryologist").
440
+ job("Shannon Grigg", "insurance account manager").
441
+ job("Shelton Dodge", "education administrator").
442
+ job("Sue Mcbroom", "maintenance engineer").
443
+ job("Tamara Mcbroom", "proofreader").
444
+ job("Theodore Grigg", "financial planner").
445
+ job("Tianna Brashear", "arts administrator").
446
+ job("Windy Gorton", "loss adjuster").
447
+ job("Zelma Mcbroom", "banker").
448
+
449
+ great_uncle(X, Y) :-
450
+ grandparent(X, A),
451
+ brother(A, Y).
452
+
453
+ :- dynamic save_all_clauses_to_file/1.
454
+
455
+ save_all_clauses_to_file(A) :-
456
+ open(A, write, B),
457
+ set_output(B),
458
+ listing,
459
+ close(B).
460
+
461
+ :- dynamic term_expansion/4.
462
+ :- multifile term_expansion/4.
463
+
464
+
465
+ grandchild(X, Y) :-
466
+ grandparent(Y, X).
467
+
468
+ :- dynamic dob/2.
469
+
470
+ dob("Abdul Felker", "0895-03-24").
471
+ dob("Adolph Barbee", "0980-08-29").
472
+ dob("Alice Lance", "0951-04-07").
473
+ dob("Allie Barbee", "0928-07-23").
474
+ dob("Allison Barbee", "1005-06-23").
475
+ dob("Alvin Lance", "0950-05-19").
476
+ dob("Andres Barbee", "0977-09-16").
477
+ dob("Andrew Parkinson", "0952-04-16").
478
+ dob("Brooks George", "1006-06-23").
479
+ dob("Clint Rahman", "0866-11-02").
480
+ dob("Colette Rahman", "0861-05-02").
481
+ dob("Courtney Parkinson", "0954-06-24").
482
+ dob("Dalton Parkinson", "0984-02-16").
483
+ dob("Dollie Barbee", "0975-03-08").
484
+ dob("Elicia Barbee", "1040-03-27").
485
+ dob("Elyse Barbee", "1033-12-12").
486
+ dob("Emma George", "0978-10-20").
487
+ dob("Garth Kean", "0954-09-11").
488
+ dob("Guadalupe Barbee", "0950-11-19").
489
+ dob("Jenni Felker", "0896-03-17").
490
+ dob("Karolyn Lance", "0924-11-06").
491
+ dob("Kelley Barbee", "0952-08-19").
492
+ dob("Kenny Barbee", "0953-06-18").
493
+ dob("Kirk Lo", "1091-03-24").
494
+ dob("Konstantin Barbee", "1007-05-04").
495
+ dob("Korey Kean", "0984-12-02").
496
+ dob("Krystle Barbee", "1008-12-24").
497
+ dob("Kurt Parkinson", "0924-12-27").
498
+ dob("Latosha Rahman", "0840-02-22").
499
+ dob("Leonila Parkinson", "0924-09-18").
500
+ dob("Lesley Barbee", "1067-06-07").
501
+ dob("Lyndon Barbee", "1036-01-09").
502
+ dob("Marvin Hope", "1013-11-28").
503
+ dob("Merrill Kean", "0981-09-04").
504
+ dob("Mitchel George", "1007-06-03").
505
+ dob("Nettie Barbee", "1032-05-15").
506
+ dob("Rocco Lance", "0924-02-03").
507
+ dob("Rory George", "0974-12-02").
508
+ dob("Royce Lo", "1059-07-07").
509
+ dob("Rudy Barbee", "0927-04-02").
510
+ dob("Solomon Rahman", "0837-10-06").
511
+ dob("Tracey Kean", "0956-03-15").
512
+ dob("Twyla Parkinson", "0949-02-16").
513
+ dob("Tyrone Parkinson", "0982-10-06").
514
+ dob("Wallace Ragland", "0951-01-09").
515
+ dob("Walter Hope", "0980-04-11").
516
+ dob("Wanda Lo", "1059-03-28").
517
+ dob("Wanita Hope", "0977-12-27").
518
+ dob("Willie Parkinson", "0954-09-22").
519
+ dob("Yasmin Ragland", "0952-10-08").
520
+ dob("Ahmad Vansickle", "0993-08-22").
521
+ dob("Albertine Thrower", "0937-11-27").
522
+ dob("Alejandrina Thrower", "0913-03-27").
523
+ dob("Andre Vansickle", "1023-01-14").
524
+ dob("Benny Guay", "0967-12-07").
525
+ dob("Brain Thrower", "0914-08-21").
526
+ dob("Candice Bianchi", "0972-05-04").
527
+ dob("Carmen Bianchi", "0973-07-04").
528
+ dob("Cesar Guay", "0943-11-10").
529
+ dob("Chrissy Vansickle", "0996-09-22").
530
+ dob("Concepcion Najera", "0970-03-15").
531
+ dob("Edgar Bianchi", "0947-04-06").
532
+ dob("Esperanza Bianchi", "0894-11-11").
533
+ dob("Esperanza Ervin", "1005-08-13").
534
+ dob("Eve Ervin", "0973-09-08").
535
+ dob("Georgette Gebhart", "0903-01-10").
536
+ dob("Gertrude Guay", "0915-06-21").
537
+ dob("Hal Gebhart", "0903-10-03").
538
+ dob("Jaime Veilleux", "1036-02-05").
539
+ dob("Jim Bianchi", "0895-10-16").
540
+ dob("Joshua Ervin", "1003-03-26").
541
+ dob("Kendrick Sherrod", "1068-05-13").
542
+ dob("Kristopher Veilleux", "1068-05-01").
543
+ dob("Landon Ervin", "0975-04-15").
544
+ dob("Laurel Bianchi", "0974-01-03").
545
+ dob("Laurel Guay", "0941-08-21").
546
+ dob("Linwood Thrower", "0965-10-01").
547
+ dob("Loraine Vansickle", "0960-04-13").
548
+ dob("Lucas Bianchi", "0923-04-04").
549
+ dob("Lura Bianchi", "0945-08-20").
550
+ dob("Maragret Bianchi", "1000-02-09").
551
+ dob("Mauricio Vansickle", "0965-09-21").
552
+ dob("Minerva Pennington", "0992-06-19").
553
+ dob("Norris Sherrod", "1032-06-23").
554
+ dob("Ollie Bianchi", "0997-04-20").
555
+ dob("Philip Thrower", "0939-12-12").
556
+ dob("Pricilla Pennington", "0969-02-09").
557
+ dob("Raphael Ervin", "1032-04-29").
558
+ dob("Renea Thrower", "0969-02-09").
559
+ dob("Robby Pennington", "0968-05-13").
560
+ dob("Rosena Veilleux", "1039-12-18").
561
+ dob("Roxy Guay", "0969-01-11").
562
+ dob("Roy Najera", "0964-10-25").
563
+ dob("Sarita Bianchi", "0922-07-27").
564
+ dob("Shante Najera", "0999-05-20").
565
+ dob("Shizuko Veilleux", "1067-12-01").
566
+ dob("Shon Guay", "0915-06-10").
567
+ dob("Sylvester Sherrod", "1067-04-16").
568
+ dob("Twila Veilleux", "1091-12-30").
569
+ dob("Winnifred Sherrod", "1038-12-21").
570
+ dob("Zachary Guay", "0995-11-14").
571
+ dob("Adella Stites", "0929-11-14").
572
+ dob("Andrea Stites", "0916-09-15").
573
+ dob("Angel Kress", "0931-04-27").
574
+ dob("Arthur Stites", "0985-08-01").
575
+ dob("Casey Dow", "0844-06-14").
576
+ dob("Cherise Darling", "0898-01-01").
577
+ dob("Chris Stites", "1016-12-17").
578
+ dob("Darrick Darling", "0899-05-10").
579
+ dob("Deirdre Fries", "0903-02-08").
580
+ dob("Donnie Turgeon", "0899-05-11").
581
+ dob("Donovan Stites", "0983-03-13").
582
+ dob("Dwain Stites", "0957-07-07").
583
+ dob("Eddie Darling", "0893-11-22").
584
+ dob("Edmond Abney", "1049-11-07").
585
+ dob("Eldon Stites", "0896-03-26").
586
+ dob("Evelia Nelms", "0958-05-17").
587
+ dob("Giovanni Stites", "0956-06-27").
588
+ dob("Grant Stites", "0922-06-03").
589
+ dob("Harvey Stites", "0929-01-08").
590
+ dob("Hunter Darling", "0844-09-18").
591
+ dob("Ione Stites", "0954-01-04").
592
+ dob("Jewel Abney", "1020-02-06").
593
+ dob("Jewell Stites", "0954-09-29").
594
+ dob("Joanne Dow", "0845-03-14").
595
+ dob("Joel Fries", "0902-03-18").
596
+ dob("Julio Nelms", "0961-08-09").
597
+ dob("Kenny Southerland", "0989-09-01").
598
+ dob("Kent Turgeon", "0870-06-09").
599
+ dob("Kieth Dow", "0871-11-28").
600
+ dob("Kisha Stites", "0946-05-23").
601
+ dob("Kris Stites", "0924-02-04").
602
+ dob("Ladawn Turgeon", "0896-03-04").
603
+ dob("Lawerence Stites", "0918-07-10").
604
+ dob("Leopoldo Stites", "0962-05-14").
605
+ dob("Marcel Abney", "1021-04-07").
606
+ dob("Margaret Turgeon", "0866-12-20").
607
+ dob("Maxwell Deming", "1011-04-16").
608
+ dob("Mayra Stites", "0987-11-25").
609
+ dob("Minnie Darling", "0872-12-10").
610
+ dob("Mitchell Darling", "0872-11-25").
611
+ dob("Nada Stites", "0958-02-11").
612
+ dob("Nickolas Deming", "0981-11-03").
613
+ dob("Oralia Kress", "0927-03-20").
614
+ dob("Pansy Southerland", "0989-04-17").
615
+ dob("Shamika Dow", "0869-07-23").
616
+ dob("Shirleen Stites", "0896-03-08").
617
+ dob("Staci Deming", "0981-08-10").
618
+ dob("Tanya Darling", "0843-11-16").
619
+ dob("Tyrone Deming", "1010-05-03").
620
+ dob("Wayne Stites", "0952-10-12").
621
+ dob("Wilmer Stites", "0952-09-18").
622
+ dob("Adella Mcbroom", "0931-03-04").
623
+ dob("Alina Huntley", "0964-03-21").
624
+ dob("Allyson Brashear", "0880-07-14").
625
+ dob("Allyson Gorton", "0911-09-02").
626
+ dob("Anastacia Grigg", "0859-03-06").
627
+ dob("Anneliese Brashear", "0847-01-07").
628
+ dob("Audie Dodge", "0942-07-10").
629
+ dob("Autumn Brashear", "0907-06-05").
630
+ dob("Barry Huntley", "0963-10-11").
631
+ dob("Bess Dodge", "0910-10-09").
632
+ dob("Booker Grigg", "0887-02-21").
633
+ dob("Brooks Huntley", "0908-07-08").
634
+ dob("Carmella Huntley", "0933-02-05").
635
+ dob("Cleveland Mcbroom", "0904-08-21").
636
+ dob("Dean Mcbroom", "0853-01-05").
637
+ dob("Demarcus Huntley", "0934-05-19").
638
+ dob("Desiree Mcbroom", "0912-04-08").
639
+ dob("Dorris Huntley", "0995-07-31").
640
+ dob("Dudley Dodge", "0944-01-05").
641
+ dob("Ezequiel Gorton", "0909-07-23").
642
+ dob("Felipe Brashear", "0851-02-01").
643
+ dob("Gwenn Mcbroom", "0852-11-05").
644
+ dob("Harvey Mcbroom", "0910-11-20").
645
+ dob("Jacquelyn Huntley", "0910-09-09").
646
+ dob("James Mcbroom", "0825-09-17").
647
+ dob("Jordan Mcbroom", "0913-04-25").
648
+ dob("Lissa Mcbroom", "0880-12-13").
649
+ dob("Lowell Gorton", "0936-04-21").
650
+ dob("Maryann Mcbroom", "0943-10-04").
651
+ dob("Matt Mcbroom", "0880-05-18").
652
+ dob("Max Gorton", "0958-04-28").
653
+ dob("Melvin Dodge", "0909-06-22").
654
+ dob("Mervin Mcbroom", "0905-08-20").
655
+ dob("Mike Grigg", "0859-04-26").
656
+ dob("Morgan Huntley", "0965-08-09").
657
+ dob("Nydia Grigg", "0884-09-18").
658
+ dob("Oleta Mcbroom", "0929-05-08").
659
+ dob("Omar Grigg", "0914-09-09").
660
+ dob("Orlando Brashear", "0875-03-28").
661
+ dob("Randolph Grigg", "0967-04-26").
662
+ dob("Rena Grigg", "0915-02-16").
663
+ dob("Reynaldo Brashear", "0881-10-03").
664
+ dob("Sandy Mcbroom", "0904-08-08").
665
+ dob("Shannon Grigg", "0941-06-17").
666
+ dob("Shelton Dodge", "0935-02-28").
667
+ dob("Sue Mcbroom", "0906-05-07").
668
+ dob("Tamara Mcbroom", "0930-03-14").
669
+ dob("Theodore Grigg", "0940-05-06").
670
+ dob("Tianna Brashear", "0910-06-12").
671
+ dob("Windy Gorton", "0937-07-03").
672
+ dob("Zelma Mcbroom", "0823-09-13").
673
+
674
+ :- dynamic file_search_path/2.
675
+ :- multifile file_search_path/2.
676
+
677
+ file_search_path(library, Dir) :-
678
+ library_directory(Dir).
679
+ file_search_path(swi, A) :-
680
+ system:current_prolog_flag(home, A).
681
+ file_search_path(swi, A) :-
682
+ system:current_prolog_flag(shared_home, A).
683
+ file_search_path(library, app_config(lib)).
684
+ file_search_path(library, swi(library)).
685
+ file_search_path(library, swi(library/clp)).
686
+ file_search_path(library, A) :-
687
+ system:'$ext_library_directory'(A).
688
+ file_search_path(foreign, swi(A)) :-
689
+ system:
690
+ ( current_prolog_flag(apple_universal_binary, true),
691
+ A='lib/fat-darwin'
692
+ ).
693
+ file_search_path(path, A) :-
694
+ system:
695
+ ( getenv('PATH', B),
696
+ current_prolog_flag(path_sep, C),
697
+ atomic_list_concat(D, C, B),
698
+ '$member'(A, D)
699
+ ).
700
+ file_search_path(user_app_data, A) :-
701
+ system:'$xdg_prolog_directory'(data, A).
702
+ file_search_path(common_app_data, A) :-
703
+ system:'$xdg_prolog_directory'(common_data, A).
704
+ file_search_path(user_app_config, A) :-
705
+ system:'$xdg_prolog_directory'(config, A).
706
+ file_search_path(common_app_config, A) :-
707
+ system:'$xdg_prolog_directory'(common_config, A).
708
+ file_search_path(app_data, user_app_data('.')).
709
+ file_search_path(app_data, common_app_data('.')).
710
+ file_search_path(app_config, user_app_config('.')).
711
+ file_search_path(app_config, common_app_config('.')).
712
+ file_search_path(app_preferences, user_app_config('.')).
713
+ file_search_path(user_profile, app_preferences('.')).
714
+ file_search_path(app, swi(app)).
715
+ file_search_path(app, app_data(app)).
716
+ file_search_path(autoload, swi(library)).
717
+ file_search_path(autoload, pce(prolog/lib)).
718
+ file_search_path(autoload, app_config(lib)).
719
+ file_search_path(autoload, Dir) :-
720
+ '$autoload':'$ext_library_directory'(Dir).
721
+ file_search_path(pack, app_data(pack)).
722
+ file_search_path(library, PackLib) :-
723
+ '$pack':pack_dir(_Name, prolog, PackLib).
724
+ file_search_path(foreign, PackLib) :-
725
+ '$pack':pack_dir(_Name, foreign, PackLib).
726
+ file_search_path(app, AppDir) :-
727
+ '$pack':pack_dir(_Name, app, AppDir).
728
+
729
+ :- multifile prolog_list_goal/1.
730
+
731
+
732
+ :- dynamic type/2.
733
+
734
+ type("Abdul Felker", person).
735
+ type("Adolph Barbee", person).
736
+ type("Alice Lance", person).
737
+ type("Allie Barbee", person).
738
+ type("Allison Barbee", person).
739
+ type("Alvin Lance", person).
740
+ type("Andres Barbee", person).
741
+ type("Andrew Parkinson", person).
742
+ type("Brooks George", person).
743
+ type("Clint Rahman", person).
744
+ type("Colette Rahman", person).
745
+ type("Courtney Parkinson", person).
746
+ type("Dalton Parkinson", person).
747
+ type("Dollie Barbee", person).
748
+ type("Elicia Barbee", person).
749
+ type("Elyse Barbee", person).
750
+ type("Emma George", person).
751
+ type("Garth Kean", person).
752
+ type("Guadalupe Barbee", person).
753
+ type("Jenni Felker", person).
754
+ type("Karolyn Lance", person).
755
+ type("Kelley Barbee", person).
756
+ type("Kenny Barbee", person).
757
+ type("Kirk Lo", person).
758
+ type("Konstantin Barbee", person).
759
+ type("Korey Kean", person).
760
+ type("Krystle Barbee", person).
761
+ type("Kurt Parkinson", person).
762
+ type("Latosha Rahman", person).
763
+ type("Leonila Parkinson", person).
764
+ type("Lesley Barbee", person).
765
+ type("Lyndon Barbee", person).
766
+ type("Marvin Hope", person).
767
+ type("Merrill Kean", person).
768
+ type("Mitchel George", person).
769
+ type("Nettie Barbee", person).
770
+ type("Rocco Lance", person).
771
+ type("Rory George", person).
772
+ type("Royce Lo", person).
773
+ type("Rudy Barbee", person).
774
+ type("Solomon Rahman", person).
775
+ type("Tracey Kean", person).
776
+ type("Twyla Parkinson", person).
777
+ type("Tyrone Parkinson", person).
778
+ type("Wallace Ragland", person).
779
+ type("Walter Hope", person).
780
+ type("Wanda Lo", person).
781
+ type("Wanita Hope", person).
782
+ type("Willie Parkinson", person).
783
+ type("Yasmin Ragland", person).
784
+ type("Ahmad Vansickle", person).
785
+ type("Albertine Thrower", person).
786
+ type("Alejandrina Thrower", person).
787
+ type("Andre Vansickle", person).
788
+ type("Benny Guay", person).
789
+ type("Brain Thrower", person).
790
+ type("Candice Bianchi", person).
791
+ type("Carmen Bianchi", person).
792
+ type("Cesar Guay", person).
793
+ type("Chrissy Vansickle", person).
794
+ type("Concepcion Najera", person).
795
+ type("Edgar Bianchi", person).
796
+ type("Esperanza Bianchi", person).
797
+ type("Esperanza Ervin", person).
798
+ type("Eve Ervin", person).
799
+ type("Georgette Gebhart", person).
800
+ type("Gertrude Guay", person).
801
+ type("Hal Gebhart", person).
802
+ type("Jaime Veilleux", person).
803
+ type("Jim Bianchi", person).
804
+ type("Joshua Ervin", person).
805
+ type("Kendrick Sherrod", person).
806
+ type("Kristopher Veilleux", person).
807
+ type("Landon Ervin", person).
808
+ type("Laurel Bianchi", person).
809
+ type("Laurel Guay", person).
810
+ type("Linwood Thrower", person).
811
+ type("Loraine Vansickle", person).
812
+ type("Lucas Bianchi", person).
813
+ type("Lura Bianchi", person).
814
+ type("Maragret Bianchi", person).
815
+ type("Mauricio Vansickle", person).
816
+ type("Minerva Pennington", person).
817
+ type("Norris Sherrod", person).
818
+ type("Ollie Bianchi", person).
819
+ type("Philip Thrower", person).
820
+ type("Pricilla Pennington", person).
821
+ type("Raphael Ervin", person).
822
+ type("Renea Thrower", person).
823
+ type("Robby Pennington", person).
824
+ type("Rosena Veilleux", person).
825
+ type("Roxy Guay", person).
826
+ type("Roy Najera", person).
827
+ type("Sarita Bianchi", person).
828
+ type("Shante Najera", person).
829
+ type("Shizuko Veilleux", person).
830
+ type("Shon Guay", person).
831
+ type("Sylvester Sherrod", person).
832
+ type("Twila Veilleux", person).
833
+ type("Winnifred Sherrod", person).
834
+ type("Zachary Guay", person).
835
+ type("Adella Stites", person).
836
+ type("Andrea Stites", person).
837
+ type("Angel Kress", person).
838
+ type("Arthur Stites", person).
839
+ type("Casey Dow", person).
840
+ type("Cherise Darling", person).
841
+ type("Chris Stites", person).
842
+ type("Darrick Darling", person).
843
+ type("Deirdre Fries", person).
844
+ type("Donnie Turgeon", person).
845
+ type("Donovan Stites", person).
846
+ type("Dwain Stites", person).
847
+ type("Eddie Darling", person).
848
+ type("Edmond Abney", person).
849
+ type("Eldon Stites", person).
850
+ type("Evelia Nelms", person).
851
+ type("Giovanni Stites", person).
852
+ type("Grant Stites", person).
853
+ type("Harvey Stites", person).
854
+ type("Hunter Darling", person).
855
+ type("Ione Stites", person).
856
+ type("Jewel Abney", person).
857
+ type("Jewell Stites", person).
858
+ type("Joanne Dow", person).
859
+ type("Joel Fries", person).
860
+ type("Julio Nelms", person).
861
+ type("Kenny Southerland", person).
862
+ type("Kent Turgeon", person).
863
+ type("Kieth Dow", person).
864
+ type("Kisha Stites", person).
865
+ type("Kris Stites", person).
866
+ type("Ladawn Turgeon", person).
867
+ type("Lawerence Stites", person).
868
+ type("Leopoldo Stites", person).
869
+ type("Marcel Abney", person).
870
+ type("Margaret Turgeon", person).
871
+ type("Maxwell Deming", person).
872
+ type("Mayra Stites", person).
873
+ type("Minnie Darling", person).
874
+ type("Mitchell Darling", person).
875
+ type("Nada Stites", person).
876
+ type("Nickolas Deming", person).
877
+ type("Oralia Kress", person).
878
+ type("Pansy Southerland", person).
879
+ type("Shamika Dow", person).
880
+ type("Shirleen Stites", person).
881
+ type("Staci Deming", person).
882
+ type("Tanya Darling", person).
883
+ type("Tyrone Deming", person).
884
+ type("Wayne Stites", person).
885
+ type("Wilmer Stites", person).
886
+ type("Adella Mcbroom", person).
887
+ type("Alina Huntley", person).
888
+ type("Allyson Brashear", person).
889
+ type("Allyson Gorton", person).
890
+ type("Anastacia Grigg", person).
891
+ type("Anneliese Brashear", person).
892
+ type("Audie Dodge", person).
893
+ type("Autumn Brashear", person).
894
+ type("Barry Huntley", person).
895
+ type("Bess Dodge", person).
896
+ type("Booker Grigg", person).
897
+ type("Brooks Huntley", person).
898
+ type("Carmella Huntley", person).
899
+ type("Cleveland Mcbroom", person).
900
+ type("Dean Mcbroom", person).
901
+ type("Demarcus Huntley", person).
902
+ type("Desiree Mcbroom", person).
903
+ type("Dorris Huntley", person).
904
+ type("Dudley Dodge", person).
905
+ type("Ezequiel Gorton", person).
906
+ type("Felipe Brashear", person).
907
+ type("Gwenn Mcbroom", person).
908
+ type("Harvey Mcbroom", person).
909
+ type("Jacquelyn Huntley", person).
910
+ type("James Mcbroom", person).
911
+ type("Jordan Mcbroom", person).
912
+ type("Lissa Mcbroom", person).
913
+ type("Lowell Gorton", person).
914
+ type("Maryann Mcbroom", person).
915
+ type("Matt Mcbroom", person).
916
+ type("Max Gorton", person).
917
+ type("Melvin Dodge", person).
918
+ type("Mervin Mcbroom", person).
919
+ type("Mike Grigg", person).
920
+ type("Morgan Huntley", person).
921
+ type("Nydia Grigg", person).
922
+ type("Oleta Mcbroom", person).
923
+ type("Omar Grigg", person).
924
+ type("Orlando Brashear", person).
925
+ type("Randolph Grigg", person).
926
+ type("Rena Grigg", person).
927
+ type("Reynaldo Brashear", person).
928
+ type("Sandy Mcbroom", person).
929
+ type("Shannon Grigg", person).
930
+ type("Shelton Dodge", person).
931
+ type("Sue Mcbroom", person).
932
+ type("Tamara Mcbroom", person).
933
+ type("Theodore Grigg", person).
934
+ type("Tianna Brashear", person).
935
+ type("Windy Gorton", person).
936
+ type("Zelma Mcbroom", person).
937
+
938
+ grandfather(X, Y) :-
939
+ grandparent(X, Y),
940
+ male(Y).
941
+
942
+ :- dynamic expand_query/4.
943
+ :- multifile expand_query/4.
944
+
945
+
946
+ :- dynamic attribute/1.
947
+
948
+ attribute("police officer").
949
+ attribute("birdwatching").
950
+ attribute("community education officer").
951
+ attribute("geography").
952
+ attribute("herbalist").
953
+ attribute("research").
954
+ attribute("podiatrist").
955
+ attribute("audiophile").
956
+ attribute("prison officer").
957
+ attribute("knowledge/word games").
958
+ attribute("animal technologist").
959
+ attribute("geocaching").
960
+ attribute("leisure centre manager").
961
+ attribute("croquet").
962
+ attribute("speech and language therapist").
963
+ attribute("badminton").
964
+ attribute("dietitian").
965
+ attribute("fossil hunting").
966
+ attribute("amenity horticulturist").
967
+ attribute("rail transport modelling").
968
+ attribute("theatre stage manager").
969
+ attribute("jujitsu").
970
+ attribute("hydrologist").
971
+ attribute("beauty pageants").
972
+ attribute("learning mentor").
973
+ attribute("softball").
974
+ attribute("location manager").
975
+ attribute("golfing").
976
+ attribute("chartered management accountant").
977
+ attribute("inline skating").
978
+ attribute("plant breeder").
979
+ attribute("radio-controlled model collecting").
980
+ attribute("advertising account executive").
981
+ attribute("videography").
982
+ attribute("tourism officer").
983
+ attribute("butterfly watching").
984
+ attribute("civil service fast streamer").
985
+ attribute("learning").
986
+ attribute("designer").
987
+ attribute("business").
988
+ attribute("development worker").
989
+ attribute("curling").
990
+ attribute("tourist information centre manager").
991
+ attribute("magnet fishing").
992
+ attribute("community education officer").
993
+ attribute("pickleball").
994
+ attribute("farm manager").
995
+ attribute("shuffleboard").
996
+ attribute("doctor").
997
+ attribute("geocaching").
998
+ attribute("newspaper journalist").
999
+ attribute("trade fair visiting").
1000
+ attribute("customer service manager").
1001
+ attribute("lapel pins").
1002
+ attribute("public house manager").
1003
+ attribute("rock balancing").
1004
+ attribute("exercise physiologist").
1005
+ attribute("breakdancing").
1006
+ attribute("early years teacher").
1007
+ attribute("audiophile").
1008
+ attribute("chief executive officer").
1009
+ attribute("dairy farming").
1010
+ attribute("bookseller").
1011
+ attribute("research").
1012
+ attribute("physiotherapist").
1013
+ attribute("mineral collecting").
1014
+ attribute("occupational hygienist").
1015
+ attribute("research").
1016
+ attribute("advertising copywriter").
1017
+ attribute("mineral collecting").
1018
+ attribute("radiographer").
1019
+ attribute("learning").
1020
+ attribute("mining engineer").
1021
+ attribute("magnet fishing").
1022
+ attribute("warden").
1023
+ attribute("whale watching").
1024
+ attribute("regulatory affairs officer").
1025
+ attribute("research").
1026
+ attribute("location manager").
1027
+ attribute("fusilately").
1028
+ attribute("producer").
1029
+ attribute("shortwave listening").
1030
+ attribute("teaching laboratory technician").
1031
+ attribute("microscopy").
1032
+ attribute("orthoptist").
1033
+ attribute("life science").
1034
+ attribute("agricultural consultant").
1035
+ attribute("meditation").
1036
+ attribute("quarry manager").
1037
+ attribute("science and technology studies").
1038
+ attribute("risk analyst").
1039
+ attribute("frisbee").
1040
+ attribute("physiological scientist").
1041
+ attribute("satellite watching").
1042
+ attribute("equality and diversity officer").
1043
+ attribute("chemistry").
1044
+ attribute("firefighter").
1045
+ attribute("ballet dancing").
1046
+ attribute("purchasing manager").
1047
+ attribute("antiquities").
1048
+ attribute("illustrator").
1049
+ attribute("rock balancing").
1050
+ attribute("press photographer").
1051
+ attribute("leaves").
1052
+ attribute("legal executive").
1053
+ attribute("table football").
1054
+ attribute("neurosurgeon").
1055
+ attribute("shogi").
1056
+ attribute("IT sales professional").
1057
+ attribute("learning").
1058
+ attribute("quarry manager").
1059
+ attribute("radio-controlled model playing").
1060
+ attribute("veterinary surgeon").
1061
+ attribute("whale watching").
1062
+ attribute("merchandiser").
1063
+ attribute("sociology").
1064
+ attribute("clinical scientist").
1065
+ attribute("people-watching").
1066
+ attribute("equities trader").
1067
+ attribute("bowling").
1068
+ attribute("TEFL teacher").
1069
+ attribute("city trip").
1070
+ attribute("pension scheme manager").
1071
+ attribute("ant farming").
1072
+ attribute("outdoor activities manager").
1073
+ attribute("whale watching").
1074
+ attribute("musician").
1075
+ attribute("button collecting").
1076
+ attribute("artist").
1077
+ attribute("archaeology").
1078
+ attribute("customer service manager").
1079
+ attribute("herping").
1080
+ attribute("dancer").
1081
+ attribute("audiophile").
1082
+ attribute("educational psychologist").
1083
+ attribute("fencing").
1084
+ attribute("animator").
1085
+ attribute("magnet fishing").
1086
+ attribute("barrister's clerk").
1087
+ attribute("mineral collecting").
1088
+ attribute("oceanographer").
1089
+ attribute("table tennis").
1090
+ attribute("chemical engineer").
1091
+ attribute("shortwave listening").
1092
+ attribute("animator").
1093
+ attribute("geocaching").
1094
+ attribute("production designer").
1095
+ attribute("physics").
1096
+ attribute("surveyor").
1097
+ attribute("polo").
1098
+ attribute("animator").
1099
+ attribute("lotology").
1100
+ attribute("advice worker").
1101
+ attribute("stone collecting").
1102
+ attribute("sports coach").
1103
+ attribute("flower collecting and pressing").
1104
+ attribute("scientific laboratory technician").
1105
+ attribute("research").
1106
+ attribute("psychiatric nurse").
1107
+ attribute("netball").
1108
+ attribute("water engineer").
1109
+ attribute("architecture").
1110
+ attribute("professor emeritus").
1111
+ attribute("bus spotting").
1112
+ attribute("loss adjuster").
1113
+ attribute("shortwave listening").
1114
+ attribute("sales promotion account executive").
1115
+ attribute("radio-controlled model playing").
1116
+ attribute("telecommunications researcher").
1117
+ attribute("archaeology").
1118
+ attribute("music tutor").
1119
+ attribute("geography").
1120
+ attribute("software engineer").
1121
+ attribute("audiophile").
1122
+ attribute("film editor").
1123
+ attribute("sea glass collecting").
1124
+ attribute("therapist").
1125
+ attribute("auto audiophilia").
1126
+ attribute("quarry manager").
1127
+ attribute("aircraft spotting").
1128
+ attribute("bookseller").
1129
+ attribute("stone collecting").
1130
+ attribute("public affairs consultant").
1131
+ attribute("fencing").
1132
+ attribute("camera operator").
1133
+ attribute("cribbage").
1134
+ attribute("artist").
1135
+ attribute("ant-keeping").
1136
+ attribute("secondary school teacher").
1137
+ attribute("skateboarding").
1138
+ attribute("sports administrator").
1139
+ attribute("herbalism").
1140
+ attribute("radio producer").
1141
+ attribute("satellite watching").
1142
+ attribute("seismic interpreter").
1143
+ attribute("airsoft").
1144
+ attribute("charity fundraiser").
1145
+ attribute("beekeeping").
1146
+ attribute("museum education officer").
1147
+ attribute("darts").
1148
+ attribute("artist").
1149
+ attribute("photography").
1150
+ attribute("catering manager").
1151
+ attribute("bus spotting").
1152
+ attribute("cabin crew").
1153
+ attribute("laser tag").
1154
+ attribute("print production planner").
1155
+ attribute("geography").
1156
+ attribute("editorial assistant").
1157
+ attribute("powerboat racing").
1158
+ attribute("adult guidance worker").
1159
+ attribute("shortwave listening").
1160
+ attribute("dance movement psychotherapist").
1161
+ attribute("backgammon").
1162
+ attribute("mechanical engineer").
1163
+ attribute("disc golf").
1164
+ attribute("software engineer").
1165
+ attribute("nordic skating").
1166
+ attribute("personnel officer").
1167
+ attribute("shopping").
1168
+ attribute("quarry manager").
1169
+ attribute("auto racing").
1170
+ attribute("social worker").
1171
+ attribute("benchmarking").
1172
+ attribute("careers information officer").
1173
+ attribute("microbiology").
1174
+ attribute("journalist").
1175
+ attribute("research").
1176
+ attribute("merchandiser").
1177
+ attribute("tennis").
1178
+ attribute("arts administrator").
1179
+ attribute("surfing").
1180
+ attribute("careers information officer").
1181
+ attribute("sports memorabilia").
1182
+ attribute("child psychotherapist").
1183
+ attribute("backgammon").
1184
+ attribute("chartered loss adjuster").
1185
+ attribute("meteorology").
1186
+ attribute("corporate investment banker").
1187
+ attribute("whale watching").
1188
+ attribute("fashion designer").
1189
+ attribute("beekeeping").
1190
+ attribute("bonds trader").
1191
+ attribute("entrepreneurship").
1192
+ attribute("lecturer").
1193
+ attribute("railway studies").
1194
+ attribute("advertising account planner").
1195
+ attribute("mathematics").
1196
+ attribute("careers information officer").
1197
+ attribute("leaves").
1198
+ attribute("translator").
1199
+ attribute("sea glass collecting").
1200
+ attribute("geochemist").
1201
+ attribute("snowboarding").
1202
+ attribute("chartered legal executive").
1203
+ attribute("trainspotting").
1204
+ attribute("therapist").
1205
+ attribute("sea glass collecting").
1206
+ attribute("medical illustrator").
1207
+ attribute("learning").
1208
+ attribute("programme researcher").
1209
+ attribute("meteorology").
1210
+ attribute("financial controller").
1211
+ attribute("microscopy").
1212
+ attribute("pathologist").
1213
+ attribute("publishing").
1214
+ attribute("seismic interpreter").
1215
+ attribute("aircraft spotting").
1216
+ attribute("technical author").
1217
+ attribute("research").
1218
+ attribute("leisure centre manager").
1219
+ attribute("tour skating").
1220
+ attribute("sound technician").
1221
+ attribute("science and technology studies").
1222
+ attribute("pilot").
1223
+ attribute("cycling").
1224
+ attribute("IT technical support officer").
1225
+ attribute("meditation").
1226
+ attribute("social researcher").
1227
+ attribute("fossil hunting").
1228
+ attribute("video editor").
1229
+ attribute("auto audiophilia").
1230
+ attribute("chief technology officer").
1231
+ attribute("antiquities").
1232
+ attribute("clothing technologist").
1233
+ attribute("engineering").
1234
+ attribute("analytical chemist").
1235
+ attribute("butterfly watching").
1236
+ attribute("health visitor").
1237
+ attribute("ant farming").
1238
+ attribute("museum conservator").
1239
+ attribute("fishkeeping").
1240
+ attribute("plant breeder").
1241
+ attribute("knife collecting").
1242
+ attribute("curator").
1243
+ attribute("sea glass collecting").
1244
+ attribute("chartered management accountant").
1245
+ attribute("auto audiophilia").
1246
+ attribute("ambulance person").
1247
+ attribute("publishing").
1248
+ attribute("brewing technologist").
1249
+ attribute("vintage cars").
1250
+ attribute("community arts worker").
1251
+ attribute("exhibition drill").
1252
+ attribute("petroleum engineer").
1253
+ attribute("microscopy").
1254
+ attribute("rural practice surveyor").
1255
+ attribute("insect collecting").
1256
+ attribute("petroleum engineer").
1257
+ attribute("reading").
1258
+ attribute("legal secretary").
1259
+ attribute("beach volleyball").
1260
+ attribute("herbalist").
1261
+ attribute("squash").
1262
+ attribute("private music teacher").
1263
+ attribute("whale watching").
1264
+ attribute("air broker").
1265
+ attribute("mineral collecting").
1266
+ attribute("chemist").
1267
+ attribute("reading").
1268
+ attribute("therapist").
1269
+ attribute("table football").
1270
+ attribute("minerals surveyor").
1271
+ attribute("equestrianism").
1272
+ attribute("computer games developer").
1273
+ attribute("car riding").
1274
+ attribute("corporate treasurer").
1275
+ attribute("hobby horsing").
1276
+ attribute("textile designer").
1277
+ attribute("jujitsu").
1278
+ attribute("local government officer").
1279
+ attribute("publishing").
1280
+ attribute("building services engineer").
1281
+ attribute("geocaching").
1282
+ attribute("surveyor").
1283
+ attribute("social studies").
1284
+ attribute("public relations account executive").
1285
+ attribute("shortwave listening").
1286
+ attribute("lawyer").
1287
+ attribute("birdwatching").
1288
+ attribute("oncologist").
1289
+ attribute("deltiology").
1290
+ attribute("senior tax professional").
1291
+ attribute("leaves").
1292
+ attribute("textile designer").
1293
+ attribute("fishkeeping").
1294
+ attribute("estate manager").
1295
+ attribute("butterfly watching").
1296
+ attribute("chief operating officer").
1297
+ attribute("publishing").
1298
+ attribute("chiropractor").
1299
+ attribute("biology").
1300
+ attribute("chief technology officer").
1301
+ attribute("movie memorabilia collecting").
1302
+ attribute("herbalist").
1303
+ attribute("butterfly watching").
1304
+ attribute("media buyer").
1305
+ attribute("myrmecology").
1306
+ attribute("secondary school teacher").
1307
+ attribute("seashell collecting").
1308
+ attribute("agricultural consultant").
1309
+ attribute("shoes").
1310
+ attribute("fashion designer").
1311
+ attribute("research").
1312
+ attribute("acupuncturist").
1313
+ attribute("amateur astronomy").
1314
+ attribute("clothing technologist").
1315
+ attribute("bowling").
1316
+ attribute("building services engineer").
1317
+ attribute("ant-keeping").
1318
+ attribute("purchasing manager").
1319
+ attribute("herping").
1320
+ attribute("medical technical officer").
1321
+ attribute("shortwave listening").
1322
+ attribute("broadcast presenter").
1323
+ attribute("aircraft spotting").
1324
+ attribute("retail merchandiser").
1325
+ attribute("lacrosse").
1326
+ attribute("nutritional therapist").
1327
+ attribute("horseshoes").
1328
+ attribute("therapeutic radiographer").
1329
+ attribute("seashell collecting").
1330
+ attribute("geographical information systems officer").
1331
+ attribute("flying").
1332
+ attribute("computer games developer").
1333
+ attribute("pinball").
1334
+ attribute("copy").
1335
+ attribute("crystals").
1336
+ attribute("embryologist").
1337
+ attribute("antiquities").
1338
+ attribute("insurance account manager").
1339
+ attribute("shoes").
1340
+ attribute("education administrator").
1341
+ attribute("association football").
1342
+ attribute("maintenance engineer").
1343
+ attribute("horseback riding").
1344
+ attribute("proofreader").
1345
+ attribute("fossil hunting").
1346
+ attribute("financial planner").
1347
+ attribute("lapel pins").
1348
+ attribute("arts administrator").
1349
+ attribute("transit map collecting").
1350
+ attribute("loss adjuster").
1351
+ attribute("driving").
1352
+ attribute("banker").
1353
+ attribute("larping").
1354
+
1355
+ great_aunt(X, Y) :-
1356
+ grandparent(X, A),
1357
+ sister(A, Y).
1358
+
1359
+ grandparent(X, Y) :-
1360
+ parent(X, Z),
1361
+ parent(Z, Y).
1362
+
1363
+ grandmother(X, Y) :-
1364
+ grandparent(X, Y),
1365
+ female(Y).
1366
+
1367
+ :- dynamic friend_/2.
1368
+
1369
+ friend_("Abdul Felker", "Garth Kean").
1370
+ friend_("Abdul Felker", "Kirk Lo").
1371
+ friend_("Abdul Felker", "Eve Ervin").
1372
+ friend_("Abdul Felker", "Winnifred Sherrod").
1373
+ friend_("Abdul Felker", "Marcel Abney").
1374
+ friend_("Adolph Barbee", "Concepcion Najera").
1375
+ friend_("Adolph Barbee", "Shannon Grigg").
1376
+ friend_("Alice Lance", "Kenny Barbee").
1377
+ friend_("Alice Lance", "Renea Thrower").
1378
+ friend_("Alice Lance", "Kent Turgeon").
1379
+ friend_("Alice Lance", "Jordan Mcbroom").
1380
+ friend_("Alice Lance", "Maryann Mcbroom").
1381
+ friend_("Alice Lance", "Shelton Dodge").
1382
+ friend_("Allie Barbee", "Allison Barbee").
1383
+ friend_("Allie Barbee", "Solomon Rahman").
1384
+ friend_("Allie Barbee", "Twila Veilleux").
1385
+ friend_("Allison Barbee", "Solomon Rahman").
1386
+ friend_("Allison Barbee", "Tracey Kean").
1387
+ friend_("Alvin Lance", "Leonila Parkinson").
1388
+ friend_("Alvin Lance", "Albertine Thrower").
1389
+ friend_("Alvin Lance", "Kenny Southerland").
1390
+ friend_("Andres Barbee", "Edgar Bianchi").
1391
+ friend_("Andres Barbee", "Georgette Gebhart").
1392
+ friend_("Andrew Parkinson", "Tyrone Parkinson").
1393
+ friend_("Andrew Parkinson", "Chrissy Vansickle").
1394
+ friend_("Andrew Parkinson", "Kristopher Veilleux").
1395
+ friend_("Andrew Parkinson", "Casey Dow").
1396
+ friend_("Andrew Parkinson", "Hunter Darling").
1397
+ friend_("Andrew Parkinson", "Jewel Abney").
1398
+ friend_("Brooks George", "Albertine Thrower").
1399
+ friend_("Brooks George", "Edgar Bianchi").
1400
+ friend_("Brooks George", "Esperanza Ervin").
1401
+ friend_("Brooks George", "Maxwell Deming").
1402
+ friend_("Brooks George", "Anastacia Grigg").
1403
+ friend_("Brooks George", "Dudley Dodge").
1404
+ friend_("Colette Rahman", "Albertine Thrower").
1405
+ friend_("Colette Rahman", "Carmella Huntley").
1406
+ friend_("Colette Rahman", "Rena Grigg").
1407
+ friend_("Dalton Parkinson", "Alejandrina Thrower").
1408
+ friend_("Dalton Parkinson", "Jordan Mcbroom").
1409
+ friend_("Dollie Barbee", "Winnifred Sherrod").
1410
+ friend_("Elicia Barbee", "Norris Sherrod").
1411
+ friend_("Elicia Barbee", "Joel Fries").
1412
+ friend_("Elicia Barbee", "Anneliese Brashear").
1413
+ friend_("Elicia Barbee", "Matt Mcbroom").
1414
+ friend_("Elyse Barbee", "Krystle Barbee").
1415
+ friend_("Elyse Barbee", "Joshua Ervin").
1416
+ friend_("Elyse Barbee", "Dwain Stites").
1417
+ friend_("Elyse Barbee", "Ladawn Turgeon").
1418
+ friend_("Emma George", "Kristopher Veilleux").
1419
+ friend_("Emma George", "Shizuko Veilleux").
1420
+ friend_("Emma George", "Giovanni Stites").
1421
+ friend_("Garth Kean", "Rocco Lance").
1422
+ friend_("Garth Kean", "Audie Dodge").
1423
+ friend_("Guadalupe Barbee", "Carmen Bianchi").
1424
+ friend_("Guadalupe Barbee", "Pricilla Pennington").
1425
+ friend_("Guadalupe Barbee", "Roxy Guay").
1426
+ friend_("Guadalupe Barbee", "Harvey Stites").
1427
+ friend_("Jenni Felker", "Cesar Guay").
1428
+ friend_("Jenni Felker", "Darrick Darling").
1429
+ friend_("Jenni Felker", "Eddie Darling").
1430
+ friend_("Jenni Felker", "Kisha Stites").
1431
+ friend_("Jenni Felker", "Alina Huntley").
1432
+ friend_("Karolyn Lance", "Marvin Hope").
1433
+ friend_("Karolyn Lance", "Rory George").
1434
+ friend_("Karolyn Lance", "Candice Bianchi").
1435
+ friend_("Karolyn Lance", "Carmen Bianchi").
1436
+ friend_("Karolyn Lance", "Georgette Gebhart").
1437
+ friend_("Karolyn Lance", "Jewell Stites").
1438
+ friend_("Karolyn Lance", "Maxwell Deming").
1439
+ friend_("Kelley Barbee", "Philip Thrower").
1440
+ friend_("Kelley Barbee", "Kris Stites").
1441
+ friend_("Kenny Barbee", "Shante Najera").
1442
+ friend_("Kenny Barbee", "Donovan Stites").
1443
+ friend_("Kirk Lo", "Konstantin Barbee").
1444
+ friend_("Kirk Lo", "Donovan Stites").
1445
+ friend_("Korey Kean", "Tyrone Parkinson").
1446
+ friend_("Korey Kean", "Chrissy Vansickle").
1447
+ friend_("Korey Kean", "Shante Najera").
1448
+ friend_("Korey Kean", "Casey Dow").
1449
+ friend_("Krystle Barbee", "Evelia Nelms").
1450
+ friend_("Krystle Barbee", "Lawerence Stites").
1451
+ friend_("Krystle Barbee", "Oralia Kress").
1452
+ friend_("Kurt Parkinson", "Marvin Hope").
1453
+ friend_("Kurt Parkinson", "Autumn Brashear").
1454
+ friend_("Kurt Parkinson", "Carmella Huntley").
1455
+ friend_("Kurt Parkinson", "Max Gorton").
1456
+ friend_("Kurt Parkinson", "Shannon Grigg").
1457
+ friend_("Latosha Rahman", "Maragret Bianchi").
1458
+ friend_("Latosha Rahman", "Shante Najera").
1459
+ friend_("Latosha Rahman", "Angel Kress").
1460
+ friend_("Latosha Rahman", "Bess Dodge").
1461
+ friend_("Leonila Parkinson", "Marvin Hope").
1462
+ friend_("Leonila Parkinson", "Deirdre Fries").
1463
+ friend_("Leonila Parkinson", "Eldon Stites").
1464
+ friend_("Lesley Barbee", "Loraine Vansickle").
1465
+ friend_("Lesley Barbee", "Joanne Dow").
1466
+ friend_("Lesley Barbee", "Bess Dodge").
1467
+ friend_("Lyndon Barbee", "Andrea Stites").
1468
+ friend_("Lyndon Barbee", "James Mcbroom").
1469
+ friend_("Marvin Hope", "Lura Bianchi").
1470
+ friend_("Marvin Hope", "Audie Dodge").
1471
+ friend_("Marvin Hope", "Matt Mcbroom").
1472
+ friend_("Marvin Hope", "Shannon Grigg").
1473
+ friend_("Merrill Kean", "Mauricio Vansickle").
1474
+ friend_("Merrill Kean", "Harvey Stites").
1475
+ friend_("Merrill Kean", "Barry Huntley").
1476
+ friend_("Merrill Kean", "Oleta Mcbroom").
1477
+ friend_("Mitchel George", "Rena Grigg").
1478
+ friend_("Nettie Barbee", "Sarita Bianchi").
1479
+ friend_("Rory George", "Candice Bianchi").
1480
+ friend_("Rory George", "Carmen Bianchi").
1481
+ friend_("Rory George", "Rosena Veilleux").
1482
+ friend_("Rory George", "Hunter Darling").
1483
+ friend_("Rory George", "Tianna Brashear").
1484
+ friend_("Royce Lo", "Matt Mcbroom").
1485
+ friend_("Rudy Barbee", "Randolph Grigg").
1486
+ friend_("Solomon Rahman", "Raphael Ervin").
1487
+ friend_("Solomon Rahman", "Lawerence Stites").
1488
+ friend_("Solomon Rahman", "Audie Dodge").
1489
+ friend_("Twyla Parkinson", "Brain Thrower").
1490
+ friend_("Twyla Parkinson", "Ladawn Turgeon").
1491
+ friend_("Twyla Parkinson", "Mayra Stites").
1492
+ friend_("Twyla Parkinson", "Brooks Huntley").
1493
+ friend_("Twyla Parkinson", "Desiree Mcbroom").
1494
+ friend_("Twyla Parkinson", "Lissa Mcbroom").
1495
+ friend_("Twyla Parkinson", "Oleta Mcbroom").
1496
+ friend_("Twyla Parkinson", "Sue Mcbroom").
1497
+ friend_("Twyla Parkinson", "Windy Gorton").
1498
+ friend_("Tyrone Parkinson", "Wanita Hope").
1499
+ friend_("Tyrone Parkinson", "Chrissy Vansickle").
1500
+ friend_("Tyrone Parkinson", "Concepcion Najera").
1501
+ friend_("Tyrone Parkinson", "Margaret Turgeon").
1502
+ friend_("Tyrone Parkinson", "Anneliese Brashear").
1503
+ friend_("Wallace Ragland", "Kristopher Veilleux").
1504
+ friend_("Walter Hope", "Margaret Turgeon").
1505
+ friend_("Wanda Lo", "Bess Dodge").
1506
+ friend_("Wanita Hope", "Margaret Turgeon").
1507
+ friend_("Willie Parkinson", "Kisha Stites").
1508
+ friend_("Willie Parkinson", "Lawerence Stites").
1509
+ friend_("Yasmin Ragland", "Jewel Abney").
1510
+ friend_("Yasmin Ragland", "Nickolas Deming").
1511
+ friend_("Yasmin Ragland", "Felipe Brashear").
1512
+ friend_("Yasmin Ragland", "Morgan Huntley").
1513
+ friend_("Ahmad Vansickle", "Robby Pennington").
1514
+ friend_("Albertine Thrower", "Jewel Abney").
1515
+ friend_("Alejandrina Thrower", "Edmond Abney").
1516
+ friend_("Alejandrina Thrower", "Morgan Huntley").
1517
+ friend_("Andre Vansickle", "Maragret Bianchi").
1518
+ friend_("Andre Vansickle", "Kisha Stites").
1519
+ friend_("Andre Vansickle", "Nada Stites").
1520
+ friend_("Benny Guay", "Giovanni Stites").
1521
+ friend_("Benny Guay", "Kieth Dow").
1522
+ friend_("Benny Guay", "Autumn Brashear").
1523
+ friend_("Benny Guay", "Rena Grigg").
1524
+ friend_("Brain Thrower", "Oleta Mcbroom").
1525
+ friend_("Candice Bianchi", "Renea Thrower").
1526
+ friend_("Carmen Bianchi", "Ollie Bianchi").
1527
+ friend_("Cesar Guay", "Landon Ervin").
1528
+ friend_("Cesar Guay", "Giovanni Stites").
1529
+ friend_("Cesar Guay", "Margaret Turgeon").
1530
+ friend_("Chrissy Vansickle", "Anneliese Brashear").
1531
+ friend_("Chrissy Vansickle", "Matt Mcbroom").
1532
+ friend_("Concepcion Najera", "Winnifred Sherrod").
1533
+ friend_("Edgar Bianchi", "Darrick Darling").
1534
+ friend_("Edgar Bianchi", "Shirleen Stites").
1535
+ friend_("Edgar Bianchi", "Mervin Mcbroom").
1536
+ friend_("Esperanza Bianchi", "Cleveland Mcbroom").
1537
+ friend_("Esperanza Ervin", "Marcel Abney").
1538
+ friend_("Esperanza Ervin", "Gwenn Mcbroom").
1539
+ friend_("Esperanza Ervin", "Windy Gorton").
1540
+ friend_("Eve Ervin", "Twila Veilleux").
1541
+ friend_("Eve Ervin", "Ione Stites").
1542
+ friend_("Georgette Gebhart", "Kisha Stites").
1543
+ friend_("Gertrude Guay", "Roxy Guay").
1544
+ friend_("Gertrude Guay", "Hunter Darling").
1545
+ friend_("Gertrude Guay", "Shamika Dow").
1546
+ friend_("Gertrude Guay", "Jordan Mcbroom").
1547
+ friend_("Hal Gebhart", "Loraine Vansickle").
1548
+ friend_("Jaime Veilleux", "Chris Stites").
1549
+ friend_("Jim Bianchi", "Laurel Bianchi").
1550
+ friend_("Jim Bianchi", "Rosena Veilleux").
1551
+ friend_("Jim Bianchi", "Sarita Bianchi").
1552
+ friend_("Jim Bianchi", "Jewel Abney").
1553
+ friend_("Jim Bianchi", "Sandy Mcbroom").
1554
+ friend_("Joshua Ervin", "Leopoldo Stites").
1555
+ friend_("Kendrick Sherrod", "Morgan Huntley").
1556
+ friend_("Kristopher Veilleux", "Staci Deming").
1557
+ friend_("Kristopher Veilleux", "Allyson Brashear").
1558
+ friend_("Kristopher Veilleux", "Mike Grigg").
1559
+ friend_("Landon Ervin", "Bess Dodge").
1560
+ friend_("Laurel Bianchi", "Casey Dow").
1561
+ friend_("Laurel Bianchi", "Kieth Dow").
1562
+ friend_("Laurel Bianchi", "Jordan Mcbroom").
1563
+ friend_("Laurel Bianchi", "Oleta Mcbroom").
1564
+ friend_("Linwood Thrower", "Raphael Ervin").
1565
+ friend_("Linwood Thrower", "Evelia Nelms").
1566
+ friend_("Linwood Thrower", "Alina Huntley").
1567
+ friend_("Linwood Thrower", "Melvin Dodge").
1568
+ friend_("Loraine Vansickle", "Roy Najera").
1569
+ friend_("Loraine Vansickle", "Jordan Mcbroom").
1570
+ friend_("Lucas Bianchi", "Kent Turgeon").
1571
+ friend_("Lucas Bianchi", "Dean Mcbroom").
1572
+ friend_("Lura Bianchi", "Grant Stites").
1573
+ friend_("Lura Bianchi", "Mike Grigg").
1574
+ friend_("Mauricio Vansickle", "Philip Thrower").
1575
+ friend_("Mauricio Vansickle", "Angel Kress").
1576
+ friend_("Mauricio Vansickle", "Harvey Stites").
1577
+ friend_("Mauricio Vansickle", "Tamara Mcbroom").
1578
+ friend_("Minerva Pennington", "Kieth Dow").
1579
+ friend_("Norris Sherrod", "Darrick Darling").
1580
+ friend_("Norris Sherrod", "Jewel Abney").
1581
+ friend_("Norris Sherrod", "Nickolas Deming").
1582
+ friend_("Norris Sherrod", "Tyrone Deming").
1583
+ friend_("Norris Sherrod", "Jordan Mcbroom").
1584
+ friend_("Norris Sherrod", "Max Gorton").
1585
+ friend_("Ollie Bianchi", "Philip Thrower").
1586
+ friend_("Ollie Bianchi", "Kent Turgeon").
1587
+ friend_("Philip Thrower", "Mitchell Darling").
1588
+ friend_("Philip Thrower", "Demarcus Huntley").
1589
+ friend_("Pricilla Pennington", "Kent Turgeon").
1590
+ friend_("Pricilla Pennington", "Ladawn Turgeon").
1591
+ friend_("Pricilla Pennington", "Shirleen Stites").
1592
+ friend_("Raphael Ervin", "Kent Turgeon").
1593
+ friend_("Renea Thrower", "Ladawn Turgeon").
1594
+ friend_("Renea Thrower", "Lowell Gorton").
1595
+ friend_("Renea Thrower", "Mike Grigg").
1596
+ friend_("Robby Pennington", "Alina Huntley").
1597
+ friend_("Robby Pennington", "Tamara Mcbroom").
1598
+ friend_("Rosena Veilleux", "Anastacia Grigg").
1599
+ friend_("Rosena Veilleux", "Tianna Brashear").
1600
+ friend_("Sarita Bianchi", "Oralia Kress").
1601
+ friend_("Sarita Bianchi", "Sandy Mcbroom").
1602
+ friend_("Shante Najera", "Gwenn Mcbroom").
1603
+ friend_("Shizuko Veilleux", "Mayra Stites").
1604
+ friend_("Shizuko Veilleux", "Dudley Dodge").
1605
+ friend_("Sylvester Sherrod", "Staci Deming").
1606
+ friend_("Twila Veilleux", "Oralia Kress").
1607
+ friend_("Twila Veilleux", "Rena Grigg").
1608
+ friend_("Adella Stites", "Dudley Dodge").
1609
+ friend_("Andrea Stites", "Maxwell Deming").
1610
+ friend_("Andrea Stites", "Nada Stites").
1611
+ friend_("Andrea Stites", "Wilmer Stites").
1612
+ friend_("Angel Kress", "Carmella Huntley").
1613
+ friend_("Casey Dow", "Kris Stites").
1614
+ friend_("Casey Dow", "Maryann Mcbroom").
1615
+ friend_("Cherise Darling", "Rena Grigg").
1616
+ friend_("Cherise Darling", "Tamara Mcbroom").
1617
+ friend_("Chris Stites", "Dean Mcbroom").
1618
+ friend_("Chris Stites", "Ezequiel Gorton").
1619
+ friend_("Deirdre Fries", "Harvey Mcbroom").
1620
+ friend_("Donovan Stites", "Julio Nelms").
1621
+ friend_("Donovan Stites", "Felipe Brashear").
1622
+ friend_("Dwain Stites", "Mayra Stites").
1623
+ friend_("Edmond Abney", "Audie Dodge").
1624
+ friend_("Edmond Abney", "Dudley Dodge").
1625
+ friend_("Evelia Nelms", "Kisha Stites").
1626
+ friend_("Evelia Nelms", "Lowell Gorton").
1627
+ friend_("Evelia Nelms", "Windy Gorton").
1628
+ friend_("Grant Stites", "Hunter Darling").
1629
+ friend_("Grant Stites", "Leopoldo Stites").
1630
+ friend_("Grant Stites", "Melvin Dodge").
1631
+ friend_("Harvey Stites", "Nada Stites").
1632
+ friend_("Hunter Darling", "Tyrone Deming").
1633
+ friend_("Ione Stites", "Ladawn Turgeon").
1634
+ friend_("Jewel Abney", "Joel Fries").
1635
+ friend_("Jewel Abney", "Oralia Kress").
1636
+ friend_("Jewel Abney", "Gwenn Mcbroom").
1637
+ friend_("Joanne Dow", "Ezequiel Gorton").
1638
+ friend_("Kieth Dow", "Kisha Stites").
1639
+ friend_("Leopoldo Stites", "Wayne Stites").
1640
+ friend_("Marcel Abney", "Anneliese Brashear").
1641
+ friend_("Maxwell Deming", "Wayne Stites").
1642
+ friend_("Maxwell Deming", "Maryann Mcbroom").
1643
+ friend_("Mayra Stites", "Anastacia Grigg").
1644
+ friend_("Mayra Stites", "Audie Dodge").
1645
+ friend_("Minnie Darling", "Tanya Darling").
1646
+ friend_("Mitchell Darling", "Tyrone Deming").
1647
+ friend_("Mitchell Darling", "Melvin Dodge").
1648
+ friend_("Nada Stites", "Nickolas Deming").
1649
+ friend_("Nada Stites", "Tyrone Deming").
1650
+ friend_("Nada Stites", "Windy Gorton").
1651
+ friend_("Shamika Dow", "Brooks Huntley").
1652
+ friend_("Shirleen Stites", "Gwenn Mcbroom").
1653
+ friend_("Staci Deming", "Lissa Mcbroom").
1654
+ friend_("Tyrone Deming", "Omar Grigg").
1655
+ friend_("Allyson Brashear", "Sandy Mcbroom").
1656
+ friend_("Autumn Brashear", "Dorris Huntley").
1657
+ friend_("Barry Huntley", "Windy Gorton").
1658
+ friend_("Carmella Huntley", "Demarcus Huntley").
1659
+ friend_("Dean Mcbroom", "Oleta Mcbroom").
1660
+ friend_("Dean Mcbroom", "Windy Gorton").
1661
+ friend_("Dorris Huntley", "Tianna Brashear").
1662
+ friend_("Ezequiel Gorton", "Tamara Mcbroom").
1663
+ friend_("Felipe Brashear", "Harvey Mcbroom").
1664
+ friend_("Harvey Mcbroom", "Oleta Mcbroom").
1665
+ friend_("Jordan Mcbroom", "Rena Grigg").
1666
+ friend_("Maryann Mcbroom", "Mervin Mcbroom").
1667
+ friend_("Maryann Mcbroom", "Rena Grigg").
1668
+ friend_("Matt Mcbroom", "Mervin Mcbroom").
1669
+ friend_("Matt Mcbroom", "Omar Grigg").
1670
+ friend_("Matt Mcbroom", "Rena Grigg").
1671
+ friend_("Melvin Dodge", "Nydia Grigg").
1672
+ friend_("Omar Grigg", "Windy Gorton").
1673
+
1674
+ friend(X, Y) :-
1675
+ friend_(X, Y).
1676
+ friend(X, Y) :-
1677
+ friend_(Y, X).
1678
+
1679
+ niece(X, Y) :-
1680
+ sibling(X, A),
1681
+ daughter(A, Y).
1682
+
1683
+ nephew(X, Y) :-
1684
+ sibling(X, A),
1685
+ son(A, Y).
1686
+
1687
+ brother_in_law(X, Y) :-
1688
+ married(X, A),
1689
+ brother(A, Y).
1690
+
1691
+ :- multifile message_property/2.
1692
+
1693
+
1694
+ sister_in_law(X, Y) :-
1695
+ married(X, A),
1696
+ sister(A, Y).
1697
+
1698
+ wife(X, Y) :-
1699
+ married(X, Y),
1700
+ female(Y).
1701
+
1702
+ husband(X, Y) :-
1703
+ married(X, Y),
1704
+ male(Y).
1705
+
1706
+ daughter_in_law(X, Y) :-
1707
+ child(X, A),
1708
+ wife(A, Y).
1709
+
1710
+ son_in_law(X, Y) :-
1711
+ child(X, A),
1712
+ husband(A, Y).
1713
+
1714
+ son(X, Y) :-
1715
+ child(X, Y),
1716
+ male(Y).
1717
+
1718
+ female(X) :-
1719
+ gender(X, "female").
1720
+
1721
+ daughter(X, Y) :-
1722
+ child(X, Y),
1723
+ female(Y).
1724
+
1725
+ father_in_law(X, Y) :-
1726
+ married(X, A),
1727
+ father(A, Y).
1728
+
1729
+ mother_in_law(X, Y) :-
1730
+ married(X, A),
1731
+ mother(A, Y).
1732
+
1733
+ father(X, Y) :-
1734
+ parent(X, Y),
1735
+ male(Y).
1736
+
1737
+ :- multifile prolog_predicate_name/2.
1738
+
1739
+
1740
+ child(X, Y) :-
1741
+ parent(Y, X).
1742
+
1743
+ male_first_cousin_once_removed(X, Y) :-
1744
+ cousin(X, A),
1745
+ son(A, Y),
1746
+ X\=Y.
1747
+
1748
+ :- multifile prolog_clause_name/2.
1749
+
1750
+
1751
+ :- dynamic expand_answer/2.
1752
+ :- multifile expand_answer/2.
1753
+
1754
+
1755
+ :- dynamic exception/3.
1756
+ :- multifile exception/3.
1757
+
1758
+
1759
+ female_first_cousin_once_removed(X, Y) :-
1760
+ cousin(X, A),
1761
+ daughter(A, Y),
1762
+ X\=Y.
1763
+
1764
+ brother(X, Y) :-
1765
+ sibling(X, Y),
1766
+ male(Y).
1767
+
1768
+ mother(X, Y) :-
1769
+ parent(X, Y),
1770
+ female(Y).
1771
+
1772
+ male_second_cousin(X, Y) :-
1773
+ parent(X, A),
1774
+ parent(Y, B),
1775
+ cousin(A, B),
1776
+ male(Y),
1777
+ X\=Y.
1778
+
1779
+ :- dynamic message_hook/3.
1780
+ :- multifile message_hook/3.
1781
+
1782
+
1783
+ female_second_cousin(X, Y) :-
1784
+ parent(X, A),
1785
+ parent(Y, B),
1786
+ cousin(A, B),
1787
+ female(Y),
1788
+ X\=Y.
1789
+
1790
+ married(X, Y) :-
1791
+ parent(Child, X),
1792
+ parent(Child, Y),
1793
+ X\=Y.
1794
+
1795
+ male(X) :-
1796
+ gender(X, "male").
1797
+
1798
+ :- dynamic prolog_file_type/2.
1799
+ :- multifile prolog_file_type/2.
1800
+
1801
+ prolog_file_type(pl, prolog).
1802
+ prolog_file_type(prolog, prolog).
1803
+ prolog_file_type(qlf, prolog).
1804
+ prolog_file_type(qlf, qlf).
1805
+ prolog_file_type(A, executable) :-
1806
+ system:current_prolog_flag(shared_object_extension, A).
1807
+ prolog_file_type(dylib, executable) :-
1808
+ system:current_prolog_flag(apple, true).
1809
+
1810
+ sister(X, Y) :-
1811
+ sibling(X, Y),
1812
+ female(Y).
1813
+
1814
+ male_cousin(X, Y) :-
1815
+ cousin(X, Y),
1816
+ male(Y).
1817
+
1818
+ :- dynamic nonbinary/1.
1819
+
1820
+ nonbinary(X) :-
1821
+ gender(X, "nonbinary").
1822
+
1823
+ female_cousin(X, Y) :-
1824
+ cousin(X, Y),
1825
+ female(Y).
1826
+
1827
+ sibling(X, Y) :-
1828
+ parent(X, A),
1829
+ parent(Y, A),
1830
+ X\=Y.
1831
+
1832
+ :- dynamic portray/1.
1833
+ :- multifile portray/1.
1834
+
1835
+
1836
+ :- dynamic prolog_load_file/2.
1837
+ :- multifile prolog_load_file/2.
1838
+
1839
+
1840
+ :- dynamic goal_expansion/2.
1841
+ :- multifile goal_expansion/2.
1842
+
1843
+
1844
+ :- dynamic parent/2.
1845
+
1846
+ parent("Adolph Barbee", "Kelley Barbee").
1847
+ parent("Adolph Barbee", "Kenny Barbee").
1848
+ parent("Alice Lance", "Karolyn Lance").
1849
+ parent("Alice Lance", "Rocco Lance").
1850
+ parent("Allison Barbee", "Andres Barbee").
1851
+ parent("Allison Barbee", "Dollie Barbee").
1852
+ parent("Alvin Lance", "Karolyn Lance").
1853
+ parent("Alvin Lance", "Rocco Lance").
1854
+ parent("Andres Barbee", "Kelley Barbee").
1855
+ parent("Andres Barbee", "Kenny Barbee").
1856
+ parent("Andrew Parkinson", "Kurt Parkinson").
1857
+ parent("Andrew Parkinson", "Leonila Parkinson").
1858
+ parent("Brooks George", "Emma George").
1859
+ parent("Brooks George", "Rory George").
1860
+ parent("Clint Rahman", "Latosha Rahman").
1861
+ parent("Clint Rahman", "Solomon Rahman").
1862
+ parent("Courtney Parkinson", "Karolyn Lance").
1863
+ parent("Courtney Parkinson", "Rocco Lance").
1864
+ parent("Dalton Parkinson", "Courtney Parkinson").
1865
+ parent("Dalton Parkinson", "Willie Parkinson").
1866
+ parent("Dollie Barbee", "Wallace Ragland").
1867
+ parent("Dollie Barbee", "Yasmin Ragland").
1868
+ parent("Elicia Barbee", "Konstantin Barbee").
1869
+ parent("Elicia Barbee", "Krystle Barbee").
1870
+ parent("Emma George", "Courtney Parkinson").
1871
+ parent("Emma George", "Willie Parkinson").
1872
+ parent("Guadalupe Barbee", "Allie Barbee").
1873
+ parent("Guadalupe Barbee", "Rudy Barbee").
1874
+ parent("Jenni Felker", "Clint Rahman").
1875
+ parent("Jenni Felker", "Colette Rahman").
1876
+ parent("Karolyn Lance", "Abdul Felker").
1877
+ parent("Karolyn Lance", "Jenni Felker").
1878
+ parent("Kelley Barbee", "Karolyn Lance").
1879
+ parent("Kelley Barbee", "Rocco Lance").
1880
+ parent("Kenny Barbee", "Allie Barbee").
1881
+ parent("Kenny Barbee", "Rudy Barbee").
1882
+ parent("Kirk Lo", "Royce Lo").
1883
+ parent("Kirk Lo", "Wanda Lo").
1884
+ parent("Konstantin Barbee", "Andres Barbee").
1885
+ parent("Konstantin Barbee", "Dollie Barbee").
1886
+ parent("Korey Kean", "Garth Kean").
1887
+ parent("Korey Kean", "Tracey Kean").
1888
+ parent("Krystle Barbee", "Walter Hope").
1889
+ parent("Krystle Barbee", "Wanita Hope").
1890
+ parent("Lesley Barbee", "Elyse Barbee").
1891
+ parent("Lesley Barbee", "Lyndon Barbee").
1892
+ parent("Lyndon Barbee", "Konstantin Barbee").
1893
+ parent("Lyndon Barbee", "Krystle Barbee").
1894
+ parent("Marvin Hope", "Walter Hope").
1895
+ parent("Marvin Hope", "Wanita Hope").
1896
+ parent("Merrill Kean", "Garth Kean").
1897
+ parent("Merrill Kean", "Tracey Kean").
1898
+ parent("Mitchel George", "Emma George").
1899
+ parent("Mitchel George", "Rory George").
1900
+ parent("Nettie Barbee", "Konstantin Barbee").
1901
+ parent("Nettie Barbee", "Krystle Barbee").
1902
+ parent("Tracey Kean", "Karolyn Lance").
1903
+ parent("Tracey Kean", "Rocco Lance").
1904
+ parent("Twyla Parkinson", "Kurt Parkinson").
1905
+ parent("Twyla Parkinson", "Leonila Parkinson").
1906
+ parent("Tyrone Parkinson", "Courtney Parkinson").
1907
+ parent("Tyrone Parkinson", "Willie Parkinson").
1908
+ parent("Wanda Lo", "Elyse Barbee").
1909
+ parent("Wanda Lo", "Lyndon Barbee").
1910
+ parent("Willie Parkinson", "Kurt Parkinson").
1911
+ parent("Willie Parkinson", "Leonila Parkinson").
1912
+ parent("Ahmad Vansickle", "Loraine Vansickle").
1913
+ parent("Ahmad Vansickle", "Mauricio Vansickle").
1914
+ parent("Albertine Thrower", "Georgette Gebhart").
1915
+ parent("Albertine Thrower", "Hal Gebhart").
1916
+ parent("Andre Vansickle", "Ahmad Vansickle").
1917
+ parent("Andre Vansickle", "Chrissy Vansickle").
1918
+ parent("Benny Guay", "Cesar Guay").
1919
+ parent("Benny Guay", "Laurel Guay").
1920
+ parent("Candice Bianchi", "Albertine Thrower").
1921
+ parent("Candice Bianchi", "Philip Thrower").
1922
+ parent("Carmen Bianchi", "Edgar Bianchi").
1923
+ parent("Carmen Bianchi", "Lura Bianchi").
1924
+ parent("Cesar Guay", "Gertrude Guay").
1925
+ parent("Cesar Guay", "Shon Guay").
1926
+ parent("Chrissy Vansickle", "Pricilla Pennington").
1927
+ parent("Chrissy Vansickle", "Robby Pennington").
1928
+ parent("Concepcion Najera", "Edgar Bianchi").
1929
+ parent("Concepcion Najera", "Lura Bianchi").
1930
+ parent("Edgar Bianchi", "Lucas Bianchi").
1931
+ parent("Edgar Bianchi", "Sarita Bianchi").
1932
+ parent("Esperanza Ervin", "Candice Bianchi").
1933
+ parent("Esperanza Ervin", "Carmen Bianchi").
1934
+ parent("Joshua Ervin", "Eve Ervin").
1935
+ parent("Joshua Ervin", "Landon Ervin").
1936
+ parent("Kendrick Sherrod", "Norris Sherrod").
1937
+ parent("Kendrick Sherrod", "Winnifred Sherrod").
1938
+ parent("Kristopher Veilleux", "Jaime Veilleux").
1939
+ parent("Kristopher Veilleux", "Rosena Veilleux").
1940
+ parent("Laurel Bianchi", "Edgar Bianchi").
1941
+ parent("Laurel Bianchi", "Lura Bianchi").
1942
+ parent("Linwood Thrower", "Albertine Thrower").
1943
+ parent("Linwood Thrower", "Philip Thrower").
1944
+ parent("Lucas Bianchi", "Esperanza Bianchi").
1945
+ parent("Lucas Bianchi", "Jim Bianchi").
1946
+ parent("Maragret Bianchi", "Candice Bianchi").
1947
+ parent("Maragret Bianchi", "Carmen Bianchi").
1948
+ parent("Minerva Pennington", "Pricilla Pennington").
1949
+ parent("Minerva Pennington", "Robby Pennington").
1950
+ parent("Ollie Bianchi", "Candice Bianchi").
1951
+ parent("Ollie Bianchi", "Carmen Bianchi").
1952
+ parent("Philip Thrower", "Alejandrina Thrower").
1953
+ parent("Philip Thrower", "Brain Thrower").
1954
+ parent("Pricilla Pennington", "Albertine Thrower").
1955
+ parent("Pricilla Pennington", "Philip Thrower").
1956
+ parent("Raphael Ervin", "Esperanza Ervin").
1957
+ parent("Raphael Ervin", "Joshua Ervin").
1958
+ parent("Renea Thrower", "Albertine Thrower").
1959
+ parent("Renea Thrower", "Philip Thrower").
1960
+ parent("Rosena Veilleux", "Esperanza Ervin").
1961
+ parent("Rosena Veilleux", "Joshua Ervin").
1962
+ parent("Roxy Guay", "Albertine Thrower").
1963
+ parent("Roxy Guay", "Philip Thrower").
1964
+ parent("Shante Najera", "Concepcion Najera").
1965
+ parent("Shante Najera", "Roy Najera").
1966
+ parent("Sylvester Sherrod", "Norris Sherrod").
1967
+ parent("Sylvester Sherrod", "Winnifred Sherrod").
1968
+ parent("Twila Veilleux", "Kristopher Veilleux").
1969
+ parent("Twila Veilleux", "Shizuko Veilleux").
1970
+ parent("Winnifred Sherrod", "Esperanza Ervin").
1971
+ parent("Winnifred Sherrod", "Joshua Ervin").
1972
+ parent("Zachary Guay", "Benny Guay").
1973
+ parent("Zachary Guay", "Roxy Guay").
1974
+ parent("Adella Stites", "Deirdre Fries").
1975
+ parent("Adella Stites", "Joel Fries").
1976
+ parent("Arthur Stites", "Dwain Stites").
1977
+ parent("Arthur Stites", "Nada Stites").
1978
+ parent("Cherise Darling", "Minnie Darling").
1979
+ parent("Cherise Darling", "Mitchell Darling").
1980
+ parent("Chris Stites", "Donovan Stites").
1981
+ parent("Chris Stites", "Mayra Stites").
1982
+ parent("Darrick Darling", "Minnie Darling").
1983
+ parent("Darrick Darling", "Mitchell Darling").
1984
+ parent("Donnie Turgeon", "Kent Turgeon").
1985
+ parent("Donnie Turgeon", "Margaret Turgeon").
1986
+ parent("Donovan Stites", "Ione Stites").
1987
+ parent("Donovan Stites", "Wilmer Stites").
1988
+ parent("Dwain Stites", "Adella Stites").
1989
+ parent("Dwain Stites", "Harvey Stites").
1990
+ parent("Eddie Darling", "Minnie Darling").
1991
+ parent("Eddie Darling", "Mitchell Darling").
1992
+ parent("Edmond Abney", "Jewel Abney").
1993
+ parent("Edmond Abney", "Marcel Abney").
1994
+ parent("Evelia Nelms", "Angel Kress").
1995
+ parent("Evelia Nelms", "Oralia Kress").
1996
+ parent("Giovanni Stites", "Adella Stites").
1997
+ parent("Giovanni Stites", "Harvey Stites").
1998
+ parent("Grant Stites", "Eldon Stites").
1999
+ parent("Grant Stites", "Shirleen Stites").
2000
+ parent("Harvey Stites", "Eldon Stites").
2001
+ parent("Harvey Stites", "Shirleen Stites").
2002
+ parent("Jewel Abney", "Kenny Southerland").
2003
+ parent("Jewel Abney", "Pansy Southerland").
2004
+ parent("Jewell Stites", "Adella Stites").
2005
+ parent("Jewell Stites", "Harvey Stites").
2006
+ parent("Kieth Dow", "Casey Dow").
2007
+ parent("Kieth Dow", "Joanne Dow").
2008
+ parent("Kisha Stites", "Andrea Stites").
2009
+ parent("Kisha Stites", "Lawerence Stites").
2010
+ parent("Kris Stites", "Donnie Turgeon").
2011
+ parent("Kris Stites", "Ladawn Turgeon").
2012
+ parent("Ladawn Turgeon", "Kieth Dow").
2013
+ parent("Ladawn Turgeon", "Shamika Dow").
2014
+ parent("Lawerence Stites", "Eldon Stites").
2015
+ parent("Lawerence Stites", "Shirleen Stites").
2016
+ parent("Leopoldo Stites", "Adella Stites").
2017
+ parent("Leopoldo Stites", "Harvey Stites").
2018
+ parent("Maxwell Deming", "Nickolas Deming").
2019
+ parent("Maxwell Deming", "Staci Deming").
2020
+ parent("Mayra Stites", "Evelia Nelms").
2021
+ parent("Mayra Stites", "Julio Nelms").
2022
+ parent("Mitchell Darling", "Hunter Darling").
2023
+ parent("Mitchell Darling", "Tanya Darling").
2024
+ parent("Pansy Southerland", "Dwain Stites").
2025
+ parent("Pansy Southerland", "Nada Stites").
2026
+ parent("Shirleen Stites", "Minnie Darling").
2027
+ parent("Shirleen Stites", "Mitchell Darling").
2028
+ parent("Staci Deming", "Ione Stites").
2029
+ parent("Staci Deming", "Wilmer Stites").
2030
+ parent("Tyrone Deming", "Nickolas Deming").
2031
+ parent("Tyrone Deming", "Staci Deming").
2032
+ parent("Wayne Stites", "Adella Stites").
2033
+ parent("Wayne Stites", "Harvey Stites").
2034
+ parent("Wilmer Stites", "Grant Stites").
2035
+ parent("Wilmer Stites", "Kris Stites").
2036
+ parent("Adella Mcbroom", "Cleveland Mcbroom").
2037
+ parent("Adella Mcbroom", "Sue Mcbroom").
2038
+ parent("Alina Huntley", "Carmella Huntley").
2039
+ parent("Alina Huntley", "Demarcus Huntley").
2040
+ parent("Allyson Gorton", "Allyson Brashear").
2041
+ parent("Allyson Gorton", "Reynaldo Brashear").
2042
+ parent("Audie Dodge", "Bess Dodge").
2043
+ parent("Audie Dodge", "Melvin Dodge").
2044
+ parent("Autumn Brashear", "Allyson Brashear").
2045
+ parent("Autumn Brashear", "Reynaldo Brashear").
2046
+ parent("Barry Huntley", "Carmella Huntley").
2047
+ parent("Barry Huntley", "Demarcus Huntley").
2048
+ parent("Bess Dodge", "Lissa Mcbroom").
2049
+ parent("Bess Dodge", "Matt Mcbroom").
2050
+ parent("Booker Grigg", "Anastacia Grigg").
2051
+ parent("Booker Grigg", "Mike Grigg").
2052
+ parent("Carmella Huntley", "Cleveland Mcbroom").
2053
+ parent("Carmella Huntley", "Sue Mcbroom").
2054
+ parent("Cleveland Mcbroom", "Lissa Mcbroom").
2055
+ parent("Cleveland Mcbroom", "Matt Mcbroom").
2056
+ parent("Dean Mcbroom", "James Mcbroom").
2057
+ parent("Dean Mcbroom", "Zelma Mcbroom").
2058
+ parent("Demarcus Huntley", "Brooks Huntley").
2059
+ parent("Demarcus Huntley", "Jacquelyn Huntley").
2060
+ parent("Dorris Huntley", "Barry Huntley").
2061
+ parent("Dorris Huntley", "Morgan Huntley").
2062
+ parent("Dudley Dodge", "Bess Dodge").
2063
+ parent("Dudley Dodge", "Melvin Dodge").
2064
+ parent("Harvey Mcbroom", "Lissa Mcbroom").
2065
+ parent("Harvey Mcbroom", "Matt Mcbroom").
2066
+ parent("Jordan Mcbroom", "Lissa Mcbroom").
2067
+ parent("Jordan Mcbroom", "Matt Mcbroom").
2068
+ parent("Lowell Gorton", "Allyson Gorton").
2069
+ parent("Lowell Gorton", "Ezequiel Gorton").
2070
+ parent("Maryann Mcbroom", "Desiree Mcbroom").
2071
+ parent("Maryann Mcbroom", "Jordan Mcbroom").
2072
+ parent("Matt Mcbroom", "Dean Mcbroom").
2073
+ parent("Matt Mcbroom", "Gwenn Mcbroom").
2074
+ parent("Max Gorton", "Lowell Gorton").
2075
+ parent("Max Gorton", "Windy Gorton").
2076
+ parent("Mervin Mcbroom", "Lissa Mcbroom").
2077
+ parent("Mervin Mcbroom", "Matt Mcbroom").
2078
+ parent("Oleta Mcbroom", "Mervin Mcbroom").
2079
+ parent("Oleta Mcbroom", "Sandy Mcbroom").
2080
+ parent("Omar Grigg", "Booker Grigg").
2081
+ parent("Omar Grigg", "Nydia Grigg").
2082
+ parent("Orlando Brashear", "Anneliese Brashear").
2083
+ parent("Orlando Brashear", "Felipe Brashear").
2084
+ parent("Randolph Grigg", "Shannon Grigg").
2085
+ parent("Randolph Grigg", "Theodore Grigg").
2086
+ parent("Rena Grigg", "Allyson Brashear").
2087
+ parent("Rena Grigg", "Reynaldo Brashear").
2088
+ parent("Reynaldo Brashear", "Anneliese Brashear").
2089
+ parent("Reynaldo Brashear", "Felipe Brashear").
2090
+ parent("Shelton Dodge", "Bess Dodge").
2091
+ parent("Shelton Dodge", "Melvin Dodge").
2092
+ parent("Sue Mcbroom", "Allyson Brashear").
2093
+ parent("Sue Mcbroom", "Reynaldo Brashear").
2094
+ parent("Tamara Mcbroom", "Cleveland Mcbroom").
2095
+ parent("Tamara Mcbroom", "Sue Mcbroom").
2096
+ parent("Theodore Grigg", "Omar Grigg").
2097
+ parent("Theodore Grigg", "Rena Grigg").
2098
+ parent("Tianna Brashear", "Allyson Brashear").
2099
+ parent("Tianna Brashear", "Reynaldo Brashear").
2100
+
2101
+ cousin(X, Y) :-
2102
+ parent(X, A),
2103
+ parent(Y, B),
2104
+ sibling(A, B),
2105
+ X\=Y.
2106
+
2107
+ uncle(X, Y) :-
2108
+ parent(X, A),
2109
+ brother(A, Y).
2110
+
2111
+ :- dynamic resource/3.
2112
+ :- multifile resource/3.
2113
+
2114
+
2115
+ :- thread_local thread_message_hook/3.
2116
+ :- dynamic thread_message_hook/3.
2117
+ :- volatile thread_message_hook/3.
2118
+
2119
+
2120
+ aunt(X, Y) :-
2121
+ parent(X, A),
2122
+ sister(A, Y).
2123
+
2124
+ second_uncle(X, Y) :-
2125
+ great_grandparent(X, A),
2126
+ brother(A, Y).
2127
+
2128
+ :- dynamic gender/2.
2129
+
2130
+ gender("Abdul Felker", "male").
2131
+ gender("Adolph Barbee", "male").
2132
+ gender("Alice Lance", "female").
2133
+ gender("Allie Barbee", "female").
2134
+ gender("Allison Barbee", "female").
2135
+ gender("Alvin Lance", "male").
2136
+ gender("Andres Barbee", "male").
2137
+ gender("Andrew Parkinson", "male").
2138
+ gender("Brooks George", "male").
2139
+ gender("Clint Rahman", "male").
2140
+ gender("Colette Rahman", "female").
2141
+ gender("Courtney Parkinson", "female").
2142
+ gender("Dalton Parkinson", "male").
2143
+ gender("Dollie Barbee", "female").
2144
+ gender("Elicia Barbee", "female").
2145
+ gender("Elyse Barbee", "female").
2146
+ gender("Emma George", "female").
2147
+ gender("Garth Kean", "male").
2148
+ gender("Guadalupe Barbee", "male").
2149
+ gender("Jenni Felker", "female").
2150
+ gender("Karolyn Lance", "female").
2151
+ gender("Kelley Barbee", "female").
2152
+ gender("Kenny Barbee", "male").
2153
+ gender("Kirk Lo", "male").
2154
+ gender("Konstantin Barbee", "male").
2155
+ gender("Korey Kean", "male").
2156
+ gender("Krystle Barbee", "female").
2157
+ gender("Kurt Parkinson", "male").
2158
+ gender("Latosha Rahman", "female").
2159
+ gender("Leonila Parkinson", "female").
2160
+ gender("Lesley Barbee", "male").
2161
+ gender("Lyndon Barbee", "male").
2162
+ gender("Marvin Hope", "male").
2163
+ gender("Merrill Kean", "male").
2164
+ gender("Mitchel George", "male").
2165
+ gender("Nettie Barbee", "female").
2166
+ gender("Rocco Lance", "male").
2167
+ gender("Rory George", "male").
2168
+ gender("Royce Lo", "male").
2169
+ gender("Rudy Barbee", "male").
2170
+ gender("Solomon Rahman", "male").
2171
+ gender("Tracey Kean", "female").
2172
+ gender("Twyla Parkinson", "female").
2173
+ gender("Tyrone Parkinson", "male").
2174
+ gender("Wallace Ragland", "male").
2175
+ gender("Walter Hope", "male").
2176
+ gender("Wanda Lo", "female").
2177
+ gender("Wanita Hope", "female").
2178
+ gender("Willie Parkinson", "male").
2179
+ gender("Yasmin Ragland", "female").
2180
+ gender("Ahmad Vansickle", "male").
2181
+ gender("Albertine Thrower", "female").
2182
+ gender("Alejandrina Thrower", "female").
2183
+ gender("Andre Vansickle", "male").
2184
+ gender("Benny Guay", "male").
2185
+ gender("Brain Thrower", "male").
2186
+ gender("Candice Bianchi", "female").
2187
+ gender("Carmen Bianchi", "male").
2188
+ gender("Cesar Guay", "male").
2189
+ gender("Chrissy Vansickle", "female").
2190
+ gender("Concepcion Najera", "female").
2191
+ gender("Edgar Bianchi", "male").
2192
+ gender("Esperanza Bianchi", "female").
2193
+ gender("Esperanza Ervin", "female").
2194
+ gender("Eve Ervin", "female").
2195
+ gender("Georgette Gebhart", "female").
2196
+ gender("Gertrude Guay", "female").
2197
+ gender("Hal Gebhart", "male").
2198
+ gender("Jaime Veilleux", "male").
2199
+ gender("Jim Bianchi", "male").
2200
+ gender("Joshua Ervin", "male").
2201
+ gender("Kendrick Sherrod", "male").
2202
+ gender("Kristopher Veilleux", "male").
2203
+ gender("Landon Ervin", "male").
2204
+ gender("Laurel Bianchi", "female").
2205
+ gender("Laurel Guay", "female").
2206
+ gender("Linwood Thrower", "male").
2207
+ gender("Loraine Vansickle", "female").
2208
+ gender("Lucas Bianchi", "male").
2209
+ gender("Lura Bianchi", "female").
2210
+ gender("Maragret Bianchi", "female").
2211
+ gender("Mauricio Vansickle", "male").
2212
+ gender("Minerva Pennington", "female").
2213
+ gender("Norris Sherrod", "male").
2214
+ gender("Ollie Bianchi", "female").
2215
+ gender("Philip Thrower", "male").
2216
+ gender("Pricilla Pennington", "female").
2217
+ gender("Raphael Ervin", "male").
2218
+ gender("Renea Thrower", "female").
2219
+ gender("Robby Pennington", "male").
2220
+ gender("Rosena Veilleux", "female").
2221
+ gender("Roxy Guay", "female").
2222
+ gender("Roy Najera", "male").
2223
+ gender("Sarita Bianchi", "female").
2224
+ gender("Shante Najera", "female").
2225
+ gender("Shizuko Veilleux", "female").
2226
+ gender("Shon Guay", "male").
2227
+ gender("Sylvester Sherrod", "male").
2228
+ gender("Twila Veilleux", "female").
2229
+ gender("Winnifred Sherrod", "female").
2230
+ gender("Zachary Guay", "male").
2231
+ gender("Adella Stites", "female").
2232
+ gender("Andrea Stites", "female").
2233
+ gender("Angel Kress", "male").
2234
+ gender("Arthur Stites", "male").
2235
+ gender("Casey Dow", "male").
2236
+ gender("Cherise Darling", "female").
2237
+ gender("Chris Stites", "male").
2238
+ gender("Darrick Darling", "male").
2239
+ gender("Deirdre Fries", "female").
2240
+ gender("Donnie Turgeon", "male").
2241
+ gender("Donovan Stites", "male").
2242
+ gender("Dwain Stites", "male").
2243
+ gender("Eddie Darling", "male").
2244
+ gender("Edmond Abney", "male").
2245
+ gender("Eldon Stites", "male").
2246
+ gender("Evelia Nelms", "female").
2247
+ gender("Giovanni Stites", "male").
2248
+ gender("Grant Stites", "male").
2249
+ gender("Harvey Stites", "male").
2250
+ gender("Hunter Darling", "male").
2251
+ gender("Ione Stites", "female").
2252
+ gender("Jewel Abney", "female").
2253
+ gender("Jewell Stites", "female").
2254
+ gender("Joanne Dow", "female").
2255
+ gender("Joel Fries", "male").
2256
+ gender("Julio Nelms", "male").
2257
+ gender("Kenny Southerland", "male").
2258
+ gender("Kent Turgeon", "male").
2259
+ gender("Kieth Dow", "male").
2260
+ gender("Kisha Stites", "female").
2261
+ gender("Kris Stites", "female").
2262
+ gender("Ladawn Turgeon", "female").
2263
+ gender("Lawerence Stites", "male").
2264
+ gender("Leopoldo Stites", "male").
2265
+ gender("Marcel Abney", "male").
2266
+ gender("Margaret Turgeon", "female").
2267
+ gender("Maxwell Deming", "male").
2268
+ gender("Mayra Stites", "female").
2269
+ gender("Minnie Darling", "female").
2270
+ gender("Mitchell Darling", "male").
2271
+ gender("Nada Stites", "female").
2272
+ gender("Nickolas Deming", "male").
2273
+ gender("Oralia Kress", "female").
2274
+ gender("Pansy Southerland", "female").
2275
+ gender("Shamika Dow", "female").
2276
+ gender("Shirleen Stites", "female").
2277
+ gender("Staci Deming", "female").
2278
+ gender("Tanya Darling", "female").
2279
+ gender("Tyrone Deming", "male").
2280
+ gender("Wayne Stites", "male").
2281
+ gender("Wilmer Stites", "male").
2282
+ gender("Adella Mcbroom", "female").
2283
+ gender("Alina Huntley", "female").
2284
+ gender("Allyson Brashear", "female").
2285
+ gender("Allyson Gorton", "female").
2286
+ gender("Anastacia Grigg", "female").
2287
+ gender("Anneliese Brashear", "female").
2288
+ gender("Audie Dodge", "female").
2289
+ gender("Autumn Brashear", "female").
2290
+ gender("Barry Huntley", "male").
2291
+ gender("Bess Dodge", "female").
2292
+ gender("Booker Grigg", "male").
2293
+ gender("Brooks Huntley", "male").
2294
+ gender("Carmella Huntley", "female").
2295
+ gender("Cleveland Mcbroom", "male").
2296
+ gender("Dean Mcbroom", "male").
2297
+ gender("Demarcus Huntley", "male").
2298
+ gender("Desiree Mcbroom", "female").
2299
+ gender("Dorris Huntley", "female").
2300
+ gender("Dudley Dodge", "male").
2301
+ gender("Ezequiel Gorton", "male").
2302
+ gender("Felipe Brashear", "male").
2303
+ gender("Gwenn Mcbroom", "female").
2304
+ gender("Harvey Mcbroom", "male").
2305
+ gender("Jacquelyn Huntley", "female").
2306
+ gender("James Mcbroom", "male").
2307
+ gender("Jordan Mcbroom", "male").
2308
+ gender("Lissa Mcbroom", "female").
2309
+ gender("Lowell Gorton", "male").
2310
+ gender("Maryann Mcbroom", "female").
2311
+ gender("Matt Mcbroom", "male").
2312
+ gender("Max Gorton", "male").
2313
+ gender("Melvin Dodge", "male").
2314
+ gender("Mervin Mcbroom", "male").
2315
+ gender("Mike Grigg", "male").
2316
+ gender("Morgan Huntley", "female").
2317
+ gender("Nydia Grigg", "female").
2318
+ gender("Oleta Mcbroom", "female").
2319
+ gender("Omar Grigg", "male").
2320
+ gender("Orlando Brashear", "male").
2321
+ gender("Randolph Grigg", "male").
2322
+ gender("Rena Grigg", "female").
2323
+ gender("Reynaldo Brashear", "male").
2324
+ gender("Sandy Mcbroom", "female").
2325
+ gender("Shannon Grigg", "female").
2326
+ gender("Shelton Dodge", "male").
2327
+ gender("Sue Mcbroom", "female").
2328
+ gender("Tamara Mcbroom", "female").
2329
+ gender("Theodore Grigg", "male").
2330
+ gender("Tianna Brashear", "female").
2331
+ gender("Windy Gorton", "female").
2332
+ gender("Zelma Mcbroom", "female").
2333
+
2334
+ second_aunt(X, Y) :-
2335
+ great_grandparent(X, A),
2336
+ sister(A, Y).
2337
+
2338
+ great_grandson(X, Y) :-
2339
+ great_grandchild(X, Y),
2340
+ male(Y).
2341
+
2342
+ :- dynamic pyrun/2.
2343
+
2344
+ pyrun(A, B) :-
2345
+ read_term_from_atom(A, C, [variable_names(B)]),
2346
+ call(C).
2347
+
2348
+ great_granddaughter(X, Y) :-
2349
+ great_grandchild(X, Y),
2350
+ female(Y).
2351
+
2352
+ :- dynamic resource/2.
2353
+ :- multifile resource/2.
2354
+
depth_20_size_200_seed_3/facts.txt ADDED
@@ -0,0 +1,2357 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Alethia Kidd", "amateur astronomy").
32
+ hobby("Alexis Kingsley", "crystals").
33
+ hobby("Ana Colin", "stamp collecting").
34
+ hobby("Antionette Song", "trainspotting").
35
+ hobby("Byron Song", "animation").
36
+ hobby("Carlos Baptiste", "esports").
37
+ hobby("Damon Song", "magnet fishing").
38
+ hobby("Danilo Colin", "billiards").
39
+ hobby("Deirdre Bivins", "iceboat racing").
40
+ hobby("Eddie Song", "aerospace").
41
+ hobby("Elisabeth Kingsley", "learning").
42
+ hobby("Felton Kidd", "meteorology").
43
+ hobby("Freda Song", "learning").
44
+ hobby("Gene Song", "trapshooting").
45
+ hobby("Genesis Colin", "shoes").
46
+ hobby("Geneva Song", "meteorology").
47
+ hobby("Gilbert Summerlin", "birdwatching").
48
+ hobby("Hannah Bivins", "mahjong").
49
+ hobby("Hyun Song", "horseback riding").
50
+ hobby("Idell Kidd", "birdwatching").
51
+ hobby("Isidro Kidd", "air sports").
52
+ hobby("Jamal Song", "publishing").
53
+ hobby("Jeana Song", "fossicking").
54
+ hobby("Jesse Kiel", "dolls").
55
+ hobby("Jolene Song", "web design").
56
+ hobby("Lance Kiel", "tourism").
57
+ hobby("Lester Bivins", "lapel pins").
58
+ hobby("Lynda Colin", "slot car").
59
+ hobby("Madaline Song", "audiophile").
60
+ hobby("Matilda Summerlin", "model united nations").
61
+ hobby("Maynard Song", "insect collecting").
62
+ hobby("Mckinley Colin", "baking").
63
+ hobby("Meghann Kidd", "mineral collecting").
64
+ hobby("Melvin Kidd", "stone collecting").
65
+ hobby("Nathaniel Song", "dandyism").
66
+ hobby("Nikki Kidd", "mineral collecting").
67
+ hobby("Nina Song", "digital hoarding").
68
+ hobby("Noreen Kingsley", "reading").
69
+ hobby("Ramona Colin", "pinball").
70
+ hobby("Romelia Song", "dog sport").
71
+ hobby("Seymour Song", "research").
72
+ hobby("Shelly Reece", "butterfly watching").
73
+ hobby("Sol Song", "research").
74
+ hobby("Stephan Kidd", "stamp collecting").
75
+ hobby("Tawana Summerlin", "jogging").
76
+ hobby("Thomasine Kidd", "rowing").
77
+ hobby("Tod Song", "sport stacking").
78
+ hobby("Twila Baptiste", "audiophile").
79
+ hobby("Winfred Baptiste", "seashell collecting").
80
+ hobby("Wyatt Reece", "skateboarding").
81
+ hobby("Yvette Song", "lomography").
82
+ hobby("Adah Camper", "ant farming").
83
+ hobby("Adele Ahmad", "rock tumbling").
84
+ hobby("Amos Vargas", "birdwatching").
85
+ hobby("Angie Vargas", "model aircraft").
86
+ hobby("Ayesha Abbate", "die-cast toy").
87
+ hobby("Bradley Yocum", "metal detecting").
88
+ hobby("Carina Vargas", "learning").
89
+ hobby("Christa Vargas", "phillumeny").
90
+ hobby("David Mcclelland", "cycling").
91
+ hobby("Derek Flatt", "benchmarking").
92
+ hobby("Eddy Vargas", "sociology").
93
+ hobby("Elfriede Moffitt", "shoes").
94
+ hobby("Eli Flatt", "jujitsu").
95
+ hobby("Elvie Vargas", "tourism").
96
+ hobby("Errol Camper", "ant farming").
97
+ hobby("Forrest Vargas", "slot car racing").
98
+ hobby("Fred Vargas", "flower collecting and pressing").
99
+ hobby("Gerry Vargas", "videography").
100
+ hobby("Ginger Hamrick", "powerlifting").
101
+ hobby("Harriette Vargas", "picnicking").
102
+ hobby("Ivan Abbate", "stone collecting").
103
+ hobby("Jeannie Loper", "sea glass collecting").
104
+ hobby("Joey Mcclelland", "radio-controlled model playing").
105
+ hobby("Kacey Yocum", "badminton").
106
+ hobby("Kendrick Vargas", "insect collecting").
107
+ hobby("Kraig Hamrick", "animation").
108
+ hobby("Livia Camper", "bowling").
109
+ hobby("Marlana Mcclelland", "disc golf").
110
+ hobby("Millard Camper", "model aircraft").
111
+ hobby("Newton Moffitt", "ant farming").
112
+ hobby("Nicholas Vargas", "geography").
113
+ hobby("Noe Vargas", "meditation").
114
+ hobby("Page Vargas", "slot car racing").
115
+ hobby("Pamula Flatt", "stone collecting").
116
+ hobby("Raphael Vargas", "roundnet").
117
+ hobby("Renaldo Ahmad", "chemistry").
118
+ hobby("Robyn Vargas", "tether car").
119
+ hobby("Ronnie Vargas", "roller skating").
120
+ hobby("Rosie Vargas", "aircraft spotting").
121
+ hobby("Son Loper", "martial arts").
122
+ hobby("Stevie Vargas", "rowing").
123
+ hobby("Thelma Flatt", "philately").
124
+ hobby("Theodore Yocum", "research").
125
+ hobby("Theron Mcclelland", "butterfly watching").
126
+ hobby("Toney Vargas", "neuroscience").
127
+ hobby("Valentina Vargas", "judo").
128
+ hobby("Wendell Flatt", "cycling").
129
+ hobby("Will Vargas", "myrmecology").
130
+ hobby("Winnifred Mcclelland", "auto audiophilia").
131
+ hobby("Xavier Vargas", "lomography").
132
+ hobby("Antionette Dyer", "mountaineering").
133
+ hobby("Anton Swink", "knife throwing").
134
+ hobby("Cara Lucky", "learning").
135
+ hobby("Christina Lucky", "archery").
136
+ hobby("Damion Swink", "magnet fishing").
137
+ hobby("Dwain Lucky", "compact discs").
138
+ hobby("Ellis Lucky", "social studies").
139
+ hobby("Emil Lucky", "skateboarding").
140
+ hobby("Ervin Swink", "high-power rocketry").
141
+ hobby("Eugene Ellsworth", "table tennis").
142
+ hobby("Floyd Lucky", "mathematics").
143
+ hobby("Freda Dyer", "linguistics").
144
+ hobby("Frederick Lucky", "rugby league football").
145
+ hobby("Gabriele Lucky", "meditation").
146
+ hobby("Gemma Pirtle", "animation").
147
+ hobby("Hank Lucky", "judo").
148
+ hobby("Harlan Lucky", "engineering").
149
+ hobby("Holly Lucky", "trainspotting").
150
+ hobby("Ilona Dyer", "jukskei").
151
+ hobby("Jerrold Lucky", "jurisprudential").
152
+ hobby("Jess Ellsworth", "life science").
153
+ hobby("Jewel Dyer", "geocaching").
154
+ hobby("Judith Slate", "stamp collecting").
155
+ hobby("Katharine Lucky", "snorkeling").
156
+ hobby("Ken Pirtle", "exhibition drill").
157
+ hobby("Kermit Swink", "magnet fishing").
158
+ hobby("Kimberely Lucky", "bus spotting").
159
+ hobby("Lauren Pirtle", "fishkeeping").
160
+ hobby("Laverna Ellsworth", "microscopy").
161
+ hobby("Leena Lucky", "fishkeeping").
162
+ hobby("Lincoln Oneil", "mineral collecting").
163
+ hobby("Lisa Dyer", "philately").
164
+ hobby("Lois Oneil", "breakdancing").
165
+ hobby("Lowell Lucky", "leaves").
166
+ hobby("Luke Slate", "hobby horsing").
167
+ hobby("Meryl Lucky", "model united nations").
168
+ hobby("My Swink", "amateur astronomy").
169
+ hobby("Nelly Lucky", "botany").
170
+ hobby("Odelia Lucky", "ice hockey").
171
+ hobby("Paris Lucky", "leaves").
172
+ hobby("Renaldo Dyer", "rappelling").
173
+ hobby("Ricardo Lucky", "dolls").
174
+ hobby("Romana Dyer", "comic book collecting").
175
+ hobby("Roosevelt Dyer", "hiking/backpacking").
176
+ hobby("Selina Slate", "fishkeeping").
177
+ hobby("Sherita Dyer", "beekeeping").
178
+ hobby("Stevie Dyer", "die-cast toy").
179
+ hobby("Wesley Pirtle", "curling").
180
+ hobby("Wilmer Pirtle", "bridge").
181
+ hobby("Winnie Lucky", "tennis polo").
182
+ hobby("Alejandrina Preciado", "race walking").
183
+ hobby("Aletha Mccune", "camping").
184
+ hobby("Amie Preciado", "photography").
185
+ hobby("Annabell Mccune", "butterfly watching").
186
+ hobby("Belva Mccune", "web design").
187
+ hobby("Benjamin Mullins", "zoo visiting").
188
+ hobby("Caleb Langford", "biology").
189
+ hobby("Chelsie Roldan", "tennis polo").
190
+ hobby("Chloe Mccune", "web design").
191
+ hobby("Conrad Mccune", "ant-keeping").
192
+ hobby("Cristopher Homan", "whale watching").
193
+ hobby("Daniela Bishop", "botany").
194
+ hobby("Deane Medley", "shopping").
195
+ hobby("Deena Munroe", "hiking/backpacking").
196
+ hobby("Deidre Medley", "ice skating").
197
+ hobby("Demetria Decosta", "air hockey").
198
+ hobby("Deshawn Munroe", "ant-keeping").
199
+ hobby("Devon Preciado", "medical science").
200
+ hobby("Doug Medley", "stone skipping").
201
+ hobby("Federico Keene", "equestrianism").
202
+ hobby("Gemma Keene", "record collecting").
203
+ hobby("Gordon Decosta", "skiing").
204
+ hobby("Hans Decosta", "deltiology").
205
+ hobby("Jacque Mullins", "roller skating").
206
+ hobby("Jamey Turnage", "insect collecting").
207
+ hobby("Jamie Rounds", "people-watching").
208
+ hobby("Jon Preciado", "reading").
209
+ hobby("Josie Langford", "meditation").
210
+ hobby("Katerine Mullins", "sports science").
211
+ hobby("Kathey Turnage", "ice hockey").
212
+ hobby("Kelley Preciado", "flower collecting and pressing").
213
+ hobby("Lavonne Rounds", "fusilately").
214
+ hobby("Lorina Homan", "web design").
215
+ hobby("Nestor Preciado", "jujitsu").
216
+ hobby("Paula Preciado", "vintage clothing").
217
+ hobby("Pete Mullins", "audiophile").
218
+ hobby("Queenie Homan", "curling").
219
+ hobby("Rolland Bishop", "slot car").
220
+ hobby("Romana Bishop", "road biking").
221
+ hobby("Ronald Mccune", "perfume").
222
+ hobby("Ruby Preciado", "microscopy").
223
+ hobby("Rudolph Keene", "herping").
224
+ hobby("Sam Bishop", "butterfly watching").
225
+ hobby("Sanford Preciado", "meditation").
226
+ hobby("Santiago Homan", "perfume").
227
+ hobby("Santos Rounds", "mineral collecting").
228
+ hobby("Sherrie Keene", "fishkeeping").
229
+ hobby("Stacey Roldan", "mineral collecting").
230
+ hobby("Vaughn Bishop", "phillumeny").
231
+ hobby("Zackary Keene", "radio-controlled model playing").
232
+ hobby("Zoraida Roldan", "magnet fishing").
233
+
234
+ granddaughter(X, Y) :-
235
+ grandchild(X, Y),
236
+ female(Y).
237
+
238
+ grandson(X, Y) :-
239
+ grandchild(X, Y),
240
+ male(Y).
241
+
242
+ :- dynamic job/2.
243
+
244
+ job("Alethia Kidd", "academic librarian").
245
+ job("Alexis Kingsley", "clinical research associate").
246
+ job("Ana Colin", "museum curator").
247
+ job("Antionette Song", "technical sales engineer").
248
+ job("Byron Song", "advertising account planner").
249
+ job("Carlos Baptiste", "toxicologist").
250
+ job("Damon Song", "education administrator").
251
+ job("Danilo Colin", "colour technologist").
252
+ job("Deirdre Bivins", "regulatory affairs officer").
253
+ job("Eddie Song", "gaffer").
254
+ job("Elisabeth Kingsley", "producer").
255
+ job("Felton Kidd", "newspaper journalist").
256
+ job("Freda Song", "social researcher").
257
+ job("Gene Song", "learning disability nurse").
258
+ job("Genesis Colin", "interior and spatial designer").
259
+ job("Geneva Song", "pharmacologist").
260
+ job("Gilbert Summerlin", "investment banker").
261
+ job("Hannah Bivins", "biomedical engineer").
262
+ job("Hyun Song", "marketing executive").
263
+ job("Idell Kidd", "chartered legal executive").
264
+ job("Isidro Kidd", "public relations officer").
265
+ job("Jamal Song", "nutritional therapist").
266
+ job("Jeana Song", "psychotherapist").
267
+ job("Jesse Kiel", "production designer").
268
+ job("Jolene Song", "phytotherapist").
269
+ job("Lance Kiel", "training and development officer").
270
+ job("Lester Bivins", "electronics engineer").
271
+ job("Lynda Colin", "contracting civil engineer").
272
+ job("Madaline Song", "air traffic controller").
273
+ job("Matilda Summerlin", "airline pilot").
274
+ job("Maynard Song", "IT consultant").
275
+ job("Mckinley Colin", "geophysical data processor").
276
+ job("Meghann Kidd", "careers information officer").
277
+ job("Melvin Kidd", "applications developer").
278
+ job("Nathaniel Song", "architectural technologist").
279
+ job("Nikki Kidd", "horticultural therapist").
280
+ job("Nina Song", "theme park manager").
281
+ job("Noreen Kingsley", "animal nutritionist").
282
+ job("Ramona Colin", "education administrator").
283
+ job("Romelia Song", "community development worker").
284
+ job("Seymour Song", "ophthalmologist").
285
+ job("Shelly Reece", "lobbyist").
286
+ job("Sol Song", "telecommunications researcher").
287
+ job("Stephan Kidd", "social worker").
288
+ job("Tawana Summerlin", "exercise physiologist").
289
+ job("Thomasine Kidd", "senior tax professional").
290
+ job("Tod Song", "environmental consultant").
291
+ job("Twila Baptiste", "soil scientist").
292
+ job("Winfred Baptiste", "interpreter").
293
+ job("Wyatt Reece", "professor emeritus").
294
+ job("Yvette Song", "archivist").
295
+ job("Adah Camper", "herpetologist").
296
+ job("Adele Ahmad", "transport planner").
297
+ job("Amos Vargas", "advice worker").
298
+ job("Angie Vargas", "hospital pharmacist").
299
+ job("Ayesha Abbate", "network engineer").
300
+ job("Bradley Yocum", "personal assistant").
301
+ job("Carina Vargas", "tax inspector").
302
+ job("Christa Vargas", "industrial buyer").
303
+ job("David Mcclelland", "physicist").
304
+ job("Derek Flatt", "sub").
305
+ job("Eddy Vargas", "market researcher").
306
+ job("Elfriede Moffitt", "building services engineer").
307
+ job("Eli Flatt", "general practice doctor").
308
+ job("Elvie Vargas", "dispensing optician").
309
+ job("Errol Camper", "company secretary").
310
+ job("Forrest Vargas", "sub").
311
+ job("Fred Vargas", "accounting technician").
312
+ job("Gerry Vargas", "local government officer").
313
+ job("Ginger Hamrick", "magazine features editor").
314
+ job("Harriette Vargas", "publishing rights manager").
315
+ job("Ivan Abbate", "government social research officer").
316
+ job("Jeannie Loper", "mudlogger").
317
+ job("Joey Mcclelland", "senior tax professional").
318
+ job("Kacey Yocum", "patent examiner").
319
+ job("Kendrick Vargas", "science writer").
320
+ job("Kraig Hamrick", "estate agent").
321
+ job("Livia Camper", "lighting technician").
322
+ job("Marlana Mcclelland", "fine artist").
323
+ job("Millard Camper", "ship broker").
324
+ job("Newton Moffitt", "tree surgeon").
325
+ job("Nicholas Vargas", "geologist").
326
+ job("Noe Vargas", "restaurant manager").
327
+ job("Page Vargas", "designer").
328
+ job("Pamula Flatt", "drilling engineer").
329
+ job("Raphael Vargas", "radiographer").
330
+ job("Renaldo Ahmad", "legal secretary").
331
+ job("Robyn Vargas", "health visitor").
332
+ job("Ronnie Vargas", "medical physicist").
333
+ job("Rosie Vargas", "engineer").
334
+ job("Son Loper", "geophysical data processor").
335
+ job("Stevie Vargas", "midwife").
336
+ job("Thelma Flatt", "financial risk analyst").
337
+ job("Theodore Yocum", "English as a foreign language teacher").
338
+ job("Theron Mcclelland", "personnel officer").
339
+ job("Toney Vargas", "systems analyst").
340
+ job("Valentina Vargas", "animator").
341
+ job("Wendell Flatt", "educational psychologist").
342
+ job("Will Vargas", "production manager").
343
+ job("Winnifred Mcclelland", "magazine journalist").
344
+ job("Xavier Vargas", "runner").
345
+ job("Antionette Dyer", "learning disability nurse").
346
+ job("Anton Swink", "radiation protection practitioner").
347
+ job("Cara Lucky", "advertising art director").
348
+ job("Christina Lucky", "scientific laboratory technician").
349
+ job("Damion Swink", "call centre manager").
350
+ job("Dwain Lucky", "arts development officer").
351
+ job("Ellis Lucky", "estate agent").
352
+ job("Emil Lucky", "furniture conservator").
353
+ job("Ervin Swink", "travel agency manager").
354
+ job("Eugene Ellsworth", "maintenance engineer").
355
+ job("Floyd Lucky", "conservation officer").
356
+ job("Freda Dyer", "copy").
357
+ job("Frederick Lucky", "sales professional").
358
+ job("Gabriele Lucky", "graphic designer").
359
+ job("Gemma Pirtle", "special educational needs teacher").
360
+ job("Hank Lucky", "astronomer").
361
+ job("Harlan Lucky", "sales promotion account executive").
362
+ job("Holly Lucky", "accounting technician").
363
+ job("Ilona Dyer", "corporate investment banker").
364
+ job("Jerrold Lucky", "insurance broker").
365
+ job("Jess Ellsworth", "advertising account planner").
366
+ job("Jewel Dyer", "interpreter").
367
+ job("Judith Slate", "writer").
368
+ job("Katharine Lucky", "advertising account planner").
369
+ job("Ken Pirtle", "actuary").
370
+ job("Kermit Swink", "clinical biochemist").
371
+ job("Kimberely Lucky", "communications engineer").
372
+ job("Lauren Pirtle", "publishing copy").
373
+ job("Laverna Ellsworth", "database administrator").
374
+ job("Leena Lucky", "retail buyer").
375
+ job("Lincoln Oneil", "magazine features editor").
376
+ job("Lisa Dyer", "heritage manager").
377
+ job("Lois Oneil", "commercial horticulturist").
378
+ job("Lowell Lucky", "presenter").
379
+ job("Luke Slate", "administrator").
380
+ job("Meryl Lucky", "marine scientist").
381
+ job("My Swink", "rural practice surveyor").
382
+ job("Nelly Lucky", "occupational hygienist").
383
+ job("Odelia Lucky", "town planner").
384
+ job("Paris Lucky", "firefighter").
385
+ job("Renaldo Dyer", "publishing rights manager").
386
+ job("Ricardo Lucky", "charity fundraiser").
387
+ job("Romana Dyer", "paediatric nurse").
388
+ job("Roosevelt Dyer", "licensed conveyancer").
389
+ job("Selina Slate", "music therapist").
390
+ job("Sherita Dyer", "building control surveyor").
391
+ job("Stevie Dyer", "records manager").
392
+ job("Wesley Pirtle", "social worker").
393
+ job("Wilmer Pirtle", "industrial designer").
394
+ job("Winnie Lucky", "hydrographic surveyor").
395
+ job("Alejandrina Preciado", "trade union research officer").
396
+ job("Aletha Mccune", "fisheries officer").
397
+ job("Amie Preciado", "public relations account executive").
398
+ job("Annabell Mccune", "editorial assistant").
399
+ job("Belva Mccune", "brewing technologist").
400
+ job("Benjamin Mullins", "dramatherapist").
401
+ job("Caleb Langford", "conference centre manager").
402
+ job("Chelsie Roldan", "embryologist").
403
+ job("Chloe Mccune", "geoscientist").
404
+ job("Conrad Mccune", "trade mark attorney").
405
+ job("Cristopher Homan", "multimedia specialist").
406
+ job("Daniela Bishop", "biochemist").
407
+ job("Deane Medley", "senior tax professional").
408
+ job("Deena Munroe", "copywriter").
409
+ job("Deidre Medley", "lecturer").
410
+ job("Demetria Decosta", "development worker").
411
+ job("Deshawn Munroe", "educational psychologist").
412
+ job("Devon Preciado", "IT sales professional").
413
+ job("Doug Medley", "accountant").
414
+ job("Federico Keene", "physiotherapist").
415
+ job("Gemma Keene", "energy manager").
416
+ job("Gordon Decosta", "chief of staff").
417
+ job("Hans Decosta", "conference centre manager").
418
+ job("Jacque Mullins", "doctor").
419
+ job("Jamey Turnage", "data scientist").
420
+ job("Jamie Rounds", "exercise physiologist").
421
+ job("Jon Preciado", "physicist").
422
+ job("Josie Langford", "health physicist").
423
+ job("Katerine Mullins", "fisheries officer").
424
+ job("Kathey Turnage", "corporate treasurer").
425
+ job("Kelley Preciado", "customer service manager").
426
+ job("Lavonne Rounds", "bookseller").
427
+ job("Lorina Homan", "trade union research officer").
428
+ job("Nestor Preciado", "geochemist").
429
+ job("Paula Preciado", "furniture designer").
430
+ job("Pete Mullins", "clinical research associate").
431
+ job("Queenie Homan", "public house manager").
432
+ job("Rolland Bishop", "toxicologist").
433
+ job("Romana Bishop", "public house manager").
434
+ job("Ronald Mccune", "optometrist").
435
+ job("Ruby Preciado", "artist").
436
+ job("Rudolph Keene", "development worker").
437
+ job("Sam Bishop", "chemist").
438
+ job("Sanford Preciado", "primary school teacher").
439
+ job("Santiago Homan", "civil engineer").
440
+ job("Santos Rounds", "photographer").
441
+ job("Sherrie Keene", "trade mark attorney").
442
+ job("Stacey Roldan", "IT technical support officer").
443
+ job("Vaughn Bishop", "fitness centre manager").
444
+ job("Zackary Keene", "press photographer").
445
+ job("Zoraida Roldan", "textile designer").
446
+
447
+ great_uncle(X, Y) :-
448
+ grandparent(X, A),
449
+ brother(A, Y).
450
+
451
+ :- dynamic save_all_clauses_to_file/1.
452
+
453
+ save_all_clauses_to_file(A) :-
454
+ open(A, write, B),
455
+ set_output(B),
456
+ listing,
457
+ close(B).
458
+
459
+ :- dynamic term_expansion/4.
460
+ :- multifile term_expansion/4.
461
+
462
+
463
+ grandchild(X, Y) :-
464
+ grandparent(Y, X).
465
+
466
+ :- dynamic dob/2.
467
+
468
+ dob("Alethia Kidd", "0873-07-19").
469
+ dob("Alexis Kingsley", "1041-10-02").
470
+ dob("Ana Colin", "0935-04-16").
471
+ dob("Antionette Song", "0991-05-04").
472
+ dob("Byron Song", "0908-09-14").
473
+ dob("Carlos Baptiste", "1044-12-31").
474
+ dob("Damon Song", "1021-10-02").
475
+ dob("Danilo Colin", "0909-08-09").
476
+ dob("Deirdre Bivins", "1021-12-21").
477
+ dob("Eddie Song", "0935-01-05").
478
+ dob("Elisabeth Kingsley", "1073-05-19").
479
+ dob("Felton Kidd", "0874-01-26").
480
+ dob("Freda Song", "0961-03-14").
481
+ dob("Gene Song", "1016-07-28").
482
+ dob("Genesis Colin", "0935-10-02").
483
+ dob("Geneva Song", "1017-08-26").
484
+ dob("Gilbert Summerlin", "0875-11-11").
485
+ dob("Hannah Bivins", "0991-10-05").
486
+ dob("Hyun Song", "0908-01-20").
487
+ dob("Idell Kidd", "0882-10-19").
488
+ dob("Isidro Kidd", "0900-05-25").
489
+ dob("Jamal Song", "0961-07-23").
490
+ dob("Jeana Song", "0965-11-11").
491
+ dob("Jesse Kiel", "0878-11-05").
492
+ dob("Jolene Song", "1015-01-07").
493
+ dob("Lance Kiel", "0879-03-08").
494
+ dob("Lester Bivins", "0991-03-23").
495
+ dob("Lynda Colin", "0941-08-16").
496
+ dob("Madaline Song", "0959-12-18").
497
+ dob("Matilda Summerlin", "0874-08-12").
498
+ dob("Maynard Song", "1023-05-28").
499
+ dob("Mckinley Colin", "0936-10-18").
500
+ dob("Meghann Kidd", "0929-12-23").
501
+ dob("Melvin Kidd", "0905-06-22").
502
+ dob("Nathaniel Song", "0985-07-27").
503
+ dob("Nikki Kidd", "0903-01-28").
504
+ dob("Nina Song", "0936-08-07").
505
+ dob("Noreen Kingsley", "1042-12-18").
506
+ dob("Ramona Colin", "0909-09-08").
507
+ dob("Romelia Song", "1020-12-02").
508
+ dob("Seymour Song", "0964-05-16").
509
+ dob("Shelly Reece", "0985-04-02").
510
+ dob("Sol Song", "0993-10-31").
511
+ dob("Stephan Kidd", "0852-06-22").
512
+ dob("Tawana Summerlin", "0904-08-01").
513
+ dob("Thomasine Kidd", "0854-04-15").
514
+ dob("Tod Song", "0993-10-31").
515
+ dob("Twila Baptiste", "1018-11-12").
516
+ dob("Winfred Baptiste", "1014-09-07").
517
+ dob("Wyatt Reece", "0983-05-04").
518
+ dob("Yvette Song", "0962-11-01").
519
+ dob("Adah Camper", "0932-07-19").
520
+ dob("Adele Ahmad", "0925-02-26").
521
+ dob("Amos Vargas", "0956-09-05").
522
+ dob("Angie Vargas", "0977-10-14").
523
+ dob("Ayesha Abbate", "0916-07-12").
524
+ dob("Bradley Yocum", "0978-01-11").
525
+ dob("Carina Vargas", "0983-08-23").
526
+ dob("Christa Vargas", "0955-08-11").
527
+ dob("David Mcclelland", "1006-12-16").
528
+ dob("Derek Flatt", "0970-03-01").
529
+ dob("Eddy Vargas", "0980-12-28").
530
+ dob("Elfriede Moffitt", "0880-02-08").
531
+ dob("Eli Flatt", "0945-08-01").
532
+ dob("Elvie Vargas", "1005-07-01").
533
+ dob("Errol Camper", "0927-10-02").
534
+ dob("Forrest Vargas", "1002-10-20").
535
+ dob("Fred Vargas", "0981-04-01").
536
+ dob("Gerry Vargas", "0980-03-01").
537
+ dob("Ginger Hamrick", "0947-04-05").
538
+ dob("Harriette Vargas", "0958-03-01").
539
+ dob("Ivan Abbate", "0919-06-20").
540
+ dob("Jeannie Loper", "0846-01-09").
541
+ dob("Joey Mcclelland", "0974-07-26").
542
+ dob("Kacey Yocum", "0982-03-17").
543
+ dob("Kendrick Vargas", "1010-11-04").
544
+ dob("Kraig Hamrick", "0950-03-09").
545
+ dob("Livia Camper", "0905-05-08").
546
+ dob("Marlana Mcclelland", "1006-08-22").
547
+ dob("Millard Camper", "0903-07-02").
548
+ dob("Newton Moffitt", "0880-10-06").
549
+ dob("Nicholas Vargas", "1033-02-24").
550
+ dob("Noe Vargas", "0983-04-25").
551
+ dob("Page Vargas", "1008-11-17").
552
+ dob("Pamula Flatt", "0946-04-07").
553
+ dob("Raphael Vargas", "1009-02-12").
554
+ dob("Renaldo Ahmad", "0928-10-18").
555
+ dob("Robyn Vargas", "1008-05-19").
556
+ dob("Ronnie Vargas", "0983-02-22").
557
+ dob("Rosie Vargas", "0983-02-16").
558
+ dob("Son Loper", "0851-04-10").
559
+ dob("Stevie Vargas", "0929-04-04").
560
+ dob("Thelma Flatt", "0968-03-13").
561
+ dob("Theodore Yocum", "1009-01-14").
562
+ dob("Theron Mcclelland", "1032-04-22").
563
+ dob("Toney Vargas", "1007-07-11").
564
+ dob("Valentina Vargas", "0929-05-28").
565
+ dob("Wendell Flatt", "0974-07-13").
566
+ dob("Will Vargas", "0958-01-11").
567
+ dob("Winnifred Mcclelland", "0974-12-02").
568
+ dob("Xavier Vargas", "0983-02-22").
569
+ dob("Antionette Dyer", "0992-09-18").
570
+ dob("Anton Swink", "0940-12-07").
571
+ dob("Cara Lucky", "0854-06-21").
572
+ dob("Christina Lucky", "0913-08-08").
573
+ dob("Damion Swink", "0943-06-02").
574
+ dob("Dwain Lucky", "0941-09-17").
575
+ dob("Ellis Lucky", "0966-11-10").
576
+ dob("Emil Lucky", "0972-07-09").
577
+ dob("Ervin Swink", "0912-12-21").
578
+ dob("Eugene Ellsworth", "1014-07-07").
579
+ dob("Floyd Lucky", "0998-10-28").
580
+ dob("Freda Dyer", "1017-09-02").
581
+ dob("Frederick Lucky", "0918-09-11").
582
+ dob("Gabriele Lucky", "0886-06-02").
583
+ dob("Gemma Pirtle", "0943-12-23").
584
+ dob("Hank Lucky", "1000-12-27").
585
+ dob("Harlan Lucky", "0916-05-04").
586
+ dob("Holly Lucky", "0996-05-02").
587
+ dob("Ilona Dyer", "1017-06-24").
588
+ dob("Jerrold Lucky", "0857-03-06").
589
+ dob("Jess Ellsworth", "1039-06-09").
590
+ dob("Jewel Dyer", "0992-04-04").
591
+ dob("Judith Slate", "0858-03-23").
592
+ dob("Katharine Lucky", "0938-06-11").
593
+ dob("Ken Pirtle", "0967-07-11").
594
+ dob("Kermit Swink", "0936-04-05").
595
+ dob("Kimberely Lucky", "0864-10-24").
596
+ dob("Lauren Pirtle", "0974-04-02").
597
+ dob("Laverna Ellsworth", "1015-12-22").
598
+ dob("Leena Lucky", "0968-09-03").
599
+ dob("Lincoln Oneil", "0882-03-28").
600
+ dob("Lisa Dyer", "0989-08-06").
601
+ dob("Lois Oneil", "0881-07-26").
602
+ dob("Lowell Lucky", "0835-07-27").
603
+ dob("Luke Slate", "0860-12-04").
604
+ dob("Meryl Lucky", "0911-05-16").
605
+ dob("My Swink", "0913-10-14").
606
+ dob("Nelly Lucky", "0966-01-01").
607
+ dob("Odelia Lucky", "0918-09-23").
608
+ dob("Paris Lucky", "0939-01-12").
609
+ dob("Renaldo Dyer", "0992-03-06").
610
+ dob("Ricardo Lucky", "0887-08-17").
611
+ dob("Romana Dyer", "0994-08-14").
612
+ dob("Roosevelt Dyer", "0990-05-21").
613
+ dob("Selina Slate", "0887-06-30").
614
+ dob("Sherita Dyer", "0965-02-24").
615
+ dob("Stevie Dyer", "0965-11-22").
616
+ dob("Wesley Pirtle", "0971-01-12").
617
+ dob("Wilmer Pirtle", "0942-09-22").
618
+ dob("Winnie Lucky", "0835-07-11").
619
+ dob("Alejandrina Preciado", "1045-03-11").
620
+ dob("Aletha Mccune", "0938-08-26").
621
+ dob("Amie Preciado", "0962-01-21").
622
+ dob("Annabell Mccune", "0970-01-22").
623
+ dob("Belva Mccune", "0998-07-18").
624
+ dob("Benjamin Mullins", "0940-02-25").
625
+ dob("Caleb Langford", "0963-05-06").
626
+ dob("Chelsie Roldan", "1078-06-02").
627
+ dob("Chloe Mccune", "0968-08-02").
628
+ dob("Conrad Mccune", "0937-01-22").
629
+ dob("Cristopher Homan", "1014-04-19").
630
+ dob("Daniela Bishop", "0986-07-12").
631
+ dob("Deane Medley", "1016-04-12").
632
+ dob("Deena Munroe", "1015-03-04").
633
+ dob("Deidre Medley", "0988-10-12").
634
+ dob("Demetria Decosta", "1014-11-06").
635
+ dob("Deshawn Munroe", "1018-02-08").
636
+ dob("Devon Preciado", "1017-09-23").
637
+ dob("Doug Medley", "0987-02-27").
638
+ dob("Federico Keene", "1048-07-11").
639
+ dob("Gemma Keene", "0993-06-29").
640
+ dob("Gordon Decosta", "1012-08-17").
641
+ dob("Hans Decosta", "1044-03-24").
642
+ dob("Jacque Mullins", "0940-08-06").
643
+ dob("Jamey Turnage", "0984-04-12").
644
+ dob("Jamie Rounds", "1018-12-07").
645
+ dob("Jon Preciado", "0961-09-17").
646
+ dob("Josie Langford", "0965-07-05").
647
+ dob("Katerine Mullins", "0913-02-02").
648
+ dob("Kathey Turnage", "0986-01-11").
649
+ dob("Kelley Preciado", "0990-04-20").
650
+ dob("Lavonne Rounds", "1018-10-12").
651
+ dob("Lorina Homan", "0987-07-03").
652
+ dob("Nestor Preciado", "1046-02-24").
653
+ dob("Paula Preciado", "1042-03-28").
654
+ dob("Pete Mullins", "0913-06-11").
655
+ dob("Queenie Homan", "1020-09-18").
656
+ dob("Rolland Bishop", "0991-06-13").
657
+ dob("Romana Bishop", "0962-12-19").
658
+ dob("Ronald Mccune", "0969-03-07").
659
+ dob("Ruby Preciado", "1018-11-16").
660
+ dob("Rudolph Keene", "1019-06-20").
661
+ dob("Sam Bishop", "1024-06-16").
662
+ dob("Sanford Preciado", "0989-07-15").
663
+ dob("Santiago Homan", "0982-06-26").
664
+ dob("Santos Rounds", "1049-03-17").
665
+ dob("Sherrie Keene", "1019-05-13").
666
+ dob("Stacey Roldan", "1050-05-24").
667
+ dob("Vaughn Bishop", "0958-07-06").
668
+ dob("Zackary Keene", "0993-03-04").
669
+ dob("Zoraida Roldan", "1051-12-04").
670
+
671
+ :- dynamic file_search_path/2.
672
+ :- multifile file_search_path/2.
673
+
674
+ file_search_path(library, Dir) :-
675
+ library_directory(Dir).
676
+ file_search_path(swi, A) :-
677
+ system:current_prolog_flag(home, A).
678
+ file_search_path(swi, A) :-
679
+ system:current_prolog_flag(shared_home, A).
680
+ file_search_path(library, app_config(lib)).
681
+ file_search_path(library, swi(library)).
682
+ file_search_path(library, swi(library/clp)).
683
+ file_search_path(library, A) :-
684
+ system:'$ext_library_directory'(A).
685
+ file_search_path(foreign, swi(A)) :-
686
+ system:
687
+ ( current_prolog_flag(apple_universal_binary, true),
688
+ A='lib/fat-darwin'
689
+ ).
690
+ file_search_path(path, A) :-
691
+ system:
692
+ ( getenv('PATH', B),
693
+ current_prolog_flag(path_sep, C),
694
+ atomic_list_concat(D, C, B),
695
+ '$member'(A, D)
696
+ ).
697
+ file_search_path(user_app_data, A) :-
698
+ system:'$xdg_prolog_directory'(data, A).
699
+ file_search_path(common_app_data, A) :-
700
+ system:'$xdg_prolog_directory'(common_data, A).
701
+ file_search_path(user_app_config, A) :-
702
+ system:'$xdg_prolog_directory'(config, A).
703
+ file_search_path(common_app_config, A) :-
704
+ system:'$xdg_prolog_directory'(common_config, A).
705
+ file_search_path(app_data, user_app_data('.')).
706
+ file_search_path(app_data, common_app_data('.')).
707
+ file_search_path(app_config, user_app_config('.')).
708
+ file_search_path(app_config, common_app_config('.')).
709
+ file_search_path(app_preferences, user_app_config('.')).
710
+ file_search_path(user_profile, app_preferences('.')).
711
+ file_search_path(app, swi(app)).
712
+ file_search_path(app, app_data(app)).
713
+ file_search_path(autoload, swi(library)).
714
+ file_search_path(autoload, pce(prolog/lib)).
715
+ file_search_path(autoload, app_config(lib)).
716
+ file_search_path(autoload, Dir) :-
717
+ '$autoload':'$ext_library_directory'(Dir).
718
+ file_search_path(pack, app_data(pack)).
719
+ file_search_path(library, PackLib) :-
720
+ '$pack':pack_dir(_Name, prolog, PackLib).
721
+ file_search_path(foreign, PackLib) :-
722
+ '$pack':pack_dir(_Name, foreign, PackLib).
723
+ file_search_path(app, AppDir) :-
724
+ '$pack':pack_dir(_Name, app, AppDir).
725
+
726
+ :- multifile prolog_list_goal/1.
727
+
728
+
729
+ :- dynamic type/2.
730
+
731
+ type("Alethia Kidd", person).
732
+ type("Alexis Kingsley", person).
733
+ type("Ana Colin", person).
734
+ type("Antionette Song", person).
735
+ type("Byron Song", person).
736
+ type("Carlos Baptiste", person).
737
+ type("Damon Song", person).
738
+ type("Danilo Colin", person).
739
+ type("Deirdre Bivins", person).
740
+ type("Eddie Song", person).
741
+ type("Elisabeth Kingsley", person).
742
+ type("Felton Kidd", person).
743
+ type("Freda Song", person).
744
+ type("Gene Song", person).
745
+ type("Genesis Colin", person).
746
+ type("Geneva Song", person).
747
+ type("Gilbert Summerlin", person).
748
+ type("Hannah Bivins", person).
749
+ type("Hyun Song", person).
750
+ type("Idell Kidd", person).
751
+ type("Isidro Kidd", person).
752
+ type("Jamal Song", person).
753
+ type("Jeana Song", person).
754
+ type("Jesse Kiel", person).
755
+ type("Jolene Song", person).
756
+ type("Lance Kiel", person).
757
+ type("Lester Bivins", person).
758
+ type("Lynda Colin", person).
759
+ type("Madaline Song", person).
760
+ type("Matilda Summerlin", person).
761
+ type("Maynard Song", person).
762
+ type("Mckinley Colin", person).
763
+ type("Meghann Kidd", person).
764
+ type("Melvin Kidd", person).
765
+ type("Nathaniel Song", person).
766
+ type("Nikki Kidd", person).
767
+ type("Nina Song", person).
768
+ type("Noreen Kingsley", person).
769
+ type("Ramona Colin", person).
770
+ type("Romelia Song", person).
771
+ type("Seymour Song", person).
772
+ type("Shelly Reece", person).
773
+ type("Sol Song", person).
774
+ type("Stephan Kidd", person).
775
+ type("Tawana Summerlin", person).
776
+ type("Thomasine Kidd", person).
777
+ type("Tod Song", person).
778
+ type("Twila Baptiste", person).
779
+ type("Winfred Baptiste", person).
780
+ type("Wyatt Reece", person).
781
+ type("Yvette Song", person).
782
+ type("Adah Camper", person).
783
+ type("Adele Ahmad", person).
784
+ type("Amos Vargas", person).
785
+ type("Angie Vargas", person).
786
+ type("Ayesha Abbate", person).
787
+ type("Bradley Yocum", person).
788
+ type("Carina Vargas", person).
789
+ type("Christa Vargas", person).
790
+ type("David Mcclelland", person).
791
+ type("Derek Flatt", person).
792
+ type("Eddy Vargas", person).
793
+ type("Elfriede Moffitt", person).
794
+ type("Eli Flatt", person).
795
+ type("Elvie Vargas", person).
796
+ type("Errol Camper", person).
797
+ type("Forrest Vargas", person).
798
+ type("Fred Vargas", person).
799
+ type("Gerry Vargas", person).
800
+ type("Ginger Hamrick", person).
801
+ type("Harriette Vargas", person).
802
+ type("Ivan Abbate", person).
803
+ type("Jeannie Loper", person).
804
+ type("Joey Mcclelland", person).
805
+ type("Kacey Yocum", person).
806
+ type("Kendrick Vargas", person).
807
+ type("Kraig Hamrick", person).
808
+ type("Livia Camper", person).
809
+ type("Marlana Mcclelland", person).
810
+ type("Millard Camper", person).
811
+ type("Newton Moffitt", person).
812
+ type("Nicholas Vargas", person).
813
+ type("Noe Vargas", person).
814
+ type("Page Vargas", person).
815
+ type("Pamula Flatt", person).
816
+ type("Raphael Vargas", person).
817
+ type("Renaldo Ahmad", person).
818
+ type("Robyn Vargas", person).
819
+ type("Ronnie Vargas", person).
820
+ type("Rosie Vargas", person).
821
+ type("Son Loper", person).
822
+ type("Stevie Vargas", person).
823
+ type("Thelma Flatt", person).
824
+ type("Theodore Yocum", person).
825
+ type("Theron Mcclelland", person).
826
+ type("Toney Vargas", person).
827
+ type("Valentina Vargas", person).
828
+ type("Wendell Flatt", person).
829
+ type("Will Vargas", person).
830
+ type("Winnifred Mcclelland", person).
831
+ type("Xavier Vargas", person).
832
+ type("Antionette Dyer", person).
833
+ type("Anton Swink", person).
834
+ type("Cara Lucky", person).
835
+ type("Christina Lucky", person).
836
+ type("Damion Swink", person).
837
+ type("Dwain Lucky", person).
838
+ type("Ellis Lucky", person).
839
+ type("Emil Lucky", person).
840
+ type("Ervin Swink", person).
841
+ type("Eugene Ellsworth", person).
842
+ type("Floyd Lucky", person).
843
+ type("Freda Dyer", person).
844
+ type("Frederick Lucky", person).
845
+ type("Gabriele Lucky", person).
846
+ type("Gemma Pirtle", person).
847
+ type("Hank Lucky", person).
848
+ type("Harlan Lucky", person).
849
+ type("Holly Lucky", person).
850
+ type("Ilona Dyer", person).
851
+ type("Jerrold Lucky", person).
852
+ type("Jess Ellsworth", person).
853
+ type("Jewel Dyer", person).
854
+ type("Judith Slate", person).
855
+ type("Katharine Lucky", person).
856
+ type("Ken Pirtle", person).
857
+ type("Kermit Swink", person).
858
+ type("Kimberely Lucky", person).
859
+ type("Lauren Pirtle", person).
860
+ type("Laverna Ellsworth", person).
861
+ type("Leena Lucky", person).
862
+ type("Lincoln Oneil", person).
863
+ type("Lisa Dyer", person).
864
+ type("Lois Oneil", person).
865
+ type("Lowell Lucky", person).
866
+ type("Luke Slate", person).
867
+ type("Meryl Lucky", person).
868
+ type("My Swink", person).
869
+ type("Nelly Lucky", person).
870
+ type("Odelia Lucky", person).
871
+ type("Paris Lucky", person).
872
+ type("Renaldo Dyer", person).
873
+ type("Ricardo Lucky", person).
874
+ type("Romana Dyer", person).
875
+ type("Roosevelt Dyer", person).
876
+ type("Selina Slate", person).
877
+ type("Sherita Dyer", person).
878
+ type("Stevie Dyer", person).
879
+ type("Wesley Pirtle", person).
880
+ type("Wilmer Pirtle", person).
881
+ type("Winnie Lucky", person).
882
+ type("Alejandrina Preciado", person).
883
+ type("Aletha Mccune", person).
884
+ type("Amie Preciado", person).
885
+ type("Annabell Mccune", person).
886
+ type("Belva Mccune", person).
887
+ type("Benjamin Mullins", person).
888
+ type("Caleb Langford", person).
889
+ type("Chelsie Roldan", person).
890
+ type("Chloe Mccune", person).
891
+ type("Conrad Mccune", person).
892
+ type("Cristopher Homan", person).
893
+ type("Daniela Bishop", person).
894
+ type("Deane Medley", person).
895
+ type("Deena Munroe", person).
896
+ type("Deidre Medley", person).
897
+ type("Demetria Decosta", person).
898
+ type("Deshawn Munroe", person).
899
+ type("Devon Preciado", person).
900
+ type("Doug Medley", person).
901
+ type("Federico Keene", person).
902
+ type("Gemma Keene", person).
903
+ type("Gordon Decosta", person).
904
+ type("Hans Decosta", person).
905
+ type("Jacque Mullins", person).
906
+ type("Jamey Turnage", person).
907
+ type("Jamie Rounds", person).
908
+ type("Jon Preciado", person).
909
+ type("Josie Langford", person).
910
+ type("Katerine Mullins", person).
911
+ type("Kathey Turnage", person).
912
+ type("Kelley Preciado", person).
913
+ type("Lavonne Rounds", person).
914
+ type("Lorina Homan", person).
915
+ type("Nestor Preciado", person).
916
+ type("Paula Preciado", person).
917
+ type("Pete Mullins", person).
918
+ type("Queenie Homan", person).
919
+ type("Rolland Bishop", person).
920
+ type("Romana Bishop", person).
921
+ type("Ronald Mccune", person).
922
+ type("Ruby Preciado", person).
923
+ type("Rudolph Keene", person).
924
+ type("Sam Bishop", person).
925
+ type("Sanford Preciado", person).
926
+ type("Santiago Homan", person).
927
+ type("Santos Rounds", person).
928
+ type("Sherrie Keene", person).
929
+ type("Stacey Roldan", person).
930
+ type("Vaughn Bishop", person).
931
+ type("Zackary Keene", person).
932
+ type("Zoraida Roldan", person).
933
+
934
+ grandfather(X, Y) :-
935
+ grandparent(X, Y),
936
+ male(Y).
937
+
938
+ :- dynamic expand_query/4.
939
+ :- multifile expand_query/4.
940
+
941
+
942
+ :- dynamic attribute/1.
943
+
944
+ attribute("academic librarian").
945
+ attribute("amateur astronomy").
946
+ attribute("clinical research associate").
947
+ attribute("crystals").
948
+ attribute("museum curator").
949
+ attribute("stamp collecting").
950
+ attribute("technical sales engineer").
951
+ attribute("trainspotting").
952
+ attribute("advertising account planner").
953
+ attribute("animation").
954
+ attribute("toxicologist").
955
+ attribute("esports").
956
+ attribute("education administrator").
957
+ attribute("magnet fishing").
958
+ attribute("colour technologist").
959
+ attribute("billiards").
960
+ attribute("regulatory affairs officer").
961
+ attribute("iceboat racing").
962
+ attribute("gaffer").
963
+ attribute("aerospace").
964
+ attribute("producer").
965
+ attribute("learning").
966
+ attribute("newspaper journalist").
967
+ attribute("meteorology").
968
+ attribute("social researcher").
969
+ attribute("learning").
970
+ attribute("learning disability nurse").
971
+ attribute("trapshooting").
972
+ attribute("interior and spatial designer").
973
+ attribute("shoes").
974
+ attribute("pharmacologist").
975
+ attribute("meteorology").
976
+ attribute("investment banker").
977
+ attribute("birdwatching").
978
+ attribute("biomedical engineer").
979
+ attribute("mahjong").
980
+ attribute("marketing executive").
981
+ attribute("horseback riding").
982
+ attribute("chartered legal executive").
983
+ attribute("birdwatching").
984
+ attribute("public relations officer").
985
+ attribute("air sports").
986
+ attribute("nutritional therapist").
987
+ attribute("publishing").
988
+ attribute("psychotherapist").
989
+ attribute("fossicking").
990
+ attribute("production designer").
991
+ attribute("dolls").
992
+ attribute("phytotherapist").
993
+ attribute("web design").
994
+ attribute("training and development officer").
995
+ attribute("tourism").
996
+ attribute("electronics engineer").
997
+ attribute("lapel pins").
998
+ attribute("contracting civil engineer").
999
+ attribute("slot car").
1000
+ attribute("air traffic controller").
1001
+ attribute("audiophile").
1002
+ attribute("airline pilot").
1003
+ attribute("model united nations").
1004
+ attribute("IT consultant").
1005
+ attribute("insect collecting").
1006
+ attribute("geophysical data processor").
1007
+ attribute("baking").
1008
+ attribute("careers information officer").
1009
+ attribute("mineral collecting").
1010
+ attribute("applications developer").
1011
+ attribute("stone collecting").
1012
+ attribute("architectural technologist").
1013
+ attribute("dandyism").
1014
+ attribute("horticultural therapist").
1015
+ attribute("mineral collecting").
1016
+ attribute("theme park manager").
1017
+ attribute("digital hoarding").
1018
+ attribute("animal nutritionist").
1019
+ attribute("reading").
1020
+ attribute("education administrator").
1021
+ attribute("pinball").
1022
+ attribute("community development worker").
1023
+ attribute("dog sport").
1024
+ attribute("ophthalmologist").
1025
+ attribute("research").
1026
+ attribute("lobbyist").
1027
+ attribute("butterfly watching").
1028
+ attribute("telecommunications researcher").
1029
+ attribute("research").
1030
+ attribute("social worker").
1031
+ attribute("stamp collecting").
1032
+ attribute("exercise physiologist").
1033
+ attribute("jogging").
1034
+ attribute("senior tax professional").
1035
+ attribute("rowing").
1036
+ attribute("environmental consultant").
1037
+ attribute("sport stacking").
1038
+ attribute("soil scientist").
1039
+ attribute("audiophile").
1040
+ attribute("interpreter").
1041
+ attribute("seashell collecting").
1042
+ attribute("professor emeritus").
1043
+ attribute("skateboarding").
1044
+ attribute("archivist").
1045
+ attribute("lomography").
1046
+ attribute("herpetologist").
1047
+ attribute("ant farming").
1048
+ attribute("transport planner").
1049
+ attribute("rock tumbling").
1050
+ attribute("advice worker").
1051
+ attribute("birdwatching").
1052
+ attribute("hospital pharmacist").
1053
+ attribute("model aircraft").
1054
+ attribute("network engineer").
1055
+ attribute("die-cast toy").
1056
+ attribute("personal assistant").
1057
+ attribute("metal detecting").
1058
+ attribute("tax inspector").
1059
+ attribute("learning").
1060
+ attribute("industrial buyer").
1061
+ attribute("phillumeny").
1062
+ attribute("physicist").
1063
+ attribute("cycling").
1064
+ attribute("sub").
1065
+ attribute("benchmarking").
1066
+ attribute("market researcher").
1067
+ attribute("sociology").
1068
+ attribute("building services engineer").
1069
+ attribute("shoes").
1070
+ attribute("general practice doctor").
1071
+ attribute("jujitsu").
1072
+ attribute("dispensing optician").
1073
+ attribute("tourism").
1074
+ attribute("company secretary").
1075
+ attribute("ant farming").
1076
+ attribute("sub").
1077
+ attribute("slot car racing").
1078
+ attribute("accounting technician").
1079
+ attribute("flower collecting and pressing").
1080
+ attribute("local government officer").
1081
+ attribute("videography").
1082
+ attribute("magazine features editor").
1083
+ attribute("powerlifting").
1084
+ attribute("publishing rights manager").
1085
+ attribute("picnicking").
1086
+ attribute("government social research officer").
1087
+ attribute("stone collecting").
1088
+ attribute("mudlogger").
1089
+ attribute("sea glass collecting").
1090
+ attribute("senior tax professional").
1091
+ attribute("radio-controlled model playing").
1092
+ attribute("patent examiner").
1093
+ attribute("badminton").
1094
+ attribute("science writer").
1095
+ attribute("insect collecting").
1096
+ attribute("estate agent").
1097
+ attribute("animation").
1098
+ attribute("lighting technician").
1099
+ attribute("bowling").
1100
+ attribute("fine artist").
1101
+ attribute("disc golf").
1102
+ attribute("ship broker").
1103
+ attribute("model aircraft").
1104
+ attribute("tree surgeon").
1105
+ attribute("ant farming").
1106
+ attribute("geologist").
1107
+ attribute("geography").
1108
+ attribute("restaurant manager").
1109
+ attribute("meditation").
1110
+ attribute("designer").
1111
+ attribute("slot car racing").
1112
+ attribute("drilling engineer").
1113
+ attribute("stone collecting").
1114
+ attribute("radiographer").
1115
+ attribute("roundnet").
1116
+ attribute("legal secretary").
1117
+ attribute("chemistry").
1118
+ attribute("health visitor").
1119
+ attribute("tether car").
1120
+ attribute("medical physicist").
1121
+ attribute("roller skating").
1122
+ attribute("engineer").
1123
+ attribute("aircraft spotting").
1124
+ attribute("geophysical data processor").
1125
+ attribute("martial arts").
1126
+ attribute("midwife").
1127
+ attribute("rowing").
1128
+ attribute("financial risk analyst").
1129
+ attribute("philately").
1130
+ attribute("English as a foreign language teacher").
1131
+ attribute("research").
1132
+ attribute("personnel officer").
1133
+ attribute("butterfly watching").
1134
+ attribute("systems analyst").
1135
+ attribute("neuroscience").
1136
+ attribute("animator").
1137
+ attribute("judo").
1138
+ attribute("educational psychologist").
1139
+ attribute("cycling").
1140
+ attribute("production manager").
1141
+ attribute("myrmecology").
1142
+ attribute("magazine journalist").
1143
+ attribute("auto audiophilia").
1144
+ attribute("runner").
1145
+ attribute("lomography").
1146
+ attribute("learning disability nurse").
1147
+ attribute("mountaineering").
1148
+ attribute("radiation protection practitioner").
1149
+ attribute("knife throwing").
1150
+ attribute("advertising art director").
1151
+ attribute("learning").
1152
+ attribute("scientific laboratory technician").
1153
+ attribute("archery").
1154
+ attribute("call centre manager").
1155
+ attribute("magnet fishing").
1156
+ attribute("arts development officer").
1157
+ attribute("compact discs").
1158
+ attribute("estate agent").
1159
+ attribute("social studies").
1160
+ attribute("furniture conservator").
1161
+ attribute("skateboarding").
1162
+ attribute("travel agency manager").
1163
+ attribute("high-power rocketry").
1164
+ attribute("maintenance engineer").
1165
+ attribute("table tennis").
1166
+ attribute("conservation officer").
1167
+ attribute("mathematics").
1168
+ attribute("copy").
1169
+ attribute("linguistics").
1170
+ attribute("sales professional").
1171
+ attribute("rugby league football").
1172
+ attribute("graphic designer").
1173
+ attribute("meditation").
1174
+ attribute("special educational needs teacher").
1175
+ attribute("animation").
1176
+ attribute("astronomer").
1177
+ attribute("judo").
1178
+ attribute("sales promotion account executive").
1179
+ attribute("engineering").
1180
+ attribute("accounting technician").
1181
+ attribute("trainspotting").
1182
+ attribute("corporate investment banker").
1183
+ attribute("jukskei").
1184
+ attribute("insurance broker").
1185
+ attribute("jurisprudential").
1186
+ attribute("advertising account planner").
1187
+ attribute("life science").
1188
+ attribute("interpreter").
1189
+ attribute("geocaching").
1190
+ attribute("writer").
1191
+ attribute("stamp collecting").
1192
+ attribute("advertising account planner").
1193
+ attribute("snorkeling").
1194
+ attribute("actuary").
1195
+ attribute("exhibition drill").
1196
+ attribute("clinical biochemist").
1197
+ attribute("magnet fishing").
1198
+ attribute("communications engineer").
1199
+ attribute("bus spotting").
1200
+ attribute("publishing copy").
1201
+ attribute("fishkeeping").
1202
+ attribute("database administrator").
1203
+ attribute("microscopy").
1204
+ attribute("retail buyer").
1205
+ attribute("fishkeeping").
1206
+ attribute("magazine features editor").
1207
+ attribute("mineral collecting").
1208
+ attribute("heritage manager").
1209
+ attribute("philately").
1210
+ attribute("commercial horticulturist").
1211
+ attribute("breakdancing").
1212
+ attribute("presenter").
1213
+ attribute("leaves").
1214
+ attribute("administrator").
1215
+ attribute("hobby horsing").
1216
+ attribute("marine scientist").
1217
+ attribute("model united nations").
1218
+ attribute("rural practice surveyor").
1219
+ attribute("amateur astronomy").
1220
+ attribute("occupational hygienist").
1221
+ attribute("botany").
1222
+ attribute("town planner").
1223
+ attribute("ice hockey").
1224
+ attribute("firefighter").
1225
+ attribute("leaves").
1226
+ attribute("publishing rights manager").
1227
+ attribute("rappelling").
1228
+ attribute("charity fundraiser").
1229
+ attribute("dolls").
1230
+ attribute("paediatric nurse").
1231
+ attribute("comic book collecting").
1232
+ attribute("licensed conveyancer").
1233
+ attribute("hiking/backpacking").
1234
+ attribute("music therapist").
1235
+ attribute("fishkeeping").
1236
+ attribute("building control surveyor").
1237
+ attribute("beekeeping").
1238
+ attribute("records manager").
1239
+ attribute("die-cast toy").
1240
+ attribute("social worker").
1241
+ attribute("curling").
1242
+ attribute("industrial designer").
1243
+ attribute("bridge").
1244
+ attribute("hydrographic surveyor").
1245
+ attribute("tennis polo").
1246
+ attribute("trade union research officer").
1247
+ attribute("race walking").
1248
+ attribute("fisheries officer").
1249
+ attribute("camping").
1250
+ attribute("public relations account executive").
1251
+ attribute("photography").
1252
+ attribute("editorial assistant").
1253
+ attribute("butterfly watching").
1254
+ attribute("brewing technologist").
1255
+ attribute("web design").
1256
+ attribute("dramatherapist").
1257
+ attribute("zoo visiting").
1258
+ attribute("conference centre manager").
1259
+ attribute("biology").
1260
+ attribute("embryologist").
1261
+ attribute("tennis polo").
1262
+ attribute("geoscientist").
1263
+ attribute("web design").
1264
+ attribute("trade mark attorney").
1265
+ attribute("ant-keeping").
1266
+ attribute("multimedia specialist").
1267
+ attribute("whale watching").
1268
+ attribute("biochemist").
1269
+ attribute("botany").
1270
+ attribute("senior tax professional").
1271
+ attribute("shopping").
1272
+ attribute("copywriter").
1273
+ attribute("hiking/backpacking").
1274
+ attribute("lecturer").
1275
+ attribute("ice skating").
1276
+ attribute("development worker").
1277
+ attribute("air hockey").
1278
+ attribute("educational psychologist").
1279
+ attribute("ant-keeping").
1280
+ attribute("IT sales professional").
1281
+ attribute("medical science").
1282
+ attribute("accountant").
1283
+ attribute("stone skipping").
1284
+ attribute("physiotherapist").
1285
+ attribute("equestrianism").
1286
+ attribute("energy manager").
1287
+ attribute("record collecting").
1288
+ attribute("chief of staff").
1289
+ attribute("skiing").
1290
+ attribute("conference centre manager").
1291
+ attribute("deltiology").
1292
+ attribute("doctor").
1293
+ attribute("roller skating").
1294
+ attribute("data scientist").
1295
+ attribute("insect collecting").
1296
+ attribute("exercise physiologist").
1297
+ attribute("people-watching").
1298
+ attribute("physicist").
1299
+ attribute("reading").
1300
+ attribute("health physicist").
1301
+ attribute("meditation").
1302
+ attribute("fisheries officer").
1303
+ attribute("sports science").
1304
+ attribute("corporate treasurer").
1305
+ attribute("ice hockey").
1306
+ attribute("customer service manager").
1307
+ attribute("flower collecting and pressing").
1308
+ attribute("bookseller").
1309
+ attribute("fusilately").
1310
+ attribute("trade union research officer").
1311
+ attribute("web design").
1312
+ attribute("geochemist").
1313
+ attribute("jujitsu").
1314
+ attribute("furniture designer").
1315
+ attribute("vintage clothing").
1316
+ attribute("clinical research associate").
1317
+ attribute("audiophile").
1318
+ attribute("public house manager").
1319
+ attribute("curling").
1320
+ attribute("toxicologist").
1321
+ attribute("slot car").
1322
+ attribute("public house manager").
1323
+ attribute("road biking").
1324
+ attribute("optometrist").
1325
+ attribute("perfume").
1326
+ attribute("artist").
1327
+ attribute("microscopy").
1328
+ attribute("development worker").
1329
+ attribute("herping").
1330
+ attribute("chemist").
1331
+ attribute("butterfly watching").
1332
+ attribute("primary school teacher").
1333
+ attribute("meditation").
1334
+ attribute("civil engineer").
1335
+ attribute("perfume").
1336
+ attribute("photographer").
1337
+ attribute("mineral collecting").
1338
+ attribute("trade mark attorney").
1339
+ attribute("fishkeeping").
1340
+ attribute("IT technical support officer").
1341
+ attribute("mineral collecting").
1342
+ attribute("fitness centre manager").
1343
+ attribute("phillumeny").
1344
+ attribute("press photographer").
1345
+ attribute("radio-controlled model playing").
1346
+ attribute("textile designer").
1347
+ attribute("magnet fishing").
1348
+
1349
+ great_aunt(X, Y) :-
1350
+ grandparent(X, A),
1351
+ sister(A, Y).
1352
+
1353
+ grandparent(X, Y) :-
1354
+ parent(X, Z),
1355
+ parent(Z, Y).
1356
+
1357
+ grandmother(X, Y) :-
1358
+ grandparent(X, Y),
1359
+ female(Y).
1360
+
1361
+ :- dynamic friend_/2.
1362
+
1363
+ friend_("Alethia Kidd", "Eddy Vargas").
1364
+ friend_("Alethia Kidd", "Chloe Mccune").
1365
+ friend_("Alexis Kingsley", "Jeana Song").
1366
+ friend_("Alexis Kingsley", "Adah Camper").
1367
+ friend_("Alexis Kingsley", "Nelly Lucky").
1368
+ friend_("Alexis Kingsley", "Lorina Homan").
1369
+ friend_("Ana Colin", "Stephan Kidd").
1370
+ friend_("Ana Colin", "Stevie Vargas").
1371
+ friend_("Ana Colin", "Damion Swink").
1372
+ friend_("Ana Colin", "Gemma Pirtle").
1373
+ friend_("Ana Colin", "Paula Preciado").
1374
+ friend_("Antionette Song", "Byron Song").
1375
+ friend_("Antionette Song", "Matilda Summerlin").
1376
+ friend_("Antionette Song", "Adah Camper").
1377
+ friend_("Antionette Song", "Harriette Vargas").
1378
+ friend_("Antionette Song", "Jeannie Loper").
1379
+ friend_("Antionette Song", "Renaldo Ahmad").
1380
+ friend_("Antionette Song", "Ilona Dyer").
1381
+ friend_("Antionette Song", "Lois Oneil").
1382
+ friend_("Byron Song", "Theron Mcclelland").
1383
+ friend_("Byron Song", "Ervin Swink").
1384
+ friend_("Byron Song", "Meryl Lucky").
1385
+ friend_("Byron Song", "Deidre Medley").
1386
+ friend_("Carlos Baptiste", "Adele Ahmad").
1387
+ friend_("Carlos Baptiste", "Ricardo Lucky").
1388
+ friend_("Damon Song", "Raphael Vargas").
1389
+ friend_("Damon Song", "Jerrold Lucky").
1390
+ friend_("Damon Song", "Lisa Dyer").
1391
+ friend_("Damon Song", "Meryl Lucky").
1392
+ friend_("Danilo Colin", "Theron Mcclelland").
1393
+ friend_("Danilo Colin", "Cara Lucky").
1394
+ friend_("Danilo Colin", "Caleb Langford").
1395
+ friend_("Danilo Colin", "Jon Preciado").
1396
+ friend_("Deirdre Bivins", "Meryl Lucky").
1397
+ friend_("Deirdre Bivins", "Sanford Preciado").
1398
+ friend_("Eddie Song", "Lavonne Rounds").
1399
+ friend_("Elisabeth Kingsley", "Carina Vargas").
1400
+ friend_("Elisabeth Kingsley", "Errol Camper").
1401
+ friend_("Elisabeth Kingsley", "Theron Mcclelland").
1402
+ friend_("Elisabeth Kingsley", "Anton Swink").
1403
+ friend_("Elisabeth Kingsley", "Renaldo Dyer").
1404
+ friend_("Elisabeth Kingsley", "Jon Preciado").
1405
+ friend_("Felton Kidd", "Christa Vargas").
1406
+ friend_("Felton Kidd", "Lois Oneil").
1407
+ friend_("Felton Kidd", "Paula Preciado").
1408
+ friend_("Freda Song", "Bradley Yocum").
1409
+ friend_("Freda Song", "Carina Vargas").
1410
+ friend_("Gene Song", "Lester Bivins").
1411
+ friend_("Gene Song", "Nina Song").
1412
+ friend_("Gene Song", "Newton Moffitt").
1413
+ friend_("Gene Song", "Leena Lucky").
1414
+ friend_("Geneva Song", "Gilbert Summerlin").
1415
+ friend_("Geneva Song", "Noreen Kingsley").
1416
+ friend_("Geneva Song", "Sherita Dyer").
1417
+ friend_("Geneva Song", "Rudolph Keene").
1418
+ friend_("Geneva Song", "Stacey Roldan").
1419
+ friend_("Gilbert Summerlin", "Livia Camper").
1420
+ friend_("Gilbert Summerlin", "Jon Preciado").
1421
+ friend_("Hannah Bivins", "Meghann Kidd").
1422
+ friend_("Hannah Bivins", "David Mcclelland").
1423
+ friend_("Hannah Bivins", "Millard Camper").
1424
+ friend_("Hannah Bivins", "Jewel Dyer").
1425
+ friend_("Hannah Bivins", "Cristopher Homan").
1426
+ friend_("Hyun Song", "Nicholas Vargas").
1427
+ friend_("Hyun Song", "Theodore Yocum").
1428
+ friend_("Hyun Song", "Leena Lucky").
1429
+ friend_("Hyun Song", "Katerine Mullins").
1430
+ friend_("Idell Kidd", "Jewel Dyer").
1431
+ friend_("Idell Kidd", "Laverna Ellsworth").
1432
+ friend_("Idell Kidd", "Meryl Lucky").
1433
+ friend_("Idell Kidd", "Demetria Decosta").
1434
+ friend_("Isidro Kidd", "Stephan Kidd").
1435
+ friend_("Isidro Kidd", "Selina Slate").
1436
+ friend_("Jamal Song", "Jeana Song").
1437
+ friend_("Jamal Song", "Son Loper").
1438
+ friend_("Jamal Song", "Annabell Mccune").
1439
+ friend_("Jeana Song", "Jolene Song").
1440
+ friend_("Jesse Kiel", "Rudolph Keene").
1441
+ friend_("Jesse Kiel", "Zoraida Roldan").
1442
+ friend_("Jolene Song", "Meghann Kidd").
1443
+ friend_("Jolene Song", "Robyn Vargas").
1444
+ friend_("Lance Kiel", "Gabriele Lucky").
1445
+ friend_("Lance Kiel", "Harlan Lucky").
1446
+ friend_("Lance Kiel", "Luke Slate").
1447
+ friend_("Lance Kiel", "Stevie Dyer").
1448
+ friend_("Lance Kiel", "Amie Preciado").
1449
+ friend_("Lester Bivins", "Meghann Kidd").
1450
+ friend_("Lester Bivins", "Deshawn Munroe").
1451
+ friend_("Matilda Summerlin", "Bradley Yocum").
1452
+ friend_("Matilda Summerlin", "Carina Vargas").
1453
+ friend_("Matilda Summerlin", "Harlan Lucky").
1454
+ friend_("Maynard Song", "Leena Lucky").
1455
+ friend_("Maynard Song", "Hans Decosta").
1456
+ friend_("Mckinley Colin", "Jeannie Loper").
1457
+ friend_("Meghann Kidd", "Lowell Lucky").
1458
+ friend_("Melvin Kidd", "Jess Ellsworth").
1459
+ friend_("Melvin Kidd", "Federico Keene").
1460
+ friend_("Melvin Kidd", "Kathey Turnage").
1461
+ friend_("Nathaniel Song", "Ayesha Abbate").
1462
+ friend_("Nathaniel Song", "Rosie Vargas").
1463
+ friend_("Nikki Kidd", "David Mcclelland").
1464
+ friend_("Nikki Kidd", "Derek Flatt").
1465
+ friend_("Nikki Kidd", "Jerrold Lucky").
1466
+ friend_("Nikki Kidd", "Wilmer Pirtle").
1467
+ friend_("Noreen Kingsley", "Romelia Song").
1468
+ friend_("Noreen Kingsley", "Twila Baptiste").
1469
+ friend_("Noreen Kingsley", "Emil Lucky").
1470
+ friend_("Noreen Kingsley", "Jewel Dyer").
1471
+ friend_("Ramona Colin", "Romelia Song").
1472
+ friend_("Ramona Colin", "Newton Moffitt").
1473
+ friend_("Ramona Colin", "Amie Preciado").
1474
+ friend_("Ramona Colin", "Benjamin Mullins").
1475
+ friend_("Romelia Song", "Seymour Song").
1476
+ friend_("Romelia Song", "Laverna Ellsworth").
1477
+ friend_("Romelia Song", "Ricardo Lucky").
1478
+ friend_("Romelia Song", "Federico Keene").
1479
+ friend_("Seymour Song", "Ronnie Vargas").
1480
+ friend_("Seymour Song", "Sherita Dyer").
1481
+ friend_("Shelly Reece", "Winnifred Mcclelland").
1482
+ friend_("Sol Song", "Pamula Flatt").
1483
+ friend_("Sol Song", "Lorina Homan").
1484
+ friend_("Stephan Kidd", "Lauren Pirtle").
1485
+ friend_("Stephan Kidd", "Paris Lucky").
1486
+ friend_("Tawana Summerlin", "Ellis Lucky").
1487
+ friend_("Tawana Summerlin", "Gemma Keene").
1488
+ friend_("Thomasine Kidd", "Joey Mcclelland").
1489
+ friend_("Thomasine Kidd", "Will Vargas").
1490
+ friend_("Thomasine Kidd", "Jacque Mullins").
1491
+ friend_("Tod Song", "Deena Munroe").
1492
+ friend_("Tod Song", "Katerine Mullins").
1493
+ friend_("Twila Baptiste", "Hank Lucky").
1494
+ friend_("Twila Baptiste", "Laverna Ellsworth").
1495
+ friend_("Winfred Baptiste", "Yvette Song").
1496
+ friend_("Winfred Baptiste", "Romana Dyer").
1497
+ friend_("Winfred Baptiste", "Demetria Decosta").
1498
+ friend_("Winfred Baptiste", "Gordon Decosta").
1499
+ friend_("Winfred Baptiste", "Zoraida Roldan").
1500
+ friend_("Wyatt Reece", "Holly Lucky").
1501
+ friend_("Wyatt Reece", "Lauren Pirtle").
1502
+ friend_("Wyatt Reece", "Lisa Dyer").
1503
+ friend_("Yvette Song", "Stevie Vargas").
1504
+ friend_("Yvette Song", "Ilona Dyer").
1505
+ friend_("Yvette Song", "Stevie Dyer").
1506
+ friend_("Adah Camper", "Damion Swink").
1507
+ friend_("Adah Camper", "Jewel Dyer").
1508
+ friend_("Adah Camper", "Lauren Pirtle").
1509
+ friend_("Adah Camper", "Lisa Dyer").
1510
+ friend_("Adele Ahmad", "David Mcclelland").
1511
+ friend_("Adele Ahmad", "Theodore Yocum").
1512
+ friend_("Adele Ahmad", "Lauren Pirtle").
1513
+ friend_("Adele Ahmad", "Alejandrina Preciado").
1514
+ friend_("Adele Ahmad", "Federico Keene").
1515
+ friend_("Amos Vargas", "Livia Camper").
1516
+ friend_("Amos Vargas", "Son Loper").
1517
+ friend_("Amos Vargas", "Romana Dyer").
1518
+ friend_("Angie Vargas", "Eli Flatt").
1519
+ friend_("Angie Vargas", "Nelly Lucky").
1520
+ friend_("Bradley Yocum", "Kacey Yocum").
1521
+ friend_("Carina Vargas", "Christa Vargas").
1522
+ friend_("Christa Vargas", "Derek Flatt").
1523
+ friend_("Christa Vargas", "Emil Lucky").
1524
+ friend_("Christa Vargas", "Hans Decosta").
1525
+ friend_("David Mcclelland", "Cara Lucky").
1526
+ friend_("David Mcclelland", "Renaldo Dyer").
1527
+ friend_("Derek Flatt", "Elvie Vargas").
1528
+ friend_("Derek Flatt", "Robyn Vargas").
1529
+ friend_("Derek Flatt", "Thelma Flatt").
1530
+ friend_("Derek Flatt", "Chelsie Roldan").
1531
+ friend_("Eddy Vargas", "Elfriede Moffitt").
1532
+ friend_("Eddy Vargas", "Gemma Keene").
1533
+ friend_("Elfriede Moffitt", "My Swink").
1534
+ friend_("Elvie Vargas", "Lorina Homan").
1535
+ friend_("Errol Camper", "Ivan Abbate").
1536
+ friend_("Errol Camper", "Kathey Turnage").
1537
+ friend_("Forrest Vargas", "Raphael Vargas").
1538
+ friend_("Fred Vargas", "Zoraida Roldan").
1539
+ friend_("Ginger Hamrick", "Raphael Vargas").
1540
+ friend_("Ginger Hamrick", "Romana Bishop").
1541
+ friend_("Ginger Hamrick", "Sanford Preciado").
1542
+ friend_("Harriette Vargas", "Lincoln Oneil").
1543
+ friend_("Ivan Abbate", "Nelly Lucky").
1544
+ friend_("Ivan Abbate", "Wilmer Pirtle").
1545
+ friend_("Joey Mcclelland", "Robyn Vargas").
1546
+ friend_("Joey Mcclelland", "Zoraida Roldan").
1547
+ friend_("Kraig Hamrick", "Renaldo Dyer").
1548
+ friend_("Kraig Hamrick", "Zackary Keene").
1549
+ friend_("Livia Camper", "Kermit Swink").
1550
+ friend_("Livia Camper", "Romana Dyer").
1551
+ friend_("Marlana Mcclelland", "Josie Langford").
1552
+ friend_("Millard Camper", "Will Vargas").
1553
+ friend_("Newton Moffitt", "Lowell Lucky").
1554
+ friend_("Newton Moffitt", "Stacey Roldan").
1555
+ friend_("Nicholas Vargas", "Noe Vargas").
1556
+ friend_("Nicholas Vargas", "Wendell Flatt").
1557
+ friend_("Nicholas Vargas", "Leena Lucky").
1558
+ friend_("Noe Vargas", "Caleb Langford").
1559
+ friend_("Noe Vargas", "Hans Decosta").
1560
+ friend_("Pamula Flatt", "Lisa Dyer").
1561
+ friend_("Pamula Flatt", "Winnie Lucky").
1562
+ friend_("Pamula Flatt", "Chelsie Roldan").
1563
+ friend_("Renaldo Ahmad", "Benjamin Mullins").
1564
+ friend_("Robyn Vargas", "Jerrold Lucky").
1565
+ friend_("Robyn Vargas", "Winnie Lucky").
1566
+ friend_("Robyn Vargas", "Rolland Bishop").
1567
+ friend_("Ronnie Vargas", "Christina Lucky").
1568
+ friend_("Ronnie Vargas", "Ken Pirtle").
1569
+ friend_("Ronnie Vargas", "Deane Medley").
1570
+ friend_("Stevie Vargas", "Wesley Pirtle").
1571
+ friend_("Stevie Vargas", "Wilmer Pirtle").
1572
+ friend_("Thelma Flatt", "Theron Mcclelland").
1573
+ friend_("Thelma Flatt", "Will Vargas").
1574
+ friend_("Thelma Flatt", "Wilmer Pirtle").
1575
+ friend_("Theron Mcclelland", "Leena Lucky").
1576
+ friend_("Theron Mcclelland", "Rudolph Keene").
1577
+ friend_("Toney Vargas", "Ilona Dyer").
1578
+ friend_("Toney Vargas", "Kimberely Lucky").
1579
+ friend_("Toney Vargas", "Rolland Bishop").
1580
+ friend_("Valentina Vargas", "Lowell Lucky").
1581
+ friend_("Valentina Vargas", "Zoraida Roldan").
1582
+ friend_("Wendell Flatt", "Jess Ellsworth").
1583
+ friend_("Wendell Flatt", "Kermit Swink").
1584
+ friend_("Wendell Flatt", "Ricardo Lucky").
1585
+ friend_("Wendell Flatt", "Doug Medley").
1586
+ friend_("Wendell Flatt", "Rudolph Keene").
1587
+ friend_("Will Vargas", "Rudolph Keene").
1588
+ friend_("Xavier Vargas", "Floyd Lucky").
1589
+ friend_("Antionette Dyer", "Romana Bishop").
1590
+ friend_("Anton Swink", "Ellis Lucky").
1591
+ friend_("Cara Lucky", "Hank Lucky").
1592
+ friend_("Cara Lucky", "Nestor Preciado").
1593
+ friend_("Christina Lucky", "Freda Dyer").
1594
+ friend_("Christina Lucky", "Meryl Lucky").
1595
+ friend_("Christina Lucky", "Deshawn Munroe").
1596
+ friend_("Christina Lucky", "Nestor Preciado").
1597
+ friend_("Christina Lucky", "Queenie Homan").
1598
+ friend_("Damion Swink", "Katharine Lucky").
1599
+ friend_("Dwain Lucky", "Eugene Ellsworth").
1600
+ friend_("Dwain Lucky", "Holly Lucky").
1601
+ friend_("Ellis Lucky", "Eugene Ellsworth").
1602
+ friend_("Ellis Lucky", "Jacque Mullins").
1603
+ friend_("Ervin Swink", "Sanford Preciado").
1604
+ friend_("Eugene Ellsworth", "Jewel Dyer").
1605
+ friend_("Eugene Ellsworth", "Katerine Mullins").
1606
+ friend_("Eugene Ellsworth", "Santiago Homan").
1607
+ friend_("Floyd Lucky", "Lincoln Oneil").
1608
+ friend_("Floyd Lucky", "Belva Mccune").
1609
+ friend_("Floyd Lucky", "Jamie Rounds").
1610
+ friend_("Frederick Lucky", "Gemma Pirtle").
1611
+ friend_("Frederick Lucky", "Laverna Ellsworth").
1612
+ friend_("Gemma Pirtle", "Doug Medley").
1613
+ friend_("Hank Lucky", "Leena Lucky").
1614
+ friend_("Hank Lucky", "Meryl Lucky").
1615
+ friend_("Hank Lucky", "Deane Medley").
1616
+ friend_("Holly Lucky", "Benjamin Mullins").
1617
+ friend_("Holly Lucky", "Ruby Preciado").
1618
+ friend_("Jerrold Lucky", "Judith Slate").
1619
+ friend_("Jerrold Lucky", "Aletha Mccune").
1620
+ friend_("Jerrold Lucky", "Caleb Langford").
1621
+ friend_("Jess Ellsworth", "Lisa Dyer").
1622
+ friend_("Jess Ellsworth", "Jamie Rounds").
1623
+ friend_("Jewel Dyer", "Kathey Turnage").
1624
+ friend_("Judith Slate", "Ricardo Lucky").
1625
+ friend_("Lincoln Oneil", "Chelsie Roldan").
1626
+ friend_("Lois Oneil", "Conrad Mccune").
1627
+ friend_("Lois Oneil", "Deane Medley").
1628
+ friend_("Lowell Lucky", "Kelley Preciado").
1629
+ friend_("Luke Slate", "Caleb Langford").
1630
+ friend_("Luke Slate", "Conrad Mccune").
1631
+ friend_("Luke Slate", "Sanford Preciado").
1632
+ friend_("Nelly Lucky", "Chloe Mccune").
1633
+ friend_("Odelia Lucky", "Kathey Turnage").
1634
+ friend_("Paris Lucky", "Jamey Turnage").
1635
+ friend_("Paris Lucky", "Sanford Preciado").
1636
+ friend_("Renaldo Dyer", "Queenie Homan").
1637
+ friend_("Ricardo Lucky", "Ruby Preciado").
1638
+ friend_("Romana Dyer", "Caleb Langford").
1639
+ friend_("Roosevelt Dyer", "Vaughn Bishop").
1640
+ friend_("Selina Slate", "Kathey Turnage").
1641
+ friend_("Stevie Dyer", "Benjamin Mullins").
1642
+ friend_("Stevie Dyer", "Daniela Bishop").
1643
+ friend_("Stevie Dyer", "Ronald Mccune").
1644
+ friend_("Wilmer Pirtle", "Deshawn Munroe").
1645
+ friend_("Wilmer Pirtle", "Santos Rounds").
1646
+ friend_("Wilmer Pirtle", "Zackary Keene").
1647
+ friend_("Winnie Lucky", "Conrad Mccune").
1648
+ friend_("Winnie Lucky", "Queenie Homan").
1649
+ friend_("Alejandrina Preciado", "Jon Preciado").
1650
+ friend_("Benjamin Mullins", "Paula Preciado").
1651
+ friend_("Caleb Langford", "Gemma Keene").
1652
+ friend_("Chloe Mccune", "Paula Preciado").
1653
+ friend_("Daniela Bishop", "Ruby Preciado").
1654
+ friend_("Deane Medley", "Queenie Homan").
1655
+ friend_("Demetria Decosta", "Kathey Turnage").
1656
+ friend_("Devon Preciado", "Lorina Homan").
1657
+ friend_("Federico Keene", "Zackary Keene").
1658
+ friend_("Gemma Keene", "Gordon Decosta").
1659
+ friend_("Jamey Turnage", "Jamie Rounds").
1660
+ friend_("Jon Preciado", "Sam Bishop").
1661
+ friend_("Josie Langford", "Paula Preciado").
1662
+ friend_("Katerine Mullins", "Nestor Preciado").
1663
+ friend_("Lavonne Rounds", "Queenie Homan").
1664
+ friend_("Queenie Homan", "Sherrie Keene").
1665
+ friend_("Santiago Homan", "Sherrie Keene").
1666
+ friend_("Sherrie Keene", "Vaughn Bishop").
1667
+
1668
+ friend(X, Y) :-
1669
+ friend_(X, Y).
1670
+ friend(X, Y) :-
1671
+ friend_(Y, X).
1672
+
1673
+ niece(X, Y) :-
1674
+ sibling(X, A),
1675
+ daughter(A, Y).
1676
+
1677
+ nephew(X, Y) :-
1678
+ sibling(X, A),
1679
+ son(A, Y).
1680
+
1681
+ brother_in_law(X, Y) :-
1682
+ married(X, A),
1683
+ brother(A, Y).
1684
+
1685
+ :- multifile message_property/2.
1686
+
1687
+
1688
+ sister_in_law(X, Y) :-
1689
+ married(X, A),
1690
+ sister(A, Y).
1691
+
1692
+ wife(X, Y) :-
1693
+ married(X, Y),
1694
+ female(Y).
1695
+
1696
+ husband(X, Y) :-
1697
+ married(X, Y),
1698
+ male(Y).
1699
+
1700
+ daughter_in_law(X, Y) :-
1701
+ child(X, A),
1702
+ wife(A, Y).
1703
+
1704
+ son_in_law(X, Y) :-
1705
+ child(X, A),
1706
+ husband(A, Y).
1707
+
1708
+ son(X, Y) :-
1709
+ child(X, Y),
1710
+ male(Y).
1711
+
1712
+ female(X) :-
1713
+ gender(X, "female").
1714
+
1715
+ daughter(X, Y) :-
1716
+ child(X, Y),
1717
+ female(Y).
1718
+
1719
+ father_in_law(X, Y) :-
1720
+ married(X, A),
1721
+ father(A, Y).
1722
+
1723
+ mother_in_law(X, Y) :-
1724
+ married(X, A),
1725
+ mother(A, Y).
1726
+
1727
+ father(X, Y) :-
1728
+ parent(X, Y),
1729
+ male(Y).
1730
+
1731
+ :- multifile prolog_predicate_name/2.
1732
+
1733
+
1734
+ child(X, Y) :-
1735
+ parent(Y, X).
1736
+
1737
+ male_first_cousin_once_removed(X, Y) :-
1738
+ cousin(X, A),
1739
+ son(A, Y),
1740
+ X\=Y.
1741
+
1742
+ :- multifile prolog_clause_name/2.
1743
+
1744
+
1745
+ :- dynamic expand_answer/2.
1746
+ :- multifile expand_answer/2.
1747
+
1748
+
1749
+ :- dynamic exception/3.
1750
+ :- multifile exception/3.
1751
+
1752
+
1753
+ female_first_cousin_once_removed(X, Y) :-
1754
+ cousin(X, A),
1755
+ daughter(A, Y),
1756
+ X\=Y.
1757
+
1758
+ brother(X, Y) :-
1759
+ sibling(X, Y),
1760
+ male(Y).
1761
+
1762
+ mother(X, Y) :-
1763
+ parent(X, Y),
1764
+ female(Y).
1765
+
1766
+ male_second_cousin(X, Y) :-
1767
+ parent(X, A),
1768
+ parent(Y, B),
1769
+ cousin(A, B),
1770
+ male(Y),
1771
+ X\=Y.
1772
+
1773
+ :- dynamic message_hook/3.
1774
+ :- multifile message_hook/3.
1775
+
1776
+
1777
+ female_second_cousin(X, Y) :-
1778
+ parent(X, A),
1779
+ parent(Y, B),
1780
+ cousin(A, B),
1781
+ female(Y),
1782
+ X\=Y.
1783
+
1784
+ married(X, Y) :-
1785
+ parent(Child, X),
1786
+ parent(Child, Y),
1787
+ X\=Y.
1788
+
1789
+ male(X) :-
1790
+ gender(X, "male").
1791
+
1792
+ :- dynamic prolog_file_type/2.
1793
+ :- multifile prolog_file_type/2.
1794
+
1795
+ prolog_file_type(pl, prolog).
1796
+ prolog_file_type(prolog, prolog).
1797
+ prolog_file_type(qlf, prolog).
1798
+ prolog_file_type(qlf, qlf).
1799
+ prolog_file_type(A, executable) :-
1800
+ system:current_prolog_flag(shared_object_extension, A).
1801
+ prolog_file_type(dylib, executable) :-
1802
+ system:current_prolog_flag(apple, true).
1803
+
1804
+ sister(X, Y) :-
1805
+ sibling(X, Y),
1806
+ female(Y).
1807
+
1808
+ male_cousin(X, Y) :-
1809
+ cousin(X, Y),
1810
+ male(Y).
1811
+
1812
+ :- dynamic nonbinary/1.
1813
+
1814
+ nonbinary(X) :-
1815
+ gender(X, "nonbinary").
1816
+
1817
+ female_cousin(X, Y) :-
1818
+ cousin(X, Y),
1819
+ female(Y).
1820
+
1821
+ sibling(X, Y) :-
1822
+ parent(X, A),
1823
+ parent(Y, A),
1824
+ X\=Y.
1825
+
1826
+ :- dynamic portray/1.
1827
+ :- multifile portray/1.
1828
+
1829
+
1830
+ :- dynamic prolog_load_file/2.
1831
+ :- multifile prolog_load_file/2.
1832
+
1833
+
1834
+ :- dynamic goal_expansion/2.
1835
+ :- multifile goal_expansion/2.
1836
+
1837
+
1838
+ :- dynamic parent/2.
1839
+
1840
+ parent("Ana Colin", "Danilo Colin").
1841
+ parent("Ana Colin", "Ramona Colin").
1842
+ parent("Carlos Baptiste", "Twila Baptiste").
1843
+ parent("Carlos Baptiste", "Winfred Baptiste").
1844
+ parent("Damon Song", "Antionette Song").
1845
+ parent("Damon Song", "Sol Song").
1846
+ parent("Deirdre Bivins", "Hannah Bivins").
1847
+ parent("Deirdre Bivins", "Lester Bivins").
1848
+ parent("Eddie Song", "Byron Song").
1849
+ parent("Eddie Song", "Hyun Song").
1850
+ parent("Elisabeth Kingsley", "Alexis Kingsley").
1851
+ parent("Elisabeth Kingsley", "Noreen Kingsley").
1852
+ parent("Felton Kidd", "Stephan Kidd").
1853
+ parent("Felton Kidd", "Thomasine Kidd").
1854
+ parent("Gene Song", "Antionette Song").
1855
+ parent("Gene Song", "Sol Song").
1856
+ parent("Genesis Colin", "Melvin Kidd").
1857
+ parent("Genesis Colin", "Nikki Kidd").
1858
+ parent("Geneva Song", "Antionette Song").
1859
+ parent("Geneva Song", "Sol Song").
1860
+ parent("Hannah Bivins", "Jamal Song").
1861
+ parent("Hannah Bivins", "Yvette Song").
1862
+ parent("Idell Kidd", "Stephan Kidd").
1863
+ parent("Idell Kidd", "Thomasine Kidd").
1864
+ parent("Isidro Kidd", "Alethia Kidd").
1865
+ parent("Isidro Kidd", "Felton Kidd").
1866
+ parent("Jamal Song", "Eddie Song").
1867
+ parent("Jamal Song", "Nina Song").
1868
+ parent("Jeana Song", "Eddie Song").
1869
+ parent("Jeana Song", "Nina Song").
1870
+ parent("Jolene Song", "Shelly Reece").
1871
+ parent("Jolene Song", "Wyatt Reece").
1872
+ parent("Lynda Colin", "Danilo Colin").
1873
+ parent("Lynda Colin", "Ramona Colin").
1874
+ parent("Madaline Song", "Eddie Song").
1875
+ parent("Madaline Song", "Nina Song").
1876
+ parent("Maynard Song", "Antionette Song").
1877
+ parent("Maynard Song", "Sol Song").
1878
+ parent("Mckinley Colin", "Danilo Colin").
1879
+ parent("Mckinley Colin", "Ramona Colin").
1880
+ parent("Meghann Kidd", "Melvin Kidd").
1881
+ parent("Meghann Kidd", "Nikki Kidd").
1882
+ parent("Melvin Kidd", "Alethia Kidd").
1883
+ parent("Melvin Kidd", "Felton Kidd").
1884
+ parent("Nathaniel Song", "Freda Song").
1885
+ parent("Nathaniel Song", "Seymour Song").
1886
+ parent("Nikki Kidd", "Gilbert Summerlin").
1887
+ parent("Nikki Kidd", "Matilda Summerlin").
1888
+ parent("Noreen Kingsley", "Gene Song").
1889
+ parent("Noreen Kingsley", "Jolene Song").
1890
+ parent("Ramona Colin", "Jesse Kiel").
1891
+ parent("Ramona Colin", "Lance Kiel").
1892
+ parent("Romelia Song", "Antionette Song").
1893
+ parent("Romelia Song", "Sol Song").
1894
+ parent("Seymour Song", "Eddie Song").
1895
+ parent("Seymour Song", "Nina Song").
1896
+ parent("Sol Song", "Jamal Song").
1897
+ parent("Sol Song", "Yvette Song").
1898
+ parent("Tawana Summerlin", "Gilbert Summerlin").
1899
+ parent("Tawana Summerlin", "Matilda Summerlin").
1900
+ parent("Tod Song", "Jamal Song").
1901
+ parent("Tod Song", "Yvette Song").
1902
+ parent("Twila Baptiste", "Hannah Bivins").
1903
+ parent("Twila Baptiste", "Lester Bivins").
1904
+ parent("Yvette Song", "Genesis Colin").
1905
+ parent("Yvette Song", "Mckinley Colin").
1906
+ parent("Adah Camper", "Livia Camper").
1907
+ parent("Adah Camper", "Millard Camper").
1908
+ parent("Amos Vargas", "Stevie Vargas").
1909
+ parent("Amos Vargas", "Valentina Vargas").
1910
+ parent("Angie Vargas", "Eli Flatt").
1911
+ parent("Angie Vargas", "Pamula Flatt").
1912
+ parent("David Mcclelland", "Joey Mcclelland").
1913
+ parent("David Mcclelland", "Winnifred Mcclelland").
1914
+ parent("Derek Flatt", "Eli Flatt").
1915
+ parent("Derek Flatt", "Pamula Flatt").
1916
+ parent("Eddy Vargas", "Harriette Vargas").
1917
+ parent("Eddy Vargas", "Will Vargas").
1918
+ parent("Elfriede Moffitt", "Jeannie Loper").
1919
+ parent("Elfriede Moffitt", "Son Loper").
1920
+ parent("Elvie Vargas", "Angie Vargas").
1921
+ parent("Elvie Vargas", "Gerry Vargas").
1922
+ parent("Errol Camper", "Livia Camper").
1923
+ parent("Errol Camper", "Millard Camper").
1924
+ parent("Forrest Vargas", "Angie Vargas").
1925
+ parent("Forrest Vargas", "Gerry Vargas").
1926
+ parent("Fred Vargas", "Amos Vargas").
1927
+ parent("Fred Vargas", "Christa Vargas").
1928
+ parent("Gerry Vargas", "Amos Vargas").
1929
+ parent("Gerry Vargas", "Christa Vargas").
1930
+ parent("Harriette Vargas", "Adele Ahmad").
1931
+ parent("Harriette Vargas", "Renaldo Ahmad").
1932
+ parent("Kacey Yocum", "Amos Vargas").
1933
+ parent("Kacey Yocum", "Christa Vargas").
1934
+ parent("Kendrick Vargas", "Angie Vargas").
1935
+ parent("Kendrick Vargas", "Gerry Vargas").
1936
+ parent("Livia Camper", "Elfriede Moffitt").
1937
+ parent("Livia Camper", "Newton Moffitt").
1938
+ parent("Marlana Mcclelland", "Angie Vargas").
1939
+ parent("Marlana Mcclelland", "Gerry Vargas").
1940
+ parent("Nicholas Vargas", "Kendrick Vargas").
1941
+ parent("Nicholas Vargas", "Page Vargas").
1942
+ parent("Noe Vargas", "Amos Vargas").
1943
+ parent("Noe Vargas", "Christa Vargas").
1944
+ parent("Pamula Flatt", "Ayesha Abbate").
1945
+ parent("Pamula Flatt", "Ivan Abbate").
1946
+ parent("Raphael Vargas", "Ronnie Vargas").
1947
+ parent("Raphael Vargas", "Rosie Vargas").
1948
+ parent("Robyn Vargas", "Carina Vargas").
1949
+ parent("Robyn Vargas", "Xavier Vargas").
1950
+ parent("Ronnie Vargas", "Harriette Vargas").
1951
+ parent("Ronnie Vargas", "Will Vargas").
1952
+ parent("Rosie Vargas", "Ginger Hamrick").
1953
+ parent("Rosie Vargas", "Kraig Hamrick").
1954
+ parent("Thelma Flatt", "Eli Flatt").
1955
+ parent("Thelma Flatt", "Pamula Flatt").
1956
+ parent("Theodore Yocum", "Bradley Yocum").
1957
+ parent("Theodore Yocum", "Kacey Yocum").
1958
+ parent("Theron Mcclelland", "David Mcclelland").
1959
+ parent("Theron Mcclelland", "Marlana Mcclelland").
1960
+ parent("Toney Vargas", "Angie Vargas").
1961
+ parent("Toney Vargas", "Gerry Vargas").
1962
+ parent("Valentina Vargas", "Livia Camper").
1963
+ parent("Valentina Vargas", "Millard Camper").
1964
+ parent("Wendell Flatt", "Eli Flatt").
1965
+ parent("Wendell Flatt", "Pamula Flatt").
1966
+ parent("Will Vargas", "Stevie Vargas").
1967
+ parent("Will Vargas", "Valentina Vargas").
1968
+ parent("Xavier Vargas", "Harriette Vargas").
1969
+ parent("Xavier Vargas", "Will Vargas").
1970
+ parent("Antionette Dyer", "Sherita Dyer").
1971
+ parent("Antionette Dyer", "Stevie Dyer").
1972
+ parent("Anton Swink", "Ervin Swink").
1973
+ parent("Anton Swink", "My Swink").
1974
+ parent("Christina Lucky", "Gabriele Lucky").
1975
+ parent("Christina Lucky", "Ricardo Lucky").
1976
+ parent("Damion Swink", "Ervin Swink").
1977
+ parent("Damion Swink", "My Swink").
1978
+ parent("Dwain Lucky", "Harlan Lucky").
1979
+ parent("Dwain Lucky", "Odelia Lucky").
1980
+ parent("Ellis Lucky", "Katharine Lucky").
1981
+ parent("Ellis Lucky", "Paris Lucky").
1982
+ parent("Emil Lucky", "Katharine Lucky").
1983
+ parent("Emil Lucky", "Paris Lucky").
1984
+ parent("Floyd Lucky", "Ellis Lucky").
1985
+ parent("Floyd Lucky", "Leena Lucky").
1986
+ parent("Freda Dyer", "Lisa Dyer").
1987
+ parent("Freda Dyer", "Roosevelt Dyer").
1988
+ parent("Frederick Lucky", "Gabriele Lucky").
1989
+ parent("Frederick Lucky", "Ricardo Lucky").
1990
+ parent("Gabriele Lucky", "Judith Slate").
1991
+ parent("Gabriele Lucky", "Luke Slate").
1992
+ parent("Gemma Pirtle", "Ervin Swink").
1993
+ parent("Gemma Pirtle", "My Swink").
1994
+ parent("Hank Lucky", "Ellis Lucky").
1995
+ parent("Hank Lucky", "Leena Lucky").
1996
+ parent("Harlan Lucky", "Gabriele Lucky").
1997
+ parent("Harlan Lucky", "Ricardo Lucky").
1998
+ parent("Holly Lucky", "Ellis Lucky").
1999
+ parent("Holly Lucky", "Leena Lucky").
2000
+ parent("Ilona Dyer", "Jewel Dyer").
2001
+ parent("Ilona Dyer", "Renaldo Dyer").
2002
+ parent("Jerrold Lucky", "Lowell Lucky").
2003
+ parent("Jerrold Lucky", "Winnie Lucky").
2004
+ parent("Jess Ellsworth", "Eugene Ellsworth").
2005
+ parent("Jess Ellsworth", "Laverna Ellsworth").
2006
+ parent("Katharine Lucky", "Ervin Swink").
2007
+ parent("Katharine Lucky", "My Swink").
2008
+ parent("Ken Pirtle", "Gemma Pirtle").
2009
+ parent("Ken Pirtle", "Wilmer Pirtle").
2010
+ parent("Kermit Swink", "Ervin Swink").
2011
+ parent("Kermit Swink", "My Swink").
2012
+ parent("Kimberely Lucky", "Lowell Lucky").
2013
+ parent("Kimberely Lucky", "Winnie Lucky").
2014
+ parent("Lauren Pirtle", "Gemma Pirtle").
2015
+ parent("Lauren Pirtle", "Wilmer Pirtle").
2016
+ parent("Laverna Ellsworth", "Lisa Dyer").
2017
+ parent("Laverna Ellsworth", "Roosevelt Dyer").
2018
+ parent("Meryl Lucky", "Gabriele Lucky").
2019
+ parent("Meryl Lucky", "Ricardo Lucky").
2020
+ parent("My Swink", "Lincoln Oneil").
2021
+ parent("My Swink", "Lois Oneil").
2022
+ parent("Nelly Lucky", "Katharine Lucky").
2023
+ parent("Nelly Lucky", "Paris Lucky").
2024
+ parent("Paris Lucky", "Harlan Lucky").
2025
+ parent("Paris Lucky", "Odelia Lucky").
2026
+ parent("Renaldo Dyer", "Sherita Dyer").
2027
+ parent("Renaldo Dyer", "Stevie Dyer").
2028
+ parent("Ricardo Lucky", "Cara Lucky").
2029
+ parent("Ricardo Lucky", "Jerrold Lucky").
2030
+ parent("Romana Dyer", "Sherita Dyer").
2031
+ parent("Romana Dyer", "Stevie Dyer").
2032
+ parent("Roosevelt Dyer", "Sherita Dyer").
2033
+ parent("Roosevelt Dyer", "Stevie Dyer").
2034
+ parent("Selina Slate", "Judith Slate").
2035
+ parent("Selina Slate", "Luke Slate").
2036
+ parent("Sherita Dyer", "Katharine Lucky").
2037
+ parent("Sherita Dyer", "Paris Lucky").
2038
+ parent("Wesley Pirtle", "Gemma Pirtle").
2039
+ parent("Wesley Pirtle", "Wilmer Pirtle").
2040
+ parent("Alejandrina Preciado", "Devon Preciado").
2041
+ parent("Alejandrina Preciado", "Ruby Preciado").
2042
+ parent("Aletha Mccune", "Katerine Mullins").
2043
+ parent("Aletha Mccune", "Pete Mullins").
2044
+ parent("Annabell Mccune", "Aletha Mccune").
2045
+ parent("Annabell Mccune", "Conrad Mccune").
2046
+ parent("Belva Mccune", "Chloe Mccune").
2047
+ parent("Belva Mccune", "Ronald Mccune").
2048
+ parent("Benjamin Mullins", "Katerine Mullins").
2049
+ parent("Benjamin Mullins", "Pete Mullins").
2050
+ parent("Chelsie Roldan", "Stacey Roldan").
2051
+ parent("Chelsie Roldan", "Zoraida Roldan").
2052
+ parent("Cristopher Homan", "Lorina Homan").
2053
+ parent("Cristopher Homan", "Santiago Homan").
2054
+ parent("Deane Medley", "Deidre Medley").
2055
+ parent("Deane Medley", "Doug Medley").
2056
+ parent("Deena Munroe", "Deidre Medley").
2057
+ parent("Deena Munroe", "Doug Medley").
2058
+ parent("Deidre Medley", "Romana Bishop").
2059
+ parent("Deidre Medley", "Vaughn Bishop").
2060
+ parent("Demetria Decosta", "Kelley Preciado").
2061
+ parent("Demetria Decosta", "Sanford Preciado").
2062
+ parent("Devon Preciado", "Kelley Preciado").
2063
+ parent("Devon Preciado", "Sanford Preciado").
2064
+ parent("Federico Keene", "Rudolph Keene").
2065
+ parent("Federico Keene", "Sherrie Keene").
2066
+ parent("Gemma Keene", "Chloe Mccune").
2067
+ parent("Gemma Keene", "Ronald Mccune").
2068
+ parent("Hans Decosta", "Demetria Decosta").
2069
+ parent("Hans Decosta", "Gordon Decosta").
2070
+ parent("Jacque Mullins", "Katerine Mullins").
2071
+ parent("Jacque Mullins", "Pete Mullins").
2072
+ parent("Josie Langford", "Aletha Mccune").
2073
+ parent("Josie Langford", "Conrad Mccune").
2074
+ parent("Kelley Preciado", "Caleb Langford").
2075
+ parent("Kelley Preciado", "Josie Langford").
2076
+ parent("Lavonne Rounds", "Kelley Preciado").
2077
+ parent("Lavonne Rounds", "Sanford Preciado").
2078
+ parent("Lorina Homan", "Caleb Langford").
2079
+ parent("Lorina Homan", "Josie Langford").
2080
+ parent("Nestor Preciado", "Devon Preciado").
2081
+ parent("Nestor Preciado", "Ruby Preciado").
2082
+ parent("Paula Preciado", "Devon Preciado").
2083
+ parent("Paula Preciado", "Ruby Preciado").
2084
+ parent("Queenie Homan", "Lorina Homan").
2085
+ parent("Queenie Homan", "Santiago Homan").
2086
+ parent("Rolland Bishop", "Romana Bishop").
2087
+ parent("Rolland Bishop", "Vaughn Bishop").
2088
+ parent("Romana Bishop", "Aletha Mccune").
2089
+ parent("Romana Bishop", "Conrad Mccune").
2090
+ parent("Ronald Mccune", "Aletha Mccune").
2091
+ parent("Ronald Mccune", "Conrad Mccune").
2092
+ parent("Ruby Preciado", "Jamey Turnage").
2093
+ parent("Ruby Preciado", "Kathey Turnage").
2094
+ parent("Rudolph Keene", "Gemma Keene").
2095
+ parent("Rudolph Keene", "Zackary Keene").
2096
+ parent("Sam Bishop", "Daniela Bishop").
2097
+ parent("Sam Bishop", "Rolland Bishop").
2098
+ parent("Sanford Preciado", "Amie Preciado").
2099
+ parent("Sanford Preciado", "Jon Preciado").
2100
+ parent("Santos Rounds", "Jamie Rounds").
2101
+ parent("Santos Rounds", "Lavonne Rounds").
2102
+ parent("Zoraida Roldan", "Deena Munroe").
2103
+ parent("Zoraida Roldan", "Deshawn Munroe").
2104
+
2105
+ cousin(X, Y) :-
2106
+ parent(X, A),
2107
+ parent(Y, B),
2108
+ sibling(A, B),
2109
+ X\=Y.
2110
+
2111
+ uncle(X, Y) :-
2112
+ parent(X, A),
2113
+ brother(A, Y).
2114
+
2115
+ :- dynamic resource/3.
2116
+ :- multifile resource/3.
2117
+
2118
+
2119
+ :- thread_local thread_message_hook/3.
2120
+ :- dynamic thread_message_hook/3.
2121
+ :- volatile thread_message_hook/3.
2122
+
2123
+
2124
+ aunt(X, Y) :-
2125
+ parent(X, A),
2126
+ sister(A, Y).
2127
+
2128
+ second_uncle(X, Y) :-
2129
+ great_grandparent(X, A),
2130
+ brother(A, Y).
2131
+
2132
+ :- dynamic gender/2.
2133
+
2134
+ gender("Alethia Kidd", "female").
2135
+ gender("Alexis Kingsley", "male").
2136
+ gender("Ana Colin", "female").
2137
+ gender("Antionette Song", "female").
2138
+ gender("Byron Song", "male").
2139
+ gender("Carlos Baptiste", "male").
2140
+ gender("Damon Song", "male").
2141
+ gender("Danilo Colin", "male").
2142
+ gender("Deirdre Bivins", "female").
2143
+ gender("Eddie Song", "male").
2144
+ gender("Elisabeth Kingsley", "female").
2145
+ gender("Felton Kidd", "male").
2146
+ gender("Freda Song", "female").
2147
+ gender("Gene Song", "male").
2148
+ gender("Genesis Colin", "female").
2149
+ gender("Geneva Song", "female").
2150
+ gender("Gilbert Summerlin", "male").
2151
+ gender("Hannah Bivins", "female").
2152
+ gender("Hyun Song", "female").
2153
+ gender("Idell Kidd", "female").
2154
+ gender("Isidro Kidd", "male").
2155
+ gender("Jamal Song", "male").
2156
+ gender("Jeana Song", "female").
2157
+ gender("Jesse Kiel", "female").
2158
+ gender("Jolene Song", "female").
2159
+ gender("Lance Kiel", "male").
2160
+ gender("Lester Bivins", "male").
2161
+ gender("Lynda Colin", "female").
2162
+ gender("Madaline Song", "female").
2163
+ gender("Matilda Summerlin", "female").
2164
+ gender("Maynard Song", "male").
2165
+ gender("Mckinley Colin", "male").
2166
+ gender("Meghann Kidd", "female").
2167
+ gender("Melvin Kidd", "male").
2168
+ gender("Nathaniel Song", "male").
2169
+ gender("Nikki Kidd", "female").
2170
+ gender("Nina Song", "female").
2171
+ gender("Noreen Kingsley", "female").
2172
+ gender("Ramona Colin", "female").
2173
+ gender("Romelia Song", "female").
2174
+ gender("Seymour Song", "male").
2175
+ gender("Shelly Reece", "female").
2176
+ gender("Sol Song", "male").
2177
+ gender("Stephan Kidd", "male").
2178
+ gender("Tawana Summerlin", "female").
2179
+ gender("Thomasine Kidd", "female").
2180
+ gender("Tod Song", "male").
2181
+ gender("Twila Baptiste", "female").
2182
+ gender("Winfred Baptiste", "male").
2183
+ gender("Wyatt Reece", "male").
2184
+ gender("Yvette Song", "female").
2185
+ gender("Adah Camper", "female").
2186
+ gender("Adele Ahmad", "female").
2187
+ gender("Amos Vargas", "male").
2188
+ gender("Angie Vargas", "female").
2189
+ gender("Ayesha Abbate", "female").
2190
+ gender("Bradley Yocum", "male").
2191
+ gender("Carina Vargas", "female").
2192
+ gender("Christa Vargas", "female").
2193
+ gender("David Mcclelland", "male").
2194
+ gender("Derek Flatt", "male").
2195
+ gender("Eddy Vargas", "male").
2196
+ gender("Elfriede Moffitt", "female").
2197
+ gender("Eli Flatt", "male").
2198
+ gender("Elvie Vargas", "female").
2199
+ gender("Errol Camper", "male").
2200
+ gender("Forrest Vargas", "male").
2201
+ gender("Fred Vargas", "male").
2202
+ gender("Gerry Vargas", "male").
2203
+ gender("Ginger Hamrick", "female").
2204
+ gender("Harriette Vargas", "female").
2205
+ gender("Ivan Abbate", "male").
2206
+ gender("Jeannie Loper", "female").
2207
+ gender("Joey Mcclelland", "male").
2208
+ gender("Kacey Yocum", "female").
2209
+ gender("Kendrick Vargas", "male").
2210
+ gender("Kraig Hamrick", "male").
2211
+ gender("Livia Camper", "female").
2212
+ gender("Marlana Mcclelland", "female").
2213
+ gender("Millard Camper", "male").
2214
+ gender("Newton Moffitt", "male").
2215
+ gender("Nicholas Vargas", "male").
2216
+ gender("Noe Vargas", "male").
2217
+ gender("Page Vargas", "female").
2218
+ gender("Pamula Flatt", "female").
2219
+ gender("Raphael Vargas", "male").
2220
+ gender("Renaldo Ahmad", "male").
2221
+ gender("Robyn Vargas", "female").
2222
+ gender("Ronnie Vargas", "male").
2223
+ gender("Rosie Vargas", "female").
2224
+ gender("Son Loper", "male").
2225
+ gender("Stevie Vargas", "male").
2226
+ gender("Thelma Flatt", "female").
2227
+ gender("Theodore Yocum", "male").
2228
+ gender("Theron Mcclelland", "male").
2229
+ gender("Toney Vargas", "male").
2230
+ gender("Valentina Vargas", "female").
2231
+ gender("Wendell Flatt", "male").
2232
+ gender("Will Vargas", "male").
2233
+ gender("Winnifred Mcclelland", "female").
2234
+ gender("Xavier Vargas", "male").
2235
+ gender("Antionette Dyer", "female").
2236
+ gender("Anton Swink", "male").
2237
+ gender("Cara Lucky", "female").
2238
+ gender("Christina Lucky", "female").
2239
+ gender("Damion Swink", "male").
2240
+ gender("Dwain Lucky", "male").
2241
+ gender("Ellis Lucky", "male").
2242
+ gender("Emil Lucky", "male").
2243
+ gender("Ervin Swink", "male").
2244
+ gender("Eugene Ellsworth", "male").
2245
+ gender("Floyd Lucky", "male").
2246
+ gender("Freda Dyer", "female").
2247
+ gender("Frederick Lucky", "male").
2248
+ gender("Gabriele Lucky", "female").
2249
+ gender("Gemma Pirtle", "female").
2250
+ gender("Hank Lucky", "male").
2251
+ gender("Harlan Lucky", "male").
2252
+ gender("Holly Lucky", "female").
2253
+ gender("Ilona Dyer", "female").
2254
+ gender("Jerrold Lucky", "male").
2255
+ gender("Jess Ellsworth", "male").
2256
+ gender("Jewel Dyer", "female").
2257
+ gender("Judith Slate", "female").
2258
+ gender("Katharine Lucky", "female").
2259
+ gender("Ken Pirtle", "male").
2260
+ gender("Kermit Swink", "male").
2261
+ gender("Kimberely Lucky", "female").
2262
+ gender("Lauren Pirtle", "female").
2263
+ gender("Laverna Ellsworth", "female").
2264
+ gender("Leena Lucky", "female").
2265
+ gender("Lincoln Oneil", "male").
2266
+ gender("Lisa Dyer", "female").
2267
+ gender("Lois Oneil", "female").
2268
+ gender("Lowell Lucky", "male").
2269
+ gender("Luke Slate", "male").
2270
+ gender("Meryl Lucky", "female").
2271
+ gender("My Swink", "female").
2272
+ gender("Nelly Lucky", "female").
2273
+ gender("Odelia Lucky", "female").
2274
+ gender("Paris Lucky", "male").
2275
+ gender("Renaldo Dyer", "male").
2276
+ gender("Ricardo Lucky", "male").
2277
+ gender("Romana Dyer", "female").
2278
+ gender("Roosevelt Dyer", "male").
2279
+ gender("Selina Slate", "female").
2280
+ gender("Sherita Dyer", "female").
2281
+ gender("Stevie Dyer", "male").
2282
+ gender("Wesley Pirtle", "male").
2283
+ gender("Wilmer Pirtle", "male").
2284
+ gender("Winnie Lucky", "female").
2285
+ gender("Alejandrina Preciado", "female").
2286
+ gender("Aletha Mccune", "female").
2287
+ gender("Amie Preciado", "female").
2288
+ gender("Annabell Mccune", "female").
2289
+ gender("Belva Mccune", "female").
2290
+ gender("Benjamin Mullins", "male").
2291
+ gender("Caleb Langford", "male").
2292
+ gender("Chelsie Roldan", "female").
2293
+ gender("Chloe Mccune", "female").
2294
+ gender("Conrad Mccune", "male").
2295
+ gender("Cristopher Homan", "male").
2296
+ gender("Daniela Bishop", "female").
2297
+ gender("Deane Medley", "female").
2298
+ gender("Deena Munroe", "female").
2299
+ gender("Deidre Medley", "female").
2300
+ gender("Demetria Decosta", "female").
2301
+ gender("Deshawn Munroe", "male").
2302
+ gender("Devon Preciado", "male").
2303
+ gender("Doug Medley", "male").
2304
+ gender("Federico Keene", "male").
2305
+ gender("Gemma Keene", "female").
2306
+ gender("Gordon Decosta", "male").
2307
+ gender("Hans Decosta", "male").
2308
+ gender("Jacque Mullins", "female").
2309
+ gender("Jamey Turnage", "male").
2310
+ gender("Jamie Rounds", "male").
2311
+ gender("Jon Preciado", "male").
2312
+ gender("Josie Langford", "female").
2313
+ gender("Katerine Mullins", "female").
2314
+ gender("Kathey Turnage", "female").
2315
+ gender("Kelley Preciado", "female").
2316
+ gender("Lavonne Rounds", "female").
2317
+ gender("Lorina Homan", "female").
2318
+ gender("Nestor Preciado", "male").
2319
+ gender("Paula Preciado", "female").
2320
+ gender("Pete Mullins", "male").
2321
+ gender("Queenie Homan", "female").
2322
+ gender("Rolland Bishop", "male").
2323
+ gender("Romana Bishop", "female").
2324
+ gender("Ronald Mccune", "male").
2325
+ gender("Ruby Preciado", "female").
2326
+ gender("Rudolph Keene", "male").
2327
+ gender("Sam Bishop", "male").
2328
+ gender("Sanford Preciado", "male").
2329
+ gender("Santiago Homan", "male").
2330
+ gender("Santos Rounds", "male").
2331
+ gender("Sherrie Keene", "female").
2332
+ gender("Stacey Roldan", "male").
2333
+ gender("Vaughn Bishop", "male").
2334
+ gender("Zackary Keene", "male").
2335
+ gender("Zoraida Roldan", "female").
2336
+
2337
+ second_aunt(X, Y) :-
2338
+ great_grandparent(X, A),
2339
+ sister(A, Y).
2340
+
2341
+ great_grandson(X, Y) :-
2342
+ great_grandchild(X, Y),
2343
+ male(Y).
2344
+
2345
+ :- dynamic pyrun/2.
2346
+
2347
+ pyrun(A, B) :-
2348
+ read_term_from_atom(A, C, [variable_names(B)]),
2349
+ call(C).
2350
+
2351
+ great_granddaughter(X, Y) :-
2352
+ great_grandchild(X, Y),
2353
+ female(Y).
2354
+
2355
+ :- dynamic resource/2.
2356
+ :- multifile resource/2.
2357
+
depth_20_size_2500_seed_1/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_2500_seed_2/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_2500_seed_3/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_25_seed_1/facts.txt ADDED
@@ -0,0 +1,630 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Aida Wang", "meditation").
32
+ hobby("Alison Smock", "meteorology").
33
+ hobby("Alvaro Smock", "biology").
34
+ hobby("Barabara Beltran", "meteorology").
35
+ hobby("Brian Beltran", "dolls").
36
+ hobby("Daisy Beltran", "photography").
37
+ hobby("Dino Beltran", "shogi").
38
+ hobby("Dominique Smock", "dominoes").
39
+ hobby("Eli Smock", "tether car").
40
+ hobby("Gene Smock", "architecture").
41
+ hobby("Isiah Lutz", "geocaching").
42
+ hobby("Johnetta Wang", "trainspotting").
43
+ hobby("Lannie Smock", "bus spotting").
44
+ hobby("Leeann Hackworth", "research").
45
+ hobby("Leisa Lutz", "geography").
46
+ hobby("Leslee Toombs", "microbiology").
47
+ hobby("Lesley Lutz", "canoeing").
48
+ hobby("Orlando Beltran", "learning").
49
+ hobby("Ricardo Hackworth", "dairy farming").
50
+ hobby("Ryan Wang", "fossil hunting").
51
+ hobby("Shelli Beltran", "sociology").
52
+ hobby("Stacia Toombs", "finance").
53
+ hobby("Vicki Hackworth", "meditation").
54
+ hobby("Virgil Hackworth", "wikipedia editing").
55
+ hobby("Wilbert Toombs", "radio-controlled car racing").
56
+ hobby("Williams Smock", "social studies").
57
+
58
+ granddaughter(X, Y) :-
59
+ grandchild(X, Y),
60
+ female(Y).
61
+
62
+ grandson(X, Y) :-
63
+ grandchild(X, Y),
64
+ male(Y).
65
+
66
+ :- dynamic job/2.
67
+
68
+ job("Aida Wang", "personal assistant").
69
+ job("Alison Smock", "health promotion specialist").
70
+ job("Alvaro Smock", "osteopath").
71
+ job("Barabara Beltran", "broadcast engineer").
72
+ job("Brian Beltran", "oncologist").
73
+ job("Daisy Beltran", "warehouse manager").
74
+ job("Dino Beltran", "associate professor").
75
+ job("Dominique Smock", "sports therapist").
76
+ job("Eli Smock", "retail manager").
77
+ job("Gene Smock", "immunologist").
78
+ job("Isiah Lutz", "education administrator").
79
+ job("Johnetta Wang", "early years teacher").
80
+ job("Lannie Smock", "biomedical scientist").
81
+ job("Leeann Hackworth", "music tutor").
82
+ job("Leisa Lutz", "clinical cytogeneticist").
83
+ job("Leslee Toombs", "ecologist").
84
+ job("Lesley Lutz", "barrister's clerk").
85
+ job("Orlando Beltran", "petroleum engineer").
86
+ job("Ricardo Hackworth", "clinical research associate").
87
+ job("Ryan Wang", "chief of staff").
88
+ job("Shelli Beltran", "occupational therapist").
89
+ job("Stacia Toombs", "actuary").
90
+ job("Vicki Hackworth", "police officer").
91
+ job("Virgil Hackworth", "sound technician").
92
+ job("Wilbert Toombs", "theatre manager").
93
+ job("Williams Smock", "clinical biochemist").
94
+
95
+ great_uncle(X, Y) :-
96
+ grandparent(X, A),
97
+ brother(A, Y).
98
+
99
+ :- dynamic save_all_clauses_to_file/1.
100
+
101
+ save_all_clauses_to_file(A) :-
102
+ open(A, write, B),
103
+ set_output(B),
104
+ listing,
105
+ close(B).
106
+
107
+ :- dynamic term_expansion/4.
108
+ :- multifile term_expansion/4.
109
+
110
+
111
+ grandchild(X, Y) :-
112
+ grandparent(Y, X).
113
+
114
+ :- dynamic dob/2.
115
+
116
+ dob("Aida Wang", "0985-05-30").
117
+ dob("Alison Smock", "0929-10-28").
118
+ dob("Alvaro Smock", "0867-07-12").
119
+ dob("Barabara Beltran", "0989-06-11").
120
+ dob("Brian Beltran", "0927-07-27").
121
+ dob("Daisy Beltran", "0931-09-21").
122
+ dob("Dino Beltran", "0958-08-09").
123
+ dob("Dominique Smock", "0897-09-08").
124
+ dob("Eli Smock", "0901-01-18").
125
+ dob("Gene Smock", "0898-08-16").
126
+ dob("Isiah Lutz", "1014-10-18").
127
+ dob("Johnetta Wang", "1014-07-04").
128
+ dob("Lannie Smock", "0867-08-24").
129
+ dob("Leeann Hackworth", "1011-10-25").
130
+ dob("Leisa Lutz", "1015-11-21").
131
+ dob("Leslee Toombs", "0983-02-26").
132
+ dob("Lesley Lutz", "1040-01-31").
133
+ dob("Orlando Beltran", "0953-10-23").
134
+ dob("Ricardo Hackworth", "0983-02-24").
135
+ dob("Ryan Wang", "0982-03-17").
136
+ dob("Shelli Beltran", "0958-03-08").
137
+ dob("Stacia Toombs", "0959-03-22").
138
+ dob("Vicki Hackworth", "0985-05-30").
139
+ dob("Virgil Hackworth", "1009-06-23").
140
+ dob("Wilbert Toombs", "0956-07-26").
141
+ dob("Williams Smock", "0926-04-04").
142
+
143
+ :- dynamic file_search_path/2.
144
+ :- multifile file_search_path/2.
145
+
146
+ file_search_path(library, Dir) :-
147
+ library_directory(Dir).
148
+ file_search_path(swi, A) :-
149
+ system:current_prolog_flag(home, A).
150
+ file_search_path(swi, A) :-
151
+ system:current_prolog_flag(shared_home, A).
152
+ file_search_path(library, app_config(lib)).
153
+ file_search_path(library, swi(library)).
154
+ file_search_path(library, swi(library/clp)).
155
+ file_search_path(library, A) :-
156
+ system:'$ext_library_directory'(A).
157
+ file_search_path(foreign, swi(A)) :-
158
+ system:
159
+ ( current_prolog_flag(apple_universal_binary, true),
160
+ A='lib/fat-darwin'
161
+ ).
162
+ file_search_path(path, A) :-
163
+ system:
164
+ ( getenv('PATH', B),
165
+ current_prolog_flag(path_sep, C),
166
+ atomic_list_concat(D, C, B),
167
+ '$member'(A, D)
168
+ ).
169
+ file_search_path(user_app_data, A) :-
170
+ system:'$xdg_prolog_directory'(data, A).
171
+ file_search_path(common_app_data, A) :-
172
+ system:'$xdg_prolog_directory'(common_data, A).
173
+ file_search_path(user_app_config, A) :-
174
+ system:'$xdg_prolog_directory'(config, A).
175
+ file_search_path(common_app_config, A) :-
176
+ system:'$xdg_prolog_directory'(common_config, A).
177
+ file_search_path(app_data, user_app_data('.')).
178
+ file_search_path(app_data, common_app_data('.')).
179
+ file_search_path(app_config, user_app_config('.')).
180
+ file_search_path(app_config, common_app_config('.')).
181
+ file_search_path(app_preferences, user_app_config('.')).
182
+ file_search_path(user_profile, app_preferences('.')).
183
+ file_search_path(app, swi(app)).
184
+ file_search_path(app, app_data(app)).
185
+ file_search_path(autoload, swi(library)).
186
+ file_search_path(autoload, pce(prolog/lib)).
187
+ file_search_path(autoload, app_config(lib)).
188
+ file_search_path(autoload, Dir) :-
189
+ '$autoload':'$ext_library_directory'(Dir).
190
+ file_search_path(pack, app_data(pack)).
191
+ file_search_path(library, PackLib) :-
192
+ '$pack':pack_dir(_Name, prolog, PackLib).
193
+ file_search_path(foreign, PackLib) :-
194
+ '$pack':pack_dir(_Name, foreign, PackLib).
195
+ file_search_path(app, AppDir) :-
196
+ '$pack':pack_dir(_Name, app, AppDir).
197
+
198
+ :- multifile prolog_list_goal/1.
199
+
200
+
201
+ :- dynamic type/2.
202
+
203
+ type("Aida Wang", person).
204
+ type("Alison Smock", person).
205
+ type("Alvaro Smock", person).
206
+ type("Barabara Beltran", person).
207
+ type("Brian Beltran", person).
208
+ type("Daisy Beltran", person).
209
+ type("Dino Beltran", person).
210
+ type("Dominique Smock", person).
211
+ type("Eli Smock", person).
212
+ type("Gene Smock", person).
213
+ type("Isiah Lutz", person).
214
+ type("Johnetta Wang", person).
215
+ type("Lannie Smock", person).
216
+ type("Leeann Hackworth", person).
217
+ type("Leisa Lutz", person).
218
+ type("Leslee Toombs", person).
219
+ type("Lesley Lutz", person).
220
+ type("Orlando Beltran", person).
221
+ type("Ricardo Hackworth", person).
222
+ type("Ryan Wang", person).
223
+ type("Shelli Beltran", person).
224
+ type("Stacia Toombs", person).
225
+ type("Vicki Hackworth", person).
226
+ type("Virgil Hackworth", person).
227
+ type("Wilbert Toombs", person).
228
+ type("Williams Smock", person).
229
+
230
+ grandfather(X, Y) :-
231
+ grandparent(X, Y),
232
+ male(Y).
233
+
234
+ :- dynamic expand_query/4.
235
+ :- multifile expand_query/4.
236
+
237
+
238
+ :- dynamic attribute/1.
239
+
240
+ attribute("personal assistant").
241
+ attribute("meditation").
242
+ attribute("health promotion specialist").
243
+ attribute("meteorology").
244
+ attribute("osteopath").
245
+ attribute("biology").
246
+ attribute("broadcast engineer").
247
+ attribute("meteorology").
248
+ attribute("oncologist").
249
+ attribute("dolls").
250
+ attribute("warehouse manager").
251
+ attribute("photography").
252
+ attribute("associate professor").
253
+ attribute("shogi").
254
+ attribute("sports therapist").
255
+ attribute("dominoes").
256
+ attribute("retail manager").
257
+ attribute("tether car").
258
+ attribute("immunologist").
259
+ attribute("architecture").
260
+ attribute("education administrator").
261
+ attribute("geocaching").
262
+ attribute("early years teacher").
263
+ attribute("trainspotting").
264
+ attribute("biomedical scientist").
265
+ attribute("bus spotting").
266
+ attribute("music tutor").
267
+ attribute("research").
268
+ attribute("clinical cytogeneticist").
269
+ attribute("geography").
270
+ attribute("ecologist").
271
+ attribute("microbiology").
272
+ attribute("barrister's clerk").
273
+ attribute("canoeing").
274
+ attribute("petroleum engineer").
275
+ attribute("learning").
276
+ attribute("clinical research associate").
277
+ attribute("dairy farming").
278
+ attribute("chief of staff").
279
+ attribute("fossil hunting").
280
+ attribute("occupational therapist").
281
+ attribute("sociology").
282
+ attribute("actuary").
283
+ attribute("finance").
284
+ attribute("police officer").
285
+ attribute("meditation").
286
+ attribute("sound technician").
287
+ attribute("wikipedia editing").
288
+ attribute("theatre manager").
289
+ attribute("radio-controlled car racing").
290
+ attribute("clinical biochemist").
291
+ attribute("social studies").
292
+
293
+ great_aunt(X, Y) :-
294
+ grandparent(X, A),
295
+ sister(A, Y).
296
+
297
+ grandparent(X, Y) :-
298
+ parent(X, Z),
299
+ parent(Z, Y).
300
+
301
+ grandmother(X, Y) :-
302
+ grandparent(X, Y),
303
+ female(Y).
304
+
305
+ :- dynamic friend_/2.
306
+
307
+ friend_("Aida Wang", "Alvaro Smock").
308
+ friend_("Aida Wang", "Lannie Smock").
309
+ friend_("Aida Wang", "Leslee Toombs").
310
+ friend_("Aida Wang", "Ryan Wang").
311
+ friend_("Alison Smock", "Eli Smock").
312
+ friend_("Alison Smock", "Lannie Smock").
313
+ friend_("Alison Smock", "Virgil Hackworth").
314
+ friend_("Alvaro Smock", "Dino Beltran").
315
+ friend_("Alvaro Smock", "Gene Smock").
316
+ friend_("Brian Beltran", "Eli Smock").
317
+ friend_("Brian Beltran", "Leeann Hackworth").
318
+ friend_("Brian Beltran", "Shelli Beltran").
319
+ friend_("Brian Beltran", "Stacia Toombs").
320
+ friend_("Brian Beltran", "Vicki Hackworth").
321
+ friend_("Dominique Smock", "Gene Smock").
322
+ friend_("Dominique Smock", "Isiah Lutz").
323
+ friend_("Dominique Smock", "Orlando Beltran").
324
+ friend_("Dominique Smock", "Vicki Hackworth").
325
+ friend_("Eli Smock", "Leisa Lutz").
326
+ friend_("Eli Smock", "Shelli Beltran").
327
+ friend_("Eli Smock", "Vicki Hackworth").
328
+ friend_("Eli Smock", "Virgil Hackworth").
329
+ friend_("Gene Smock", "Leeann Hackworth").
330
+ friend_("Gene Smock", "Leisa Lutz").
331
+ friend_("Gene Smock", "Ricardo Hackworth").
332
+ friend_("Isiah Lutz", "Johnetta Wang").
333
+ friend_("Isiah Lutz", "Ricardo Hackworth").
334
+ friend_("Isiah Lutz", "Shelli Beltran").
335
+ friend_("Isiah Lutz", "Stacia Toombs").
336
+ friend_("Johnetta Wang", "Leslee Toombs").
337
+ friend_("Johnetta Wang", "Ricardo Hackworth").
338
+ friend_("Lannie Smock", "Williams Smock").
339
+ friend_("Leeann Hackworth", "Stacia Toombs").
340
+ friend_("Leisa Lutz", "Leslee Toombs").
341
+ friend_("Leslee Toombs", "Shelli Beltran").
342
+ friend_("Lesley Lutz", "Shelli Beltran").
343
+ friend_("Lesley Lutz", "Stacia Toombs").
344
+ friend_("Orlando Beltran", "Virgil Hackworth").
345
+ friend_("Ryan Wang", "Shelli Beltran").
346
+ friend_("Ryan Wang", "Stacia Toombs").
347
+ friend_("Ryan Wang", "Virgil Hackworth").
348
+
349
+ friend(X, Y) :-
350
+ friend_(X, Y).
351
+ friend(X, Y) :-
352
+ friend_(Y, X).
353
+
354
+ niece(X, Y) :-
355
+ sibling(X, A),
356
+ daughter(A, Y).
357
+
358
+ nephew(X, Y) :-
359
+ sibling(X, A),
360
+ son(A, Y).
361
+
362
+ brother_in_law(X, Y) :-
363
+ married(X, A),
364
+ brother(A, Y).
365
+
366
+ :- multifile message_property/2.
367
+
368
+
369
+ sister_in_law(X, Y) :-
370
+ married(X, A),
371
+ sister(A, Y).
372
+
373
+ wife(X, Y) :-
374
+ married(X, Y),
375
+ female(Y).
376
+
377
+ husband(X, Y) :-
378
+ married(X, Y),
379
+ male(Y).
380
+
381
+ daughter_in_law(X, Y) :-
382
+ child(X, A),
383
+ wife(A, Y).
384
+
385
+ son_in_law(X, Y) :-
386
+ child(X, A),
387
+ husband(A, Y).
388
+
389
+ son(X, Y) :-
390
+ child(X, Y),
391
+ male(Y).
392
+
393
+ female(X) :-
394
+ gender(X, "female").
395
+
396
+ daughter(X, Y) :-
397
+ child(X, Y),
398
+ female(Y).
399
+
400
+ father_in_law(X, Y) :-
401
+ married(X, A),
402
+ father(A, Y).
403
+
404
+ mother_in_law(X, Y) :-
405
+ married(X, A),
406
+ mother(A, Y).
407
+
408
+ father(X, Y) :-
409
+ parent(X, Y),
410
+ male(Y).
411
+
412
+ :- multifile prolog_predicate_name/2.
413
+
414
+
415
+ child(X, Y) :-
416
+ parent(Y, X).
417
+
418
+ male_first_cousin_once_removed(X, Y) :-
419
+ cousin(X, A),
420
+ son(A, Y),
421
+ X\=Y.
422
+
423
+ :- multifile prolog_clause_name/2.
424
+
425
+
426
+ :- dynamic expand_answer/2.
427
+ :- multifile expand_answer/2.
428
+
429
+
430
+ :- dynamic exception/3.
431
+ :- multifile exception/3.
432
+
433
+
434
+ female_first_cousin_once_removed(X, Y) :-
435
+ cousin(X, A),
436
+ daughter(A, Y),
437
+ X\=Y.
438
+
439
+ brother(X, Y) :-
440
+ sibling(X, Y),
441
+ male(Y).
442
+
443
+ mother(X, Y) :-
444
+ parent(X, Y),
445
+ female(Y).
446
+
447
+ male_second_cousin(X, Y) :-
448
+ parent(X, A),
449
+ parent(Y, B),
450
+ cousin(A, B),
451
+ male(Y),
452
+ X\=Y.
453
+
454
+ :- dynamic message_hook/3.
455
+ :- multifile message_hook/3.
456
+
457
+
458
+ female_second_cousin(X, Y) :-
459
+ parent(X, A),
460
+ parent(Y, B),
461
+ cousin(A, B),
462
+ female(Y),
463
+ X\=Y.
464
+
465
+ married(X, Y) :-
466
+ parent(Child, X),
467
+ parent(Child, Y),
468
+ X\=Y.
469
+
470
+ male(X) :-
471
+ gender(X, "male").
472
+
473
+ :- dynamic prolog_file_type/2.
474
+ :- multifile prolog_file_type/2.
475
+
476
+ prolog_file_type(pl, prolog).
477
+ prolog_file_type(prolog, prolog).
478
+ prolog_file_type(qlf, prolog).
479
+ prolog_file_type(qlf, qlf).
480
+ prolog_file_type(A, executable) :-
481
+ system:current_prolog_flag(shared_object_extension, A).
482
+ prolog_file_type(dylib, executable) :-
483
+ system:current_prolog_flag(apple, true).
484
+
485
+ sister(X, Y) :-
486
+ sibling(X, Y),
487
+ female(Y).
488
+
489
+ male_cousin(X, Y) :-
490
+ cousin(X, Y),
491
+ male(Y).
492
+
493
+ :- dynamic nonbinary/1.
494
+
495
+ nonbinary(X) :-
496
+ gender(X, "nonbinary").
497
+
498
+ female_cousin(X, Y) :-
499
+ cousin(X, Y),
500
+ female(Y).
501
+
502
+ sibling(X, Y) :-
503
+ parent(X, A),
504
+ parent(Y, A),
505
+ X\=Y.
506
+
507
+ :- dynamic portray/1.
508
+ :- multifile portray/1.
509
+
510
+
511
+ :- dynamic prolog_load_file/2.
512
+ :- multifile prolog_load_file/2.
513
+
514
+
515
+ :- dynamic goal_expansion/2.
516
+ :- multifile goal_expansion/2.
517
+
518
+
519
+ :- dynamic parent/2.
520
+
521
+ parent("Aida Wang", "Dino Beltran").
522
+ parent("Aida Wang", "Shelli Beltran").
523
+ parent("Barabara Beltran", "Dino Beltran").
524
+ parent("Barabara Beltran", "Shelli Beltran").
525
+ parent("Dino Beltran", "Brian Beltran").
526
+ parent("Dino Beltran", "Daisy Beltran").
527
+ parent("Eli Smock", "Alvaro Smock").
528
+ parent("Eli Smock", "Lannie Smock").
529
+ parent("Gene Smock", "Alvaro Smock").
530
+ parent("Gene Smock", "Lannie Smock").
531
+ parent("Johnetta Wang", "Aida Wang").
532
+ parent("Johnetta Wang", "Ryan Wang").
533
+ parent("Leeann Hackworth", "Ricardo Hackworth").
534
+ parent("Leeann Hackworth", "Vicki Hackworth").
535
+ parent("Leisa Lutz", "Ricardo Hackworth").
536
+ parent("Leisa Lutz", "Vicki Hackworth").
537
+ parent("Leslee Toombs", "Stacia Toombs").
538
+ parent("Leslee Toombs", "Wilbert Toombs").
539
+ parent("Lesley Lutz", "Isiah Lutz").
540
+ parent("Lesley Lutz", "Leisa Lutz").
541
+ parent("Orlando Beltran", "Brian Beltran").
542
+ parent("Orlando Beltran", "Daisy Beltran").
543
+ parent("Shelli Beltran", "Alison Smock").
544
+ parent("Shelli Beltran", "Williams Smock").
545
+ parent("Stacia Toombs", "Alison Smock").
546
+ parent("Stacia Toombs", "Williams Smock").
547
+ parent("Vicki Hackworth", "Dino Beltran").
548
+ parent("Vicki Hackworth", "Shelli Beltran").
549
+ parent("Virgil Hackworth", "Ricardo Hackworth").
550
+ parent("Virgil Hackworth", "Vicki Hackworth").
551
+ parent("Williams Smock", "Dominique Smock").
552
+ parent("Williams Smock", "Gene Smock").
553
+
554
+ cousin(X, Y) :-
555
+ parent(X, A),
556
+ parent(Y, B),
557
+ sibling(A, B),
558
+ X\=Y.
559
+
560
+ uncle(X, Y) :-
561
+ parent(X, A),
562
+ brother(A, Y).
563
+
564
+ :- dynamic resource/3.
565
+ :- multifile resource/3.
566
+
567
+
568
+ :- thread_local thread_message_hook/3.
569
+ :- dynamic thread_message_hook/3.
570
+ :- volatile thread_message_hook/3.
571
+
572
+
573
+ aunt(X, Y) :-
574
+ parent(X, A),
575
+ sister(A, Y).
576
+
577
+ second_uncle(X, Y) :-
578
+ great_grandparent(X, A),
579
+ brother(A, Y).
580
+
581
+ :- dynamic gender/2.
582
+
583
+ gender("Aida Wang", "female").
584
+ gender("Alison Smock", "female").
585
+ gender("Alvaro Smock", "male").
586
+ gender("Barabara Beltran", "female").
587
+ gender("Brian Beltran", "male").
588
+ gender("Daisy Beltran", "female").
589
+ gender("Dino Beltran", "male").
590
+ gender("Dominique Smock", "female").
591
+ gender("Eli Smock", "male").
592
+ gender("Gene Smock", "male").
593
+ gender("Isiah Lutz", "male").
594
+ gender("Johnetta Wang", "female").
595
+ gender("Lannie Smock", "female").
596
+ gender("Leeann Hackworth", "female").
597
+ gender("Leisa Lutz", "female").
598
+ gender("Leslee Toombs", "female").
599
+ gender("Lesley Lutz", "male").
600
+ gender("Orlando Beltran", "male").
601
+ gender("Ricardo Hackworth", "male").
602
+ gender("Ryan Wang", "male").
603
+ gender("Shelli Beltran", "female").
604
+ gender("Stacia Toombs", "female").
605
+ gender("Vicki Hackworth", "female").
606
+ gender("Virgil Hackworth", "male").
607
+ gender("Wilbert Toombs", "male").
608
+ gender("Williams Smock", "male").
609
+
610
+ second_aunt(X, Y) :-
611
+ great_grandparent(X, A),
612
+ sister(A, Y).
613
+
614
+ great_grandson(X, Y) :-
615
+ great_grandchild(X, Y),
616
+ male(Y).
617
+
618
+ :- dynamic pyrun/2.
619
+
620
+ pyrun(A, B) :-
621
+ read_term_from_atom(A, C, [variable_names(B)]),
622
+ call(C).
623
+
624
+ great_granddaughter(X, Y) :-
625
+ great_grandchild(X, Y),
626
+ female(Y).
627
+
628
+ :- dynamic resource/2.
629
+ :- multifile resource/2.
630
+
depth_20_size_25_seed_2/facts.txt ADDED
@@ -0,0 +1,620 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Adolph Barbee", "birdwatching").
32
+ hobby("Allie Barbee", "geography").
33
+ hobby("Andres Barbee", "research").
34
+ hobby("Courtney Parkinson", "audiophile").
35
+ hobby("Dollie Barbee", "knowledge/word games").
36
+ hobby("Elicia Barbee", "geocaching").
37
+ hobby("Karolyn Lance", "croquet").
38
+ hobby("Kelley Barbee", "badminton").
39
+ hobby("Kenny Barbee", "fossil hunting").
40
+ hobby("Konstantin Barbee", "rail transport modelling").
41
+ hobby("Krystle Barbee", "jujitsu").
42
+ hobby("Kurt Parkinson", "beauty pageants").
43
+ hobby("Leonila Parkinson", "softball").
44
+ hobby("Lyndon Barbee", "golfing").
45
+ hobby("Nettie Barbee", "inline skating").
46
+ hobby("Rocco Lance", "radio-controlled model collecting").
47
+ hobby("Rudy Barbee", "videography").
48
+ hobby("Twyla Parkinson", "butterfly watching").
49
+ hobby("Tyrone Parkinson", "learning").
50
+ hobby("Wallace Ragland", "business").
51
+ hobby("Walter Hope", "curling").
52
+ hobby("Wanita Hope", "magnet fishing").
53
+ hobby("Willie Parkinson", "pickleball").
54
+ hobby("Windy Parkinson", "shuffleboard").
55
+ hobby("Yasmin Ragland", "geocaching").
56
+
57
+ granddaughter(X, Y) :-
58
+ grandchild(X, Y),
59
+ female(Y).
60
+
61
+ grandson(X, Y) :-
62
+ grandchild(X, Y),
63
+ male(Y).
64
+
65
+ :- dynamic job/2.
66
+
67
+ job("Adolph Barbee", "police officer").
68
+ job("Allie Barbee", "community education officer").
69
+ job("Andres Barbee", "herbalist").
70
+ job("Courtney Parkinson", "podiatrist").
71
+ job("Dollie Barbee", "prison officer").
72
+ job("Elicia Barbee", "animal technologist").
73
+ job("Karolyn Lance", "leisure centre manager").
74
+ job("Kelley Barbee", "speech and language therapist").
75
+ job("Kenny Barbee", "dietitian").
76
+ job("Konstantin Barbee", "amenity horticulturist").
77
+ job("Krystle Barbee", "theatre stage manager").
78
+ job("Kurt Parkinson", "hydrologist").
79
+ job("Leonila Parkinson", "learning mentor").
80
+ job("Lyndon Barbee", "location manager").
81
+ job("Nettie Barbee", "chartered management accountant").
82
+ job("Rocco Lance", "plant breeder").
83
+ job("Rudy Barbee", "advertising account executive").
84
+ job("Twyla Parkinson", "tourism officer").
85
+ job("Tyrone Parkinson", "civil service fast streamer").
86
+ job("Wallace Ragland", "designer").
87
+ job("Walter Hope", "development worker").
88
+ job("Wanita Hope", "tourist information centre manager").
89
+ job("Willie Parkinson", "community education officer").
90
+ job("Windy Parkinson", "farm manager").
91
+ job("Yasmin Ragland", "doctor").
92
+
93
+ great_uncle(X, Y) :-
94
+ grandparent(X, A),
95
+ brother(A, Y).
96
+
97
+ :- dynamic save_all_clauses_to_file/1.
98
+
99
+ save_all_clauses_to_file(A) :-
100
+ open(A, write, B),
101
+ set_output(B),
102
+ listing,
103
+ close(B).
104
+
105
+ :- dynamic term_expansion/4.
106
+ :- multifile term_expansion/4.
107
+
108
+
109
+ grandchild(X, Y) :-
110
+ grandparent(Y, X).
111
+
112
+ :- dynamic dob/2.
113
+
114
+ dob("Adolph Barbee", "0980-08-29").
115
+ dob("Allie Barbee", "0928-07-23").
116
+ dob("Andres Barbee", "0977-09-16").
117
+ dob("Courtney Parkinson", "0954-06-24").
118
+ dob("Dollie Barbee", "0975-03-08").
119
+ dob("Elicia Barbee", "1040-03-27").
120
+ dob("Karolyn Lance", "0924-11-06").
121
+ dob("Kelley Barbee", "0952-08-19").
122
+ dob("Kenny Barbee", "0953-06-18").
123
+ dob("Konstantin Barbee", "1007-05-04").
124
+ dob("Krystle Barbee", "1008-12-24").
125
+ dob("Kurt Parkinson", "0924-12-27").
126
+ dob("Leonila Parkinson", "0924-09-18").
127
+ dob("Lyndon Barbee", "1036-01-09").
128
+ dob("Nettie Barbee", "1032-05-15").
129
+ dob("Rocco Lance", "0924-02-03").
130
+ dob("Rudy Barbee", "0927-04-02").
131
+ dob("Twyla Parkinson", "0949-02-16").
132
+ dob("Tyrone Parkinson", "0982-10-06").
133
+ dob("Wallace Ragland", "0951-01-09").
134
+ dob("Walter Hope", "0980-04-11").
135
+ dob("Wanita Hope", "0977-12-27").
136
+ dob("Willie Parkinson", "0954-09-22").
137
+ dob("Windy Parkinson", "0978-10-20").
138
+ dob("Yasmin Ragland", "0952-10-08").
139
+
140
+ :- dynamic file_search_path/2.
141
+ :- multifile file_search_path/2.
142
+
143
+ file_search_path(library, Dir) :-
144
+ library_directory(Dir).
145
+ file_search_path(swi, A) :-
146
+ system:current_prolog_flag(home, A).
147
+ file_search_path(swi, A) :-
148
+ system:current_prolog_flag(shared_home, A).
149
+ file_search_path(library, app_config(lib)).
150
+ file_search_path(library, swi(library)).
151
+ file_search_path(library, swi(library/clp)).
152
+ file_search_path(library, A) :-
153
+ system:'$ext_library_directory'(A).
154
+ file_search_path(foreign, swi(A)) :-
155
+ system:
156
+ ( current_prolog_flag(apple_universal_binary, true),
157
+ A='lib/fat-darwin'
158
+ ).
159
+ file_search_path(path, A) :-
160
+ system:
161
+ ( getenv('PATH', B),
162
+ current_prolog_flag(path_sep, C),
163
+ atomic_list_concat(D, C, B),
164
+ '$member'(A, D)
165
+ ).
166
+ file_search_path(user_app_data, A) :-
167
+ system:'$xdg_prolog_directory'(data, A).
168
+ file_search_path(common_app_data, A) :-
169
+ system:'$xdg_prolog_directory'(common_data, A).
170
+ file_search_path(user_app_config, A) :-
171
+ system:'$xdg_prolog_directory'(config, A).
172
+ file_search_path(common_app_config, A) :-
173
+ system:'$xdg_prolog_directory'(common_config, A).
174
+ file_search_path(app_data, user_app_data('.')).
175
+ file_search_path(app_data, common_app_data('.')).
176
+ file_search_path(app_config, user_app_config('.')).
177
+ file_search_path(app_config, common_app_config('.')).
178
+ file_search_path(app_preferences, user_app_config('.')).
179
+ file_search_path(user_profile, app_preferences('.')).
180
+ file_search_path(app, swi(app)).
181
+ file_search_path(app, app_data(app)).
182
+ file_search_path(autoload, swi(library)).
183
+ file_search_path(autoload, pce(prolog/lib)).
184
+ file_search_path(autoload, app_config(lib)).
185
+ file_search_path(autoload, Dir) :-
186
+ '$autoload':'$ext_library_directory'(Dir).
187
+ file_search_path(pack, app_data(pack)).
188
+ file_search_path(library, PackLib) :-
189
+ '$pack':pack_dir(_Name, prolog, PackLib).
190
+ file_search_path(foreign, PackLib) :-
191
+ '$pack':pack_dir(_Name, foreign, PackLib).
192
+ file_search_path(app, AppDir) :-
193
+ '$pack':pack_dir(_Name, app, AppDir).
194
+
195
+ :- multifile prolog_list_goal/1.
196
+
197
+
198
+ :- dynamic type/2.
199
+
200
+ type("Adolph Barbee", person).
201
+ type("Allie Barbee", person).
202
+ type("Andres Barbee", person).
203
+ type("Courtney Parkinson", person).
204
+ type("Dollie Barbee", person).
205
+ type("Elicia Barbee", person).
206
+ type("Karolyn Lance", person).
207
+ type("Kelley Barbee", person).
208
+ type("Kenny Barbee", person).
209
+ type("Konstantin Barbee", person).
210
+ type("Krystle Barbee", person).
211
+ type("Kurt Parkinson", person).
212
+ type("Leonila Parkinson", person).
213
+ type("Lyndon Barbee", person).
214
+ type("Nettie Barbee", person).
215
+ type("Rocco Lance", person).
216
+ type("Rudy Barbee", person).
217
+ type("Twyla Parkinson", person).
218
+ type("Tyrone Parkinson", person).
219
+ type("Wallace Ragland", person).
220
+ type("Walter Hope", person).
221
+ type("Wanita Hope", person).
222
+ type("Willie Parkinson", person).
223
+ type("Windy Parkinson", person).
224
+ type("Yasmin Ragland", person).
225
+
226
+ grandfather(X, Y) :-
227
+ grandparent(X, Y),
228
+ male(Y).
229
+
230
+ :- dynamic expand_query/4.
231
+ :- multifile expand_query/4.
232
+
233
+
234
+ :- dynamic attribute/1.
235
+
236
+ attribute("police officer").
237
+ attribute("birdwatching").
238
+ attribute("community education officer").
239
+ attribute("geography").
240
+ attribute("herbalist").
241
+ attribute("research").
242
+ attribute("podiatrist").
243
+ attribute("audiophile").
244
+ attribute("prison officer").
245
+ attribute("knowledge/word games").
246
+ attribute("animal technologist").
247
+ attribute("geocaching").
248
+ attribute("leisure centre manager").
249
+ attribute("croquet").
250
+ attribute("speech and language therapist").
251
+ attribute("badminton").
252
+ attribute("dietitian").
253
+ attribute("fossil hunting").
254
+ attribute("amenity horticulturist").
255
+ attribute("rail transport modelling").
256
+ attribute("theatre stage manager").
257
+ attribute("jujitsu").
258
+ attribute("hydrologist").
259
+ attribute("beauty pageants").
260
+ attribute("learning mentor").
261
+ attribute("softball").
262
+ attribute("location manager").
263
+ attribute("golfing").
264
+ attribute("chartered management accountant").
265
+ attribute("inline skating").
266
+ attribute("plant breeder").
267
+ attribute("radio-controlled model collecting").
268
+ attribute("advertising account executive").
269
+ attribute("videography").
270
+ attribute("tourism officer").
271
+ attribute("butterfly watching").
272
+ attribute("civil service fast streamer").
273
+ attribute("learning").
274
+ attribute("designer").
275
+ attribute("business").
276
+ attribute("development worker").
277
+ attribute("curling").
278
+ attribute("tourist information centre manager").
279
+ attribute("magnet fishing").
280
+ attribute("community education officer").
281
+ attribute("pickleball").
282
+ attribute("farm manager").
283
+ attribute("shuffleboard").
284
+ attribute("doctor").
285
+ attribute("geocaching").
286
+
287
+ great_aunt(X, Y) :-
288
+ grandparent(X, A),
289
+ sister(A, Y).
290
+
291
+ grandparent(X, Y) :-
292
+ parent(X, Z),
293
+ parent(Z, Y).
294
+
295
+ grandmother(X, Y) :-
296
+ grandparent(X, Y),
297
+ female(Y).
298
+
299
+ :- dynamic friend_/2.
300
+
301
+ friend_("Adolph Barbee", "Andres Barbee").
302
+ friend_("Adolph Barbee", "Kenny Barbee").
303
+ friend_("Adolph Barbee", "Leonila Parkinson").
304
+ friend_("Adolph Barbee", "Wanita Hope").
305
+ friend_("Allie Barbee", "Karolyn Lance").
306
+ friend_("Allie Barbee", "Konstantin Barbee").
307
+ friend_("Allie Barbee", "Walter Hope").
308
+ friend_("Allie Barbee", "Willie Parkinson").
309
+ friend_("Andres Barbee", "Willie Parkinson").
310
+ friend_("Andres Barbee", "Windy Parkinson").
311
+ friend_("Courtney Parkinson", "Kenny Barbee").
312
+ friend_("Courtney Parkinson", "Lyndon Barbee").
313
+ friend_("Elicia Barbee", "Twyla Parkinson").
314
+ friend_("Elicia Barbee", "Walter Hope").
315
+ friend_("Karolyn Lance", "Konstantin Barbee").
316
+ friend_("Karolyn Lance", "Krystle Barbee").
317
+ friend_("Karolyn Lance", "Wanita Hope").
318
+ friend_("Kelley Barbee", "Nettie Barbee").
319
+ friend_("Kelley Barbee", "Tyrone Parkinson").
320
+ friend_("Kelley Barbee", "Walter Hope").
321
+ friend_("Kenny Barbee", "Lyndon Barbee").
322
+ friend_("Kenny Barbee", "Nettie Barbee").
323
+ friend_("Kenny Barbee", "Tyrone Parkinson").
324
+ friend_("Konstantin Barbee", "Kurt Parkinson").
325
+ friend_("Konstantin Barbee", "Tyrone Parkinson").
326
+ friend_("Konstantin Barbee", "Wanita Hope").
327
+ friend_("Krystle Barbee", "Kurt Parkinson").
328
+ friend_("Krystle Barbee", "Rocco Lance").
329
+ friend_("Kurt Parkinson", "Windy Parkinson").
330
+ friend_("Leonila Parkinson", "Walter Hope").
331
+ friend_("Leonila Parkinson", "Wanita Hope").
332
+ friend_("Lyndon Barbee", "Nettie Barbee").
333
+ friend_("Lyndon Barbee", "Rocco Lance").
334
+ friend_("Lyndon Barbee", "Walter Hope").
335
+ friend_("Lyndon Barbee", "Windy Parkinson").
336
+ friend_("Nettie Barbee", "Wanita Hope").
337
+ friend_("Rocco Lance", "Walter Hope").
338
+ friend_("Rudy Barbee", "Tyrone Parkinson").
339
+ friend_("Twyla Parkinson", "Willie Parkinson").
340
+ friend_("Wallace Ragland", "Wanita Hope").
341
+
342
+ friend(X, Y) :-
343
+ friend_(X, Y).
344
+ friend(X, Y) :-
345
+ friend_(Y, X).
346
+
347
+ niece(X, Y) :-
348
+ sibling(X, A),
349
+ daughter(A, Y).
350
+
351
+ nephew(X, Y) :-
352
+ sibling(X, A),
353
+ son(A, Y).
354
+
355
+ brother_in_law(X, Y) :-
356
+ married(X, A),
357
+ brother(A, Y).
358
+
359
+ :- multifile message_property/2.
360
+
361
+
362
+ sister_in_law(X, Y) :-
363
+ married(X, A),
364
+ sister(A, Y).
365
+
366
+ wife(X, Y) :-
367
+ married(X, Y),
368
+ female(Y).
369
+
370
+ husband(X, Y) :-
371
+ married(X, Y),
372
+ male(Y).
373
+
374
+ daughter_in_law(X, Y) :-
375
+ child(X, A),
376
+ wife(A, Y).
377
+
378
+ son_in_law(X, Y) :-
379
+ child(X, A),
380
+ husband(A, Y).
381
+
382
+ son(X, Y) :-
383
+ child(X, Y),
384
+ male(Y).
385
+
386
+ female(X) :-
387
+ gender(X, "female").
388
+
389
+ daughter(X, Y) :-
390
+ child(X, Y),
391
+ female(Y).
392
+
393
+ father_in_law(X, Y) :-
394
+ married(X, A),
395
+ father(A, Y).
396
+
397
+ mother_in_law(X, Y) :-
398
+ married(X, A),
399
+ mother(A, Y).
400
+
401
+ father(X, Y) :-
402
+ parent(X, Y),
403
+ male(Y).
404
+
405
+ :- multifile prolog_predicate_name/2.
406
+
407
+
408
+ child(X, Y) :-
409
+ parent(Y, X).
410
+
411
+ male_first_cousin_once_removed(X, Y) :-
412
+ cousin(X, A),
413
+ son(A, Y),
414
+ X\=Y.
415
+
416
+ :- multifile prolog_clause_name/2.
417
+
418
+
419
+ :- dynamic expand_answer/2.
420
+ :- multifile expand_answer/2.
421
+
422
+
423
+ :- dynamic exception/3.
424
+ :- multifile exception/3.
425
+
426
+
427
+ female_first_cousin_once_removed(X, Y) :-
428
+ cousin(X, A),
429
+ daughter(A, Y),
430
+ X\=Y.
431
+
432
+ brother(X, Y) :-
433
+ sibling(X, Y),
434
+ male(Y).
435
+
436
+ mother(X, Y) :-
437
+ parent(X, Y),
438
+ female(Y).
439
+
440
+ male_second_cousin(X, Y) :-
441
+ parent(X, A),
442
+ parent(Y, B),
443
+ cousin(A, B),
444
+ male(Y),
445
+ X\=Y.
446
+
447
+ :- dynamic message_hook/3.
448
+ :- multifile message_hook/3.
449
+
450
+
451
+ female_second_cousin(X, Y) :-
452
+ parent(X, A),
453
+ parent(Y, B),
454
+ cousin(A, B),
455
+ female(Y),
456
+ X\=Y.
457
+
458
+ married(X, Y) :-
459
+ parent(Child, X),
460
+ parent(Child, Y),
461
+ X\=Y.
462
+
463
+ male(X) :-
464
+ gender(X, "male").
465
+
466
+ :- dynamic prolog_file_type/2.
467
+ :- multifile prolog_file_type/2.
468
+
469
+ prolog_file_type(pl, prolog).
470
+ prolog_file_type(prolog, prolog).
471
+ prolog_file_type(qlf, prolog).
472
+ prolog_file_type(qlf, qlf).
473
+ prolog_file_type(A, executable) :-
474
+ system:current_prolog_flag(shared_object_extension, A).
475
+ prolog_file_type(dylib, executable) :-
476
+ system:current_prolog_flag(apple, true).
477
+
478
+ sister(X, Y) :-
479
+ sibling(X, Y),
480
+ female(Y).
481
+
482
+ male_cousin(X, Y) :-
483
+ cousin(X, Y),
484
+ male(Y).
485
+
486
+ :- dynamic nonbinary/1.
487
+
488
+ nonbinary(X) :-
489
+ gender(X, "nonbinary").
490
+
491
+ female_cousin(X, Y) :-
492
+ cousin(X, Y),
493
+ female(Y).
494
+
495
+ sibling(X, Y) :-
496
+ parent(X, A),
497
+ parent(Y, A),
498
+ X\=Y.
499
+
500
+ :- dynamic portray/1.
501
+ :- multifile portray/1.
502
+
503
+
504
+ :- dynamic prolog_load_file/2.
505
+ :- multifile prolog_load_file/2.
506
+
507
+
508
+ :- dynamic goal_expansion/2.
509
+ :- multifile goal_expansion/2.
510
+
511
+
512
+ :- dynamic parent/2.
513
+
514
+ parent("Adolph Barbee", "Kelley Barbee").
515
+ parent("Adolph Barbee", "Kenny Barbee").
516
+ parent("Andres Barbee", "Kelley Barbee").
517
+ parent("Andres Barbee", "Kenny Barbee").
518
+ parent("Courtney Parkinson", "Karolyn Lance").
519
+ parent("Courtney Parkinson", "Rocco Lance").
520
+ parent("Dollie Barbee", "Wallace Ragland").
521
+ parent("Dollie Barbee", "Yasmin Ragland").
522
+ parent("Elicia Barbee", "Konstantin Barbee").
523
+ parent("Elicia Barbee", "Krystle Barbee").
524
+ parent("Kelley Barbee", "Karolyn Lance").
525
+ parent("Kelley Barbee", "Rocco Lance").
526
+ parent("Kenny Barbee", "Allie Barbee").
527
+ parent("Kenny Barbee", "Rudy Barbee").
528
+ parent("Konstantin Barbee", "Andres Barbee").
529
+ parent("Konstantin Barbee", "Dollie Barbee").
530
+ parent("Krystle Barbee", "Walter Hope").
531
+ parent("Krystle Barbee", "Wanita Hope").
532
+ parent("Lyndon Barbee", "Konstantin Barbee").
533
+ parent("Lyndon Barbee", "Krystle Barbee").
534
+ parent("Nettie Barbee", "Konstantin Barbee").
535
+ parent("Nettie Barbee", "Krystle Barbee").
536
+ parent("Twyla Parkinson", "Kurt Parkinson").
537
+ parent("Twyla Parkinson", "Leonila Parkinson").
538
+ parent("Tyrone Parkinson", "Courtney Parkinson").
539
+ parent("Tyrone Parkinson", "Willie Parkinson").
540
+ parent("Willie Parkinson", "Kurt Parkinson").
541
+ parent("Willie Parkinson", "Leonila Parkinson").
542
+ parent("Windy Parkinson", "Courtney Parkinson").
543
+ parent("Windy Parkinson", "Willie Parkinson").
544
+
545
+ cousin(X, Y) :-
546
+ parent(X, A),
547
+ parent(Y, B),
548
+ sibling(A, B),
549
+ X\=Y.
550
+
551
+ uncle(X, Y) :-
552
+ parent(X, A),
553
+ brother(A, Y).
554
+
555
+ :- dynamic resource/3.
556
+ :- multifile resource/3.
557
+
558
+
559
+ :- thread_local thread_message_hook/3.
560
+ :- dynamic thread_message_hook/3.
561
+ :- volatile thread_message_hook/3.
562
+
563
+
564
+ aunt(X, Y) :-
565
+ parent(X, A),
566
+ sister(A, Y).
567
+
568
+ second_uncle(X, Y) :-
569
+ great_grandparent(X, A),
570
+ brother(A, Y).
571
+
572
+ :- dynamic gender/2.
573
+
574
+ gender("Adolph Barbee", "male").
575
+ gender("Allie Barbee", "female").
576
+ gender("Andres Barbee", "male").
577
+ gender("Courtney Parkinson", "female").
578
+ gender("Dollie Barbee", "female").
579
+ gender("Elicia Barbee", "female").
580
+ gender("Karolyn Lance", "female").
581
+ gender("Kelley Barbee", "female").
582
+ gender("Kenny Barbee", "male").
583
+ gender("Konstantin Barbee", "male").
584
+ gender("Krystle Barbee", "female").
585
+ gender("Kurt Parkinson", "male").
586
+ gender("Leonila Parkinson", "female").
587
+ gender("Lyndon Barbee", "male").
588
+ gender("Nettie Barbee", "female").
589
+ gender("Rocco Lance", "male").
590
+ gender("Rudy Barbee", "male").
591
+ gender("Twyla Parkinson", "female").
592
+ gender("Tyrone Parkinson", "male").
593
+ gender("Wallace Ragland", "male").
594
+ gender("Walter Hope", "male").
595
+ gender("Wanita Hope", "female").
596
+ gender("Willie Parkinson", "male").
597
+ gender("Windy Parkinson", "female").
598
+ gender("Yasmin Ragland", "female").
599
+
600
+ second_aunt(X, Y) :-
601
+ great_grandparent(X, A),
602
+ sister(A, Y).
603
+
604
+ great_grandson(X, Y) :-
605
+ great_grandchild(X, Y),
606
+ male(Y).
607
+
608
+ :- dynamic pyrun/2.
609
+
610
+ pyrun(A, B) :-
611
+ read_term_from_atom(A, C, [variable_names(B)]),
612
+ call(C).
613
+
614
+ great_granddaughter(X, Y) :-
615
+ great_grandchild(X, Y),
616
+ female(Y).
617
+
618
+ :- dynamic resource/2.
619
+ :- multifile resource/2.
620
+
depth_20_size_25_seed_3/facts.txt ADDED
@@ -0,0 +1,620 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Ana Colin", "amateur astronomy").
32
+ hobby("Antionette Song", "crystals").
33
+ hobby("Danilo Colin", "stamp collecting").
34
+ hobby("Deirdre Bivins", "trainspotting").
35
+ hobby("Eddie Song", "animation").
36
+ hobby("Gene Song", "esports").
37
+ hobby("Genesis Colin", "magnet fishing").
38
+ hobby("Hannah Bivins", "billiards").
39
+ hobby("Jamal Song", "iceboat racing").
40
+ hobby("Jeana Song", "aerospace").
41
+ hobby("Jesse Kiel", "learning").
42
+ hobby("Jolene Song", "meteorology").
43
+ hobby("Lance Kiel", "learning").
44
+ hobby("Lester Bivins", "trapshooting").
45
+ hobby("Lynda Colin", "shoes").
46
+ hobby("Maynard Song", "meteorology").
47
+ hobby("Mckinley Colin", "birdwatching").
48
+ hobby("Meghann Kidd", "mahjong").
49
+ hobby("Melvin Kidd", "horseback riding").
50
+ hobby("Nikki Kidd", "birdwatching").
51
+ hobby("Nina Song", "air sports").
52
+ hobby("Ramona Colin", "publishing").
53
+ hobby("Sol Song", "fossicking").
54
+ hobby("Tory Song", "dolls").
55
+ hobby("Yvette Song", "web design").
56
+
57
+ granddaughter(X, Y) :-
58
+ grandchild(X, Y),
59
+ female(Y).
60
+
61
+ grandson(X, Y) :-
62
+ grandchild(X, Y),
63
+ male(Y).
64
+
65
+ :- dynamic job/2.
66
+
67
+ job("Ana Colin", "academic librarian").
68
+ job("Antionette Song", "clinical research associate").
69
+ job("Danilo Colin", "museum curator").
70
+ job("Deirdre Bivins", "technical sales engineer").
71
+ job("Eddie Song", "advertising account planner").
72
+ job("Gene Song", "toxicologist").
73
+ job("Genesis Colin", "education administrator").
74
+ job("Hannah Bivins", "colour technologist").
75
+ job("Jamal Song", "regulatory affairs officer").
76
+ job("Jeana Song", "gaffer").
77
+ job("Jesse Kiel", "producer").
78
+ job("Jolene Song", "newspaper journalist").
79
+ job("Lance Kiel", "social researcher").
80
+ job("Lester Bivins", "learning disability nurse").
81
+ job("Lynda Colin", "interior and spatial designer").
82
+ job("Maynard Song", "pharmacologist").
83
+ job("Mckinley Colin", "investment banker").
84
+ job("Meghann Kidd", "biomedical engineer").
85
+ job("Melvin Kidd", "marketing executive").
86
+ job("Nikki Kidd", "chartered legal executive").
87
+ job("Nina Song", "public relations officer").
88
+ job("Ramona Colin", "nutritional therapist").
89
+ job("Sol Song", "psychotherapist").
90
+ job("Tory Song", "production designer").
91
+ job("Yvette Song", "phytotherapist").
92
+
93
+ great_uncle(X, Y) :-
94
+ grandparent(X, A),
95
+ brother(A, Y).
96
+
97
+ :- dynamic save_all_clauses_to_file/1.
98
+
99
+ save_all_clauses_to_file(A) :-
100
+ open(A, write, B),
101
+ set_output(B),
102
+ listing,
103
+ close(B).
104
+
105
+ :- dynamic term_expansion/4.
106
+ :- multifile term_expansion/4.
107
+
108
+
109
+ grandchild(X, Y) :-
110
+ grandparent(Y, X).
111
+
112
+ :- dynamic dob/2.
113
+
114
+ dob("Ana Colin", "0935-04-16").
115
+ dob("Antionette Song", "0991-05-04").
116
+ dob("Danilo Colin", "0909-08-09").
117
+ dob("Deirdre Bivins", "1021-12-21").
118
+ dob("Eddie Song", "0935-01-05").
119
+ dob("Gene Song", "1016-07-28").
120
+ dob("Genesis Colin", "0935-10-02").
121
+ dob("Hannah Bivins", "0991-10-05").
122
+ dob("Jamal Song", "0961-07-23").
123
+ dob("Jeana Song", "0965-11-11").
124
+ dob("Jesse Kiel", "0878-11-05").
125
+ dob("Jolene Song", "1015-01-07").
126
+ dob("Lance Kiel", "0879-03-08").
127
+ dob("Lester Bivins", "0991-03-23").
128
+ dob("Lynda Colin", "0941-08-16").
129
+ dob("Maynard Song", "1023-05-28").
130
+ dob("Mckinley Colin", "0936-10-18").
131
+ dob("Meghann Kidd", "0929-12-23").
132
+ dob("Melvin Kidd", "0905-06-22").
133
+ dob("Nikki Kidd", "0903-01-28").
134
+ dob("Nina Song", "0936-08-07").
135
+ dob("Ramona Colin", "0909-09-08").
136
+ dob("Sol Song", "0993-10-31").
137
+ dob("Tory Song", "1042-12-18").
138
+ dob("Yvette Song", "0962-11-01").
139
+
140
+ :- dynamic file_search_path/2.
141
+ :- multifile file_search_path/2.
142
+
143
+ file_search_path(library, Dir) :-
144
+ library_directory(Dir).
145
+ file_search_path(swi, A) :-
146
+ system:current_prolog_flag(home, A).
147
+ file_search_path(swi, A) :-
148
+ system:current_prolog_flag(shared_home, A).
149
+ file_search_path(library, app_config(lib)).
150
+ file_search_path(library, swi(library)).
151
+ file_search_path(library, swi(library/clp)).
152
+ file_search_path(library, A) :-
153
+ system:'$ext_library_directory'(A).
154
+ file_search_path(foreign, swi(A)) :-
155
+ system:
156
+ ( current_prolog_flag(apple_universal_binary, true),
157
+ A='lib/fat-darwin'
158
+ ).
159
+ file_search_path(path, A) :-
160
+ system:
161
+ ( getenv('PATH', B),
162
+ current_prolog_flag(path_sep, C),
163
+ atomic_list_concat(D, C, B),
164
+ '$member'(A, D)
165
+ ).
166
+ file_search_path(user_app_data, A) :-
167
+ system:'$xdg_prolog_directory'(data, A).
168
+ file_search_path(common_app_data, A) :-
169
+ system:'$xdg_prolog_directory'(common_data, A).
170
+ file_search_path(user_app_config, A) :-
171
+ system:'$xdg_prolog_directory'(config, A).
172
+ file_search_path(common_app_config, A) :-
173
+ system:'$xdg_prolog_directory'(common_config, A).
174
+ file_search_path(app_data, user_app_data('.')).
175
+ file_search_path(app_data, common_app_data('.')).
176
+ file_search_path(app_config, user_app_config('.')).
177
+ file_search_path(app_config, common_app_config('.')).
178
+ file_search_path(app_preferences, user_app_config('.')).
179
+ file_search_path(user_profile, app_preferences('.')).
180
+ file_search_path(app, swi(app)).
181
+ file_search_path(app, app_data(app)).
182
+ file_search_path(autoload, swi(library)).
183
+ file_search_path(autoload, pce(prolog/lib)).
184
+ file_search_path(autoload, app_config(lib)).
185
+ file_search_path(autoload, Dir) :-
186
+ '$autoload':'$ext_library_directory'(Dir).
187
+ file_search_path(pack, app_data(pack)).
188
+ file_search_path(library, PackLib) :-
189
+ '$pack':pack_dir(_Name, prolog, PackLib).
190
+ file_search_path(foreign, PackLib) :-
191
+ '$pack':pack_dir(_Name, foreign, PackLib).
192
+ file_search_path(app, AppDir) :-
193
+ '$pack':pack_dir(_Name, app, AppDir).
194
+
195
+ :- multifile prolog_list_goal/1.
196
+
197
+
198
+ :- dynamic type/2.
199
+
200
+ type("Ana Colin", person).
201
+ type("Antionette Song", person).
202
+ type("Danilo Colin", person).
203
+ type("Deirdre Bivins", person).
204
+ type("Eddie Song", person).
205
+ type("Gene Song", person).
206
+ type("Genesis Colin", person).
207
+ type("Hannah Bivins", person).
208
+ type("Jamal Song", person).
209
+ type("Jeana Song", person).
210
+ type("Jesse Kiel", person).
211
+ type("Jolene Song", person).
212
+ type("Lance Kiel", person).
213
+ type("Lester Bivins", person).
214
+ type("Lynda Colin", person).
215
+ type("Maynard Song", person).
216
+ type("Mckinley Colin", person).
217
+ type("Meghann Kidd", person).
218
+ type("Melvin Kidd", person).
219
+ type("Nikki Kidd", person).
220
+ type("Nina Song", person).
221
+ type("Ramona Colin", person).
222
+ type("Sol Song", person).
223
+ type("Tory Song", person).
224
+ type("Yvette Song", person).
225
+
226
+ grandfather(X, Y) :-
227
+ grandparent(X, Y),
228
+ male(Y).
229
+
230
+ :- dynamic expand_query/4.
231
+ :- multifile expand_query/4.
232
+
233
+
234
+ :- dynamic attribute/1.
235
+
236
+ attribute("academic librarian").
237
+ attribute("amateur astronomy").
238
+ attribute("clinical research associate").
239
+ attribute("crystals").
240
+ attribute("museum curator").
241
+ attribute("stamp collecting").
242
+ attribute("technical sales engineer").
243
+ attribute("trainspotting").
244
+ attribute("advertising account planner").
245
+ attribute("animation").
246
+ attribute("toxicologist").
247
+ attribute("esports").
248
+ attribute("education administrator").
249
+ attribute("magnet fishing").
250
+ attribute("colour technologist").
251
+ attribute("billiards").
252
+ attribute("regulatory affairs officer").
253
+ attribute("iceboat racing").
254
+ attribute("gaffer").
255
+ attribute("aerospace").
256
+ attribute("producer").
257
+ attribute("learning").
258
+ attribute("newspaper journalist").
259
+ attribute("meteorology").
260
+ attribute("social researcher").
261
+ attribute("learning").
262
+ attribute("learning disability nurse").
263
+ attribute("trapshooting").
264
+ attribute("interior and spatial designer").
265
+ attribute("shoes").
266
+ attribute("pharmacologist").
267
+ attribute("meteorology").
268
+ attribute("investment banker").
269
+ attribute("birdwatching").
270
+ attribute("biomedical engineer").
271
+ attribute("mahjong").
272
+ attribute("marketing executive").
273
+ attribute("horseback riding").
274
+ attribute("chartered legal executive").
275
+ attribute("birdwatching").
276
+ attribute("public relations officer").
277
+ attribute("air sports").
278
+ attribute("nutritional therapist").
279
+ attribute("publishing").
280
+ attribute("psychotherapist").
281
+ attribute("fossicking").
282
+ attribute("production designer").
283
+ attribute("dolls").
284
+ attribute("phytotherapist").
285
+ attribute("web design").
286
+
287
+ great_aunt(X, Y) :-
288
+ grandparent(X, A),
289
+ sister(A, Y).
290
+
291
+ grandparent(X, Y) :-
292
+ parent(X, Z),
293
+ parent(Z, Y).
294
+
295
+ grandmother(X, Y) :-
296
+ grandparent(X, Y),
297
+ female(Y).
298
+
299
+ :- dynamic friend_/2.
300
+
301
+ friend_("Ana Colin", "Danilo Colin").
302
+ friend_("Ana Colin", "Jamal Song").
303
+ friend_("Ana Colin", "Lance Kiel").
304
+ friend_("Ana Colin", "Ramona Colin").
305
+ friend_("Antionette Song", "Genesis Colin").
306
+ friend_("Antionette Song", "Jeana Song").
307
+ friend_("Antionette Song", "Nina Song").
308
+ friend_("Antionette Song", "Sol Song").
309
+ friend_("Danilo Colin", "Sol Song").
310
+ friend_("Danilo Colin", "Tory Song").
311
+ friend_("Deirdre Bivins", "Jamal Song").
312
+ friend_("Deirdre Bivins", "Lester Bivins").
313
+ friend_("Gene Song", "Meghann Kidd").
314
+ friend_("Gene Song", "Nina Song").
315
+ friend_("Genesis Colin", "Jeana Song").
316
+ friend_("Genesis Colin", "Jesse Kiel").
317
+ friend_("Genesis Colin", "Ramona Colin").
318
+ friend_("Hannah Bivins", "Lynda Colin").
319
+ friend_("Hannah Bivins", "Melvin Kidd").
320
+ friend_("Hannah Bivins", "Nina Song").
321
+ friend_("Jamal Song", "Lester Bivins").
322
+ friend_("Jamal Song", "Lynda Colin").
323
+ friend_("Jamal Song", "Melvin Kidd").
324
+ friend_("Jeana Song", "Jolene Song").
325
+ friend_("Jeana Song", "Melvin Kidd").
326
+ friend_("Jeana Song", "Ramona Colin").
327
+ friend_("Jesse Kiel", "Jolene Song").
328
+ friend_("Jesse Kiel", "Maynard Song").
329
+ friend_("Jolene Song", "Tory Song").
330
+ friend_("Lance Kiel", "Nina Song").
331
+ friend_("Lance Kiel", "Ramona Colin").
332
+ friend_("Lester Bivins", "Lynda Colin").
333
+ friend_("Lester Bivins", "Maynard Song").
334
+ friend_("Lester Bivins", "Nina Song").
335
+ friend_("Lester Bivins", "Tory Song").
336
+ friend_("Lynda Colin", "Ramona Colin").
337
+ friend_("Maynard Song", "Nina Song").
338
+ friend_("Mckinley Colin", "Melvin Kidd").
339
+ friend_("Meghann Kidd", "Sol Song").
340
+ friend_("Nikki Kidd", "Ramona Colin").
341
+
342
+ friend(X, Y) :-
343
+ friend_(X, Y).
344
+ friend(X, Y) :-
345
+ friend_(Y, X).
346
+
347
+ niece(X, Y) :-
348
+ sibling(X, A),
349
+ daughter(A, Y).
350
+
351
+ nephew(X, Y) :-
352
+ sibling(X, A),
353
+ son(A, Y).
354
+
355
+ brother_in_law(X, Y) :-
356
+ married(X, A),
357
+ brother(A, Y).
358
+
359
+ :- multifile message_property/2.
360
+
361
+
362
+ sister_in_law(X, Y) :-
363
+ married(X, A),
364
+ sister(A, Y).
365
+
366
+ wife(X, Y) :-
367
+ married(X, Y),
368
+ female(Y).
369
+
370
+ husband(X, Y) :-
371
+ married(X, Y),
372
+ male(Y).
373
+
374
+ daughter_in_law(X, Y) :-
375
+ child(X, A),
376
+ wife(A, Y).
377
+
378
+ son_in_law(X, Y) :-
379
+ child(X, A),
380
+ husband(A, Y).
381
+
382
+ son(X, Y) :-
383
+ child(X, Y),
384
+ male(Y).
385
+
386
+ female(X) :-
387
+ gender(X, "female").
388
+
389
+ daughter(X, Y) :-
390
+ child(X, Y),
391
+ female(Y).
392
+
393
+ father_in_law(X, Y) :-
394
+ married(X, A),
395
+ father(A, Y).
396
+
397
+ mother_in_law(X, Y) :-
398
+ married(X, A),
399
+ mother(A, Y).
400
+
401
+ father(X, Y) :-
402
+ parent(X, Y),
403
+ male(Y).
404
+
405
+ :- multifile prolog_predicate_name/2.
406
+
407
+
408
+ child(X, Y) :-
409
+ parent(Y, X).
410
+
411
+ male_first_cousin_once_removed(X, Y) :-
412
+ cousin(X, A),
413
+ son(A, Y),
414
+ X\=Y.
415
+
416
+ :- multifile prolog_clause_name/2.
417
+
418
+
419
+ :- dynamic expand_answer/2.
420
+ :- multifile expand_answer/2.
421
+
422
+
423
+ :- dynamic exception/3.
424
+ :- multifile exception/3.
425
+
426
+
427
+ female_first_cousin_once_removed(X, Y) :-
428
+ cousin(X, A),
429
+ daughter(A, Y),
430
+ X\=Y.
431
+
432
+ brother(X, Y) :-
433
+ sibling(X, Y),
434
+ male(Y).
435
+
436
+ mother(X, Y) :-
437
+ parent(X, Y),
438
+ female(Y).
439
+
440
+ male_second_cousin(X, Y) :-
441
+ parent(X, A),
442
+ parent(Y, B),
443
+ cousin(A, B),
444
+ male(Y),
445
+ X\=Y.
446
+
447
+ :- dynamic message_hook/3.
448
+ :- multifile message_hook/3.
449
+
450
+
451
+ female_second_cousin(X, Y) :-
452
+ parent(X, A),
453
+ parent(Y, B),
454
+ cousin(A, B),
455
+ female(Y),
456
+ X\=Y.
457
+
458
+ married(X, Y) :-
459
+ parent(Child, X),
460
+ parent(Child, Y),
461
+ X\=Y.
462
+
463
+ male(X) :-
464
+ gender(X, "male").
465
+
466
+ :- dynamic prolog_file_type/2.
467
+ :- multifile prolog_file_type/2.
468
+
469
+ prolog_file_type(pl, prolog).
470
+ prolog_file_type(prolog, prolog).
471
+ prolog_file_type(qlf, prolog).
472
+ prolog_file_type(qlf, qlf).
473
+ prolog_file_type(A, executable) :-
474
+ system:current_prolog_flag(shared_object_extension, A).
475
+ prolog_file_type(dylib, executable) :-
476
+ system:current_prolog_flag(apple, true).
477
+
478
+ sister(X, Y) :-
479
+ sibling(X, Y),
480
+ female(Y).
481
+
482
+ male_cousin(X, Y) :-
483
+ cousin(X, Y),
484
+ male(Y).
485
+
486
+ :- dynamic nonbinary/1.
487
+
488
+ nonbinary(X) :-
489
+ gender(X, "nonbinary").
490
+
491
+ female_cousin(X, Y) :-
492
+ cousin(X, Y),
493
+ female(Y).
494
+
495
+ sibling(X, Y) :-
496
+ parent(X, A),
497
+ parent(Y, A),
498
+ X\=Y.
499
+
500
+ :- dynamic portray/1.
501
+ :- multifile portray/1.
502
+
503
+
504
+ :- dynamic prolog_load_file/2.
505
+ :- multifile prolog_load_file/2.
506
+
507
+
508
+ :- dynamic goal_expansion/2.
509
+ :- multifile goal_expansion/2.
510
+
511
+
512
+ :- dynamic parent/2.
513
+
514
+ parent("Ana Colin", "Danilo Colin").
515
+ parent("Ana Colin", "Ramona Colin").
516
+ parent("Deirdre Bivins", "Hannah Bivins").
517
+ parent("Deirdre Bivins", "Lester Bivins").
518
+ parent("Gene Song", "Antionette Song").
519
+ parent("Gene Song", "Sol Song").
520
+ parent("Genesis Colin", "Melvin Kidd").
521
+ parent("Genesis Colin", "Nikki Kidd").
522
+ parent("Hannah Bivins", "Jamal Song").
523
+ parent("Hannah Bivins", "Yvette Song").
524
+ parent("Jamal Song", "Eddie Song").
525
+ parent("Jamal Song", "Nina Song").
526
+ parent("Jeana Song", "Eddie Song").
527
+ parent("Jeana Song", "Nina Song").
528
+ parent("Lynda Colin", "Danilo Colin").
529
+ parent("Lynda Colin", "Ramona Colin").
530
+ parent("Maynard Song", "Antionette Song").
531
+ parent("Maynard Song", "Sol Song").
532
+ parent("Mckinley Colin", "Danilo Colin").
533
+ parent("Mckinley Colin", "Ramona Colin").
534
+ parent("Meghann Kidd", "Melvin Kidd").
535
+ parent("Meghann Kidd", "Nikki Kidd").
536
+ parent("Ramona Colin", "Jesse Kiel").
537
+ parent("Ramona Colin", "Lance Kiel").
538
+ parent("Sol Song", "Jamal Song").
539
+ parent("Sol Song", "Yvette Song").
540
+ parent("Tory Song", "Gene Song").
541
+ parent("Tory Song", "Jolene Song").
542
+ parent("Yvette Song", "Genesis Colin").
543
+ parent("Yvette Song", "Mckinley Colin").
544
+
545
+ cousin(X, Y) :-
546
+ parent(X, A),
547
+ parent(Y, B),
548
+ sibling(A, B),
549
+ X\=Y.
550
+
551
+ uncle(X, Y) :-
552
+ parent(X, A),
553
+ brother(A, Y).
554
+
555
+ :- dynamic resource/3.
556
+ :- multifile resource/3.
557
+
558
+
559
+ :- thread_local thread_message_hook/3.
560
+ :- dynamic thread_message_hook/3.
561
+ :- volatile thread_message_hook/3.
562
+
563
+
564
+ aunt(X, Y) :-
565
+ parent(X, A),
566
+ sister(A, Y).
567
+
568
+ second_uncle(X, Y) :-
569
+ great_grandparent(X, A),
570
+ brother(A, Y).
571
+
572
+ :- dynamic gender/2.
573
+
574
+ gender("Ana Colin", "female").
575
+ gender("Antionette Song", "female").
576
+ gender("Danilo Colin", "male").
577
+ gender("Deirdre Bivins", "female").
578
+ gender("Eddie Song", "male").
579
+ gender("Gene Song", "male").
580
+ gender("Genesis Colin", "female").
581
+ gender("Hannah Bivins", "female").
582
+ gender("Jamal Song", "male").
583
+ gender("Jeana Song", "female").
584
+ gender("Jesse Kiel", "female").
585
+ gender("Jolene Song", "female").
586
+ gender("Lance Kiel", "male").
587
+ gender("Lester Bivins", "male").
588
+ gender("Lynda Colin", "female").
589
+ gender("Maynard Song", "male").
590
+ gender("Mckinley Colin", "male").
591
+ gender("Meghann Kidd", "female").
592
+ gender("Melvin Kidd", "male").
593
+ gender("Nikki Kidd", "female").
594
+ gender("Nina Song", "female").
595
+ gender("Ramona Colin", "female").
596
+ gender("Sol Song", "male").
597
+ gender("Tory Song", "female").
598
+ gender("Yvette Song", "female").
599
+
600
+ second_aunt(X, Y) :-
601
+ great_grandparent(X, A),
602
+ sister(A, Y).
603
+
604
+ great_grandson(X, Y) :-
605
+ great_grandchild(X, Y),
606
+ male(Y).
607
+
608
+ :- dynamic pyrun/2.
609
+
610
+ pyrun(A, B) :-
611
+ read_term_from_atom(A, C, [variable_names(B)]),
612
+ call(C).
613
+
614
+ great_granddaughter(X, Y) :-
615
+ great_grandchild(X, Y),
616
+ female(Y).
617
+
618
+ :- dynamic resource/2.
619
+ :- multifile resource/2.
620
+
depth_20_size_300_seed_1/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_300_seed_2/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_300_seed_3/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_400_seed_1/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_400_seed_2/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_400_seed_3/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_5000_seed_1/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_5000_seed_2/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_5000_seed_3/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_500_seed_1/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_500_seed_2/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_500_seed_3/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_50_seed_1/facts.txt ADDED
@@ -0,0 +1,875 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Aida Wang", "meditation").
32
+ hobby("Alec Sinclair", "meteorology").
33
+ hobby("Alfredo Wang", "biology").
34
+ hobby("Alison Smock", "meteorology").
35
+ hobby("Alvaro Smock", "dolls").
36
+ hobby("Alycia Coe", "photography").
37
+ hobby("Barabara Beltran", "shogi").
38
+ hobby("Brian Beltran", "dominoes").
39
+ hobby("Carrol Woodson", "tether car").
40
+ hobby("Christina Coe", "architecture").
41
+ hobby("Christoper Coe", "geocaching").
42
+ hobby("Cortney Parmer", "trainspotting").
43
+ hobby("Cythia Smock", "bus spotting").
44
+ hobby("Daisy Beltran", "research").
45
+ hobby("Dino Beltran", "geography").
46
+ hobby("Dominique Smock", "microbiology").
47
+ hobby("Dwight Hackworth", "canoeing").
48
+ hobby("Earle Coe", "learning").
49
+ hobby("Eli Smock", "dairy farming").
50
+ hobby("Gayla Woodson", "fossil hunting").
51
+ hobby("Gene Smock", "sociology").
52
+ hobby("Isiah Lutz", "finance").
53
+ hobby("Jamison Baptiste", "meditation").
54
+ hobby("Kristen Toombs", "wikipedia editing").
55
+ hobby("Lannie Smock", "radio-controlled car racing").
56
+ hobby("Leeann Sinclair", "social studies").
57
+ hobby("Leisa Lutz", "judo").
58
+ hobby("Lesley Lutz", "flying disc").
59
+ hobby("Lissa Coe", "cricket").
60
+ hobby("Lonny Parmer", "weightlifting").
61
+ hobby("Maria Baptiste", "meditation").
62
+ hobby("Michelle Hackworth", "ballroom dancing").
63
+ hobby("Noelia Lutz", "microscopy").
64
+ hobby("Orlando Beltran", "reading").
65
+ hobby("Reggie Coe", "laser tag").
66
+ hobby("Ricardo Hackworth", "hiking/backpacking").
67
+ hobby("Ryan Wang", "audiophile").
68
+ hobby("Shannon Beltran", "tennis polo").
69
+ hobby("Shelli Beltran", "photography").
70
+ hobby("Stacia Toombs", "backgammon").
71
+ hobby("Tanner Beltran", "microscopy").
72
+ hobby("Tosha Beltran", "herping").
73
+ hobby("Tyson Woodson", "philately").
74
+ hobby("Ulysses Parmer", "birdwatching").
75
+ hobby("Vicki Hackworth", "shogi").
76
+ hobby("Vincent Lutz", "magnet fishing").
77
+ hobby("Virgil Hackworth", "table tennis").
78
+ hobby("Von Sinclair", "scuba diving").
79
+ hobby("Wilbert Toombs", "biology").
80
+ hobby("Williams Smock", "sea glass collecting").
81
+ hobby("Wm Parmer", "research").
82
+
83
+ granddaughter(X, Y) :-
84
+ grandchild(X, Y),
85
+ female(Y).
86
+
87
+ grandson(X, Y) :-
88
+ grandchild(X, Y),
89
+ male(Y).
90
+
91
+ :- dynamic job/2.
92
+
93
+ job("Aida Wang", "personal assistant").
94
+ job("Alec Sinclair", "health promotion specialist").
95
+ job("Alfredo Wang", "osteopath").
96
+ job("Alison Smock", "broadcast engineer").
97
+ job("Alvaro Smock", "oncologist").
98
+ job("Alycia Coe", "warehouse manager").
99
+ job("Barabara Beltran", "associate professor").
100
+ job("Brian Beltran", "sports therapist").
101
+ job("Carrol Woodson", "retail manager").
102
+ job("Christina Coe", "immunologist").
103
+ job("Christoper Coe", "education administrator").
104
+ job("Cortney Parmer", "early years teacher").
105
+ job("Cythia Smock", "biomedical scientist").
106
+ job("Daisy Beltran", "music tutor").
107
+ job("Dino Beltran", "clinical cytogeneticist").
108
+ job("Dominique Smock", "ecologist").
109
+ job("Dwight Hackworth", "barrister's clerk").
110
+ job("Earle Coe", "petroleum engineer").
111
+ job("Eli Smock", "clinical research associate").
112
+ job("Gayla Woodson", "chief of staff").
113
+ job("Gene Smock", "occupational therapist").
114
+ job("Isiah Lutz", "actuary").
115
+ job("Jamison Baptiste", "police officer").
116
+ job("Kristen Toombs", "sound technician").
117
+ job("Lannie Smock", "theatre manager").
118
+ job("Leeann Sinclair", "clinical biochemist").
119
+ job("Leisa Lutz", "public relations officer").
120
+ job("Lesley Lutz", "music therapist").
121
+ job("Lissa Coe", "librarian").
122
+ job("Lonny Parmer", "building surveyor").
123
+ job("Maria Baptiste", "fitness centre manager").
124
+ job("Michelle Hackworth", "oceanographer").
125
+ job("Noelia Lutz", "historic buildings inspector").
126
+ job("Orlando Beltran", "chief marketing officer").
127
+ job("Reggie Coe", "waste management officer").
128
+ job("Ricardo Hackworth", "medical sales representative").
129
+ job("Ryan Wang", "community pharmacist").
130
+ job("Shannon Beltran", "pension scheme manager").
131
+ job("Shelli Beltran", "armed forces logistics officer").
132
+ job("Stacia Toombs", "environmental education officer").
133
+ job("Tanner Beltran", "medical illustrator").
134
+ job("Tosha Beltran", "museum conservator").
135
+ job("Tyson Woodson", "optometrist").
136
+ job("Ulysses Parmer", "further education lecturer").
137
+ job("Vicki Hackworth", "dancer").
138
+ job("Vincent Lutz", "water engineer").
139
+ job("Virgil Hackworth", "intelligence analyst").
140
+ job("Von Sinclair", "fashion designer").
141
+ job("Wilbert Toombs", "doctor").
142
+ job("Williams Smock", "chartered accountant").
143
+ job("Wm Parmer", "speech and language therapist").
144
+
145
+ great_uncle(X, Y) :-
146
+ grandparent(X, A),
147
+ brother(A, Y).
148
+
149
+ :- dynamic save_all_clauses_to_file/1.
150
+
151
+ save_all_clauses_to_file(A) :-
152
+ open(A, write, B),
153
+ set_output(B),
154
+ listing,
155
+ close(B).
156
+
157
+ :- dynamic term_expansion/4.
158
+ :- multifile term_expansion/4.
159
+
160
+
161
+ grandchild(X, Y) :-
162
+ grandparent(Y, X).
163
+
164
+ :- dynamic dob/2.
165
+
166
+ dob("Aida Wang", "0985-05-30").
167
+ dob("Alec Sinclair", "1006-07-10").
168
+ dob("Alfredo Wang", "1012-02-04").
169
+ dob("Alison Smock", "0929-10-28").
170
+ dob("Alvaro Smock", "0867-07-12").
171
+ dob("Alycia Coe", "0959-01-13").
172
+ dob("Barabara Beltran", "0989-06-11").
173
+ dob("Brian Beltran", "0927-07-27").
174
+ dob("Carrol Woodson", "1033-07-02").
175
+ dob("Christina Coe", "0983-02-26").
176
+ dob("Christoper Coe", "0957-01-08").
177
+ dob("Cortney Parmer", "1014-07-04").
178
+ dob("Cythia Smock", "0956-05-12").
179
+ dob("Daisy Beltran", "0931-09-21").
180
+ dob("Dino Beltran", "0958-08-09").
181
+ dob("Dominique Smock", "0897-09-08").
182
+ dob("Dwight Hackworth", "1016-12-30").
183
+ dob("Earle Coe", "0984-05-03").
184
+ dob("Eli Smock", "0901-01-18").
185
+ dob("Gayla Woodson", "1035-10-24").
186
+ dob("Gene Smock", "0898-08-16").
187
+ dob("Isiah Lutz", "1014-10-18").
188
+ dob("Jamison Baptiste", "0929-02-07").
189
+ dob("Kristen Toombs", "0986-06-27").
190
+ dob("Lannie Smock", "0867-08-24").
191
+ dob("Leeann Sinclair", "1011-10-25").
192
+ dob("Leisa Lutz", "1015-11-21").
193
+ dob("Lesley Lutz", "1040-01-31").
194
+ dob("Lissa Coe", "1010-08-08").
195
+ dob("Lonny Parmer", "1042-08-03").
196
+ dob("Maria Baptiste", "0929-10-22").
197
+ dob("Michelle Hackworth", "1007-05-01").
198
+ dob("Noelia Lutz", "1042-01-27").
199
+ dob("Orlando Beltran", "0953-10-23").
200
+ dob("Reggie Coe", "1009-07-17").
201
+ dob("Ricardo Hackworth", "0983-02-24").
202
+ dob("Ryan Wang", "0982-03-17").
203
+ dob("Shannon Beltran", "0981-04-26").
204
+ dob("Shelli Beltran", "0958-03-08").
205
+ dob("Stacia Toombs", "0959-03-22").
206
+ dob("Tanner Beltran", "0956-11-17").
207
+ dob("Tosha Beltran", "0955-03-27").
208
+ dob("Tyson Woodson", "1068-10-22").
209
+ dob("Ulysses Parmer", "1015-03-18").
210
+ dob("Vicki Hackworth", "0985-05-30").
211
+ dob("Vincent Lutz", "1063-07-01").
212
+ dob("Virgil Hackworth", "1009-06-23").
213
+ dob("Von Sinclair", "1039-02-26").
214
+ dob("Wilbert Toombs", "0956-07-26").
215
+ dob("Williams Smock", "0926-04-04").
216
+ dob("Wm Parmer", "1040-07-04").
217
+
218
+ :- dynamic file_search_path/2.
219
+ :- multifile file_search_path/2.
220
+
221
+ file_search_path(library, Dir) :-
222
+ library_directory(Dir).
223
+ file_search_path(swi, A) :-
224
+ system:current_prolog_flag(home, A).
225
+ file_search_path(swi, A) :-
226
+ system:current_prolog_flag(shared_home, A).
227
+ file_search_path(library, app_config(lib)).
228
+ file_search_path(library, swi(library)).
229
+ file_search_path(library, swi(library/clp)).
230
+ file_search_path(library, A) :-
231
+ system:'$ext_library_directory'(A).
232
+ file_search_path(foreign, swi(A)) :-
233
+ system:
234
+ ( current_prolog_flag(apple_universal_binary, true),
235
+ A='lib/fat-darwin'
236
+ ).
237
+ file_search_path(path, A) :-
238
+ system:
239
+ ( getenv('PATH', B),
240
+ current_prolog_flag(path_sep, C),
241
+ atomic_list_concat(D, C, B),
242
+ '$member'(A, D)
243
+ ).
244
+ file_search_path(user_app_data, A) :-
245
+ system:'$xdg_prolog_directory'(data, A).
246
+ file_search_path(common_app_data, A) :-
247
+ system:'$xdg_prolog_directory'(common_data, A).
248
+ file_search_path(user_app_config, A) :-
249
+ system:'$xdg_prolog_directory'(config, A).
250
+ file_search_path(common_app_config, A) :-
251
+ system:'$xdg_prolog_directory'(common_config, A).
252
+ file_search_path(app_data, user_app_data('.')).
253
+ file_search_path(app_data, common_app_data('.')).
254
+ file_search_path(app_config, user_app_config('.')).
255
+ file_search_path(app_config, common_app_config('.')).
256
+ file_search_path(app_preferences, user_app_config('.')).
257
+ file_search_path(user_profile, app_preferences('.')).
258
+ file_search_path(app, swi(app)).
259
+ file_search_path(app, app_data(app)).
260
+ file_search_path(autoload, swi(library)).
261
+ file_search_path(autoload, pce(prolog/lib)).
262
+ file_search_path(autoload, app_config(lib)).
263
+ file_search_path(autoload, Dir) :-
264
+ '$autoload':'$ext_library_directory'(Dir).
265
+ file_search_path(pack, app_data(pack)).
266
+ file_search_path(library, PackLib) :-
267
+ '$pack':pack_dir(_Name, prolog, PackLib).
268
+ file_search_path(foreign, PackLib) :-
269
+ '$pack':pack_dir(_Name, foreign, PackLib).
270
+ file_search_path(app, AppDir) :-
271
+ '$pack':pack_dir(_Name, app, AppDir).
272
+
273
+ :- multifile prolog_list_goal/1.
274
+
275
+
276
+ :- dynamic type/2.
277
+
278
+ type("Aida Wang", person).
279
+ type("Alec Sinclair", person).
280
+ type("Alfredo Wang", person).
281
+ type("Alison Smock", person).
282
+ type("Alvaro Smock", person).
283
+ type("Alycia Coe", person).
284
+ type("Barabara Beltran", person).
285
+ type("Brian Beltran", person).
286
+ type("Carrol Woodson", person).
287
+ type("Christina Coe", person).
288
+ type("Christoper Coe", person).
289
+ type("Cortney Parmer", person).
290
+ type("Cythia Smock", person).
291
+ type("Daisy Beltran", person).
292
+ type("Dino Beltran", person).
293
+ type("Dominique Smock", person).
294
+ type("Dwight Hackworth", person).
295
+ type("Earle Coe", person).
296
+ type("Eli Smock", person).
297
+ type("Gayla Woodson", person).
298
+ type("Gene Smock", person).
299
+ type("Isiah Lutz", person).
300
+ type("Jamison Baptiste", person).
301
+ type("Kristen Toombs", person).
302
+ type("Lannie Smock", person).
303
+ type("Leeann Sinclair", person).
304
+ type("Leisa Lutz", person).
305
+ type("Lesley Lutz", person).
306
+ type("Lissa Coe", person).
307
+ type("Lonny Parmer", person).
308
+ type("Maria Baptiste", person).
309
+ type("Michelle Hackworth", person).
310
+ type("Noelia Lutz", person).
311
+ type("Orlando Beltran", person).
312
+ type("Reggie Coe", person).
313
+ type("Ricardo Hackworth", person).
314
+ type("Ryan Wang", person).
315
+ type("Shannon Beltran", person).
316
+ type("Shelli Beltran", person).
317
+ type("Stacia Toombs", person).
318
+ type("Tanner Beltran", person).
319
+ type("Tosha Beltran", person).
320
+ type("Tyson Woodson", person).
321
+ type("Ulysses Parmer", person).
322
+ type("Vicki Hackworth", person).
323
+ type("Vincent Lutz", person).
324
+ type("Virgil Hackworth", person).
325
+ type("Von Sinclair", person).
326
+ type("Wilbert Toombs", person).
327
+ type("Williams Smock", person).
328
+ type("Wm Parmer", person).
329
+
330
+ grandfather(X, Y) :-
331
+ grandparent(X, Y),
332
+ male(Y).
333
+
334
+ :- dynamic expand_query/4.
335
+ :- multifile expand_query/4.
336
+
337
+
338
+ :- dynamic attribute/1.
339
+
340
+ attribute("personal assistant").
341
+ attribute("meditation").
342
+ attribute("health promotion specialist").
343
+ attribute("meteorology").
344
+ attribute("osteopath").
345
+ attribute("biology").
346
+ attribute("broadcast engineer").
347
+ attribute("meteorology").
348
+ attribute("oncologist").
349
+ attribute("dolls").
350
+ attribute("warehouse manager").
351
+ attribute("photography").
352
+ attribute("associate professor").
353
+ attribute("shogi").
354
+ attribute("sports therapist").
355
+ attribute("dominoes").
356
+ attribute("retail manager").
357
+ attribute("tether car").
358
+ attribute("immunologist").
359
+ attribute("architecture").
360
+ attribute("education administrator").
361
+ attribute("geocaching").
362
+ attribute("early years teacher").
363
+ attribute("trainspotting").
364
+ attribute("biomedical scientist").
365
+ attribute("bus spotting").
366
+ attribute("music tutor").
367
+ attribute("research").
368
+ attribute("clinical cytogeneticist").
369
+ attribute("geography").
370
+ attribute("ecologist").
371
+ attribute("microbiology").
372
+ attribute("barrister's clerk").
373
+ attribute("canoeing").
374
+ attribute("petroleum engineer").
375
+ attribute("learning").
376
+ attribute("clinical research associate").
377
+ attribute("dairy farming").
378
+ attribute("chief of staff").
379
+ attribute("fossil hunting").
380
+ attribute("occupational therapist").
381
+ attribute("sociology").
382
+ attribute("actuary").
383
+ attribute("finance").
384
+ attribute("police officer").
385
+ attribute("meditation").
386
+ attribute("sound technician").
387
+ attribute("wikipedia editing").
388
+ attribute("theatre manager").
389
+ attribute("radio-controlled car racing").
390
+ attribute("clinical biochemist").
391
+ attribute("social studies").
392
+ attribute("public relations officer").
393
+ attribute("judo").
394
+ attribute("music therapist").
395
+ attribute("flying disc").
396
+ attribute("librarian").
397
+ attribute("cricket").
398
+ attribute("building surveyor").
399
+ attribute("weightlifting").
400
+ attribute("fitness centre manager").
401
+ attribute("meditation").
402
+ attribute("oceanographer").
403
+ attribute("ballroom dancing").
404
+ attribute("historic buildings inspector").
405
+ attribute("microscopy").
406
+ attribute("chief marketing officer").
407
+ attribute("reading").
408
+ attribute("waste management officer").
409
+ attribute("laser tag").
410
+ attribute("medical sales representative").
411
+ attribute("hiking/backpacking").
412
+ attribute("community pharmacist").
413
+ attribute("audiophile").
414
+ attribute("pension scheme manager").
415
+ attribute("tennis polo").
416
+ attribute("armed forces logistics officer").
417
+ attribute("photography").
418
+ attribute("environmental education officer").
419
+ attribute("backgammon").
420
+ attribute("medical illustrator").
421
+ attribute("microscopy").
422
+ attribute("museum conservator").
423
+ attribute("herping").
424
+ attribute("optometrist").
425
+ attribute("philately").
426
+ attribute("further education lecturer").
427
+ attribute("birdwatching").
428
+ attribute("dancer").
429
+ attribute("shogi").
430
+ attribute("water engineer").
431
+ attribute("magnet fishing").
432
+ attribute("intelligence analyst").
433
+ attribute("table tennis").
434
+ attribute("fashion designer").
435
+ attribute("scuba diving").
436
+ attribute("doctor").
437
+ attribute("biology").
438
+ attribute("chartered accountant").
439
+ attribute("sea glass collecting").
440
+ attribute("speech and language therapist").
441
+ attribute("research").
442
+
443
+ great_aunt(X, Y) :-
444
+ grandparent(X, A),
445
+ sister(A, Y).
446
+
447
+ grandparent(X, Y) :-
448
+ parent(X, Z),
449
+ parent(Z, Y).
450
+
451
+ grandmother(X, Y) :-
452
+ grandparent(X, Y),
453
+ female(Y).
454
+
455
+ :- dynamic friend_/2.
456
+
457
+ friend_("Aida Wang", "Lonny Parmer").
458
+ friend_("Aida Wang", "Orlando Beltran").
459
+ friend_("Aida Wang", "Tyson Woodson").
460
+ friend_("Alec Sinclair", "Alfredo Wang").
461
+ friend_("Alec Sinclair", "Gayla Woodson").
462
+ friend_("Alec Sinclair", "Lonny Parmer").
463
+ friend_("Alec Sinclair", "Michelle Hackworth").
464
+ friend_("Alec Sinclair", "Noelia Lutz").
465
+ friend_("Alec Sinclair", "Ulysses Parmer").
466
+ friend_("Alfredo Wang", "Michelle Hackworth").
467
+ friend_("Alfredo Wang", "Virgil Hackworth").
468
+ friend_("Alfredo Wang", "Wm Parmer").
469
+ friend_("Alison Smock", "Cortney Parmer").
470
+ friend_("Alison Smock", "Jamison Baptiste").
471
+ friend_("Alison Smock", "Wilbert Toombs").
472
+ friend_("Alvaro Smock", "Maria Baptiste").
473
+ friend_("Alvaro Smock", "Orlando Beltran").
474
+ friend_("Alvaro Smock", "Stacia Toombs").
475
+ friend_("Alycia Coe", "Lissa Coe").
476
+ friend_("Alycia Coe", "Tanner Beltran").
477
+ friend_("Alycia Coe", "Tosha Beltran").
478
+ friend_("Barabara Beltran", "Carrol Woodson").
479
+ friend_("Barabara Beltran", "Gene Smock").
480
+ friend_("Barabara Beltran", "Lannie Smock").
481
+ friend_("Barabara Beltran", "Lonny Parmer").
482
+ friend_("Barabara Beltran", "Vicki Hackworth").
483
+ friend_("Barabara Beltran", "Von Sinclair").
484
+ friend_("Brian Beltran", "Daisy Beltran").
485
+ friend_("Brian Beltran", "Gene Smock").
486
+ friend_("Carrol Woodson", "Cortney Parmer").
487
+ friend_("Christina Coe", "Cythia Smock").
488
+ friend_("Christina Coe", "Dwight Hackworth").
489
+ friend_("Christina Coe", "Eli Smock").
490
+ friend_("Christina Coe", "Maria Baptiste").
491
+ friend_("Christoper Coe", "Vincent Lutz").
492
+ friend_("Cortney Parmer", "Dwight Hackworth").
493
+ friend_("Cortney Parmer", "Leisa Lutz").
494
+ friend_("Cythia Smock", "Dino Beltran").
495
+ friend_("Cythia Smock", "Dwight Hackworth").
496
+ friend_("Cythia Smock", "Shannon Beltran").
497
+ friend_("Daisy Beltran", "Lissa Coe").
498
+ friend_("Dino Beltran", "Maria Baptiste").
499
+ friend_("Dino Beltran", "Stacia Toombs").
500
+ friend_("Dino Beltran", "Virgil Hackworth").
501
+ friend_("Dino Beltran", "Wm Parmer").
502
+ friend_("Dominique Smock", "Noelia Lutz").
503
+ friend_("Dominique Smock", "Vicki Hackworth").
504
+ friend_("Dominique Smock", "Von Sinclair").
505
+ friend_("Dwight Hackworth", "Lonny Parmer").
506
+ friend_("Dwight Hackworth", "Ryan Wang").
507
+ friend_("Dwight Hackworth", "Ulysses Parmer").
508
+ friend_("Earle Coe", "Gene Smock").
509
+ friend_("Earle Coe", "Ulysses Parmer").
510
+ friend_("Eli Smock", "Lissa Coe").
511
+ friend_("Eli Smock", "Ricardo Hackworth").
512
+ friend_("Gayla Woodson", "Isiah Lutz").
513
+ friend_("Gayla Woodson", "Ryan Wang").
514
+ friend_("Gayla Woodson", "Vicki Hackworth").
515
+ friend_("Isiah Lutz", "Leeann Sinclair").
516
+ friend_("Jamison Baptiste", "Leeann Sinclair").
517
+ friend_("Jamison Baptiste", "Ulysses Parmer").
518
+ friend_("Kristen Toombs", "Leeann Sinclair").
519
+ friend_("Kristen Toombs", "Williams Smock").
520
+ friend_("Lannie Smock", "Tanner Beltran").
521
+ friend_("Leeann Sinclair", "Maria Baptiste").
522
+ friend_("Leisa Lutz", "Ryan Wang").
523
+ friend_("Lesley Lutz", "Von Sinclair").
524
+ friend_("Lissa Coe", "Lonny Parmer").
525
+ friend_("Lissa Coe", "Von Sinclair").
526
+ friend_("Lonny Parmer", "Vincent Lutz").
527
+ friend_("Lonny Parmer", "Von Sinclair").
528
+ friend_("Maria Baptiste", "Tanner Beltran").
529
+ friend_("Michelle Hackworth", "Tyson Woodson").
530
+ friend_("Orlando Beltran", "Shannon Beltran").
531
+ friend_("Orlando Beltran", "Vicki Hackworth").
532
+ friend_("Shannon Beltran", "Vincent Lutz").
533
+ friend_("Shelli Beltran", "Williams Smock").
534
+ friend_("Stacia Toombs", "Virgil Hackworth").
535
+ friend_("Von Sinclair", "Williams Smock").
536
+
537
+ friend(X, Y) :-
538
+ friend_(X, Y).
539
+ friend(X, Y) :-
540
+ friend_(Y, X).
541
+
542
+ niece(X, Y) :-
543
+ sibling(X, A),
544
+ daughter(A, Y).
545
+
546
+ nephew(X, Y) :-
547
+ sibling(X, A),
548
+ son(A, Y).
549
+
550
+ brother_in_law(X, Y) :-
551
+ married(X, A),
552
+ brother(A, Y).
553
+
554
+ :- multifile message_property/2.
555
+
556
+
557
+ sister_in_law(X, Y) :-
558
+ married(X, A),
559
+ sister(A, Y).
560
+
561
+ wife(X, Y) :-
562
+ married(X, Y),
563
+ female(Y).
564
+
565
+ husband(X, Y) :-
566
+ married(X, Y),
567
+ male(Y).
568
+
569
+ daughter_in_law(X, Y) :-
570
+ child(X, A),
571
+ wife(A, Y).
572
+
573
+ son_in_law(X, Y) :-
574
+ child(X, A),
575
+ husband(A, Y).
576
+
577
+ son(X, Y) :-
578
+ child(X, Y),
579
+ male(Y).
580
+
581
+ female(X) :-
582
+ gender(X, "female").
583
+
584
+ daughter(X, Y) :-
585
+ child(X, Y),
586
+ female(Y).
587
+
588
+ father_in_law(X, Y) :-
589
+ married(X, A),
590
+ father(A, Y).
591
+
592
+ mother_in_law(X, Y) :-
593
+ married(X, A),
594
+ mother(A, Y).
595
+
596
+ father(X, Y) :-
597
+ parent(X, Y),
598
+ male(Y).
599
+
600
+ :- multifile prolog_predicate_name/2.
601
+
602
+
603
+ child(X, Y) :-
604
+ parent(Y, X).
605
+
606
+ male_first_cousin_once_removed(X, Y) :-
607
+ cousin(X, A),
608
+ son(A, Y),
609
+ X\=Y.
610
+
611
+ :- multifile prolog_clause_name/2.
612
+
613
+
614
+ :- dynamic expand_answer/2.
615
+ :- multifile expand_answer/2.
616
+
617
+
618
+ :- dynamic exception/3.
619
+ :- multifile exception/3.
620
+
621
+
622
+ female_first_cousin_once_removed(X, Y) :-
623
+ cousin(X, A),
624
+ daughter(A, Y),
625
+ X\=Y.
626
+
627
+ brother(X, Y) :-
628
+ sibling(X, Y),
629
+ male(Y).
630
+
631
+ mother(X, Y) :-
632
+ parent(X, Y),
633
+ female(Y).
634
+
635
+ male_second_cousin(X, Y) :-
636
+ parent(X, A),
637
+ parent(Y, B),
638
+ cousin(A, B),
639
+ male(Y),
640
+ X\=Y.
641
+
642
+ :- dynamic message_hook/3.
643
+ :- multifile message_hook/3.
644
+
645
+
646
+ female_second_cousin(X, Y) :-
647
+ parent(X, A),
648
+ parent(Y, B),
649
+ cousin(A, B),
650
+ female(Y),
651
+ X\=Y.
652
+
653
+ married(X, Y) :-
654
+ parent(Child, X),
655
+ parent(Child, Y),
656
+ X\=Y.
657
+
658
+ male(X) :-
659
+ gender(X, "male").
660
+
661
+ :- dynamic prolog_file_type/2.
662
+ :- multifile prolog_file_type/2.
663
+
664
+ prolog_file_type(pl, prolog).
665
+ prolog_file_type(prolog, prolog).
666
+ prolog_file_type(qlf, prolog).
667
+ prolog_file_type(qlf, qlf).
668
+ prolog_file_type(A, executable) :-
669
+ system:current_prolog_flag(shared_object_extension, A).
670
+ prolog_file_type(dylib, executable) :-
671
+ system:current_prolog_flag(apple, true).
672
+
673
+ sister(X, Y) :-
674
+ sibling(X, Y),
675
+ female(Y).
676
+
677
+ male_cousin(X, Y) :-
678
+ cousin(X, Y),
679
+ male(Y).
680
+
681
+ :- dynamic nonbinary/1.
682
+
683
+ nonbinary(X) :-
684
+ gender(X, "nonbinary").
685
+
686
+ female_cousin(X, Y) :-
687
+ cousin(X, Y),
688
+ female(Y).
689
+
690
+ sibling(X, Y) :-
691
+ parent(X, A),
692
+ parent(Y, A),
693
+ X\=Y.
694
+
695
+ :- dynamic portray/1.
696
+ :- multifile portray/1.
697
+
698
+
699
+ :- dynamic prolog_load_file/2.
700
+ :- multifile prolog_load_file/2.
701
+
702
+
703
+ :- dynamic goal_expansion/2.
704
+ :- multifile goal_expansion/2.
705
+
706
+
707
+ :- dynamic parent/2.
708
+
709
+ parent("Aida Wang", "Dino Beltran").
710
+ parent("Aida Wang", "Shelli Beltran").
711
+ parent("Alfredo Wang", "Aida Wang").
712
+ parent("Alfredo Wang", "Ryan Wang").
713
+ parent("Barabara Beltran", "Dino Beltran").
714
+ parent("Barabara Beltran", "Shelli Beltran").
715
+ parent("Christina Coe", "Stacia Toombs").
716
+ parent("Christina Coe", "Wilbert Toombs").
717
+ parent("Cortney Parmer", "Aida Wang").
718
+ parent("Cortney Parmer", "Ryan Wang").
719
+ parent("Cythia Smock", "Alison Smock").
720
+ parent("Cythia Smock", "Williams Smock").
721
+ parent("Dino Beltran", "Brian Beltran").
722
+ parent("Dino Beltran", "Daisy Beltran").
723
+ parent("Dwight Hackworth", "Ricardo Hackworth").
724
+ parent("Dwight Hackworth", "Vicki Hackworth").
725
+ parent("Earle Coe", "Alycia Coe").
726
+ parent("Earle Coe", "Christoper Coe").
727
+ parent("Eli Smock", "Alvaro Smock").
728
+ parent("Eli Smock", "Lannie Smock").
729
+ parent("Gayla Woodson", "Lissa Coe").
730
+ parent("Gayla Woodson", "Reggie Coe").
731
+ parent("Gene Smock", "Alvaro Smock").
732
+ parent("Gene Smock", "Lannie Smock").
733
+ parent("Kristen Toombs", "Stacia Toombs").
734
+ parent("Kristen Toombs", "Wilbert Toombs").
735
+ parent("Leeann Sinclair", "Ricardo Hackworth").
736
+ parent("Leeann Sinclair", "Vicki Hackworth").
737
+ parent("Leisa Lutz", "Ricardo Hackworth").
738
+ parent("Leisa Lutz", "Vicki Hackworth").
739
+ parent("Lesley Lutz", "Isiah Lutz").
740
+ parent("Lesley Lutz", "Leisa Lutz").
741
+ parent("Lonny Parmer", "Cortney Parmer").
742
+ parent("Lonny Parmer", "Ulysses Parmer").
743
+ parent("Michelle Hackworth", "Ricardo Hackworth").
744
+ parent("Michelle Hackworth", "Vicki Hackworth").
745
+ parent("Orlando Beltran", "Brian Beltran").
746
+ parent("Orlando Beltran", "Daisy Beltran").
747
+ parent("Reggie Coe", "Christina Coe").
748
+ parent("Reggie Coe", "Earle Coe").
749
+ parent("Shannon Beltran", "Orlando Beltran").
750
+ parent("Shannon Beltran", "Tosha Beltran").
751
+ parent("Shelli Beltran", "Alison Smock").
752
+ parent("Shelli Beltran", "Williams Smock").
753
+ parent("Stacia Toombs", "Alison Smock").
754
+ parent("Stacia Toombs", "Williams Smock").
755
+ parent("Tanner Beltran", "Brian Beltran").
756
+ parent("Tanner Beltran", "Daisy Beltran").
757
+ parent("Tosha Beltran", "Jamison Baptiste").
758
+ parent("Tosha Beltran", "Maria Baptiste").
759
+ parent("Tyson Woodson", "Carrol Woodson").
760
+ parent("Tyson Woodson", "Gayla Woodson").
761
+ parent("Vicki Hackworth", "Dino Beltran").
762
+ parent("Vicki Hackworth", "Shelli Beltran").
763
+ parent("Vincent Lutz", "Lesley Lutz").
764
+ parent("Vincent Lutz", "Noelia Lutz").
765
+ parent("Virgil Hackworth", "Ricardo Hackworth").
766
+ parent("Virgil Hackworth", "Vicki Hackworth").
767
+ parent("Von Sinclair", "Alec Sinclair").
768
+ parent("Von Sinclair", "Leeann Sinclair").
769
+ parent("Williams Smock", "Dominique Smock").
770
+ parent("Williams Smock", "Gene Smock").
771
+ parent("Wm Parmer", "Cortney Parmer").
772
+ parent("Wm Parmer", "Ulysses Parmer").
773
+
774
+ cousin(X, Y) :-
775
+ parent(X, A),
776
+ parent(Y, B),
777
+ sibling(A, B),
778
+ X\=Y.
779
+
780
+ uncle(X, Y) :-
781
+ parent(X, A),
782
+ brother(A, Y).
783
+
784
+ :- dynamic resource/3.
785
+ :- multifile resource/3.
786
+
787
+
788
+ :- thread_local thread_message_hook/3.
789
+ :- dynamic thread_message_hook/3.
790
+ :- volatile thread_message_hook/3.
791
+
792
+
793
+ aunt(X, Y) :-
794
+ parent(X, A),
795
+ sister(A, Y).
796
+
797
+ second_uncle(X, Y) :-
798
+ great_grandparent(X, A),
799
+ brother(A, Y).
800
+
801
+ :- dynamic gender/2.
802
+
803
+ gender("Aida Wang", "female").
804
+ gender("Alec Sinclair", "male").
805
+ gender("Alfredo Wang", "male").
806
+ gender("Alison Smock", "female").
807
+ gender("Alvaro Smock", "male").
808
+ gender("Alycia Coe", "female").
809
+ gender("Barabara Beltran", "female").
810
+ gender("Brian Beltran", "male").
811
+ gender("Carrol Woodson", "male").
812
+ gender("Christina Coe", "female").
813
+ gender("Christoper Coe", "male").
814
+ gender("Cortney Parmer", "female").
815
+ gender("Cythia Smock", "female").
816
+ gender("Daisy Beltran", "female").
817
+ gender("Dino Beltran", "male").
818
+ gender("Dominique Smock", "female").
819
+ gender("Dwight Hackworth", "male").
820
+ gender("Earle Coe", "male").
821
+ gender("Eli Smock", "male").
822
+ gender("Gayla Woodson", "female").
823
+ gender("Gene Smock", "male").
824
+ gender("Isiah Lutz", "male").
825
+ gender("Jamison Baptiste", "male").
826
+ gender("Kristen Toombs", "female").
827
+ gender("Lannie Smock", "female").
828
+ gender("Leeann Sinclair", "female").
829
+ gender("Leisa Lutz", "female").
830
+ gender("Lesley Lutz", "male").
831
+ gender("Lissa Coe", "female").
832
+ gender("Lonny Parmer", "male").
833
+ gender("Maria Baptiste", "female").
834
+ gender("Michelle Hackworth", "female").
835
+ gender("Noelia Lutz", "female").
836
+ gender("Orlando Beltran", "male").
837
+ gender("Reggie Coe", "male").
838
+ gender("Ricardo Hackworth", "male").
839
+ gender("Ryan Wang", "male").
840
+ gender("Shannon Beltran", "female").
841
+ gender("Shelli Beltran", "female").
842
+ gender("Stacia Toombs", "female").
843
+ gender("Tanner Beltran", "male").
844
+ gender("Tosha Beltran", "female").
845
+ gender("Tyson Woodson", "male").
846
+ gender("Ulysses Parmer", "male").
847
+ gender("Vicki Hackworth", "female").
848
+ gender("Vincent Lutz", "male").
849
+ gender("Virgil Hackworth", "male").
850
+ gender("Von Sinclair", "male").
851
+ gender("Wilbert Toombs", "male").
852
+ gender("Williams Smock", "male").
853
+ gender("Wm Parmer", "male").
854
+
855
+ second_aunt(X, Y) :-
856
+ great_grandparent(X, A),
857
+ sister(A, Y).
858
+
859
+ great_grandson(X, Y) :-
860
+ great_grandchild(X, Y),
861
+ male(Y).
862
+
863
+ :- dynamic pyrun/2.
864
+
865
+ pyrun(A, B) :-
866
+ read_term_from_atom(A, C, [variable_names(B)]),
867
+ call(C).
868
+
869
+ great_granddaughter(X, Y) :-
870
+ great_grandchild(X, Y),
871
+ female(Y).
872
+
873
+ :- dynamic resource/2.
874
+ :- multifile resource/2.
875
+
depth_20_size_50_seed_2/facts.txt ADDED
@@ -0,0 +1,870 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Abdul Felker", "birdwatching").
32
+ hobby("Adolph Barbee", "geography").
33
+ hobby("Alice Lance", "research").
34
+ hobby("Allie Barbee", "audiophile").
35
+ hobby("Allison Barbee", "knowledge/word games").
36
+ hobby("Alvin Lance", "geocaching").
37
+ hobby("Andres Barbee", "croquet").
38
+ hobby("Andrew Parkinson", "badminton").
39
+ hobby("Brooks George", "fossil hunting").
40
+ hobby("Clint Rahman", "rail transport modelling").
41
+ hobby("Colette Rahman", "jujitsu").
42
+ hobby("Courtney Parkinson", "beauty pageants").
43
+ hobby("Dalton Parkinson", "softball").
44
+ hobby("Dollie Barbee", "golfing").
45
+ hobby("Elicia Barbee", "inline skating").
46
+ hobby("Elyse Barbee", "radio-controlled model collecting").
47
+ hobby("Emma George", "videography").
48
+ hobby("Garth Kean", "butterfly watching").
49
+ hobby("Guadalupe Barbee", "learning").
50
+ hobby("Jenni Felker", "business").
51
+ hobby("Karolyn Lance", "curling").
52
+ hobby("Kelley Barbee", "magnet fishing").
53
+ hobby("Kenny Barbee", "pickleball").
54
+ hobby("Kirk Lo", "shuffleboard").
55
+ hobby("Konstantin Barbee", "geocaching").
56
+ hobby("Korey Kean", "trade fair visiting").
57
+ hobby("Krystle Barbee", "lapel pins").
58
+ hobby("Kurt Parkinson", "rock balancing").
59
+ hobby("Latosha Rahman", "breakdancing").
60
+ hobby("Leonila Parkinson", "audiophile").
61
+ hobby("Lesley Barbee", "dairy farming").
62
+ hobby("Lyndon Barbee", "research").
63
+ hobby("Marvin Hope", "mineral collecting").
64
+ hobby("Merrill Kean", "research").
65
+ hobby("Mitchel George", "mineral collecting").
66
+ hobby("Nettie Barbee", "learning").
67
+ hobby("Rocco Lance", "magnet fishing").
68
+ hobby("Rory George", "whale watching").
69
+ hobby("Royce Lo", "research").
70
+ hobby("Rudy Barbee", "fusilately").
71
+ hobby("Solomon Rahman", "shortwave listening").
72
+ hobby("Tracey Kean", "microscopy").
73
+ hobby("Twyla Parkinson", "life science").
74
+ hobby("Tyrone Parkinson", "meditation").
75
+ hobby("Wallace Ragland", "science and technology studies").
76
+ hobby("Walter Hope", "frisbee").
77
+ hobby("Wanda Lo", "satellite watching").
78
+ hobby("Wanita Hope", "chemistry").
79
+ hobby("Willie Parkinson", "ballet dancing").
80
+ hobby("Yasmin Ragland", "antiquities").
81
+
82
+ granddaughter(X, Y) :-
83
+ grandchild(X, Y),
84
+ female(Y).
85
+
86
+ grandson(X, Y) :-
87
+ grandchild(X, Y),
88
+ male(Y).
89
+
90
+ :- dynamic job/2.
91
+
92
+ job("Abdul Felker", "police officer").
93
+ job("Adolph Barbee", "community education officer").
94
+ job("Alice Lance", "herbalist").
95
+ job("Allie Barbee", "podiatrist").
96
+ job("Allison Barbee", "prison officer").
97
+ job("Alvin Lance", "animal technologist").
98
+ job("Andres Barbee", "leisure centre manager").
99
+ job("Andrew Parkinson", "speech and language therapist").
100
+ job("Brooks George", "dietitian").
101
+ job("Clint Rahman", "amenity horticulturist").
102
+ job("Colette Rahman", "theatre stage manager").
103
+ job("Courtney Parkinson", "hydrologist").
104
+ job("Dalton Parkinson", "learning mentor").
105
+ job("Dollie Barbee", "location manager").
106
+ job("Elicia Barbee", "chartered management accountant").
107
+ job("Elyse Barbee", "plant breeder").
108
+ job("Emma George", "advertising account executive").
109
+ job("Garth Kean", "tourism officer").
110
+ job("Guadalupe Barbee", "civil service fast streamer").
111
+ job("Jenni Felker", "designer").
112
+ job("Karolyn Lance", "development worker").
113
+ job("Kelley Barbee", "tourist information centre manager").
114
+ job("Kenny Barbee", "community education officer").
115
+ job("Kirk Lo", "farm manager").
116
+ job("Konstantin Barbee", "doctor").
117
+ job("Korey Kean", "newspaper journalist").
118
+ job("Krystle Barbee", "customer service manager").
119
+ job("Kurt Parkinson", "public house manager").
120
+ job("Latosha Rahman", "exercise physiologist").
121
+ job("Leonila Parkinson", "early years teacher").
122
+ job("Lesley Barbee", "chief executive officer").
123
+ job("Lyndon Barbee", "bookseller").
124
+ job("Marvin Hope", "physiotherapist").
125
+ job("Merrill Kean", "occupational hygienist").
126
+ job("Mitchel George", "advertising copywriter").
127
+ job("Nettie Barbee", "radiographer").
128
+ job("Rocco Lance", "mining engineer").
129
+ job("Rory George", "warden").
130
+ job("Royce Lo", "regulatory affairs officer").
131
+ job("Rudy Barbee", "location manager").
132
+ job("Solomon Rahman", "producer").
133
+ job("Tracey Kean", "teaching laboratory technician").
134
+ job("Twyla Parkinson", "orthoptist").
135
+ job("Tyrone Parkinson", "agricultural consultant").
136
+ job("Wallace Ragland", "quarry manager").
137
+ job("Walter Hope", "risk analyst").
138
+ job("Wanda Lo", "physiological scientist").
139
+ job("Wanita Hope", "equality and diversity officer").
140
+ job("Willie Parkinson", "firefighter").
141
+ job("Yasmin Ragland", "purchasing manager").
142
+
143
+ great_uncle(X, Y) :-
144
+ grandparent(X, A),
145
+ brother(A, Y).
146
+
147
+ :- dynamic save_all_clauses_to_file/1.
148
+
149
+ save_all_clauses_to_file(A) :-
150
+ open(A, write, B),
151
+ set_output(B),
152
+ listing,
153
+ close(B).
154
+
155
+ :- dynamic term_expansion/4.
156
+ :- multifile term_expansion/4.
157
+
158
+
159
+ grandchild(X, Y) :-
160
+ grandparent(Y, X).
161
+
162
+ :- dynamic dob/2.
163
+
164
+ dob("Abdul Felker", "0895-03-24").
165
+ dob("Adolph Barbee", "0980-08-29").
166
+ dob("Alice Lance", "0951-04-07").
167
+ dob("Allie Barbee", "0928-07-23").
168
+ dob("Allison Barbee", "1005-06-23").
169
+ dob("Alvin Lance", "0950-05-19").
170
+ dob("Andres Barbee", "0977-09-16").
171
+ dob("Andrew Parkinson", "0952-04-16").
172
+ dob("Brooks George", "1006-06-23").
173
+ dob("Clint Rahman", "0866-11-02").
174
+ dob("Colette Rahman", "0861-05-02").
175
+ dob("Courtney Parkinson", "0954-06-24").
176
+ dob("Dalton Parkinson", "0984-02-16").
177
+ dob("Dollie Barbee", "0975-03-08").
178
+ dob("Elicia Barbee", "1040-03-27").
179
+ dob("Elyse Barbee", "1033-12-12").
180
+ dob("Emma George", "0978-10-20").
181
+ dob("Garth Kean", "0954-09-11").
182
+ dob("Guadalupe Barbee", "0950-11-19").
183
+ dob("Jenni Felker", "0896-03-17").
184
+ dob("Karolyn Lance", "0924-11-06").
185
+ dob("Kelley Barbee", "0952-08-19").
186
+ dob("Kenny Barbee", "0953-06-18").
187
+ dob("Kirk Lo", "1091-03-24").
188
+ dob("Konstantin Barbee", "1007-05-04").
189
+ dob("Korey Kean", "0984-12-02").
190
+ dob("Krystle Barbee", "1008-12-24").
191
+ dob("Kurt Parkinson", "0924-12-27").
192
+ dob("Latosha Rahman", "0840-02-22").
193
+ dob("Leonila Parkinson", "0924-09-18").
194
+ dob("Lesley Barbee", "1067-06-07").
195
+ dob("Lyndon Barbee", "1036-01-09").
196
+ dob("Marvin Hope", "1013-11-28").
197
+ dob("Merrill Kean", "0981-09-04").
198
+ dob("Mitchel George", "1007-06-03").
199
+ dob("Nettie Barbee", "1032-05-15").
200
+ dob("Rocco Lance", "0924-02-03").
201
+ dob("Rory George", "0974-12-02").
202
+ dob("Royce Lo", "1059-07-07").
203
+ dob("Rudy Barbee", "0927-04-02").
204
+ dob("Solomon Rahman", "0837-10-06").
205
+ dob("Tracey Kean", "0956-03-15").
206
+ dob("Twyla Parkinson", "0949-02-16").
207
+ dob("Tyrone Parkinson", "0982-10-06").
208
+ dob("Wallace Ragland", "0951-01-09").
209
+ dob("Walter Hope", "0980-04-11").
210
+ dob("Wanda Lo", "1059-03-28").
211
+ dob("Wanita Hope", "0977-12-27").
212
+ dob("Willie Parkinson", "0954-09-22").
213
+ dob("Yasmin Ragland", "0952-10-08").
214
+
215
+ :- dynamic file_search_path/2.
216
+ :- multifile file_search_path/2.
217
+
218
+ file_search_path(library, Dir) :-
219
+ library_directory(Dir).
220
+ file_search_path(swi, A) :-
221
+ system:current_prolog_flag(home, A).
222
+ file_search_path(swi, A) :-
223
+ system:current_prolog_flag(shared_home, A).
224
+ file_search_path(library, app_config(lib)).
225
+ file_search_path(library, swi(library)).
226
+ file_search_path(library, swi(library/clp)).
227
+ file_search_path(library, A) :-
228
+ system:'$ext_library_directory'(A).
229
+ file_search_path(foreign, swi(A)) :-
230
+ system:
231
+ ( current_prolog_flag(apple_universal_binary, true),
232
+ A='lib/fat-darwin'
233
+ ).
234
+ file_search_path(path, A) :-
235
+ system:
236
+ ( getenv('PATH', B),
237
+ current_prolog_flag(path_sep, C),
238
+ atomic_list_concat(D, C, B),
239
+ '$member'(A, D)
240
+ ).
241
+ file_search_path(user_app_data, A) :-
242
+ system:'$xdg_prolog_directory'(data, A).
243
+ file_search_path(common_app_data, A) :-
244
+ system:'$xdg_prolog_directory'(common_data, A).
245
+ file_search_path(user_app_config, A) :-
246
+ system:'$xdg_prolog_directory'(config, A).
247
+ file_search_path(common_app_config, A) :-
248
+ system:'$xdg_prolog_directory'(common_config, A).
249
+ file_search_path(app_data, user_app_data('.')).
250
+ file_search_path(app_data, common_app_data('.')).
251
+ file_search_path(app_config, user_app_config('.')).
252
+ file_search_path(app_config, common_app_config('.')).
253
+ file_search_path(app_preferences, user_app_config('.')).
254
+ file_search_path(user_profile, app_preferences('.')).
255
+ file_search_path(app, swi(app)).
256
+ file_search_path(app, app_data(app)).
257
+ file_search_path(autoload, swi(library)).
258
+ file_search_path(autoload, pce(prolog/lib)).
259
+ file_search_path(autoload, app_config(lib)).
260
+ file_search_path(autoload, Dir) :-
261
+ '$autoload':'$ext_library_directory'(Dir).
262
+ file_search_path(pack, app_data(pack)).
263
+ file_search_path(library, PackLib) :-
264
+ '$pack':pack_dir(_Name, prolog, PackLib).
265
+ file_search_path(foreign, PackLib) :-
266
+ '$pack':pack_dir(_Name, foreign, PackLib).
267
+ file_search_path(app, AppDir) :-
268
+ '$pack':pack_dir(_Name, app, AppDir).
269
+
270
+ :- multifile prolog_list_goal/1.
271
+
272
+
273
+ :- dynamic type/2.
274
+
275
+ type("Abdul Felker", person).
276
+ type("Adolph Barbee", person).
277
+ type("Alice Lance", person).
278
+ type("Allie Barbee", person).
279
+ type("Allison Barbee", person).
280
+ type("Alvin Lance", person).
281
+ type("Andres Barbee", person).
282
+ type("Andrew Parkinson", person).
283
+ type("Brooks George", person).
284
+ type("Clint Rahman", person).
285
+ type("Colette Rahman", person).
286
+ type("Courtney Parkinson", person).
287
+ type("Dalton Parkinson", person).
288
+ type("Dollie Barbee", person).
289
+ type("Elicia Barbee", person).
290
+ type("Elyse Barbee", person).
291
+ type("Emma George", person).
292
+ type("Garth Kean", person).
293
+ type("Guadalupe Barbee", person).
294
+ type("Jenni Felker", person).
295
+ type("Karolyn Lance", person).
296
+ type("Kelley Barbee", person).
297
+ type("Kenny Barbee", person).
298
+ type("Kirk Lo", person).
299
+ type("Konstantin Barbee", person).
300
+ type("Korey Kean", person).
301
+ type("Krystle Barbee", person).
302
+ type("Kurt Parkinson", person).
303
+ type("Latosha Rahman", person).
304
+ type("Leonila Parkinson", person).
305
+ type("Lesley Barbee", person).
306
+ type("Lyndon Barbee", person).
307
+ type("Marvin Hope", person).
308
+ type("Merrill Kean", person).
309
+ type("Mitchel George", person).
310
+ type("Nettie Barbee", person).
311
+ type("Rocco Lance", person).
312
+ type("Rory George", person).
313
+ type("Royce Lo", person).
314
+ type("Rudy Barbee", person).
315
+ type("Solomon Rahman", person).
316
+ type("Tracey Kean", person).
317
+ type("Twyla Parkinson", person).
318
+ type("Tyrone Parkinson", person).
319
+ type("Wallace Ragland", person).
320
+ type("Walter Hope", person).
321
+ type("Wanda Lo", person).
322
+ type("Wanita Hope", person).
323
+ type("Willie Parkinson", person).
324
+ type("Yasmin Ragland", person).
325
+
326
+ grandfather(X, Y) :-
327
+ grandparent(X, Y),
328
+ male(Y).
329
+
330
+ :- dynamic expand_query/4.
331
+ :- multifile expand_query/4.
332
+
333
+
334
+ :- dynamic attribute/1.
335
+
336
+ attribute("police officer").
337
+ attribute("birdwatching").
338
+ attribute("community education officer").
339
+ attribute("geography").
340
+ attribute("herbalist").
341
+ attribute("research").
342
+ attribute("podiatrist").
343
+ attribute("audiophile").
344
+ attribute("prison officer").
345
+ attribute("knowledge/word games").
346
+ attribute("animal technologist").
347
+ attribute("geocaching").
348
+ attribute("leisure centre manager").
349
+ attribute("croquet").
350
+ attribute("speech and language therapist").
351
+ attribute("badminton").
352
+ attribute("dietitian").
353
+ attribute("fossil hunting").
354
+ attribute("amenity horticulturist").
355
+ attribute("rail transport modelling").
356
+ attribute("theatre stage manager").
357
+ attribute("jujitsu").
358
+ attribute("hydrologist").
359
+ attribute("beauty pageants").
360
+ attribute("learning mentor").
361
+ attribute("softball").
362
+ attribute("location manager").
363
+ attribute("golfing").
364
+ attribute("chartered management accountant").
365
+ attribute("inline skating").
366
+ attribute("plant breeder").
367
+ attribute("radio-controlled model collecting").
368
+ attribute("advertising account executive").
369
+ attribute("videography").
370
+ attribute("tourism officer").
371
+ attribute("butterfly watching").
372
+ attribute("civil service fast streamer").
373
+ attribute("learning").
374
+ attribute("designer").
375
+ attribute("business").
376
+ attribute("development worker").
377
+ attribute("curling").
378
+ attribute("tourist information centre manager").
379
+ attribute("magnet fishing").
380
+ attribute("community education officer").
381
+ attribute("pickleball").
382
+ attribute("farm manager").
383
+ attribute("shuffleboard").
384
+ attribute("doctor").
385
+ attribute("geocaching").
386
+ attribute("newspaper journalist").
387
+ attribute("trade fair visiting").
388
+ attribute("customer service manager").
389
+ attribute("lapel pins").
390
+ attribute("public house manager").
391
+ attribute("rock balancing").
392
+ attribute("exercise physiologist").
393
+ attribute("breakdancing").
394
+ attribute("early years teacher").
395
+ attribute("audiophile").
396
+ attribute("chief executive officer").
397
+ attribute("dairy farming").
398
+ attribute("bookseller").
399
+ attribute("research").
400
+ attribute("physiotherapist").
401
+ attribute("mineral collecting").
402
+ attribute("occupational hygienist").
403
+ attribute("research").
404
+ attribute("advertising copywriter").
405
+ attribute("mineral collecting").
406
+ attribute("radiographer").
407
+ attribute("learning").
408
+ attribute("mining engineer").
409
+ attribute("magnet fishing").
410
+ attribute("warden").
411
+ attribute("whale watching").
412
+ attribute("regulatory affairs officer").
413
+ attribute("research").
414
+ attribute("location manager").
415
+ attribute("fusilately").
416
+ attribute("producer").
417
+ attribute("shortwave listening").
418
+ attribute("teaching laboratory technician").
419
+ attribute("microscopy").
420
+ attribute("orthoptist").
421
+ attribute("life science").
422
+ attribute("agricultural consultant").
423
+ attribute("meditation").
424
+ attribute("quarry manager").
425
+ attribute("science and technology studies").
426
+ attribute("risk analyst").
427
+ attribute("frisbee").
428
+ attribute("physiological scientist").
429
+ attribute("satellite watching").
430
+ attribute("equality and diversity officer").
431
+ attribute("chemistry").
432
+ attribute("firefighter").
433
+ attribute("ballet dancing").
434
+ attribute("purchasing manager").
435
+ attribute("antiquities").
436
+
437
+ great_aunt(X, Y) :-
438
+ grandparent(X, A),
439
+ sister(A, Y).
440
+
441
+ grandparent(X, Y) :-
442
+ parent(X, Z),
443
+ parent(Z, Y).
444
+
445
+ grandmother(X, Y) :-
446
+ grandparent(X, Y),
447
+ female(Y).
448
+
449
+ :- dynamic friend_/2.
450
+
451
+ friend_("Abdul Felker", "Jenni Felker").
452
+ friend_("Abdul Felker", "Latosha Rahman").
453
+ friend_("Abdul Felker", "Rory George").
454
+ friend_("Abdul Felker", "Rudy Barbee").
455
+ friend_("Abdul Felker", "Tyrone Parkinson").
456
+ friend_("Adolph Barbee", "Alice Lance").
457
+ friend_("Adolph Barbee", "Kenny Barbee").
458
+ friend_("Adolph Barbee", "Wallace Ragland").
459
+ friend_("Alice Lance", "Courtney Parkinson").
460
+ friend_("Alice Lance", "Lesley Barbee").
461
+ friend_("Allie Barbee", "Konstantin Barbee").
462
+ friend_("Alvin Lance", "Brooks George").
463
+ friend_("Alvin Lance", "Karolyn Lance").
464
+ friend_("Alvin Lance", "Rocco Lance").
465
+ friend_("Alvin Lance", "Tyrone Parkinson").
466
+ friend_("Alvin Lance", "Wanita Hope").
467
+ friend_("Andres Barbee", "Dollie Barbee").
468
+ friend_("Andres Barbee", "Karolyn Lance").
469
+ friend_("Andres Barbee", "Lesley Barbee").
470
+ friend_("Andres Barbee", "Marvin Hope").
471
+ friend_("Andres Barbee", "Wanita Hope").
472
+ friend_("Andrew Parkinson", "Courtney Parkinson").
473
+ friend_("Andrew Parkinson", "Krystle Barbee").
474
+ friend_("Andrew Parkinson", "Wanita Hope").
475
+ friend_("Brooks George", "Dalton Parkinson").
476
+ friend_("Brooks George", "Emma George").
477
+ friend_("Brooks George", "Guadalupe Barbee").
478
+ friend_("Brooks George", "Latosha Rahman").
479
+ friend_("Brooks George", "Nettie Barbee").
480
+ friend_("Brooks George", "Rocco Lance").
481
+ friend_("Brooks George", "Solomon Rahman").
482
+ friend_("Clint Rahman", "Leonila Parkinson").
483
+ friend_("Clint Rahman", "Walter Hope").
484
+ friend_("Colette Rahman", "Emma George").
485
+ friend_("Courtney Parkinson", "Elicia Barbee").
486
+ friend_("Courtney Parkinson", "Emma George").
487
+ friend_("Dalton Parkinson", "Latosha Rahman").
488
+ friend_("Elicia Barbee", "Solomon Rahman").
489
+ friend_("Elicia Barbee", "Twyla Parkinson").
490
+ friend_("Elicia Barbee", "Wallace Ragland").
491
+ friend_("Elicia Barbee", "Yasmin Ragland").
492
+ friend_("Elyse Barbee", "Rocco Lance").
493
+ friend_("Emma George", "Karolyn Lance").
494
+ friend_("Emma George", "Lesley Barbee").
495
+ friend_("Garth Kean", "Kelley Barbee").
496
+ friend_("Garth Kean", "Korey Kean").
497
+ friend_("Garth Kean", "Walter Hope").
498
+ friend_("Guadalupe Barbee", "Korey Kean").
499
+ friend_("Jenni Felker", "Korey Kean").
500
+ friend_("Jenni Felker", "Wanda Lo").
501
+ friend_("Kelley Barbee", "Latosha Rahman").
502
+ friend_("Kelley Barbee", "Leonila Parkinson").
503
+ friend_("Kelley Barbee", "Rory George").
504
+ friend_("Kenny Barbee", "Latosha Rahman").
505
+ friend_("Kenny Barbee", "Lesley Barbee").
506
+ friend_("Kirk Lo", "Lesley Barbee").
507
+ friend_("Kirk Lo", "Lyndon Barbee").
508
+ friend_("Kirk Lo", "Marvin Hope").
509
+ friend_("Kirk Lo", "Yasmin Ragland").
510
+ friend_("Konstantin Barbee", "Tracey Kean").
511
+ friend_("Krystle Barbee", "Leonila Parkinson").
512
+ friend_("Krystle Barbee", "Twyla Parkinson").
513
+ friend_("Kurt Parkinson", "Latosha Rahman").
514
+ friend_("Kurt Parkinson", "Marvin Hope").
515
+ friend_("Kurt Parkinson", "Walter Hope").
516
+ friend_("Kurt Parkinson", "Wanita Hope").
517
+ friend_("Kurt Parkinson", "Yasmin Ragland").
518
+ friend_("Leonila Parkinson", "Royce Lo").
519
+ friend_("Leonila Parkinson", "Rudy Barbee").
520
+ friend_("Leonila Parkinson", "Solomon Rahman").
521
+ friend_("Lyndon Barbee", "Tyrone Parkinson").
522
+ friend_("Lyndon Barbee", "Wanda Lo").
523
+ friend_("Mitchel George", "Wallace Ragland").
524
+ friend_("Rudy Barbee", "Walter Hope").
525
+ friend_("Rudy Barbee", "Yasmin Ragland").
526
+ friend_("Solomon Rahman", "Tyrone Parkinson").
527
+ friend_("Solomon Rahman", "Wanda Lo").
528
+ friend_("Tracey Kean", "Twyla Parkinson").
529
+ friend_("Wanita Hope", "Willie Parkinson").
530
+
531
+ friend(X, Y) :-
532
+ friend_(X, Y).
533
+ friend(X, Y) :-
534
+ friend_(Y, X).
535
+
536
+ niece(X, Y) :-
537
+ sibling(X, A),
538
+ daughter(A, Y).
539
+
540
+ nephew(X, Y) :-
541
+ sibling(X, A),
542
+ son(A, Y).
543
+
544
+ brother_in_law(X, Y) :-
545
+ married(X, A),
546
+ brother(A, Y).
547
+
548
+ :- multifile message_property/2.
549
+
550
+
551
+ sister_in_law(X, Y) :-
552
+ married(X, A),
553
+ sister(A, Y).
554
+
555
+ wife(X, Y) :-
556
+ married(X, Y),
557
+ female(Y).
558
+
559
+ husband(X, Y) :-
560
+ married(X, Y),
561
+ male(Y).
562
+
563
+ daughter_in_law(X, Y) :-
564
+ child(X, A),
565
+ wife(A, Y).
566
+
567
+ son_in_law(X, Y) :-
568
+ child(X, A),
569
+ husband(A, Y).
570
+
571
+ son(X, Y) :-
572
+ child(X, Y),
573
+ male(Y).
574
+
575
+ female(X) :-
576
+ gender(X, "female").
577
+
578
+ daughter(X, Y) :-
579
+ child(X, Y),
580
+ female(Y).
581
+
582
+ father_in_law(X, Y) :-
583
+ married(X, A),
584
+ father(A, Y).
585
+
586
+ mother_in_law(X, Y) :-
587
+ married(X, A),
588
+ mother(A, Y).
589
+
590
+ father(X, Y) :-
591
+ parent(X, Y),
592
+ male(Y).
593
+
594
+ :- multifile prolog_predicate_name/2.
595
+
596
+
597
+ child(X, Y) :-
598
+ parent(Y, X).
599
+
600
+ male_first_cousin_once_removed(X, Y) :-
601
+ cousin(X, A),
602
+ son(A, Y),
603
+ X\=Y.
604
+
605
+ :- multifile prolog_clause_name/2.
606
+
607
+
608
+ :- dynamic expand_answer/2.
609
+ :- multifile expand_answer/2.
610
+
611
+
612
+ :- dynamic exception/3.
613
+ :- multifile exception/3.
614
+
615
+
616
+ female_first_cousin_once_removed(X, Y) :-
617
+ cousin(X, A),
618
+ daughter(A, Y),
619
+ X\=Y.
620
+
621
+ brother(X, Y) :-
622
+ sibling(X, Y),
623
+ male(Y).
624
+
625
+ mother(X, Y) :-
626
+ parent(X, Y),
627
+ female(Y).
628
+
629
+ male_second_cousin(X, Y) :-
630
+ parent(X, A),
631
+ parent(Y, B),
632
+ cousin(A, B),
633
+ male(Y),
634
+ X\=Y.
635
+
636
+ :- dynamic message_hook/3.
637
+ :- multifile message_hook/3.
638
+
639
+
640
+ female_second_cousin(X, Y) :-
641
+ parent(X, A),
642
+ parent(Y, B),
643
+ cousin(A, B),
644
+ female(Y),
645
+ X\=Y.
646
+
647
+ married(X, Y) :-
648
+ parent(Child, X),
649
+ parent(Child, Y),
650
+ X\=Y.
651
+
652
+ male(X) :-
653
+ gender(X, "male").
654
+
655
+ :- dynamic prolog_file_type/2.
656
+ :- multifile prolog_file_type/2.
657
+
658
+ prolog_file_type(pl, prolog).
659
+ prolog_file_type(prolog, prolog).
660
+ prolog_file_type(qlf, prolog).
661
+ prolog_file_type(qlf, qlf).
662
+ prolog_file_type(A, executable) :-
663
+ system:current_prolog_flag(shared_object_extension, A).
664
+ prolog_file_type(dylib, executable) :-
665
+ system:current_prolog_flag(apple, true).
666
+
667
+ sister(X, Y) :-
668
+ sibling(X, Y),
669
+ female(Y).
670
+
671
+ male_cousin(X, Y) :-
672
+ cousin(X, Y),
673
+ male(Y).
674
+
675
+ :- dynamic nonbinary/1.
676
+
677
+ nonbinary(X) :-
678
+ gender(X, "nonbinary").
679
+
680
+ female_cousin(X, Y) :-
681
+ cousin(X, Y),
682
+ female(Y).
683
+
684
+ sibling(X, Y) :-
685
+ parent(X, A),
686
+ parent(Y, A),
687
+ X\=Y.
688
+
689
+ :- dynamic portray/1.
690
+ :- multifile portray/1.
691
+
692
+
693
+ :- dynamic prolog_load_file/2.
694
+ :- multifile prolog_load_file/2.
695
+
696
+
697
+ :- dynamic goal_expansion/2.
698
+ :- multifile goal_expansion/2.
699
+
700
+
701
+ :- dynamic parent/2.
702
+
703
+ parent("Adolph Barbee", "Kelley Barbee").
704
+ parent("Adolph Barbee", "Kenny Barbee").
705
+ parent("Alice Lance", "Karolyn Lance").
706
+ parent("Alice Lance", "Rocco Lance").
707
+ parent("Allison Barbee", "Andres Barbee").
708
+ parent("Allison Barbee", "Dollie Barbee").
709
+ parent("Alvin Lance", "Karolyn Lance").
710
+ parent("Alvin Lance", "Rocco Lance").
711
+ parent("Andres Barbee", "Kelley Barbee").
712
+ parent("Andres Barbee", "Kenny Barbee").
713
+ parent("Andrew Parkinson", "Kurt Parkinson").
714
+ parent("Andrew Parkinson", "Leonila Parkinson").
715
+ parent("Brooks George", "Emma George").
716
+ parent("Brooks George", "Rory George").
717
+ parent("Clint Rahman", "Latosha Rahman").
718
+ parent("Clint Rahman", "Solomon Rahman").
719
+ parent("Courtney Parkinson", "Karolyn Lance").
720
+ parent("Courtney Parkinson", "Rocco Lance").
721
+ parent("Dalton Parkinson", "Courtney Parkinson").
722
+ parent("Dalton Parkinson", "Willie Parkinson").
723
+ parent("Dollie Barbee", "Wallace Ragland").
724
+ parent("Dollie Barbee", "Yasmin Ragland").
725
+ parent("Elicia Barbee", "Konstantin Barbee").
726
+ parent("Elicia Barbee", "Krystle Barbee").
727
+ parent("Emma George", "Courtney Parkinson").
728
+ parent("Emma George", "Willie Parkinson").
729
+ parent("Guadalupe Barbee", "Allie Barbee").
730
+ parent("Guadalupe Barbee", "Rudy Barbee").
731
+ parent("Jenni Felker", "Clint Rahman").
732
+ parent("Jenni Felker", "Colette Rahman").
733
+ parent("Karolyn Lance", "Abdul Felker").
734
+ parent("Karolyn Lance", "Jenni Felker").
735
+ parent("Kelley Barbee", "Karolyn Lance").
736
+ parent("Kelley Barbee", "Rocco Lance").
737
+ parent("Kenny Barbee", "Allie Barbee").
738
+ parent("Kenny Barbee", "Rudy Barbee").
739
+ parent("Kirk Lo", "Royce Lo").
740
+ parent("Kirk Lo", "Wanda Lo").
741
+ parent("Konstantin Barbee", "Andres Barbee").
742
+ parent("Konstantin Barbee", "Dollie Barbee").
743
+ parent("Korey Kean", "Garth Kean").
744
+ parent("Korey Kean", "Tracey Kean").
745
+ parent("Krystle Barbee", "Walter Hope").
746
+ parent("Krystle Barbee", "Wanita Hope").
747
+ parent("Lesley Barbee", "Elyse Barbee").
748
+ parent("Lesley Barbee", "Lyndon Barbee").
749
+ parent("Lyndon Barbee", "Konstantin Barbee").
750
+ parent("Lyndon Barbee", "Krystle Barbee").
751
+ parent("Marvin Hope", "Walter Hope").
752
+ parent("Marvin Hope", "Wanita Hope").
753
+ parent("Merrill Kean", "Garth Kean").
754
+ parent("Merrill Kean", "Tracey Kean").
755
+ parent("Mitchel George", "Emma George").
756
+ parent("Mitchel George", "Rory George").
757
+ parent("Nettie Barbee", "Konstantin Barbee").
758
+ parent("Nettie Barbee", "Krystle Barbee").
759
+ parent("Tracey Kean", "Karolyn Lance").
760
+ parent("Tracey Kean", "Rocco Lance").
761
+ parent("Twyla Parkinson", "Kurt Parkinson").
762
+ parent("Twyla Parkinson", "Leonila Parkinson").
763
+ parent("Tyrone Parkinson", "Courtney Parkinson").
764
+ parent("Tyrone Parkinson", "Willie Parkinson").
765
+ parent("Wanda Lo", "Elyse Barbee").
766
+ parent("Wanda Lo", "Lyndon Barbee").
767
+ parent("Willie Parkinson", "Kurt Parkinson").
768
+ parent("Willie Parkinson", "Leonila Parkinson").
769
+
770
+ cousin(X, Y) :-
771
+ parent(X, A),
772
+ parent(Y, B),
773
+ sibling(A, B),
774
+ X\=Y.
775
+
776
+ uncle(X, Y) :-
777
+ parent(X, A),
778
+ brother(A, Y).
779
+
780
+ :- dynamic resource/3.
781
+ :- multifile resource/3.
782
+
783
+
784
+ :- thread_local thread_message_hook/3.
785
+ :- dynamic thread_message_hook/3.
786
+ :- volatile thread_message_hook/3.
787
+
788
+
789
+ aunt(X, Y) :-
790
+ parent(X, A),
791
+ sister(A, Y).
792
+
793
+ second_uncle(X, Y) :-
794
+ great_grandparent(X, A),
795
+ brother(A, Y).
796
+
797
+ :- dynamic gender/2.
798
+
799
+ gender("Abdul Felker", "male").
800
+ gender("Adolph Barbee", "male").
801
+ gender("Alice Lance", "female").
802
+ gender("Allie Barbee", "female").
803
+ gender("Allison Barbee", "female").
804
+ gender("Alvin Lance", "male").
805
+ gender("Andres Barbee", "male").
806
+ gender("Andrew Parkinson", "male").
807
+ gender("Brooks George", "male").
808
+ gender("Clint Rahman", "male").
809
+ gender("Colette Rahman", "female").
810
+ gender("Courtney Parkinson", "female").
811
+ gender("Dalton Parkinson", "male").
812
+ gender("Dollie Barbee", "female").
813
+ gender("Elicia Barbee", "female").
814
+ gender("Elyse Barbee", "female").
815
+ gender("Emma George", "female").
816
+ gender("Garth Kean", "male").
817
+ gender("Guadalupe Barbee", "male").
818
+ gender("Jenni Felker", "female").
819
+ gender("Karolyn Lance", "female").
820
+ gender("Kelley Barbee", "female").
821
+ gender("Kenny Barbee", "male").
822
+ gender("Kirk Lo", "male").
823
+ gender("Konstantin Barbee", "male").
824
+ gender("Korey Kean", "male").
825
+ gender("Krystle Barbee", "female").
826
+ gender("Kurt Parkinson", "male").
827
+ gender("Latosha Rahman", "female").
828
+ gender("Leonila Parkinson", "female").
829
+ gender("Lesley Barbee", "male").
830
+ gender("Lyndon Barbee", "male").
831
+ gender("Marvin Hope", "male").
832
+ gender("Merrill Kean", "male").
833
+ gender("Mitchel George", "male").
834
+ gender("Nettie Barbee", "female").
835
+ gender("Rocco Lance", "male").
836
+ gender("Rory George", "male").
837
+ gender("Royce Lo", "male").
838
+ gender("Rudy Barbee", "male").
839
+ gender("Solomon Rahman", "male").
840
+ gender("Tracey Kean", "female").
841
+ gender("Twyla Parkinson", "female").
842
+ gender("Tyrone Parkinson", "male").
843
+ gender("Wallace Ragland", "male").
844
+ gender("Walter Hope", "male").
845
+ gender("Wanda Lo", "female").
846
+ gender("Wanita Hope", "female").
847
+ gender("Willie Parkinson", "male").
848
+ gender("Yasmin Ragland", "female").
849
+
850
+ second_aunt(X, Y) :-
851
+ great_grandparent(X, A),
852
+ sister(A, Y).
853
+
854
+ great_grandson(X, Y) :-
855
+ great_grandchild(X, Y),
856
+ male(Y).
857
+
858
+ :- dynamic pyrun/2.
859
+
860
+ pyrun(A, B) :-
861
+ read_term_from_atom(A, C, [variable_names(B)]),
862
+ call(C).
863
+
864
+ great_granddaughter(X, Y) :-
865
+ great_grandchild(X, Y),
866
+ female(Y).
867
+
868
+ :- dynamic resource/2.
869
+ :- multifile resource/2.
870
+
depth_20_size_50_seed_3/facts.txt ADDED
@@ -0,0 +1,877 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ :- dynamic term_expansion/2.
3
+ :- multifile term_expansion/2.
4
+
5
+
6
+ great_grandfather(X, Y) :-
7
+ great_grandparent(X, Y),
8
+ male(Y).
9
+
10
+ great_grandchild(X, Y) :-
11
+ great_grandparent(Y, X).
12
+
13
+ great_grandparent(X, Y) :-
14
+ grandparent(X, Z),
15
+ parent(Z, Y).
16
+
17
+ :- dynamic library_directory/1.
18
+ :- multifile library_directory/1.
19
+
20
+
21
+ great_grandmother(X, Y) :-
22
+ great_grandparent(X, Y),
23
+ female(Y).
24
+
25
+ :- dynamic goal_expansion/4.
26
+ :- multifile goal_expansion/4.
27
+
28
+
29
+ :- dynamic hobby/2.
30
+
31
+ hobby("Alethia Kidd", "amateur astronomy").
32
+ hobby("Alexis Kingsley", "crystals").
33
+ hobby("Ana Colin", "stamp collecting").
34
+ hobby("Antionette Song", "trainspotting").
35
+ hobby("Byron Song", "animation").
36
+ hobby("Carlos Baptiste", "esports").
37
+ hobby("Damon Song", "magnet fishing").
38
+ hobby("Danilo Colin", "billiards").
39
+ hobby("Deirdre Bivins", "iceboat racing").
40
+ hobby("Eddie Song", "aerospace").
41
+ hobby("Elisabeth Kingsley", "learning").
42
+ hobby("Felton Kidd", "meteorology").
43
+ hobby("Freda Song", "learning").
44
+ hobby("Gene Song", "trapshooting").
45
+ hobby("Genesis Colin", "shoes").
46
+ hobby("Geneva Song", "meteorology").
47
+ hobby("Gilbert Summerlin", "birdwatching").
48
+ hobby("Hannah Bivins", "mahjong").
49
+ hobby("Hyun Song", "horseback riding").
50
+ hobby("Idell Kidd", "birdwatching").
51
+ hobby("Isidro Kidd", "air sports").
52
+ hobby("Jamal Song", "publishing").
53
+ hobby("Jeana Song", "fossicking").
54
+ hobby("Jesse Kiel", "dolls").
55
+ hobby("Jolene Song", "web design").
56
+ hobby("Lance Kiel", "tourism").
57
+ hobby("Lester Bivins", "lapel pins").
58
+ hobby("Lynda Colin", "slot car").
59
+ hobby("Madaline Song", "audiophile").
60
+ hobby("Matilda Summerlin", "model united nations").
61
+ hobby("Maynard Song", "insect collecting").
62
+ hobby("Mckinley Colin", "baking").
63
+ hobby("Meghann Kidd", "mineral collecting").
64
+ hobby("Melvin Kidd", "stone collecting").
65
+ hobby("Nathaniel Song", "dandyism").
66
+ hobby("Nikki Kidd", "mineral collecting").
67
+ hobby("Nina Song", "digital hoarding").
68
+ hobby("Noreen Kingsley", "reading").
69
+ hobby("Ramona Colin", "pinball").
70
+ hobby("Romelia Song", "dog sport").
71
+ hobby("Seymour Song", "research").
72
+ hobby("Shelly Reece", "butterfly watching").
73
+ hobby("Sol Song", "research").
74
+ hobby("Stephan Kidd", "stamp collecting").
75
+ hobby("Tawana Summerlin", "jogging").
76
+ hobby("Thomasine Kidd", "rowing").
77
+ hobby("Tod Song", "sport stacking").
78
+ hobby("Twila Baptiste", "audiophile").
79
+ hobby("Winfred Baptiste", "seashell collecting").
80
+ hobby("Wyatt Reece", "skateboarding").
81
+ hobby("Yvette Song", "lomography").
82
+
83
+ granddaughter(X, Y) :-
84
+ grandchild(X, Y),
85
+ female(Y).
86
+
87
+ grandson(X, Y) :-
88
+ grandchild(X, Y),
89
+ male(Y).
90
+
91
+ :- dynamic job/2.
92
+
93
+ job("Alethia Kidd", "academic librarian").
94
+ job("Alexis Kingsley", "clinical research associate").
95
+ job("Ana Colin", "museum curator").
96
+ job("Antionette Song", "technical sales engineer").
97
+ job("Byron Song", "advertising account planner").
98
+ job("Carlos Baptiste", "toxicologist").
99
+ job("Damon Song", "education administrator").
100
+ job("Danilo Colin", "colour technologist").
101
+ job("Deirdre Bivins", "regulatory affairs officer").
102
+ job("Eddie Song", "gaffer").
103
+ job("Elisabeth Kingsley", "producer").
104
+ job("Felton Kidd", "newspaper journalist").
105
+ job("Freda Song", "social researcher").
106
+ job("Gene Song", "learning disability nurse").
107
+ job("Genesis Colin", "interior and spatial designer").
108
+ job("Geneva Song", "pharmacologist").
109
+ job("Gilbert Summerlin", "investment banker").
110
+ job("Hannah Bivins", "biomedical engineer").
111
+ job("Hyun Song", "marketing executive").
112
+ job("Idell Kidd", "chartered legal executive").
113
+ job("Isidro Kidd", "public relations officer").
114
+ job("Jamal Song", "nutritional therapist").
115
+ job("Jeana Song", "psychotherapist").
116
+ job("Jesse Kiel", "production designer").
117
+ job("Jolene Song", "phytotherapist").
118
+ job("Lance Kiel", "training and development officer").
119
+ job("Lester Bivins", "electronics engineer").
120
+ job("Lynda Colin", "contracting civil engineer").
121
+ job("Madaline Song", "air traffic controller").
122
+ job("Matilda Summerlin", "airline pilot").
123
+ job("Maynard Song", "IT consultant").
124
+ job("Mckinley Colin", "geophysical data processor").
125
+ job("Meghann Kidd", "careers information officer").
126
+ job("Melvin Kidd", "applications developer").
127
+ job("Nathaniel Song", "architectural technologist").
128
+ job("Nikki Kidd", "horticultural therapist").
129
+ job("Nina Song", "theme park manager").
130
+ job("Noreen Kingsley", "animal nutritionist").
131
+ job("Ramona Colin", "education administrator").
132
+ job("Romelia Song", "community development worker").
133
+ job("Seymour Song", "ophthalmologist").
134
+ job("Shelly Reece", "lobbyist").
135
+ job("Sol Song", "telecommunications researcher").
136
+ job("Stephan Kidd", "social worker").
137
+ job("Tawana Summerlin", "exercise physiologist").
138
+ job("Thomasine Kidd", "senior tax professional").
139
+ job("Tod Song", "environmental consultant").
140
+ job("Twila Baptiste", "soil scientist").
141
+ job("Winfred Baptiste", "interpreter").
142
+ job("Wyatt Reece", "professor emeritus").
143
+ job("Yvette Song", "archivist").
144
+
145
+ great_uncle(X, Y) :-
146
+ grandparent(X, A),
147
+ brother(A, Y).
148
+
149
+ :- dynamic save_all_clauses_to_file/1.
150
+
151
+ save_all_clauses_to_file(A) :-
152
+ open(A, write, B),
153
+ set_output(B),
154
+ listing,
155
+ close(B).
156
+
157
+ :- dynamic term_expansion/4.
158
+ :- multifile term_expansion/4.
159
+
160
+
161
+ grandchild(X, Y) :-
162
+ grandparent(Y, X).
163
+
164
+ :- dynamic dob/2.
165
+
166
+ dob("Alethia Kidd", "0873-07-19").
167
+ dob("Alexis Kingsley", "1041-10-02").
168
+ dob("Ana Colin", "0935-04-16").
169
+ dob("Antionette Song", "0991-05-04").
170
+ dob("Byron Song", "0908-09-14").
171
+ dob("Carlos Baptiste", "1044-12-31").
172
+ dob("Damon Song", "1021-10-02").
173
+ dob("Danilo Colin", "0909-08-09").
174
+ dob("Deirdre Bivins", "1021-12-21").
175
+ dob("Eddie Song", "0935-01-05").
176
+ dob("Elisabeth Kingsley", "1073-05-19").
177
+ dob("Felton Kidd", "0874-01-26").
178
+ dob("Freda Song", "0961-03-14").
179
+ dob("Gene Song", "1016-07-28").
180
+ dob("Genesis Colin", "0935-10-02").
181
+ dob("Geneva Song", "1017-08-26").
182
+ dob("Gilbert Summerlin", "0875-11-11").
183
+ dob("Hannah Bivins", "0991-10-05").
184
+ dob("Hyun Song", "0908-01-20").
185
+ dob("Idell Kidd", "0882-10-19").
186
+ dob("Isidro Kidd", "0900-05-25").
187
+ dob("Jamal Song", "0961-07-23").
188
+ dob("Jeana Song", "0965-11-11").
189
+ dob("Jesse Kiel", "0878-11-05").
190
+ dob("Jolene Song", "1015-01-07").
191
+ dob("Lance Kiel", "0879-03-08").
192
+ dob("Lester Bivins", "0991-03-23").
193
+ dob("Lynda Colin", "0941-08-16").
194
+ dob("Madaline Song", "0959-12-18").
195
+ dob("Matilda Summerlin", "0874-08-12").
196
+ dob("Maynard Song", "1023-05-28").
197
+ dob("Mckinley Colin", "0936-10-18").
198
+ dob("Meghann Kidd", "0929-12-23").
199
+ dob("Melvin Kidd", "0905-06-22").
200
+ dob("Nathaniel Song", "0985-07-27").
201
+ dob("Nikki Kidd", "0903-01-28").
202
+ dob("Nina Song", "0936-08-07").
203
+ dob("Noreen Kingsley", "1042-12-18").
204
+ dob("Ramona Colin", "0909-09-08").
205
+ dob("Romelia Song", "1020-12-02").
206
+ dob("Seymour Song", "0964-05-16").
207
+ dob("Shelly Reece", "0985-04-02").
208
+ dob("Sol Song", "0993-10-31").
209
+ dob("Stephan Kidd", "0852-06-22").
210
+ dob("Tawana Summerlin", "0904-08-01").
211
+ dob("Thomasine Kidd", "0854-04-15").
212
+ dob("Tod Song", "0993-10-31").
213
+ dob("Twila Baptiste", "1018-11-12").
214
+ dob("Winfred Baptiste", "1014-09-07").
215
+ dob("Wyatt Reece", "0983-05-04").
216
+ dob("Yvette Song", "0962-11-01").
217
+
218
+ :- dynamic file_search_path/2.
219
+ :- multifile file_search_path/2.
220
+
221
+ file_search_path(library, Dir) :-
222
+ library_directory(Dir).
223
+ file_search_path(swi, A) :-
224
+ system:current_prolog_flag(home, A).
225
+ file_search_path(swi, A) :-
226
+ system:current_prolog_flag(shared_home, A).
227
+ file_search_path(library, app_config(lib)).
228
+ file_search_path(library, swi(library)).
229
+ file_search_path(library, swi(library/clp)).
230
+ file_search_path(library, A) :-
231
+ system:'$ext_library_directory'(A).
232
+ file_search_path(foreign, swi(A)) :-
233
+ system:
234
+ ( current_prolog_flag(apple_universal_binary, true),
235
+ A='lib/fat-darwin'
236
+ ).
237
+ file_search_path(path, A) :-
238
+ system:
239
+ ( getenv('PATH', B),
240
+ current_prolog_flag(path_sep, C),
241
+ atomic_list_concat(D, C, B),
242
+ '$member'(A, D)
243
+ ).
244
+ file_search_path(user_app_data, A) :-
245
+ system:'$xdg_prolog_directory'(data, A).
246
+ file_search_path(common_app_data, A) :-
247
+ system:'$xdg_prolog_directory'(common_data, A).
248
+ file_search_path(user_app_config, A) :-
249
+ system:'$xdg_prolog_directory'(config, A).
250
+ file_search_path(common_app_config, A) :-
251
+ system:'$xdg_prolog_directory'(common_config, A).
252
+ file_search_path(app_data, user_app_data('.')).
253
+ file_search_path(app_data, common_app_data('.')).
254
+ file_search_path(app_config, user_app_config('.')).
255
+ file_search_path(app_config, common_app_config('.')).
256
+ file_search_path(app_preferences, user_app_config('.')).
257
+ file_search_path(user_profile, app_preferences('.')).
258
+ file_search_path(app, swi(app)).
259
+ file_search_path(app, app_data(app)).
260
+ file_search_path(autoload, swi(library)).
261
+ file_search_path(autoload, pce(prolog/lib)).
262
+ file_search_path(autoload, app_config(lib)).
263
+ file_search_path(autoload, Dir) :-
264
+ '$autoload':'$ext_library_directory'(Dir).
265
+ file_search_path(pack, app_data(pack)).
266
+ file_search_path(library, PackLib) :-
267
+ '$pack':pack_dir(_Name, prolog, PackLib).
268
+ file_search_path(foreign, PackLib) :-
269
+ '$pack':pack_dir(_Name, foreign, PackLib).
270
+ file_search_path(app, AppDir) :-
271
+ '$pack':pack_dir(_Name, app, AppDir).
272
+
273
+ :- multifile prolog_list_goal/1.
274
+
275
+
276
+ :- dynamic type/2.
277
+
278
+ type("Alethia Kidd", person).
279
+ type("Alexis Kingsley", person).
280
+ type("Ana Colin", person).
281
+ type("Antionette Song", person).
282
+ type("Byron Song", person).
283
+ type("Carlos Baptiste", person).
284
+ type("Damon Song", person).
285
+ type("Danilo Colin", person).
286
+ type("Deirdre Bivins", person).
287
+ type("Eddie Song", person).
288
+ type("Elisabeth Kingsley", person).
289
+ type("Felton Kidd", person).
290
+ type("Freda Song", person).
291
+ type("Gene Song", person).
292
+ type("Genesis Colin", person).
293
+ type("Geneva Song", person).
294
+ type("Gilbert Summerlin", person).
295
+ type("Hannah Bivins", person).
296
+ type("Hyun Song", person).
297
+ type("Idell Kidd", person).
298
+ type("Isidro Kidd", person).
299
+ type("Jamal Song", person).
300
+ type("Jeana Song", person).
301
+ type("Jesse Kiel", person).
302
+ type("Jolene Song", person).
303
+ type("Lance Kiel", person).
304
+ type("Lester Bivins", person).
305
+ type("Lynda Colin", person).
306
+ type("Madaline Song", person).
307
+ type("Matilda Summerlin", person).
308
+ type("Maynard Song", person).
309
+ type("Mckinley Colin", person).
310
+ type("Meghann Kidd", person).
311
+ type("Melvin Kidd", person).
312
+ type("Nathaniel Song", person).
313
+ type("Nikki Kidd", person).
314
+ type("Nina Song", person).
315
+ type("Noreen Kingsley", person).
316
+ type("Ramona Colin", person).
317
+ type("Romelia Song", person).
318
+ type("Seymour Song", person).
319
+ type("Shelly Reece", person).
320
+ type("Sol Song", person).
321
+ type("Stephan Kidd", person).
322
+ type("Tawana Summerlin", person).
323
+ type("Thomasine Kidd", person).
324
+ type("Tod Song", person).
325
+ type("Twila Baptiste", person).
326
+ type("Winfred Baptiste", person).
327
+ type("Wyatt Reece", person).
328
+ type("Yvette Song", person).
329
+
330
+ grandfather(X, Y) :-
331
+ grandparent(X, Y),
332
+ male(Y).
333
+
334
+ :- dynamic expand_query/4.
335
+ :- multifile expand_query/4.
336
+
337
+
338
+ :- dynamic attribute/1.
339
+
340
+ attribute("academic librarian").
341
+ attribute("amateur astronomy").
342
+ attribute("clinical research associate").
343
+ attribute("crystals").
344
+ attribute("museum curator").
345
+ attribute("stamp collecting").
346
+ attribute("technical sales engineer").
347
+ attribute("trainspotting").
348
+ attribute("advertising account planner").
349
+ attribute("animation").
350
+ attribute("toxicologist").
351
+ attribute("esports").
352
+ attribute("education administrator").
353
+ attribute("magnet fishing").
354
+ attribute("colour technologist").
355
+ attribute("billiards").
356
+ attribute("regulatory affairs officer").
357
+ attribute("iceboat racing").
358
+ attribute("gaffer").
359
+ attribute("aerospace").
360
+ attribute("producer").
361
+ attribute("learning").
362
+ attribute("newspaper journalist").
363
+ attribute("meteorology").
364
+ attribute("social researcher").
365
+ attribute("learning").
366
+ attribute("learning disability nurse").
367
+ attribute("trapshooting").
368
+ attribute("interior and spatial designer").
369
+ attribute("shoes").
370
+ attribute("pharmacologist").
371
+ attribute("meteorology").
372
+ attribute("investment banker").
373
+ attribute("birdwatching").
374
+ attribute("biomedical engineer").
375
+ attribute("mahjong").
376
+ attribute("marketing executive").
377
+ attribute("horseback riding").
378
+ attribute("chartered legal executive").
379
+ attribute("birdwatching").
380
+ attribute("public relations officer").
381
+ attribute("air sports").
382
+ attribute("nutritional therapist").
383
+ attribute("publishing").
384
+ attribute("psychotherapist").
385
+ attribute("fossicking").
386
+ attribute("production designer").
387
+ attribute("dolls").
388
+ attribute("phytotherapist").
389
+ attribute("web design").
390
+ attribute("training and development officer").
391
+ attribute("tourism").
392
+ attribute("electronics engineer").
393
+ attribute("lapel pins").
394
+ attribute("contracting civil engineer").
395
+ attribute("slot car").
396
+ attribute("air traffic controller").
397
+ attribute("audiophile").
398
+ attribute("airline pilot").
399
+ attribute("model united nations").
400
+ attribute("IT consultant").
401
+ attribute("insect collecting").
402
+ attribute("geophysical data processor").
403
+ attribute("baking").
404
+ attribute("careers information officer").
405
+ attribute("mineral collecting").
406
+ attribute("applications developer").
407
+ attribute("stone collecting").
408
+ attribute("architectural technologist").
409
+ attribute("dandyism").
410
+ attribute("horticultural therapist").
411
+ attribute("mineral collecting").
412
+ attribute("theme park manager").
413
+ attribute("digital hoarding").
414
+ attribute("animal nutritionist").
415
+ attribute("reading").
416
+ attribute("education administrator").
417
+ attribute("pinball").
418
+ attribute("community development worker").
419
+ attribute("dog sport").
420
+ attribute("ophthalmologist").
421
+ attribute("research").
422
+ attribute("lobbyist").
423
+ attribute("butterfly watching").
424
+ attribute("telecommunications researcher").
425
+ attribute("research").
426
+ attribute("social worker").
427
+ attribute("stamp collecting").
428
+ attribute("exercise physiologist").
429
+ attribute("jogging").
430
+ attribute("senior tax professional").
431
+ attribute("rowing").
432
+ attribute("environmental consultant").
433
+ attribute("sport stacking").
434
+ attribute("soil scientist").
435
+ attribute("audiophile").
436
+ attribute("interpreter").
437
+ attribute("seashell collecting").
438
+ attribute("professor emeritus").
439
+ attribute("skateboarding").
440
+ attribute("archivist").
441
+ attribute("lomography").
442
+
443
+ great_aunt(X, Y) :-
444
+ grandparent(X, A),
445
+ sister(A, Y).
446
+
447
+ grandparent(X, Y) :-
448
+ parent(X, Z),
449
+ parent(Z, Y).
450
+
451
+ grandmother(X, Y) :-
452
+ grandparent(X, Y),
453
+ female(Y).
454
+
455
+ :- dynamic friend_/2.
456
+
457
+ friend_("Alethia Kidd", "Matilda Summerlin").
458
+ friend_("Alethia Kidd", "Melvin Kidd").
459
+ friend_("Alethia Kidd", "Sol Song").
460
+ friend_("Alexis Kingsley", "Ana Colin").
461
+ friend_("Alexis Kingsley", "Idell Kidd").
462
+ friend_("Alexis Kingsley", "Matilda Summerlin").
463
+ friend_("Alexis Kingsley", "Mckinley Colin").
464
+ friend_("Alexis Kingsley", "Meghann Kidd").
465
+ friend_("Alexis Kingsley", "Stephan Kidd").
466
+ friend_("Ana Colin", "Mckinley Colin").
467
+ friend_("Ana Colin", "Tod Song").
468
+ friend_("Ana Colin", "Yvette Song").
469
+ friend_("Antionette Song", "Felton Kidd").
470
+ friend_("Antionette Song", "Jeana Song").
471
+ friend_("Antionette Song", "Winfred Baptiste").
472
+ friend_("Byron Song", "Maynard Song").
473
+ friend_("Byron Song", "Melvin Kidd").
474
+ friend_("Byron Song", "Romelia Song").
475
+ friend_("Carlos Baptiste", "Madaline Song").
476
+ friend_("Carlos Baptiste", "Seymour Song").
477
+ friend_("Carlos Baptiste", "Shelly Reece").
478
+ friend_("Damon Song", "Deirdre Bivins").
479
+ friend_("Damon Song", "Isidro Kidd").
480
+ friend_("Damon Song", "Jolene Song").
481
+ friend_("Damon Song", "Matilda Summerlin").
482
+ friend_("Damon Song", "Tawana Summerlin").
483
+ friend_("Damon Song", "Twila Baptiste").
484
+ friend_("Danilo Colin", "Gene Song").
485
+ friend_("Danilo Colin", "Isidro Kidd").
486
+ friend_("Deirdre Bivins", "Felton Kidd").
487
+ friend_("Eddie Song", "Freda Song").
488
+ friend_("Eddie Song", "Gilbert Summerlin").
489
+ friend_("Eddie Song", "Hyun Song").
490
+ friend_("Eddie Song", "Maynard Song").
491
+ friend_("Elisabeth Kingsley", "Thomasine Kidd").
492
+ friend_("Felton Kidd", "Gilbert Summerlin").
493
+ friend_("Felton Kidd", "Lester Bivins").
494
+ friend_("Freda Song", "Genesis Colin").
495
+ friend_("Freda Song", "Gilbert Summerlin").
496
+ friend_("Freda Song", "Noreen Kingsley").
497
+ friend_("Gene Song", "Madaline Song").
498
+ friend_("Genesis Colin", "Maynard Song").
499
+ friend_("Genesis Colin", "Romelia Song").
500
+ friend_("Genesis Colin", "Tod Song").
501
+ friend_("Genesis Colin", "Yvette Song").
502
+ friend_("Geneva Song", "Meghann Kidd").
503
+ friend_("Geneva Song", "Tawana Summerlin").
504
+ friend_("Geneva Song", "Twila Baptiste").
505
+ friend_("Gilbert Summerlin", "Matilda Summerlin").
506
+ friend_("Gilbert Summerlin", "Nina Song").
507
+ friend_("Gilbert Summerlin", "Stephan Kidd").
508
+ friend_("Hannah Bivins", "Isidro Kidd").
509
+ friend_("Hannah Bivins", "Stephan Kidd").
510
+ friend_("Hyun Song", "Madaline Song").
511
+ friend_("Hyun Song", "Nikki Kidd").
512
+ friend_("Idell Kidd", "Jamal Song").
513
+ friend_("Idell Kidd", "Nina Song").
514
+ friend_("Idell Kidd", "Tawana Summerlin").
515
+ friend_("Jamal Song", "Lance Kiel").
516
+ friend_("Jeana Song", "Lance Kiel").
517
+ friend_("Jeana Song", "Stephan Kidd").
518
+ friend_("Jesse Kiel", "Lance Kiel").
519
+ friend_("Jesse Kiel", "Wyatt Reece").
520
+ friend_("Jolene Song", "Seymour Song").
521
+ friend_("Lance Kiel", "Maynard Song").
522
+ friend_("Lester Bivins", "Nina Song").
523
+ friend_("Lynda Colin", "Twila Baptiste").
524
+ friend_("Madaline Song", "Matilda Summerlin").
525
+ friend_("Madaline Song", "Twila Baptiste").
526
+ friend_("Matilda Summerlin", "Thomasine Kidd").
527
+ friend_("Matilda Summerlin", "Twila Baptiste").
528
+ friend_("Maynard Song", "Seymour Song").
529
+ friend_("Mckinley Colin", "Sol Song").
530
+ friend_("Melvin Kidd", "Noreen Kingsley").
531
+ friend_("Melvin Kidd", "Tawana Summerlin").
532
+ friend_("Noreen Kingsley", "Thomasine Kidd").
533
+ friend_("Ramona Colin", "Wyatt Reece").
534
+ friend_("Romelia Song", "Tod Song").
535
+ friend_("Twila Baptiste", "Wyatt Reece").
536
+
537
+ friend(X, Y) :-
538
+ friend_(X, Y).
539
+ friend(X, Y) :-
540
+ friend_(Y, X).
541
+
542
+ niece(X, Y) :-
543
+ sibling(X, A),
544
+ daughter(A, Y).
545
+
546
+ nephew(X, Y) :-
547
+ sibling(X, A),
548
+ son(A, Y).
549
+
550
+ brother_in_law(X, Y) :-
551
+ married(X, A),
552
+ brother(A, Y).
553
+
554
+ :- multifile message_property/2.
555
+
556
+
557
+ sister_in_law(X, Y) :-
558
+ married(X, A),
559
+ sister(A, Y).
560
+
561
+ wife(X, Y) :-
562
+ married(X, Y),
563
+ female(Y).
564
+
565
+ husband(X, Y) :-
566
+ married(X, Y),
567
+ male(Y).
568
+
569
+ daughter_in_law(X, Y) :-
570
+ child(X, A),
571
+ wife(A, Y).
572
+
573
+ son_in_law(X, Y) :-
574
+ child(X, A),
575
+ husband(A, Y).
576
+
577
+ son(X, Y) :-
578
+ child(X, Y),
579
+ male(Y).
580
+
581
+ female(X) :-
582
+ gender(X, "female").
583
+
584
+ daughter(X, Y) :-
585
+ child(X, Y),
586
+ female(Y).
587
+
588
+ father_in_law(X, Y) :-
589
+ married(X, A),
590
+ father(A, Y).
591
+
592
+ mother_in_law(X, Y) :-
593
+ married(X, A),
594
+ mother(A, Y).
595
+
596
+ father(X, Y) :-
597
+ parent(X, Y),
598
+ male(Y).
599
+
600
+ :- multifile prolog_predicate_name/2.
601
+
602
+
603
+ child(X, Y) :-
604
+ parent(Y, X).
605
+
606
+ male_first_cousin_once_removed(X, Y) :-
607
+ cousin(X, A),
608
+ son(A, Y),
609
+ X\=Y.
610
+
611
+ :- multifile prolog_clause_name/2.
612
+
613
+
614
+ :- dynamic expand_answer/2.
615
+ :- multifile expand_answer/2.
616
+
617
+
618
+ :- dynamic exception/3.
619
+ :- multifile exception/3.
620
+
621
+
622
+ female_first_cousin_once_removed(X, Y) :-
623
+ cousin(X, A),
624
+ daughter(A, Y),
625
+ X\=Y.
626
+
627
+ brother(X, Y) :-
628
+ sibling(X, Y),
629
+ male(Y).
630
+
631
+ mother(X, Y) :-
632
+ parent(X, Y),
633
+ female(Y).
634
+
635
+ male_second_cousin(X, Y) :-
636
+ parent(X, A),
637
+ parent(Y, B),
638
+ cousin(A, B),
639
+ male(Y),
640
+ X\=Y.
641
+
642
+ :- dynamic message_hook/3.
643
+ :- multifile message_hook/3.
644
+
645
+
646
+ female_second_cousin(X, Y) :-
647
+ parent(X, A),
648
+ parent(Y, B),
649
+ cousin(A, B),
650
+ female(Y),
651
+ X\=Y.
652
+
653
+ married(X, Y) :-
654
+ parent(Child, X),
655
+ parent(Child, Y),
656
+ X\=Y.
657
+
658
+ male(X) :-
659
+ gender(X, "male").
660
+
661
+ :- dynamic prolog_file_type/2.
662
+ :- multifile prolog_file_type/2.
663
+
664
+ prolog_file_type(pl, prolog).
665
+ prolog_file_type(prolog, prolog).
666
+ prolog_file_type(qlf, prolog).
667
+ prolog_file_type(qlf, qlf).
668
+ prolog_file_type(A, executable) :-
669
+ system:current_prolog_flag(shared_object_extension, A).
670
+ prolog_file_type(dylib, executable) :-
671
+ system:current_prolog_flag(apple, true).
672
+
673
+ sister(X, Y) :-
674
+ sibling(X, Y),
675
+ female(Y).
676
+
677
+ male_cousin(X, Y) :-
678
+ cousin(X, Y),
679
+ male(Y).
680
+
681
+ :- dynamic nonbinary/1.
682
+
683
+ nonbinary(X) :-
684
+ gender(X, "nonbinary").
685
+
686
+ female_cousin(X, Y) :-
687
+ cousin(X, Y),
688
+ female(Y).
689
+
690
+ sibling(X, Y) :-
691
+ parent(X, A),
692
+ parent(Y, A),
693
+ X\=Y.
694
+
695
+ :- dynamic portray/1.
696
+ :- multifile portray/1.
697
+
698
+
699
+ :- dynamic prolog_load_file/2.
700
+ :- multifile prolog_load_file/2.
701
+
702
+
703
+ :- dynamic goal_expansion/2.
704
+ :- multifile goal_expansion/2.
705
+
706
+
707
+ :- dynamic parent/2.
708
+
709
+ parent("Ana Colin", "Danilo Colin").
710
+ parent("Ana Colin", "Ramona Colin").
711
+ parent("Carlos Baptiste", "Twila Baptiste").
712
+ parent("Carlos Baptiste", "Winfred Baptiste").
713
+ parent("Damon Song", "Antionette Song").
714
+ parent("Damon Song", "Sol Song").
715
+ parent("Deirdre Bivins", "Hannah Bivins").
716
+ parent("Deirdre Bivins", "Lester Bivins").
717
+ parent("Eddie Song", "Byron Song").
718
+ parent("Eddie Song", "Hyun Song").
719
+ parent("Elisabeth Kingsley", "Alexis Kingsley").
720
+ parent("Elisabeth Kingsley", "Noreen Kingsley").
721
+ parent("Felton Kidd", "Stephan Kidd").
722
+ parent("Felton Kidd", "Thomasine Kidd").
723
+ parent("Gene Song", "Antionette Song").
724
+ parent("Gene Song", "Sol Song").
725
+ parent("Genesis Colin", "Melvin Kidd").
726
+ parent("Genesis Colin", "Nikki Kidd").
727
+ parent("Geneva Song", "Antionette Song").
728
+ parent("Geneva Song", "Sol Song").
729
+ parent("Hannah Bivins", "Jamal Song").
730
+ parent("Hannah Bivins", "Yvette Song").
731
+ parent("Idell Kidd", "Stephan Kidd").
732
+ parent("Idell Kidd", "Thomasine Kidd").
733
+ parent("Isidro Kidd", "Alethia Kidd").
734
+ parent("Isidro Kidd", "Felton Kidd").
735
+ parent("Jamal Song", "Eddie Song").
736
+ parent("Jamal Song", "Nina Song").
737
+ parent("Jeana Song", "Eddie Song").
738
+ parent("Jeana Song", "Nina Song").
739
+ parent("Jolene Song", "Shelly Reece").
740
+ parent("Jolene Song", "Wyatt Reece").
741
+ parent("Lynda Colin", "Danilo Colin").
742
+ parent("Lynda Colin", "Ramona Colin").
743
+ parent("Madaline Song", "Eddie Song").
744
+ parent("Madaline Song", "Nina Song").
745
+ parent("Maynard Song", "Antionette Song").
746
+ parent("Maynard Song", "Sol Song").
747
+ parent("Mckinley Colin", "Danilo Colin").
748
+ parent("Mckinley Colin", "Ramona Colin").
749
+ parent("Meghann Kidd", "Melvin Kidd").
750
+ parent("Meghann Kidd", "Nikki Kidd").
751
+ parent("Melvin Kidd", "Alethia Kidd").
752
+ parent("Melvin Kidd", "Felton Kidd").
753
+ parent("Nathaniel Song", "Freda Song").
754
+ parent("Nathaniel Song", "Seymour Song").
755
+ parent("Nikki Kidd", "Gilbert Summerlin").
756
+ parent("Nikki Kidd", "Matilda Summerlin").
757
+ parent("Noreen Kingsley", "Gene Song").
758
+ parent("Noreen Kingsley", "Jolene Song").
759
+ parent("Ramona Colin", "Jesse Kiel").
760
+ parent("Ramona Colin", "Lance Kiel").
761
+ parent("Romelia Song", "Antionette Song").
762
+ parent("Romelia Song", "Sol Song").
763
+ parent("Seymour Song", "Eddie Song").
764
+ parent("Seymour Song", "Nina Song").
765
+ parent("Sol Song", "Jamal Song").
766
+ parent("Sol Song", "Yvette Song").
767
+ parent("Tawana Summerlin", "Gilbert Summerlin").
768
+ parent("Tawana Summerlin", "Matilda Summerlin").
769
+ parent("Tod Song", "Jamal Song").
770
+ parent("Tod Song", "Yvette Song").
771
+ parent("Twila Baptiste", "Hannah Bivins").
772
+ parent("Twila Baptiste", "Lester Bivins").
773
+ parent("Yvette Song", "Genesis Colin").
774
+ parent("Yvette Song", "Mckinley Colin").
775
+
776
+ cousin(X, Y) :-
777
+ parent(X, A),
778
+ parent(Y, B),
779
+ sibling(A, B),
780
+ X\=Y.
781
+
782
+ uncle(X, Y) :-
783
+ parent(X, A),
784
+ brother(A, Y).
785
+
786
+ :- dynamic resource/3.
787
+ :- multifile resource/3.
788
+
789
+
790
+ :- thread_local thread_message_hook/3.
791
+ :- dynamic thread_message_hook/3.
792
+ :- volatile thread_message_hook/3.
793
+
794
+
795
+ aunt(X, Y) :-
796
+ parent(X, A),
797
+ sister(A, Y).
798
+
799
+ second_uncle(X, Y) :-
800
+ great_grandparent(X, A),
801
+ brother(A, Y).
802
+
803
+ :- dynamic gender/2.
804
+
805
+ gender("Alethia Kidd", "female").
806
+ gender("Alexis Kingsley", "male").
807
+ gender("Ana Colin", "female").
808
+ gender("Antionette Song", "female").
809
+ gender("Byron Song", "male").
810
+ gender("Carlos Baptiste", "male").
811
+ gender("Damon Song", "male").
812
+ gender("Danilo Colin", "male").
813
+ gender("Deirdre Bivins", "female").
814
+ gender("Eddie Song", "male").
815
+ gender("Elisabeth Kingsley", "female").
816
+ gender("Felton Kidd", "male").
817
+ gender("Freda Song", "female").
818
+ gender("Gene Song", "male").
819
+ gender("Genesis Colin", "female").
820
+ gender("Geneva Song", "female").
821
+ gender("Gilbert Summerlin", "male").
822
+ gender("Hannah Bivins", "female").
823
+ gender("Hyun Song", "female").
824
+ gender("Idell Kidd", "female").
825
+ gender("Isidro Kidd", "male").
826
+ gender("Jamal Song", "male").
827
+ gender("Jeana Song", "female").
828
+ gender("Jesse Kiel", "female").
829
+ gender("Jolene Song", "female").
830
+ gender("Lance Kiel", "male").
831
+ gender("Lester Bivins", "male").
832
+ gender("Lynda Colin", "female").
833
+ gender("Madaline Song", "female").
834
+ gender("Matilda Summerlin", "female").
835
+ gender("Maynard Song", "male").
836
+ gender("Mckinley Colin", "male").
837
+ gender("Meghann Kidd", "female").
838
+ gender("Melvin Kidd", "male").
839
+ gender("Nathaniel Song", "male").
840
+ gender("Nikki Kidd", "female").
841
+ gender("Nina Song", "female").
842
+ gender("Noreen Kingsley", "female").
843
+ gender("Ramona Colin", "female").
844
+ gender("Romelia Song", "female").
845
+ gender("Seymour Song", "male").
846
+ gender("Shelly Reece", "female").
847
+ gender("Sol Song", "male").
848
+ gender("Stephan Kidd", "male").
849
+ gender("Tawana Summerlin", "female").
850
+ gender("Thomasine Kidd", "female").
851
+ gender("Tod Song", "male").
852
+ gender("Twila Baptiste", "female").
853
+ gender("Winfred Baptiste", "male").
854
+ gender("Wyatt Reece", "male").
855
+ gender("Yvette Song", "female").
856
+
857
+ second_aunt(X, Y) :-
858
+ great_grandparent(X, A),
859
+ sister(A, Y).
860
+
861
+ great_grandson(X, Y) :-
862
+ great_grandchild(X, Y),
863
+ male(Y).
864
+
865
+ :- dynamic pyrun/2.
866
+
867
+ pyrun(A, B) :-
868
+ read_term_from_atom(A, C, [variable_names(B)]),
869
+ call(C).
870
+
871
+ great_granddaughter(X, Y) :-
872
+ great_grandchild(X, Y),
873
+ female(Y).
874
+
875
+ :- dynamic resource/2.
876
+ :- multifile resource/2.
877
+
depth_20_size_7500_seed_1/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_7500_seed_2/facts.txt ADDED
The diff for this file is too large to render. See raw diff
 
depth_20_size_7500_seed_3/facts.txt ADDED
The diff for this file is too large to render. See raw diff