All things Artificial Intelligence related: Rules, Processes, Events, Agents, Planning, Ontologies and more :)
HI Mark,NIce tutorial.Apart from determining hierarchies as shown in your what are some real life use cases that are better addressed by backward chaining as opposed to forward chaining?
You can also use them to encapsulate a set of patterns, similar to how a method encapsulates a set of statemenents. Look at the queries here, such as look, exits, inventory;https://github.com/droolsjbpm/drools/blob/master/drools-examples/src/main/resources/org/drools/games/adventures/Queries.drlWhich are then used in these reactive rules:https://github.com/droolsjbpm/drools/blob/master/drools-examples/src/main/resources/org/drools/games/adventures/Commands.drlAlso a query can be used provide inferred information. If room A connects to room B, then room B connects to room A - but I don't want to repeat the second inferrable piece of information. This is achieved with the connect query, and again used in the set of commands.drl