Skip to main content

Discovery of RESTful Web Services Based on the OpenAPI 3.0 Standard with Semantic Annotations

  • Conference paper
  • First Online:
Advanced Information Networking and Applications (AINA 2024)

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.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Apostolakis, I., Mainas, N., Petrakis, G.M.: Simple querying service for OpenAPI descriptions with semantic extensions. Inf. Syst. 102241 (2023)

    Google Scholar 

  2. 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)

    Article  Google Scholar 

  3. Bereta, K., Xiao, G., Koubarakis, M.: Ontop-spatial: ontop of geospatial databases. J. Web Semant. 58, 100514 (2019)

    Article  Google Scholar 

  4. Calvanese, D., et al.: Ontop: answering SPARQL queries over relational databases. Semant. Web 8(3), 471–487 (2017)

    Article  Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Article  Google Scholar 

  7. H2 Database: Main Page (2023). http://www.h2database.com/html/main.html

  8. 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)

    Google Scholar 

  9. 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)

    Article  Google Scholar 

  10. 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)

    Google Scholar 

  11. 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)

    Google Scholar 

  12. 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)

    Google Scholar 

  13. Ontop VKG:. Introduction (2023). https://ontop-vkg.org/guide/

  14. Ontop VKG: Database and Ontop Setup (2023). https://ontop-vkg.org/tutorial/basic/setup.html#database-setup

  15. Ontop VKG: Key concepts (2023). https://ontop-vkg.org/guide/concepts.html#virtual-knowledge-graph-vkg

  16. Ontop VKG: Setting up an Ontop SPARQL endpoint with Ontop CLI (2023). https://ontop-vkg.org/tutorial/endpoint/endpoint-cli.html

  17. 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)

    Google Scholar 

  18. Segura, S., et al.: Metamorphic testing of RESTful web APIs. In: Proceedings of the 40th International Conference on Software Engineering, p. 882 (2018)

    Google Scholar 

  19. Talantikite, H.N., Aissani, D., Boudjlida, N.: Semantic annotations for web services discovery and composition. Comput. Stand. Interfaces 31(6), 1108–1117 (2009)

    Article  Google Scholar 

  20. Tzavaras, A., Mainas, N., Petrakis, E.G.M.: OpenAPI framework for the Web of Things. Internet Things, 100675 (2023)

    Google Scholar 

  21. W3C: SPARQL Query Language for RDF (2008). https://www.w3.org/TR/rdf-sparql-query/

Download references

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

Authors

Corresponding author

Correspondence to Frank Siqueira .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 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

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

Publish with us

Policies and ethics