LogicQL is a new state-of-the-art programming language based on Datalog. This book explains how to design, implement, and query deductive databases using this programming language. LogiQL's declarative approach enables complex data structures and business rules to be simply specified and automatically executed. It is especially suited to business applications requiring complex rules to be implemented efficiently, for example predictive analytics and supply chain optimization. Suitable for both novices and experienced developers, the book includes many examples and exercises to consolidate understanding.