I think the enterprise now uses quite a lot of rules engine type stuff which draws inspiration from prolog. We used drools pretty heavily at my last place <a href="http:&#x2F;&#x2F;www.drools.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.drools.org&#x2F;</a>