Enhancing magic sets with an application to ontological reasoning

M Alviano, N Leone, P Veltri, J Zangari - Theory and Practice of Logic …, 2019 - cambridge.org
Magic sets are a Datalog to Datalog rewriting technique to optimize query answering. The
rewritten program focuses on a portion of the stable model (s) of the input program which is …