The Space-Efficient Core of Vadalog