skip to main content
10.1145/3331453.3361278acmotherconferencesArticle/Chapter ViewAbstractPublication PagescsaeConference Proceedingsconference-collections
research-article

RDF Multi-query Optimization Algorithm for Query Rewriting Using Common Subgraphs

Authors Info & Claims
Published:22 October 2019Publication History

ABSTRACT

In the current trend of rapid development of big data, there are frequent application scenarios of high concurrent query processing on RDF data sets. The multi-query optimization scheme for solving concurrent queries needs to provide a global approximate optimal solution for the query set composed of a set of queries, so as to minimize the overall time cost of the query set. Under the premise of accelerating statistics by RDF storage index and narrowing the scope of semantic pruning, firstly, simplified multiple queries are converted into connection graphs, and then all queries are clustered and grouped. In each group, all common subgraphs of connection graphs are iteratively searched and mapping tables are established. Then, the common subgraph is arranged in descending order by the number of vertices to construct the query rewriting scheme. Finally, for all the rewritten queries, the dynamic programming algorithm based on selection rate estimation is used for secondary optimization. On the one hand, the common subgraph is used to rewrite the query to reduce the number of queries, so as to reduce the cost through the reusable common result set. On the other hand, because of the establishment of RDF storage index, the selection rate can be estimated quickly, and the rewritten queries can be optimized again to improve the overall query efficiency. The experimental results show that the proposed algorithm has better query performance than the existing query schemes, especially when the RDF dataset is large, the number of queries in the query set is large, and the query statements are complex, the multi-query optimization method in this paper works better.

References

  1. Berners-Lee T, Hendler J, Lassila O (2001). The semantic web. Scientific american, 284(5), 28--37.Google ScholarGoogle Scholar
  2. Ahmetaj S, Fischl W, Kroll M, et al (2016). The Challenge of Optional Matching in SPARQL[C]// Intemational Symposium on Foundations of Information and Knowledge Systems. Springer International Publishing, 169--190.Google ScholarGoogle Scholar
  3. Schatzle A, Przyjaciel-Zablocki M,Neu A.et al (2014). Sempala: interactive SPARQL query processing on Hadoop[C]// Intemational Semantic Web Conference. Springer International Publishing, 164--179.Google ScholarGoogle Scholar
  4. Abadi DJ, Marcus A, Madden SR, Hollenbach K (2007). Scalable semantic Web data management using vertical partitioning. In: Koch C,ed. Proc. of the 33rd Int'l Conf. on Very Large Data Bases (VLDB 2007), Austria: ACM Press, 411--422.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Weiss C, Karras P, Bernstein A. Hexastore (2008): Sextuple indexing for semantic Web data management. Proc. of the VLDB Endowments, 1(1), 1008--1019.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Papailiou N, Tsoumakos D, Karras P, et al (2015). Graph-aware,workload-adaptive sparql query caching[C]// Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data. ACM, 1777--1792.Google ScholarGoogle Scholar
  7. Anyanwu K (2013). A vision for SPARQL multi-query optimization on MapReduce //Data Engineering Workshops(ICDEW), 2013 IEEE 29th International Conference on IEEE, 25--26.Google ScholarGoogle Scholar
  8. W. Le, A. Kementsietsidis, S. Duan et al. "Scalable multi-query optimization for sparql" in ICDE, 2012, pp. 666--677.Google ScholarGoogle Scholar
  9. Li Yan (2016). Research on sub-row query algorithm based on single neighborhood [D]. Qinhuangdao City: Yanshan University.Google ScholarGoogle Scholar
  10. X. Ren and J. Wang (2015). Exploiting vertex relationships in speeding up subgraph isomorphism over large graphs. PVLDB, 8(5), 617--628.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Zhang Chunying, Zhang Xue (2013). Subgraph Isomorphism of Uncertain Attribute Graphs and Its Decision Algorithm[J]. Computer Science, 40(6), 242--246.Google ScholarGoogle Scholar
  12. Kalayci T E, Birant D (2015). An ant colony optimization approach for optimizing SPARQL queries by reordering triple patterns[J]. Information Systems, 50, 51--68.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. RDF Multi-query Optimization Algorithm for Query Rewriting Using Common Subgraphs

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      CSAE '19: Proceedings of the 3rd International Conference on Computer Science and Application Engineering
      October 2019
      942 pages
      ISBN:9781450362948
      DOI:10.1145/3331453

      Copyright © 2019 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 22 October 2019

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited

      Acceptance Rates

      Overall Acceptance Rate368of770submissions,48%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader