Introducing external functions in constraint query languages

被引:0
|
作者
Catania, B
Belussi, A
Bertino, E
机构
[1] Univ Milan, Dipartimento Sci Informaz, I-20135 Milan, Italy
[2] Univ Verona, Fac Sci Matemat Fis & Nat, I-37134 Verona, Italy
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Constraint databases use constraints to model and query data. In particular, constraints allow a finite representation of infinite sets of relational tuples (also called generalized tuples). The choice of different logical theories to express constraints inside relational languages leads to the definition of constraint languages with different expressive power. Practical constraint database languages typically use linear constraints. This choice allows the use of efficient algorithms but, at the same time, some useful queries, needed by the considered application, may not be represented inside the resulting languages (for example, the convex hull cannot be computed [19]). These additional queries can only be modeled by changing the theory (thus, loosing the advantages of the linear theory), or extending the language, or using external functions. In this paper we consider the last approach and we propose an algebra and a calculus for constraint relational databases extended with external functions, formally proving their equivalence. In doing that, we use an approach similar to the one used by Klug to prove the equivalence between the relational algebra and the relational calculus extended with aggregate functions [14]. As far as we know, this is the first approach to introduce external functions in constraint query languages.
引用
收藏
页码:132 / 146
页数:15
相关论文
共 50 条
  • [1] CONSTRAINT QUERY LANGUAGES
    KANELLAKIS, PC
    KUPER, GM
    REVESZ, PZ
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1995, 51 (01) : 26 - 52
  • [2] On the structure of queries in constraint query languages
    Benedikt, M
    Libkin, L
    11TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 1996, : 25 - 34
  • [3] Aggregate operators in constraint query languages
    Benedikt, M
    Libkin, L
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2002, 64 (03) : 628 - 654
  • [4] Safe query languages for constraint databases
    Revesz, PZ
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1998, 23 (01): : 58 - 99
  • [5] Relational expressive power of constraint query languages
    Benedikt, M
    Dong, GZ
    Libkin, L
    Wong, LS
    JOURNAL OF THE ACM, 1998, 45 (01) : 1 - 34
  • [6] Query languages for bags and aggregate functions
    Libkin, L
    Wong, LS
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1997, 55 (02) : 241 - 272
  • [7] Expressive Power of Query Languages for Constraint Complex Value Databases
    Liu, Hong-Cheu
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, PT II, 2011, 6588 : 195 - 209
  • [8] EXPANDING QUERY POWER IN CONSTRAINT LOGIC PROGRAMMING-LANGUAGES
    MAHER, MJ
    STUCKEY, PJ
    LOGIC PROGRAMMING : PROCEEDINGS OF THE NORTH AMERICAN CONFERENCE, 1989, VOL 1-2, 1989, : 20 - 36
  • [9] On the expressiveness of linear-constraint query languages for spatial databases
    Vandeurzen, L
    Gyssens, M
    Van Gucht, D
    THEORETICAL COMPUTER SCIENCE, 2001, 254 (1-2) : 423 - 463
  • [10] The expressivity of constraint query languages with Boolean algebra linear cardinality constraints
    Revesz, P
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, PROCEEDINGS, 2005, 3631 : 167 - 182