Abstract
The partial evaluation and assembly framework has recently been applied for processing subgraph matching queries over large-scale knowledge graphs in the distributed environment. The framework is implemented on the master-slave architecture, endowed with outstanding scalability. However, there exists a drawback of partial evaluation, that if the volume of intermediate results is large, assembly computation which is handled by the master would be a bottleneck. In this paper, we propose an efficient assembly algorithm by exploring the characteristics of intermediate results generated during the partial matching stage in each fragment. (1) The partial matching index (PM-Index) structure are constructed by utilizing the incoming and outgoing vertices in parallel to improve the searching efficiency of the assembling phase. (2) The time and space complexity of PM-Index construction are analysed. (3) The experimental results over benchmark datasets show that our approach outperforms the state-of-the-art methods.
J. Xing and B. Liu—These authors contributed equally to this work and should be considered co-first authors.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Chandra, A.K., Merlin, P.M.: Optimal implementation of conjunctive queries in relational data bases. In: Proceedings of the Ninth Annual ACM Symposium on Theory of Computing, STOC 1977, pp. 77–90. Association for Computing Machinery, New York (1977)
Chang, L., et al.: Hawq: a massively parallel processing sql engine in hadoop. In: Proceedings of the 2014 ACM SIGMOD International Conference on Management of Data, pp. 1223–1234 (2014)
Fan, W., Wang, X., Wu, Y.: Performance guarantees for distributed reachability queries. VLDB 5(11), 1304–1316 (2012)
Guo, Y., Pan, Z., Heflin, J.: LUBM: a benchmark for OWL knowledge base systems. Web Semant. Sci. Serv. Agents World Wide Web 3, 158–182 (2005)
Harris, S., Seaborne, A.: SPARQL 1.1 query language. W3C recommendation 21 (2013)
Husain, M., McGlothlin, J., Masud, M.M., Khan, L., Thuraisingham, B.M.: Heuristics-based query processing for large RDF graphs using cloud computing. IEEE Trans. Knowl. Data Eng. 23(9), 1312–1327 (2011)
Jones, N.D.: An introduction to partial evaluation. ACM Comput. Surv. 28(3), 480–503 (1996)
Peng, P., Zou, L., Guan, R.: Accelerating partial evaluation in distributed SPARQL query evaluation. In: 35th IEEE International Conference on Data Engineering, ICDE 2019, Macao, China, April 8–11, 2019. pp. 112–123. IEEE (2019)
Peng, P., Zou, L., Özsu, M.T., Chen, L., Zhao, D.: Processing SPARQL queries over distributed RDF graphs. VLDB J. 25(2), 243–268 (2016). https://doi.org/10.1007/s00778-015-0415-0
Pérez, J., Arenas, M., Gutierrez, C., et al.: Semantics and complexity of SPARQL. In: Cruz, I. (ed.) ISWC 2006. LNCS, vol. 4273, pp. 30–43. Springer, Heidelberg (2006). https://doi.org/10.1007/11926078_3
Ren, X., Wang, J., Han, W.S., Yu, J.X.: Fast and robust distributed subgraph enumeration. Proc. VLDB Endow. 12(11), 1344–1356 (2019)
Rohloff, K., Schantz, R.: Clause-iteration with mapreduce to scalably query datagraphs in the shard graph-store. In: DIDC 2011 (2011)
Wang, X., Wang, S., Xin, Y., Yang, Y., Wang, X.: Distributed pregel-based provenance-aware regular path query processing on RDF knowledge graphs. World Wide Web 23(3), 1465–1496 (2020)
Wang, X., et al.: Efficient subgraph matching on large RDF graphs using MapReduce. Data Sci. Eng. 4(1), 24–43 (2019). https://doi.org/10.1007/s41019-019-0090-z
Wang, X., Wang, J., Zhang, X.: Efficient distributed regular path queries on RDF graphs using partial evaluation. In: Proceedings of the 25th ACM International on Conference on Information and Knowledge Management, CIKM 2016, pp. 1933–1936. Association for Computing Machinery, New York (2016)
Wang, X., Zou, L., Wang, C., Peng, P., Feng, Z.Y.: Research on knowledge graph data management: a survey. Ruan Jian Xue Bao 30(07), 2139–2174 (2019)
Zeng, K., Yang, J., Wang, H., Shao, B., Wang, Z.: A distributed graph engine for web scale RDF data. Proc. VLDB Endow. 6(4), 265–276 (2013)
Zou, L., Özsu, M.T., Chen, L., Shen, X., Huang, R., Zhao, D.: gStore: a graph-based SPARQL query engine. VLDB J. 23(4), 565–590 (2014)
Acknowledgments
This work is supported by the National Key Research and Development Program of China (2019YFE0198600) and National Natural Science Foundation of China (61972275), partially supported by Australian Research Council Linkage Project (LP180100750).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Xing, J., Liu, B., Li, J., Choudhury, F.M., Wang, X. (2021). Optimal Subgraph Matching Queries over Distributed Knowledge Graphs Based on Partial Evaluation. In: Zhang, W., Zou, L., Maamar, Z., Chen, L. (eds) Web Information Systems Engineering – WISE 2021. WISE 2021. Lecture Notes in Computer Science(), vol 13080. Springer, Cham. https://doi.org/10.1007/978-3-030-90888-1_22
Download citation
DOI: https://doi.org/10.1007/978-3-030-90888-1_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-90887-4
Online ISBN: 978-3-030-90888-1
eBook Packages: Computer ScienceComputer Science (R0)