Model-based Generation of Web Application Programming Interfaces to Access Open Data
DOI:
https://doi.org/10.13052/jwe1540-9589.197810Keywords:
Web APIs, open data, data access, data reuseAbstract
In order to facilitate the reusing of open data from open data platforms’ catalogs, Web Application Programming Interfaces (APIs) are an important mechanism for reusers. However, there is a lack of suitable Web APIs to access data from open data platforms. Moreover, in most cases, the currently available APIs only allow to access catalog’s metadata or to download entire data resources (i.e. coarse-grain access to data), hampering the reuse of data. Therefore, we propose a model-based approach to automatically generate Web APIs from open data. Our generated Web APIs facilitate the access and reuse of specific data (i.e., providing fine-grain or query-level access to data), which will result in many societal and economic benefits such as transparency and innovation. With this approach we address open data publishers which will be able to include a Web API within their data, but also open data reusers in case of missing APIs. This APIfication process, which means the creation of APIs for every available dataset, is based on automatic, generic and standardised generation mechanisms. The performance and functioning of this approach is validated with different datasets, which successfully generates Web APIs that facilitate the reuse of data.
Downloads
References
State official newsletter of Spain (BOE). Law 19/2013 of December 9, transparency, access to public information and good governance. BOE number 295 of 10-12, 2013.
P. Atzeni, P. Merialdo, and G. Mecca. Data-Intensive Web Sites: Design and Maintenance. World Wide Web, 4(1):21–47, 2001.
Sami Beydeda,Matthias Book, Volker Gruhn, et al. Model-driven software development, volume 15. Springer, 2005.
M. Brambilla, J. Cabot, and M.Wimmer. Model-driven software engineering in practice. Synthesis Lectures on Software Engineering, 1(1):1–182, 2012.
K. Braunschweig, J. Eberius, M. Thiele, and W. Lehner. The State of Open Data Limits of Current Open Data Platforms. Proceedings of the 21st WWW Conference, 2012.
J. Cabot. Open data for all: an API-based approach, 2016. https://modeling-languages.com/open-data-for-all-api/. Accessed July 31, 2019.
J. L. C´anovas, F. Jouault, J. Cabot, and J. Garc´ıa. API2MoL: Automating the building of bridges between APIs and Model-Driven Engineering. Information and Software Technology, 54(3):257 – 273, 2012.
J. S. Cuadrado, E. Guerra, and J. de Lara. AnATLyzer: An Advanced IDE for ATL Model Transformations. pages 85–88. Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings, 2018.
H. Ed-douibi, J. L. C´anovas, and J. Cabot. Example-Driven Web API Specification Discovery. pages 267–284. Modelling Foundations and Applications - Springer International Publishing, 2017.
H. Ed-douibi, J. L. C´anovas, and J. Cabot. OpenAPItoUML: A Tool to Generate UML Models from OpenAPI Definitions. pages 487–491, Cham, 2018. Web Engineering - Springer International Publishing.
H. Ed-douibi, J. L. C´anovas Izquierdo, F. Bordeleau, and J. Cabot. Wapiml: Towards a modeling infrastructure for web apis. In ACM/IEEE 22nd International Conference on Model Driven Engineering Languages and Systems Companion (MODELS-C), pages 748–752, 2019.
Hamza Ed-douibi, Javier Luis C´anovas Izquierdo, Abel G´omez, Massimo Tisi, and Jordi Cabot. EMF-REST: Generation of RESTful APIs from Models. In Proceedings of the 31st Annual ACM Symposium on Applied Computing, pages 1446–1453. Association for Computing Machinery, 2016.
I. Hopkinson, S. Maude, and M. Rospocher. A Simple API to the Knowledgestore. In Proceedings of the International Conference on Developers, volume 1268, pages 7–12. CEUR-WS.org, 2014.
M. Janssen, Y. Charalabidis, and A. Zuiderwijk. Benefits, Adoption Barriers and Myths of Open Data and Open Government. Information Systems Management, 29(4):258–268, 2012.
F. Jouault, F. Allilaire, J. B´ezivin, and I. Kurtev. ATL: A model transformation tool. Science of Computer Programming, 72(1):31–39, 2008. Special Issue on Second issue of experimental software and toolkits (EST).
I. Koren and R. Klamma. Generation of Web Frontends from API Documentation with Direwolf Interaction Flow Designer. pages 492–495, Cham, 2018. Web Engineering - Springer International Publishing.
Maria Maleshkova, Lukas Zilka, Petr Knoth, and Carlos Pedrinaci. Cross-lingual web API classification and annotation. In Proceedings of the 2nd International Conference on Multilingual Semantic Web-Volume 775, pages 1 12. CEUR-WS. org, 2011.
P. Neirotti, A. De Marco, A. C. Cagliano, G. Mangano, and F. Scorrano. Current trends in Smart City initiatives: Some stylised facts. Cities, 38:25–36, 2014.
A. Nolle, G. Nemirovski, A. Sicilia, and J. Pleguezuelos. An Approach for Accessing Linked Open Data for Data Mining Purposes. Proceedings of RapidMiner Community Meeting and Conference, 2013.
Aporta Project. Characterization study of the infomediary sector in Spain, 2012. https://www.ontsi.red.es/ontsi/sites/ontsi/files/121001_red_007_final_report_2012_edition__vf_en_1.pdf.
Ricardo Queir´os. Kaang: A RESTful API Generator for the Modern Web. In 7th Symposium on Languages, Applications and Technologies, volume 62 of OpenAccess Series in Informatics (OASIcs), pages 1:1–1:15, 2018.
M. Rittenbruch, M. Foth, R. Robinson, and D. Filonik. Program your city: designing an urban integrated open data API. pages 24–28. Proceedings of Cumulus Conference: Open Helsinki–Embedding Design in Life, 2012.
R. Rodr´ıguez-Echeverr´ıa, J. M. Conejero, P. J. Clemente, M. D. Villalobos, and F. S´anchez-Figueroa. Extracting Navigational Models from Struts-Based Web Applications. pages 419–426, 2012.
B. Selic. The pragmatics of model-driven development. IEEE Software, 20(5):19–25, 2003.
U. Sivarajah, V.Weerakkody, P.Waller, H. Lee, Z. Irani, Y. Choi, R. Morgan, and Y. Glikman. The role of e-participation and open data in evidence-based policy decision making in local government. Journal of Organizational Computing and Electronic Commerce, 26(1-2):64–79, 2016.
A. Srai, F. Guerouate, N. Berbiche, and H. Drissi. An MDA approach for the development of data warehouses from relational databases using ATL transformation language. International Journal of Applied Engineering Research, 12:3532–3538, 2017.
A. Stott. Open data for economic growth. Washington DC: World Bank, 2014.
B. Ubaldi. Open government data: Towards empirical analysis of open government data initiatives. OECD Working Papers on Public Governance, (22), 2013.
V. Weerakkody, Z. Irani, K. Kapoor, U. Sivarajah, and Y. K. Dwivedi. Open data and its usability: an empirical view from the Citizen’s perspective. Information Systems Frontiers, 19(2):285–300, 2017.
J. Wettinger, U. Breitenb¨ucher, and F. Leymann. ANY2API - Automated APIfication - Generating APIs for Executables to Ease their Integration and Orchestration for Cloud Application Deployment Automation. pages 475–486. Proceedings of the 5th International Conference on Cloud Computing and Services Science, 2015.