Extending relational algebra with similarities

被引:2
|
作者
Hajdinjak, Melita [1 ]
Bierman, Gavin [2 ]
机构
[1] Univ Ljubljana, Fac Elect Engn, Ljubljana 61000, Slovenia
[2] Microsoft Res, Cambridge, England
关键词
D O I
10.1017/S0960129511000740
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we propose various extensions to the relational model to support similarity-based querying. We build upon the K-relation model, where tuples are assigned values from an arbitrary semiring K, and its associated positive relational algebra RA(K)(+). We consider a recently proposed extension to RA(K)(+) using a monus operation on the semiring to support negative queries, and show how, surprisingly, it fails for important 'fuzzy' semirings. Instead, we suggest using a negation operator. We also consider the identities satisfied by the relational algebra RA(K)(+) We show that moving from a semiring to a particular form of lattice (a De Morgan frame) yields a relational algebra that satisfies all the classical (positive) relational algebra identities. We claim that to support real-world similarity queries realistically, one must move from tuple-level annotations to attribute-level annotations. We show in detail how our De Morgan frame-based model can be extended to support attribute-level annotations and give worked examples of similarity queries in this setting.
引用
收藏
页码:686 / 718
页数:33
相关论文
共 50 条
  • [21] A NEW FORMALISM FOR RELATIONAL ALGEBRA
    LARSEN, KS
    SCHWARTZBACH, MI
    SCHMIDT, EM
    [J]. INFORMATION PROCESSING LETTERS, 1992, 41 (03) : 163 - 168
  • [22] A COMPUTATIONAL MODEL OF RELATIONAL ALGEBRA
    VOLFENGAGEN, VE
    YATSUK, VY
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 1985, 11 (05) : 298 - 309
  • [23] An Algebra of Alignment for Relational Verification
    Antonopoulos, Timos
    Koskinen, Eric
    Ton Chanh Le
    Nagasamudram, Ramana
    Naumann, David A.
    Minh Ngo
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (POPL): : 573 - 603
  • [24] Induction of Relational Algebra Expressions
    Gillis, Joris J. M.
    Van den Bussche, Jan
    [J]. INDUCTIVE LOGIC PROGRAMMING, 2010, 5989 : 25 - +
  • [25] Relational Algebra by Way of Adjunctions
    Gibbons, Jeremy
    Henglein, Fritz
    Hinze, Ralf
    Wu, Nicolas
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2
  • [26] EXPRESSIVE POWER OF RELATIONAL ALGEBRA
    PAREDAENS, J
    [J]. INFORMATION PROCESSING LETTERS, 1978, 7 (02) : 107 - 111
  • [27] On a fuzzy bipolar relational algebra
    Bosc, Patrick
    Pivert, Olivier
    [J]. INFORMATION SCIENCES, 2013, 219 : 1 - 16
  • [28] RELATIONAL ALGEBRA MACHINE GRACE
    KITSUREGAWA, M
    TANAKA, H
    MOTOOKA, T
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1983, 147 : 191 - 214
  • [29] MANIPULATION OF EXPRESSIONS IN A RELATIONAL ALGEBRA
    STROET, JWM
    ENGMANN, R
    [J]. INFORMATION SYSTEMS, 1979, 4 (03) : 195 - 203
  • [30] OPTIMIZATION IN THE TRANSLATION FROM THE RELATIONAL CALCULUS TO THE RELATIONAL ALGEBRA
    SIEPERMANNPONSDE, CM
    VIDART, J
    [J]. ACTA CIENTIFICA VENEZOLANA, 1978, 29 : 31 - 31