Skip to main content
Log in

A novel subgraph querying method based on paths and spectra

  • Brain- Inspired computing and Machine learning for Brain Health
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

Graph and graph database are widely used in many domains, and the graph querying attracts more and more attentions. Among these querying problems, subgraph querying is the most compelling one, since it contains very expensive subgraph isomorphism. The paper proposes a novel subgraph querying method PLGCoding, which use some information of shortest paths and Laplacian spectra to filter out false positives. Specifically, we first extract some features, including some information of vertices, edges, the shortest paths and Laplacian spectra, and encode extracted features. An index PLGCode-Tree is built based on codes to shrink the candidate set. Then, we propose two-step filtering strategy to implement the filtering-and-verification framework and thus generate the answer set. Compared with competing methods on real dataset, experimental results show PLGCoding can improve the querying efficiency.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

References

  1. Ilic A, Ilic M (2017) On some algorithms for computing topological indices of chemical graphs. MATCH Commun Math Comput Chem 78:665–674

    MathSciNet  MATH  Google Scholar 

  2. Sugiyama M, Ghisu ME et al (2017) graphkernels: R and Python packages for graph comparison. Bioinformatics 34(3):530–532

    Article  Google Scholar 

  3. Zhang L, Yang Y et al (2016) Detecting densely distributed graph patterns for fine-grained image categorization. IEEE Trans Image Process 25(2):553–565

    Article  MathSciNet  Google Scholar 

  4. Xu B, Bu J et al (2015) EMR: a scalable graph-based ranking model for content-based image retrieval. IEEE Trans Knowl Data Eng 27(1):102–114

    Article  Google Scholar 

  5. Peng P, Zou L et al (2016) Processing SPARQL queries over distributed RDF graphs. VLDB J 25(2):243–268

    Article  Google Scholar 

  6. Peng P, Zou L, Chen L et al (2016) Query workload-based RDF graph fragmentation and allocation. In: EDBT

  7. Rong H, Ma T, Tang M et al (2018) A novel subgraph \(K^{+}\)-isomorphism method in social network based on graph similarity detection. Soft Comput 22(8):2583–2601

    Article  Google Scholar 

  8. Zheng W, Lian X, Zou L et al (2016) Online subgraph skyline analysis over knowledge graphs. IEEE Trans Knowl Data Eng 28(7):1805–1819

    Article  Google Scholar 

  9. Murthy AK (2015) XML URL classification based on their semantic structure orientation for web mining applications. Proc Comput Sci 46:143–150

    Article  Google Scholar 

  10. Li N, Bai L (2018) Transforming fuzzy spatiotemporal data from relational databases to XML. IEEE Access 6:4176–4185

    Article  Google Scholar 

  11. Garey M, Johnson D (2002) Computers and intractabiltiy. Freeman, New York

    Google Scholar 

  12. Giugno R, Shasha D (2002) Graphgrep: a fast and universal method for querying graphs. Proc IEEE Int Conf Pattern Recognit 2:112–115

    Google Scholar 

  13. Yan X, Yu P, Han J (2004) Graph indexing: a frequent structure-based approach. In: Proceedings of the ACM SIGMOD international conference on management of data, pp 335–346

  14. He H, Singh AK (2006) Closure-tree: an index structure for graph queries. In: Proceedings of the IEEE international conference on data engineering, pp 38–49

  15. Cheng J, Ke Y et al (2007) Fg-index: towards verification-free query processing on graph databases. In: Proceedings of the ACM SIGMOD international conference on management of data, pp 857–872

  16. Zhang S, Hu M, Yang J (2007) Treepi: a novel graph indexing method. In: Proceedings of the IEEE international conference on data engineering, pp 966–975

  17. Zhao P, Yu J, Yu P (2007) Graph indexing: Tree+ delta \(>=\) graph. In: Proceedings of the international conference on very large data bases, pp 938–949

  18. Shang H, Zhang Y, Lin X, Yu J (2008) Taming verification hardness: an efficient algorithm for testing subgraph isomorphism. Proc Int Conf Very Large Data Bases 1(1):364–375

    Google Scholar 

  19. Zou L, Chen L, Yu J, Lu Y (2008) A novel spectral coding in a large graph database. In: Proceedings of the international conference on extending database technology, pp 181–192

  20. Zhu L, Song Q (2011) A study of Laplaican spectra of graph for subgraph queries. In: Proceedings of the IEEE international conference on data mining, pp 1272–1277

  21. Arumugam S et al (2016) Handbook of graph theory, combinatorial optimization, and algorithms. Chapman and Hall, London

    MATH  Google Scholar 

  22. Fuller LE (2017) Basic matrix theory. Courier Dover Publications, Mineola

    MATH  Google Scholar 

  23. Tousidou E, Bozanis P, Manolopoulos Y (2002) Signature-based structures for objects with set-valued attributes. Inf Syst 27(2):93–121

    Article  Google Scholar 

  24. Cordella L, Foggia P, Sansone C et al (2004) A (sub)graph isomorphism algorithm for matching large graphs. IEEE Trans Pattern Anal Mach Intell 26(10):1367–1372

    Article  Google Scholar 

  25. Han W, Pham M, Lee J et al (2011) iGraph in action: performance analysis of disk-based graph indexing techniques. In: Proceedings of the ACM SIGMOD international conference on management of data, pp 1241–1242

  26. Han W, Lee J, Pham M et al (2010) iGraph: a framework for comparisons of disk-based graph indexing techniques. Proc VLDB Endow 3(1):340–351

    Google Scholar 

  27. Kitagawa H, Ishikawa Y (1997) False drop analysis of set retrieval with signature files. IEICE Trans Inf Syst 80(6):653–664

    Google Scholar 

Download references

Acknowledgements

The research presented in this paper is supported in part by the National Natural Science Foundation of China (Nos. 61602374, 61602376, 61702411), the Natural Science Foundation of Shaanxi Province (CN) (Nos. 2016JQ6041, 2017JQ6020), the Natural Science Foundation of Shaanxi Provincial Department of Education (CN) (Nos. 16JK1552, 16JK1573), and the Foundation of Xi’an University of Technology (No. 112-451115002).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Lei Zhu.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhu, L., Yao, Y., Wang, Y. et al. A novel subgraph querying method based on paths and spectra. Neural Comput & Applic 31, 5671–5678 (2019). https://doi.org/10.1007/s00521-018-3837-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-018-3837-y

Keywords

Navigation