From Relation Algebra to Semi-join Algebra: An Approach to Graph Query Optimization. (9th May 2020)
- Record Type:
- Journal Article
- Title:
- From Relation Algebra to Semi-join Algebra: An Approach to Graph Query Optimization. (9th May 2020)
- Main Title:
- From Relation Algebra to Semi-join Algebra: An Approach to Graph Query Optimization
- Authors:
- Hellings, Jelle
Pilachowski, Catherine L
Van Gucht, Dirk
Gyssens, Marc
Wu, Yuqing - Abstract:
- Abstract: Many graph query languages rely on composition to navigate graphs and select nodes of interest, even though evaluating compositions of relations can be costly. Often, this need for composition can be reduced by rewriting toward queries using semi-joins instead, resulting in a significant reduction of the query evaluation cost. We study techniques to recognize and apply such rewritings. Concretely, we study the relationship between the expressive power of the relation algebras, which heavily rely on composition, and the semi-join algebras, which replace composition in favor of semi-joins. Our main result is 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 evaluating to sets of nodes. For practical relevance, we exhibit constructive rules for rewriting relation algebra queries to semi-join algebra queries and prove that they lead to only a well-bounded increase in the number of steps needed to evaluate the rewritten queries. In addition, on 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.
- Is Part Of:
- Computer journal. Volume 64:Number 5(2021)
- Journal:
- Computer journal
- Issue:
- Volume 64:Number 5(2021)
- Issue Display:
- Volume 64, Issue 5 (2021)
- Year:
- 2021
- Volume:
- 64
- Issue:
- 5
- Issue Sort Value:
- 2021-0064-0005-0000
- Page Start:
- 789
- Page End:
- 811
- Publication Date:
- 2020-05-09
- Subjects:
- graph query optimization -- relation algebra -- semi-join algebra -- rewriting -- transitive closure -- restricted transitive closure -- expressiveness
Computers -- Periodicals
005.1 - Journal URLs:
- http://comjnl.oxfordjournals.org/ ↗
http://ukcatalogue.oup.com/ ↗ - DOI:
- 10.1093/comjnl/bxaa031 ↗
- Languages:
- English
- ISSNs:
- 0010-4620
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 3394.060000
British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 16873.xml