On 9 March 2011 13:07, groovenarula <span dir="ltr">&lt;<a href="mailto:gnarula1@la-z-boy.com">gnarula1@la-z-boy.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
    XXX      YYY       &quot;one,two,three&quot;<br>
<br>
where XXX, YYY will be in 2 individual cells that will hold the values for<br>
one fact, and the &quot;one,two,three&quot; will be in a third cell will from which I<br>
need to create separate instances for each value of fact #2.<br>
<br>
I&#39;m trying to see if there&#39;s a way to use the current spreadsheet without<br>
changing it drastically. That will make the solution a lot more acceptable.<br>
<br></blockquote><div><br>Looks like reading the cells and generating Java code to insert the facts<br>is the cheapest solution. I see no point in constructing rules just to get<br>some facts into WM.<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

W - Can you please elaborate on your last statement :<br>
<br>
It&#39;s doable from a spreadsheet, using the &quot;forall&quot; substitution.<br>
<br>
If I&#39;m not mistake that&#39;s what I would use if it&#39;s a decision table - Would<br>
I be able to use &#39;forall&#39; even if I&#39;m using a template to insert the facts ?<br></blockquote><div><br>Yes, I was referring to decision tables. No, that &quot;forall&quot; is done by the DT parser/expander.<br>
 <br>-W<br></div></div><br>