thank you very much

--------------------------------------------------------------------------------



------------------ 原始邮件 ------------------




 
 发件人: FERNANDO SAENZ PEREZ <[email protected]>;
 

 
 发送时间: 2013-10-14 02:09:13
 

 
 收件人: liubin0314 <[email protected]>; 
 

 
 抄送: Users-prolog<[email protected]>; 
 

 
 主题: Re: how to get some statements about a constant?
 




 
 
 
 
 Did you consider the following representation?
 
relative(aunt,gugu,wo).relative(father,baba,wo).
 
This way, you can ask for you are looking for:
 
 | ?- relative(X,babo,wo).
 
Best regards,
Fernando



 
 
 
2013/10/12 liubin0314 <[email protected]>
 such
 as: KB is: aunt(gugu,wo). father(baba,wo).
 does prolog can get the answer to X(baba,wo) which is
 father(baba,wo)? and x(Y,wo)? 
 -- View this message in context: 
http://gnu-prolog.996310.n3.nabble.com/how-to-get-some-statements-about-a-constant-tp1110.html
 Sent from the Users mailing list archive at Nabble.com.
 _______________________________________________
 Users-prolog mailing list [email protected]
 https://lists.gnu.org/mailman/listinfo/users-prolog 

 



_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog

Reply via email to