Delete data file
Browse files- depth_20_size_25_seed_3/facts.pl +0 -620
depth_20_size_25_seed_3/facts.pl
DELETED
@@ -1,620 +0,0 @@
|
|
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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