This paper investigates efficient evaluation of database updates and presents a procedural semantics for stratified update programs that extend stratified logic programs with bulk updates and hypothetical reasoning. Bulk rules with universal quantification in the body allow an arbitrary update to be applied simultaneously for every answer of an arbitrary query. Hypothetical reasoning is supported by testing the success or failure of an update. The procedural semantics offers efficient goal-oriented tabled evaluation of database updates. It guarantees termination for function-free stratified update programs and avoids repeated computation of identical subgoals.
机构:
North Carolina State Univ, Dept Philosophy & Religious Studies, Raleigh, NC 27695 USANorth Carolina State Univ, Dept Philosophy & Religious Studies, Raleigh, NC 27695 USA
机构:
Massachusetts Gen Hosp, Div Vasc & Endovasc Surg, 55 Fruit St,WACC 440, Boston, MA 02114 USAMassachusetts Gen Hosp, Div Vasc & Endovasc Surg, 55 Fruit St,WACC 440, Boston, MA 02114 USA