Received: by 10.224.189.75 with SMTP id dd11mr2906246qab.6.1348079787589; Wed, 19 Sep 2012 11:36:27 -0700 (PDT) X-BeenThere: pyke@googlegroups.com Received: by 10.224.210.4 with SMTP id gi4ls3159459qab.2.gmail; Wed, 19 Sep 2012 11:36:27 -0700 (PDT) Received: by 10.224.27.14 with SMTP id g14mr2920879qac.1.1348079787055; Wed, 19 Sep 2012 11:36:27 -0700 (PDT) Received: by 10.224.29.11 with SMTP id o11msqac; Wed, 19 Sep 2012 07:04:33 -0700 (PDT) Received: by 10.52.72.16 with SMTP id z16mr684014vdu.15.1348063472925; Wed, 19 Sep 2012 07:04:32 -0700 (PDT) Date: Wed, 19 Sep 2012 07:04:32 -0700 (PDT) From: Matteo Dell'Amico To: pyke@googlegroups.com Message-Id: <4a9a665b-1a89-474a-bc7d-a1cba2a5813e@googlegroups.com> Subject: Assert universal fact in FC rules? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_42_1353342.1348063472520" ------=_Part_42_1353342.1348063472520 Content-Type: multipart/alternative; boundary="----=_Part_43_29271166.1348063472520" ------=_Part_43_29271166.1348063472520 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello, thanks for Pyke, it's really a nice piece of work! :) I am considering using forward chaining to perform "pre-computation" of facts that you can infer from a .kfb file. Say, for the standard family relations example, I'd like to precompute an "is_ancestor" fact for all such relations, on the basis that I'm going to need it often and it would be a waste to recompute it with backward chaining any time it is needed. The problem is, when I reset the knowledge engine, as far as I understand facts generated through forward chaining are all erased because they are specific facts and not universal fact. So, I'd need a way to either a) save specific facts in a new fact base or b) directly assert universal facts from forward chaining. Would that be possible in Pyke? thanks! :) matteo ------=_Part_43_29271166.1348063472520 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hello,

thanks for Pyke, it's really a nice piece of work! :)

I am considering using forward chaining to perform "pre-computation" of facts that you can infer from a .kfb file. Say, for the standard family relations example, I'd like to precompute an "is_ancestor" fact for all such relations, on the basis that I'm going to need it often and it would be a waste to recompute it with backward chaining any time it is needed. The problem is, when I reset the knowledge engine, as far as I understand facts generated through forward chaining are all erased because they are specific facts and not universal fact.

So, I'd need a way to either a) save specific facts in a new fact base or b) directly assert universal facts from forward chaining.

Would that be possible in Pyke?

thanks! :)
matteo
------=_Part_43_29271166.1348063472520-- ------=_Part_42_1353342.1348063472520--