The Pragmatic Proof: Hypermedia API Composition and Execution
Machine clients are increasingly making use of the Web to perform tasks. While Web services traditionally mimic remote procedure calling interfaces, a new generation of so-called hypermedia APIs works through hyperlinks and forms, in a way similar to how people browse the Web. This means that existing composition techniques, which determine a procedural plan upfront, are not sufficient to consume hypermedia APIs, which need to be navigated at runtime. Clients instead need a more dynamic plan that allows them to follow hyperlinks and use forms with a preset goal. Therefore, in this article, we show how compositions of hypermedia APIs can be created by generic Semantic Web reasoners. This is achieved through the generation of a proof based on semantic descriptions of the APIs’ functionality. To pragmatically verify the applicability of compositions, we introduce the notion of pre-execution and post-execution proofs. The runtime interaction between a client and a server is guided by proofs but driven by hypermedia, allowing the client to react to the application’s actual state indicated by the server’s response. We describe how to generate compositions from descriptions, discuss a computer-assisted process to generate descriptions, and verify reasoner performance on various composition tasks using a benchmark suite. The experimental results lead to the conclusion that proof-based consumption of hypermedia APIs is a feasible strategy at Web scale.
full text BibTeX other citation formats
Published in 2017 in Theory and Practice of Logic Programming.
- Web
- Semantic Web
- proof
- Web services
- hypermedia
- Web service
Read this article online
- Read the full text online.
- Request a digital copy of this article.
- Comment on this article.
Cite this article in your work
Cite this article easily using its BibTeX entry:
@article{verborgh_tplp_2017,
title = {The Pragmatic Proof: {Hypermedia API} Composition and Execution},
author = {Verborgh, Ruben and Arndt, D\"orthe and Van Hoecke, Sofie and De Roo, Jos and Mels, Giovanni and Steiner, Thomas and Gabarr\'o Vall\'es, Joaquim},
journal = {Theory and Practice of Logic Programming},
year = 2017,
month = jan,
volume = 17,
number = 1,
pages = {1--48},
publisher = {Cambridge University Press},
doi = {10.1017/S1471068416000016},
url = {http://arxiv.org/pdf/1512.07780v1.pdf},
}
Alternatively, pick a reference of your choice below:
- ACM
- Ruben Verborgh, Dörthe Arndt, Sofie Van Hoecke, Jos De Roo, Giovanni Mels, Thomas Steiner, and Joaquim Gabarró Vallés. 2017. The Pragmatic Proof: Hypermedia API Composition and Execution. Theory and Practice of Logic Programming 17, 1 (January 2017), 1–48.
- APA
- Verborgh, R., Arndt, D., Van Hoecke, S., De Roo, J., Mels, G., Steiner, T., & Gabarró Vallés, J. (2017). The Pragmatic Proof: Hypermedia API Composition and Execution. Theory and Practice of Logic Programming, 17(1), 1–48.
- IEEE
- R. Verborgh et al., “The Pragmatic Proof: Hypermedia API Composition and Execution,” Theory and Practice of Logic Programming, vol. 17, no. 1, pp. 1–48, Jan. 2017.
- LNCS
- Verborgh, R., Arndt, D., Van Hoecke, S., De Roo, J., Mels, G., Steiner, T., Gabarró Vallés, J.: The Pragmatic Proof: Hypermedia API Composition and Execution. Theory and Practice of Logic Programming. 17, 1–48 (2017).
- MLA
- Verborgh, Ruben, et al. “The Pragmatic Proof: Hypermedia API Composition and Execution.” Theory and Practice of Logic Programming, vol. 17, no. 1, Cambridge University Press, Jan. 2017, pp. 1–48.
Discuss this article
- Discover all publications by Ruben Verborgh.
- Find related articles on Google Scholar.
- Post your questions or comments below.