首页 | 本学科首页   官方微博 | 高级检索  
     


Datalog extension for nested relations
Authors:A Benczúr  C HajasG Kovcs
Affiliation:

General Computer Science Department, ELTE University of Budapest 1088, Budapest, Múzeum körút 6-8, Hungary

Institute of Mathematics and Informatics, KLTE University of Debrecen 4010, Debrecen, Pf. 12, Hungary

Computer and Automation Institute, Hungarian Academy of Sciences 1111, Budapest, Lágymányosi 11, Hungary

Abstract:The nested relational model allows relations that are not in first normal form. This paper gives an extension of Datalog rules for nested relations. In our approach, nested Datalog is a natural extension of Datalog introduced for the relational data model. A nested Datalog program has a hierarchical structure of rules and subprograms to manipulate relation values of nested relations. We introduce a new category of predicate symbols, the variable predicate symbols to refer to tuples of subrelations. The notion of soundness, safety and consistency is defined to avoid undesirable nested Datalog programs. The evaluation of nested Datalog is given in terms of the nested relational algebra. Finally, we relate the expressive power of nonrecursive nested Datalog to the power of nested relational algebra and safe nested tuple relational calculus.
Keywords:Expressiveness  Nested algebra  calculus  Nested Datalog  Nested relations  Subprograms  Subrules  Variable predicate symbols
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号