, ILP " , " " , ". Bi , .-._, Hi , , , _:. . .
ILP , - . - , .
!
II. Prolog
6 (). 6 = {Varl/Terml, Var2/Term2,... } Varl, Var2 .. Terml, Term2 .. 9 , 9. 9 9, , .
= has_daughter(X):- parent(X,Y), female(Y). = { X/tom, Y/liz} CG = has_daughter(torn):- parent(torn,liz), female(liz).
-. . -- ..-, 9, , CiO ;. ,
parent(X,Y).
-
parent(X,liz).
9 = (Y/liz),
has_daughter(X):-parent(X, Y).
-
has daughter(X): - parent(X,Y), female(Y).
9 = { }. - . , - , Ci , 2. , (, , ), , , . - . , , - .