Given a set of Datalog rules, facts, and a query, answers to the query can be inferred bottom-up starting with the facts or top-down starting with the query. For efficiently answering the query, top-down evaluation is extended with tabling that stores the results of the subqueries encountered, and bottom-up evaluation is done on rules transformed based on demand from the query.
Marco CalauttiEster LivshitsAndréas PierisMarkus Schneider
Georg GottlobChristos H. Papadimitriou
Georg GottlobChristos H. Papadimitriou