Bounded Pattern Matching Using Views
2020
Bounded evaluation using views is to compute the answers \(Q(\mathcal{D})\) to a query Q in a dataset \(\mathcal{D}\) by accessing only cached views and a small fraction \(D_Q\) of \(\mathcal{D}\) such that the size \(|D_Q|\) of \(D_Q\) and the time to identify \(D_Q\) are independent of \(|\mathcal{D}|\), no matter how big \(\mathcal{D}\) is. Though proven effective for relational data, it has yet been investigated for graph data. In light of this, we study the problem of bounded pattern matching using views. We first introduce access schema \(\mathcal{C}\) for graphs and propose a notion of joint containment to characterize bounded pattern matching using views. We show that a pattern query \({\mathsf {Q}} \) can be boundedly evaluated using views \(\mathcal{V}(G)\) and a fraction \(G_Q\) of G if and only if the query \({\mathsf {Q}} \) is jointly contained by \(\mathcal{V}\) and \(\mathcal{C}\). Based on the characterization, we develop an efficient algorithm as well as an optimization strategy to compute matches by using \(\mathcal{V}(G)\) and \(G_Q\). Using real-life and synthetic data, we experimentally verify the performance of these algorithms, and show that (a) our algorithm for joint containment determination is not only effective but also efficient; and (b) our matching algorithm significantly outperforms its counterpart, and the optimization technique can further improve performance by eliminating unnecessary input..
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
21
References
0
Citations
NaN
KQI