Multiple Query Processing in Deductive Databases using Query Graphs