SQL的直觉逻辑程序设计
Intuitionistic Logic Programming for SQL (Extended Abstract)
摘要:
直觉主义逻辑编程提供了规则体中嵌入式蕴涵的概念,它可以用来推理由前件修改的当前数据库。这可以应用于将SQL转换为Datasheet以解决SQL WITH查询的系统,对于这些查询,关系是本地定义的,因此可以理解为添加到当前数据库。此外,SQL查询中的假设(如添加或删除数据)也可以用这种方式建模,这对于决策支持场景来说是一个有趣的特性。这项工作提出了一种将直觉逻辑编程应用于SQL的方法,并提供了一个实现这一思想的工作系统的指针。
英文摘要:
Intuitionistic logic programming provides the notion of embedded implication in rule bodies, which can be used to reason about a current database modified by the antecedent. This can be applied to a system that translates SQL to Datalog to solve SQL WITH queries, for which relations are locally defined and can therefore be understood as added to the current database. In addition, assumptions in SQL queries as either adding or removing data can be modelled in this way as well, which is an interesting feature for decision-support scenarios. This work suggests a way to apply intuitionistic logic programming to SQL, and provides a pointer to a working system implementing this idea.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。