Abstract
The Open Data movement promotes the free distribution of data. More and more companies and governmental organizations are making their data available online following the Open Data philosophy, resulting in a growing market of technologies and services to help publish and consume data. One of the emergent ways to publish such data is via Web APIs, which offer a powerful means to reuse this data and integrate it with other services. Socrata, CKAN or OData are examples of popular specifications for publishing data via Web APIs. Nevertheless, querying and integrating these Web APIs is time-consuming and requires technical skills that limit the benefits of Open Data movement for the regular citizen. In other contexts, chatbot applications are being increasingly adopted as a direct communication channel between companies and end-users. We believe the same could be true for Open Data as a way to bridge the gap between citizens and Open Data sources. This paper describes an approach to automatically derive full-fledged chatbots from API-based Open Data sources. Our process relies on a model-based intermediate representation (via UML class diagrams and profiles) to facilitate the customization of the chatbot to be generated.
Work supported by the Spanish government (TIN2016-75944-R project).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
Full model available at http://hdl.handle.net/20.500.12004/1/C/ICWE/2021/232.
- 9.
- 10.
- 11.
- 12.
Note that this scales well as we do not actually create completely separate intents for each possible combination but use intent templates that can be instantiated at run-time over the list of elements in the model.
- 13.
References
Alghamdi, A., Owda, M.S., Crockett, K.A.: Natural language interface to relational database (NLI-RDB) through object relational mapping (ORM). In: Workshop on Computational Intelligence. Advances in Intelligent Systems and Computing, vol. 513, pp. 449–464 (2016)
Bizer, C., Heath, T., Berners-Lee, T.: Linked data: The story so far. In: Semantic Services, Interoperability and Web Applications: Emerging Concepts, pp. 205–227. IGI Global (2011)
Cao, H., Falleri, J.-R., Blanc, X.: Automated generation of REST API specification from plain HTML documentation. In: Maximilien, M., Vallecillo, A., Wang, J., Oriol, M. (eds.) ICSOC 2017. LNCS, vol. 10601, pp. 453–461. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-69035-3_32
Castaldo, N., Daniel, F., Matera, M., Zaccaria, V.: Conversational data exploration. In: international conference on Web Engineering, pp. 490–497 (2019)
Chittò, P., Baez, M., Daniel, F., Benatallah, B.: Automatic generation of chatbots for conversational web browsing. In: Dobbie, G., Frank, U., Kappel, G., Liddle, S.W., Mayr, H.C. (eds.) ER 2020. LNCS, vol. 12400, pp. 239–249. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-62522-1_17
Cremaschi, M., De Paoli, F.: Toward automatic semantic API descriptions to support services composition. In: De Paoli, F., Schulte, S., Broch Johnsen, E. (eds.) ESOCC 2017. LNCS, vol. 10465, pp. 159–167. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-67262-5_12
Daniel, G., Cabot, J., Deruelle, L., Derras, M.: Xatkit: a multimodal low-code chatbot development framework. IEEE Access 8, 15332–15346 (2020)
Ed-Douibi, H., Cánovas Izquierdo, J., Bordeleau, F., Cabot, J.: WAPIml: towards a modeling infrastructure for web APIs. In: International Conference on Model Driven Engineering Languages and Systems Companion, pp. 748–752 (2019)
Ed-douibi, H., Cánovas Izquierdo, J.L., Cabot, J.: Example-driven web API specification discovery. In: Anjorin, A., Espinoza, H. (eds.) ECMFA 2017. LNCS, vol. 10376, pp. 267–284. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-61482-3_16
Ed-douibi, H., Cánovas Izquierdo, J.L., Cabot, J.: APIComposer: data-driven composition of REST APIs. In: Kritikos, K., Plebani, P., de Paoli, F. (eds.) ESOCC 2018. LNCS, vol. 11116, pp. 161–169. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-99819-0_12
Ed-Douibi, H., Daniel, G., Cabot, J.: OpenAPI bot: a chatbot to help you understand REST APIs. In: Bielikova, M., Mikkonen, T., Pautasso, C. (eds.) ICWE 2020. LNCS, vol. 12128, pp. 538–542. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-50578-3_40
González-Mora, C., Garrigós, I., Jacobo Zubcoff, J., Mazón, J.: Model-based generation of web application programming interfaces to access open data (In Prepress). J. Web Eng. 19(7–8), 194–217 (2020)
Kerlyl, A., Hall, P., Bull, S.: Bringing chatbots into education: towards natural language negotiation of open learner models. In: International Conference on Applications and Innovations in Intelligent Systems, pp. 179–192 (2006)
Keyner, S., Savenkov, V., Vakulenko, S.: Open data chatbot. In: Satellite Events of The Semantic Web, pp. 111–115 (2019)
Musyaffa, F.A., Halilaj, L., Siebes, R., Orlandi, F., Auer, S.: Minimally invasive semantification of light weight service descriptions. In: International Conference on Web Services, pp. 672–677 (2016)
Neumaier, S., Savenkov, V., Vakulenko, S.: Talking open data. In: Satellite Events of The Semantic Web, pp. 132–136 (2017)
Pereira, J., Díaz, Ó.: Chatbot dimensions that matter: lessons from the trenches. In: International Conference on Web Engineering, pp. 129–135 (2018)
Pérez-Soler, S., Daniel, G., Cabot, J., Guerra, E., de Lara, J.: Towards automating the synthesis of chatbots for conversational model query. In: Nurcan, S., Reinhartz-Berger, I., Soffer, P., Zdravkovic, J. (eds.) BPMDS/EMMSAD -2020. LNBIP, vol. 387, pp. 257–265. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-49418-6_17
Porreca, S., Leotta, F., Mecella, M., Vassos, S., Catarci, T.: Accessing government open data through chatbots. In: International Workshop on Current Trends in Web Engineering, pp. 156–165 (2017)
Sindhgatta, R., Barros, A., Nili, A.: Modeling conversational agents for service systems. In: On the Move to Meaningful Internet Systems, pp. 552–560 (2019)
Vaziri, M., Mandel, L., Shinnar, A., Siméon, J., Hirzel, M.: Generating chat bots from web API specifications. In: ACM SIGPLAN Onward!, pp. 44–57 (2017)
Xu, A., Liu, Z., Guo, Y., Sinha, V., Akkiraju, R.: A new chatbot for customer service on social media. In: Conference on Human Factors in Computing Systems, pp. 3506–3510 (2017)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Ed-douibi, H., Cánovas Izquierdo, J.L., Daniel, G., Cabot, J. (2021). A Model-Based Chatbot Generation Approach to Converse with Open Data Sources. In: Brambilla, M., Chbeir, R., Frasincar, F., Manolescu, I. (eds) Web Engineering. ICWE 2021. Lecture Notes in Computer Science(), vol 12706. Springer, Cham. https://doi.org/10.1007/978-3-030-74296-6_33
Download citation
DOI: https://doi.org/10.1007/978-3-030-74296-6_33
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-74295-9
Online ISBN: 978-3-030-74296-6
eBook Packages: Computer ScienceComputer Science (R0)