Review of the hardback: 'I wholeheartedly recommend this book to researchers and students in the fields of logic programming, declarative programming and knowledge representation.' Journal of Transport, Law and Policy Review of the hardback: '... the appearance of an extensive book with such a deep theoretical content and with analyses, methods and examples useful for practical applications is admirable after the very short history of Answer Set Programming.' Zentralblatt MATH