Skip to main content

Answering Label-Constrained Reachability Queries via Reduction Techniques

  • Conference paper
  • First Online:
Database Systems for Advanced Applications (DASFAA 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13943))

Included in the following conference series:

  • 2055 Accesses

Abstract

Many real-world graphs contain edge labels for representing different types of relations between nodes, such as social networks, biological networks and knowledge graphs. As a fundamental task, the label-constrained reachability (LCR) query asks whether a given vertex s can reach another vertex t, only using a restricted set of given edge labels. However, existing works build a heavy index while taking too much time for answering queries online, exhibiting a poor performance on large graphs. To further reduce the index size and accelerate both index construction and query processing, we introduce two novel pruning techniques including degree-one reduction and unreachable query filter. Extensive experiments demonstrate that our proposed techniques significantly boost state-of-the-art methods.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 119.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 159.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Akiba, T., Iwata, Y., Yoshida, Y.: Fast exact shortest-path distance queries on large networks by pruned landmark labeling. In: SIGMOD 2013, pp. 349–360 (2013)

    Google Scholar 

  2. Cohen, E., Halperin, E., Kaplan, H., Zwick, U.: Reachability and distance queries via 2-hop labels. SIAM J. Comput. 32(5), 1338–1355 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  3. Jin, R., Hong, H., Wang, H., Ruan, N., Xiang, Y.: Computing label-constraint reachability in graph databases. In: SIGMOD 2010, pp. 123–134 (2010)

    Google Scholar 

  4. Kunegis, J.: KONECT: the Koblenz network collection. In: WWW 2013, pp. 1343–1350 (2013)

    Google Scholar 

  5. Leskovec, J., Krevl, A.: SNAP datasets: Stanford large network dataset collection (2014)

    Google Scholar 

  6. Li, W., Qiao, M., Qin, L., Zhang, Y., Chang, L., Lin, X.: Scaling distance labeling on small-world networks. In: SIGMOD 2019, pp. 1060–1077 (2019)

    Google Scholar 

  7. Pastor-Satorras, R., Rubí, M., Diaz-Guilera, A.: Statistical Mechanics of Complex Networks. Lecture Notes in Physics (2003)

    Google Scholar 

  8. Peng, Y., Lin, X., Zhang, Y., Zhang, W., Qin, L.: Answering reachability and k-reach queries on large graphs with label constraints. VLDB J. (2021)

    Google Scholar 

  9. Peng, Y., Zhang, Y., Lin, X., Qin, L., Zhang, W.: Answering billion-scale label-constrained reachability queries within microsecond. VLDB 13(6), 812–825 (2020)

    Google Scholar 

  10. Rossi, R.A., Ahmed, N.K.: The network data repository with interactive graph analytics and visualization. In: AAAI 2015, pp. 4292–4293 (2015)

    Google Scholar 

  11. Su, J., Zhu, Q., Wei, H., Yu, J.X.: Reachability querying: can it be even faster? TKDE 29(3), 683–697 (2017)

    Google Scholar 

  12. Tang, X., Chen, Z., Zhang, H., Liu, X., Shi, Y., Shahzadi, A.: An optimized labeling scheme for reachability queries. Comput. Mater. Continua 55, 267–283 (2018)

    Google Scholar 

  13. Trißl, S., Leser, U.: Fast and practical indexing and querying of very large graphs. In: SIGMOD 2007, pp. 845–856 (2007)

    Google Scholar 

  14. Valstar, L.D., Fletcher, G.H., Yoshida, Y.: Landmark indexing for evaluation of label-constrained reachability queries. In: SIGMOD 2017, pp. 345–358 (2017)

    Google Scholar 

  15. Veloso, R.R., Cerf, L., Meira Jr, W., Zaki, M.J.: Reachability queries in very large graphs: a fast refined online search approach. In: EDBT, pp. 511–522 (2014)

    Google Scholar 

  16. Wang, S., Lin, W., Yang, Y., Xiao, X., Zhou, S.: Efficient route planning on public transportation networks: a labelling approach. In: SIGMOD 2015, pp. 967–982 (2015)

    Google Scholar 

  17. Wang, S., Xiao, X., Yang, Y., Lin, W.: Effective indexing for approximate constrained shortest path queries on large road networks. VLDB 10(2), 61–72 (2016)

    Google Scholar 

  18. Wei, H., Yu, J.X., Lu, C., Jin, R.: Reachability querying: an independent permutation labeling approach. VLDB J. 27(1), 1–26 (2018)

    Article  Google Scholar 

  19. Yano, Y., Akiba, T., Iwata, Y., Yoshida, Y.: Fast and scalable reachability queries on graphs by pruned labeling with landmarks and paths. In: CIKM 2013, pp. 1601–1606 (2013)

    Google Scholar 

  20. Yildirim, H., Chaoji, V., Zaki, M.J.: GRAIL: a scalable index for reachability queries in very large graphs. VLDB J. 21(4), 509–534 (2012)

    Article  Google Scholar 

  21. Zafarani, R., Liu, H.: Social computing data repository at ASU (2009)

    Google Scholar 

  22. Zhou, J., Yu, J.X., Li, N., Wei, H., Chen, Z., Tang, X.: Accelerating reachability query processing based on DAG reduction. VLDB J. 27(2), 271–296 (2018)

    Article  Google Scholar 

  23. Zhu, A.D., Lin, W., Wang, S., Xiao, X.: Reachability queries on large dynamic graphs: a total order approach. In: SIGMOD 2014, pp. 1323–1334 (2014)

    Google Scholar 

  24. Zou, L., Xu, K., Yu, J.X., Chen, L., Xiao, Y., Zhao, D.: Efficient processing of label-constraint reachability queries in large graphs. Inf. Syst. 40, 47–66 (2014)

    Article  Google Scholar 

Download references

Acknowledgement

This work was supported by National Natural Science Foundation of China (Grant No. 61902074).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Weiguo Zheng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Cai, Y., Zheng, W. (2023). Answering Label-Constrained Reachability Queries via Reduction Techniques. In: Wang, X., et al. Database Systems for Advanced Applications. DASFAA 2023. Lecture Notes in Computer Science, vol 13943. Springer, Cham. https://doi.org/10.1007/978-3-031-30637-2_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-30637-2_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-30636-5

  • Online ISBN: 978-3-031-30637-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics