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.
Similar content being viewed by others
References
Ilic A, Ilic M (2017) On some algorithms for computing topological indices of chemical graphs. MATCH Commun Math Comput Chem 78:665–674
Sugiyama M, Ghisu ME et al (2017) graphkernels: R and Python packages for graph comparison. Bioinformatics 34(3):530–532
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
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
Peng P, Zou L et al (2016) Processing SPARQL queries over distributed RDF graphs. VLDB J 25(2):243–268
Peng P, Zou L, Chen L et al (2016) Query workload-based RDF graph fragmentation and allocation. In: EDBT
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
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
Murthy AK (2015) XML URL classification based on their semantic structure orientation for web mining applications. Proc Comput Sci 46:143–150
Li N, Bai L (2018) Transforming fuzzy spatiotemporal data from relational databases to XML. IEEE Access 6:4176–4185
Garey M, Johnson D (2002) Computers and intractabiltiy. Freeman, New York
Giugno R, Shasha D (2002) Graphgrep: a fast and universal method for querying graphs. Proc IEEE Int Conf Pattern Recognit 2:112–115
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
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
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
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
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
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
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
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
Arumugam S et al (2016) Handbook of graph theory, combinatorial optimization, and algorithms. Chapman and Hall, London
Fuller LE (2017) Basic matrix theory. Courier Dover Publications, Mineola
Tousidou E, Bozanis P, Manolopoulos Y (2002) Signature-based structures for objects with set-valued attributes. Inf Syst 27(2):93–121
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
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
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
Kitagawa H, Ishikawa Y (1997) False drop analysis of set retrieval with signature files. IEICE Trans Inf Syst 80(6):653–664
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
Corresponding author
Rights and permissions
About this article
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
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-018-3837-y