<p>when<br>
   $c : City( $p : population )<br>
   not City( population &lt; $p )<br>
then<br>
   // $c is the City with the smallest population</p>
<p>sent on the move</p>
<p>On 19 Dec 2012 15:22, &quot;David R Robison&quot; &lt;<a href="mailto:drrobison@openroadsconsulting.com">drrobison@openroadsconsulting.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I want to write a rule that will select a fact that has the minimum<br>
value for an attribute. For example, find the city that has the minimum<br>
population. How would I write such a rule? David<br>
<br>
--<br>
<br>
David R Robison<br>
Open Roads Consulting, Inc.<br>
103 Watson Road, Chesapeake, VA 23320<br>
phone: <a href="tel:%28757%29%20546-3401" value="+17575463401">(757) 546-3401</a><br>
e-mail: <a href="mailto:drrobison@openroadsconsulting.com">drrobison@openroadsconsulting.com</a><br>
web: <a href="http://openroadsconsulting.com" target="_blank">http://openroadsconsulting.com</a><br>
blog: <a href="http://therobe.blogspot.com" target="_blank">http://therobe.blogspot.com</a><br>
book: <a href="http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526" target="_blank">http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526</a><br>
<br>
<br>
<br>
This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.<br>
If you are not the intended recipient, please delete this email immediately.<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></p>