Text this: Enhancing datalog reasoning with hypertree decompositions