Abstract
Due to the large quantity and diversity of computational services currently available, there is a need for mechanisms to automatically discover services taking into account the requirements of potential customers. This work is focused on the discovery of RESTful web services described using the OpenAPI/Swagger language extended through semantic annotations. Service discovery is based on functional and non-functional requirements, which define the profile of the RESTful service sought by the customer. In order to enable semantic discovery, a profile ontology for RESTful services was created. Service descriptions were stored in a database, and mappings between ontology elements and database elements were defined. As a result, service discovery can be performed by executing SPARQL queries on the database. For experimental validation, we added a set of REST descriptions to the database and executed SPARQL queries and similarity algorithms to locate the desired services.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Apostolakis, I., Mainas, N., Petrakis, G.M.: Simple querying service for OpenAPI descriptions with semantic extensions. Inf. Syst. 102241 (2023)
Behara, K.N., Bhaskar, A., Chung, E.: A novel approach for the structural comparison of origin-destination matrices: Levenshtein distance. Transp. Res. Part C: Emerg. Technol. 111, 513–530 (2020)
Bereta, K., Xiao, G., Koubarakis, M.: Ontop-spatial: ontop of geospatial databases. J. Web Semant. 58, 100514 (2019)
Calvanese, D., et al.: Ontop: answering SPARQL queries over relational databases. Semant. Web 8(3), 471–487 (2017)
Grünewald, E., Wille, P., Pallas, F., Borges, M.C., Ulbricht, M.R.: TIRA: an OpenAPI extension and toolbox for GDPR transparency in RESTful architectures. In: 2021 IEEE European Symposium on Security and Privacy Workshops, pp. 312–319 (2021)
Galgonek, J., Vondrášek, J.: A comparison of approaches to accessing existing biological and chemical relational databases via SPARQL. J. Cheminform. 15(1), 1–14 (2023)
H2 Database: Main Page (2023). http://www.h2database.com/html/main.html
Jalal, S., Yadav, D.K., Negi, C.S.: Web service discovery with incorporation of web services clustering. Int. J. Comput. Appl. 45(1), 51–62 (2023)
Li, S., et al.: Bi-directional Bayesian probabilistic model based hybrid grained semantic matchmaking for Web service discovery. World Wide Web 25(2), 445–470 (2022)
Martin-Lopez, A.: Automated analysis of inter-parameter dependencies in web APIs. In: Proceedings of ACM/IEEE 42nd International Conference on Software Engineering: Companion Proceedings, pp. 40–142 (2020)
Ma, S.-P., et al.: Real-world RESTful service composition: a transformation-annotation -discovery approach. In: 2017 IEEE 10th Conference on Service-Oriented Computing and Applications (SOCA). IEEE (2017)
Mainas, N., Petrakis, E.G.M., Sotiriadis, S.: Semantically enriched open API service descriptions in the cloud. In: 2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS). IEEE (2017)
Ontop VKG:. Introduction (2023). https://ontop-vkg.org/guide/
Ontop VKG: Database and Ontop Setup (2023). https://ontop-vkg.org/tutorial/basic/setup.html#database-setup
Ontop VKG: Key concepts (2023). https://ontop-vkg.org/guide/concepts.html#virtual-knowledge-graph-vkg
Ontop VKG: Setting up an Ontop SPARQL endpoint with Ontop CLI (2023). https://ontop-vkg.org/tutorial/endpoint/endpoint-cli.html
Papazoglu, M.P.: Service-oriented computing: concepts, characteristics and directions. In: Proceedings of 4th International Conference on Web Information Systems Engineering (WISE), pp. 3–12. IEEE (2003)
Segura, S., et al.: Metamorphic testing of RESTful web APIs. In: Proceedings of the 40th International Conference on Software Engineering, p. 882 (2018)
Talantikite, H.N., Aissani, D., Boudjlida, N.: Semantic annotations for web services discovery and composition. Comput. Stand. Interfaces 31(6), 1108–1117 (2009)
Tzavaras, A., Mainas, N., Petrakis, E.G.M.: OpenAPI framework for the Web of Things. Internet Things, 100675 (2023)
W3C: SPARQL Query Language for RDF (2008). https://www.w3.org/TR/rdf-sparql-query/
Acknowledgement
This study was financed in part by CAPES (Coordenação de Aperfeiçoamento de Pessoal de Nível Superior) - Brazil, Finance Code 001.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Soki, A.T., Siqueira, F. (2024). Discovery of RESTful Web Services Based on the OpenAPI 3.0 Standard with Semantic Annotations. In: Barolli, L. (eds) Advanced Information Networking and Applications. AINA 2024. Lecture Notes on Data Engineering and Communications Technologies, vol 200. Springer, Cham. https://doi.org/10.1007/978-3-031-57853-3_3
Download citation
DOI: https://doi.org/10.1007/978-3-031-57853-3_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-57852-6
Online ISBN: 978-3-031-57853-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)