From Relation Algebra to Semi-Join Algebra: An Approach for Graph Query Optimization

被引:4
|
作者
Hellings, Jelle [1 ]
Pilachowski, Catherine L. [2 ]
Van Gucht, Dirk [2 ]
Gyssens, Marc [1 ]
Wu, Yuqing [3 ]
机构
[1] Hasselt Univ, Hasselt, Belgium
[2] Indiana Univ, Bloomington, IN USA
[3] Pomona Coll, Claremont, CA 91711 USA
关键词
EXPRESSIVE POWER; TRANSITIVE CLOSURE; NAVIGATIONAL XPATH; CALCULUS; COMPLEXITY;
D O I
10.1145/3122831.3122833
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Many graph query languages rely on the composition operator to navigate graphs and select nodes of interests, even though evaluating compositions of relations can be costly. Often, this need for composition can be reduced by rewriting towards queries that use semi-joins instead. In this way, the cost of evaluating queries can be significantly reduced. We study techniques to recognize and apply such rewritings. Concretely, we study the relationship between the expressive power of the relation algebras, that heavily rely on composition, and the semi-join algebras, that replace the composition operator in favor of the semi-join operators. As our main result, we show that each fragment of the relation algebras where intersection and/or difference is only used on edges (and not on complex compositions) is expressively equivalent to a fragment of the semi-join algebras. This expressive equivalence holds for node queries that evaluate to sets of nodes. For practical relevance, we exhibit constructive steps for rewriting relation algebra queries to semi-join algebra queries, and prove that these steps lead to only a well-bounded increase in the number of steps needed to evaluate the rewritten queries. In addition, on node-labeled graphs that are sibling-ordered trees, we establish new relationships among the expressive power of Regular XPath, Conditional XPath, FO-logic, and the semi-join algebra augmented with restricted fixpoint operators.
引用
收藏
页数:10
相关论文
共 50 条
  • [41] FROM LINEAR ALGEBRA TO GEOMETRIES: DIDACTIC PROPOSAL BASED ON THE ONTOSEMIOTIC APPROACH
    Sbitneva, L.
    Moreno, N.
    Valdez, R.
    [J]. EDULEARN14: 6TH INTERNATIONAL CONFERENCE ON EDUCATION AND NEW LEARNING TECHNOLOGIES, 2014, : 496 - 504
  • [42] Preinflationary perturbations from the closed algebra approach in loop quantum cosmology
    Li, Bao-Fei
    Zhu, Tao
    Wang, Anzhong
    Kirsten, Klaus
    Cleaver, Gerald
    Sheng, Qin
    [J]. PHYSICAL REVIEW D, 2019, 99 (10)
  • [43] JOTR: Join-Optimistic Triple Reordering Approach for SPARQL Query Optimization on Big RDF data
    Chawla, Tanvi
    Singh, Girdhari
    Pilli, Emmanuel S.
    [J]. 2018 9TH INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND NETWORKING TECHNOLOGIES (ICCCNT), 2018,
  • [44] A physical approach to the classification of indecomposable Virasoro representations from the blob algebra
    Gainutdinov, Azat M.
    Jacobsen, Jesper Lykke
    Saleur, Hubert
    Vasseur, Romain
    [J]. NUCLEAR PHYSICS B, 2013, 873 (03) : 614 - 681
  • [45] TRANSLATION WITH OPTIMIZATION FROM RELATIONAL CALCULUS TO RELATIONAL ALGEBRA HAVING AGGREGATE FUNCTIONS
    NAKANO, R
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 1990, 15 (04): : 518 - 557
  • [46] Logistic network modeling and optimization: An approach based on (max, plus ) algebra and coloured Petri nets
    Mahjoub, Yassine Idel
    El-Alaoui, El Houcine Chakir
    Nait-Sidi-Moh, Ahmed
    [J]. COMPUTERS & INDUSTRIAL ENGINEERING, 2021, 158 (158)
  • [47] A modelling-optimization approach for discrete event systems using the (max,+) algebra and genetic algorithms
    Elmahi, Ilham
    Grunder, Olivier
    Elmoudni, Abdellah
    [J]. INTERNATIONAL JOURNAL OF INNOVATIVE COMPUTING INFORMATION AND CONTROL, 2006, 2 (04): : 771 - 788
  • [48] Doppler shift from a composition of boosts with Thomas rotation: A spacetime algebra approach
    Paiva, CR
    Ribeiro, MA
    [J]. JOURNAL OF ELECTROMAGNETIC WAVES AND APPLICATIONS, 2006, 20 (07) : 941 - 953
  • [49] RELATION BETWEEN CROSS SECTIONS FOR ELASTIC NEUTRINO AND ANTINEUTRINO SCATTERING BY NUCLEI FROM ALGEBRA OF CHARGES
    KIM, CW
    RAM, M
    [J]. PHYSICS LETTERS B, 1968, B 27 (05) : 306 - &
  • [50] A compiler approach to map algebra: automatic parallelization, locality optimization, and GPU acceleration of raster spatial analysis
    Carabano, Jesus
    Westerholm, Jan
    Sarjakoski, Tapani
    [J]. GEOINFORMATICA, 2018, 22 (02) : 211 - 235