For the simple example you have provided, both forward and backward reasoning<br>work equally well. Distinction sets in if there are more reaoning steps invilved.<br><br>I do not quite understand why you need to have two fact databases.<br>
<br>There is no reason I know of to prevent you from implementing an<br>expert system for anything, entirely in either Drools or Jess or any other<br>production rule system; and using Prolog would also be an option.<br><br>
The choice might be influenced by the data model you need. If your<br>data is best represented as (Java) Objects, then Drools is in favour.<br>OTOH, some ontology representations might be handled better with<br>logic programming.<br>
<br>-W<br><br><br><div class="gmail_quote">On Wed, Apr 14, 2010 at 10:59 PM, Patrick Sannes <span dir="ltr"><<a href="mailto:Patrick@i-dev.net">Patrick@i-dev.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
<br>
Im working on a project for which I need a toolset. From my study I<br>
worked with prolog and with jess. So I have a basic understanding of<br>
those tools. I want to create a factbase about a scenario. Those facts<br>
are learned. I need to query those facts. In the meantime a contextual<br>
factbase is created. The facts in this contextual factbase can<br>
influence the other factbase based on rules that are also learned. So<br>
for example, I like meat and vegetables, but on sunday I like only<br>
vegetables. So when i ask to the system, what do I like, it should<br>
tell me on all days meat and vegetables, but on sunday it should say<br>
only vegetables. The thing is that I have the feeling that the type of<br>
queries i like to make are brilliant to do in prolog, but the rules<br>
part is a drools type of problem. Is there anyway to do this in one<br>
environment? Or maybe Im not thinking in the right way.<br>
<br>
Patrick<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>