Text this: Computing datalog rewritings for disjunctive datalog programs and description logic ontologies