In the literature, such multi-hop reading comprehension tasks are frequently solved via end-to-end differentiable (deep learning) models (Sukhbaatar et al., 2015;Peng et al., 2015;Seo et al., 2016b;Raison et al., 2018;Henaff et al., 2016;Kumar et al., 2016;Graves et al., 2016;Dhingra et al., 2018).
for simplicity, we assume that there is only one correct answer per example, but an adaptation to multiple correct answers would be straight-forward, e.g.