This is related to the example in 2.1.2.8., Backward Chaining. Using the same rules and queries given there, the sequence of fact insertions
insert( new Here( "table" ) ); insert( new Edible( "peach" ) ); insert( new Location( "peach", "table" ) ); results in nothing being seen and nothing being edible, whereas insert( new Edible( "peach" ) ); insert( new Location( "peach", "table" ) ); insert( new Here( "table" ) ); results in the obvious and expected result. There is no difference w.r.t. using '?' in front of query names. -W _______________________________________________ rules-dev mailing list rules-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev