【24h】

Database updates in logic programming

机译:逻辑编程中的数据库更新

获取原文

摘要

The need for control in logic programs is now being recognized. This is particularly evident when one focuses on allowing updates in logic programs. In this paper we propose a language DatalogA which is an extension of Datalog with updates to base relations. We define some procedural constructs to allow update programs to be written in an easy manner. The (W,p) scheme of Dynamic Logic fits nicely into the semantics of DatalogA programs in which W is taken to be the set of all possible states of the program and p is the accessibility relation between states. We give declarative semantics and equivalent constructed model semantics for DatalogA programs. We show that in the absence of updates our semantics reduce to the classical semantics of Datalog. Finally, we show some examples of non-stratified programs expressed in DatalogA.

机译:

现在已经认识到逻辑程序中对控制的需求。当人们专注于允许逻辑程序中的更新时,这一点尤其明显。在本文中,我们提出了一种语言DatalogA,它是Datalog的扩展,具有对基础关系的更新。我们定义了一些过程构造,以允许以简单的方式编写更新程序。动态逻辑的(W,p)方案非常适合DatalogA程序的语义,其中W被视为程序所有可能状态的集合,而p是状态之间的可访问性关系。我们为DatalogA程序提供了声明性语义和等效的构造模型语义。我们表明,在没有更新的情况下,我们的语义会简化为Datalog的经典语义。最后,我们展示一些用DatalogA 表示的非分层程序的示例。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号