skip to main content
10.1145/3390557.3394128acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiciaiConference Proceedingsconference-collections
research-article

GSR: A Resource Model and Semantics-based API Recommendation Algorithm

Published: 04 June 2020 Publication History

Abstract

With the rapid development of Web services, more and more Web services are published on the Internet. A Mashup application that aggregates multiple Web APIs is also becoming more popular. But it also brings a problem that is how to find a suitable API among a wide variety of APIs has become a challenge. To this end, this paper proposes a web service recommendation algorithm that combines graph databases and semantics. In this algorithm, we propose to use graph database to build a two-layer structure resource model. First, we use LDA for topic classification and classify Mashup and API of the same classification into the same category respectively. This helps reduce the number of searches for Mashup and API. When a user enters a requirement document, Word2vec and WMD algorithms are used to find similar Web API description text. Finally, we use similarity and API history invokes to propose a ranking algorithm to generate a recommendation list. Through real-world data, this experiment has a better-recommended performance.

References

[1]
Qiang He, Rui Zhou, Xuyun Zhang, Yanchun Wang, Dayong Ye, Feifei Chen, John C. Grundy, and Yun Yang,"Keyword Search for Building Service-Based Systems," IEEE Trans.Software Eng., 43(7): 658--674 (2017).
[2]
Al-hassan, M., Lu, H., & Lu, J. (2015). A semantic enhanced hybrid recommendation approach: A case study of e-Government tourism service recommendation sys- tem. Decision Support Systems, 72, 97--109.
[3]
C. Platzer and S. Dustdar, "A vector space search engine for web services," in Proc. IEEE Eur. Conf. Web Serv., 2005, pp. 62--71.
[4]
Y. Y. Du, Y. J. Zhang, and X. L. Zhang, "A semantic approach of service clustering and web service discovery," Inf. Technol., vol. 12, no. 5, pp. 967--974, 2013.
[5]
L. chen, Y. Wang, Q. Yu, Z. Zheng, J. Wu. " WT-LDA: User tagging augmented LDA for web service clustering". International Conference on Service Oriented Computing (ICSOC), 2013, Springer, pp.162--176.
[6]
C. Li, R. Zhang, J. Huai, and H. Sun, "A novel approach for API recommendation in mashup development," in Proc. IEEE Int. Conf. Web Serv., 2014, pp. 289--296.
[7]
N. Ali and C. Solis, "Self-adaptation to mobile resources in service oriented architecture," in Proceedings of 2015 IEEE International Conference on Mobile Services, pp. 407--414, New York, NY, USA, June 2015.
[8]
L. Wei, J. Yin, S. Deng, Y. Li, and Z. Wu, "Collaborative web service QoS prediction with location-based regularization," in Proceedings of IEEE 19th International Conference on Web Services (ICWS'12), pp. 464--171, Honolulu, HI, USA, June 2012.
[9]
B. Gonsalves and V. Patil, "Improved web service recommendation via exploiting location and QoS information," in Proceedings of International Conference on Information Communication and Embedded Systems IEEE, pp. 1--5, Boca Raton, FL, USA, December 2016.
[10]
Lifang Ren, Wenjian Wang, An SVM-based collaborative filtering approach for Top-N web services recommendation. Future Generation Comp. Syst. 78: 531--543 (2018).
[11]
Tomas Mikolov, Kai Chen, Greg Corrado, Jeffrey Dean, Efficient Estimation of Word Representations in Vector Space. ICLR (Workshop Poster) 2013.
[12]
Matt J. Kusner, Yu Sun, Nicholas I. Kolkin, Kilian Q. Weinberger, From Word Embeddings To Document Distances. ICML 2015: 957--966.
[13]
Graph Database [online]. https://neo4j.com/.
[14]
APIs, Mashup and the Web as Platform [online]. https://www.programmableweb.com/.

Index Terms

  1. GSR: A Resource Model and Semantics-based API Recommendation Algorithm

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    ICIAI '20: Proceedings of the 2020 the 4th International Conference on Innovation in Artificial Intelligence
    May 2020
    271 pages
    ISBN:9781450376587
    DOI:10.1145/3390557
    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 ACM 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]

    In-Cooperation

    • The Hong Kong Polytechnic: The Hong Kong Polytechnic University
    • Xi'an Jiaotong-Liverpool University: Xi'an Jiaotong-Liverpool University

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 04 June 2020

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. API recommendation
    2. LDA
    3. Resource Model
    4. Word Mover's Distance

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    ICIAI 2020

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 103
      Total Downloads
    • Downloads (Last 12 months)2
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 15 Feb 2025

    Other Metrics

    Citations

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media