Semantics for update rule programs and implementation in a relational database management system

Author:

Raschid Louiqa1,Lobo Jorge2

Affiliation:

1. Univ. of Maryland, College Park

2. Univ. of Illinois at Chicago, Chicago

Abstract

In this paper, we present our research on defining a correct semantics for a class of update rule (UR) programs, and discuss implemanting these programs in a DBMS environment. Update rules execute by updating relations in a database which may cause the further execution of rules. A correct semantics must guarantee that the execution of the rules will terminate and that it will produce a minimal updated database. The class of UR programs is syntactically identified, based upon a concept that is similar to stratification. We extend that strict definition of stratification and allow a relaxed criterion for partitioning of the rules in the UR program. This relaxation allows a limited degree of nondeterminism in rule execution. We define an execution semantics based upon a monotonic fixpoint operator T UR , resulting in a set of fixpoints for UR. The monotionicity of the operator is maintained nby explicitly representing the effect of asserting and retracting tuples in the database. A declarative semantics for the update rule program is obtained by associating a normal logic program UR to represent the UR program. We use the stable model semantics which characterize a normal logic program by a set of minimal models which are called stable models. We show the equivalence between the set of fixpoints for UR and the set of stable models for UR. We briefly discuss implementing the fixpoint semantics of the UR program in a DBMS environment. Relations that can be updated by the rules are updatable relations and they are extended with two flags. An update rule is represented by a database query, which queries the updatable relations as well as database relaions, i.e., those relations which are not update by rules. We describe an algorithm to process the queries and compute a fixpoint in the DBMS environment and obtain a final database.

Publisher

Association for Computing Machinery (ACM)

Subject

Information Systems

Reference37 articles.

1. Non-deterministic languages to express deterministic transformations

2. Procedural languages for database queries and updates

3. Datalog extensions for database queries and updates

4. Towards a theory of declarative knowledge. ~In Foundations of Deductive Databases and Logic Programming. J. Minker, Ed., Morgan ~Kaufmann;~APT K.R.;Inc.,1988

5. ~BOCCA J. 1986a. EDUCE:a marriage of convenience: Prolog and a relational DBMS. In ~Proceedings of the Third IEEE Symposium on Logic Programming 36-45. ~BOCCA J. 1986a. EDUCE:a marriage of convenience: Prolog and a relational DBMS. In ~Proceedings of the Third IEEE Symposium on Logic Programming 36-45.

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Reactors: A data-oriented synchronous/asynchronous programming model for distributed applications;Theoretical Computer Science;2009-02

2. Rule-Based Event Processing and Reaction Rules;Lecture Notes in Computer Science;2009

3. On Complexity of Updates through Integrity Constraints;Computational Logic — CL 2000;2000

4. Logic and Databases: a 20 Year Retrospective -Updated in Honor of Ray Reiter;Logical Foundations for Cognitive Agents;1999

5. On conservative enforced updates;Logic Programming And Nonmonotonic Reasoning;1997

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3