SlideShare a Scribd company logo
1 of 32
Download to read offline
unsplash/RomanHuneau
unsplash-DanieleLevisPelusi
Background and Motivation
We live in a world surrounded by online data services
unsplash/Alfons Taekema
The Open Data Movement
unsplash/NASA
Promotion of free distribution of data for
everyone to consume and republish
Publishing Open Data sources released as
“web-friendly” artifacts to facilitate their
consumption by external applications
Citizens can monitor and control the action
of government bodies and organizations
WHAT
HOW
OPENAPI
CKAN ODATA
SOCRATA
Consuming Open Data sources is hard, and
regular citizens hardly benefit from them
PROBLEM
unsplash/DariaNepriakhina Unsplash/imgix
How to communicate
with them?
unsplash/imgix
unsplash/DariaNepriakhina unsplash/imgix
unsplash/JuriGianfrancesco
How to communicate
with them?
Chatbots to the rescue
unsplash/TinchoFranco
Intelligent conversational agents to automate
tasks and improve user experience
Users can ask questions or send requests to
the chatbot using natural language
WHAT
HOW
Model-based approach to generate
chatbots for specific Open Data sources
SOLUTION
Using chatbots as interface to access and
query Open Data sources
No need to learn any technical knowledge,
language or skill
unsplash-SvenMieke
Proposal
Our proposal
Importing Open Data APIs as Models
Importing Open Data APIs as Models
Importing Open Data APIs as Models
Importing Open Data APIs as Models
Importing Open Data APIs as Models
OPENDATA Profile
Set of stereotypes to represent
technical details required by the
chatbot to communicate with the
Open Data API
Importing Open Data APIs as Models
BOT Profile
Set of stereotypes to enable the
generation of conversational bots
Example
Transparency Portal from Catalonia Government
SOURCE
API
Surveillance network for pollution data
DESCRIPTION
The network registers the air quality in several
locations in Catalonia from 1991 until now. It is
updated daily
SPECIFICACION OVERVIEW
Defined following SOCRATA specification
It reports on air quality data at different locations
and addresses
Example
BOT Profile
OPENDATA Profile
Standard UML
Generating the Bot
Generating the Bot
Generating the Bot
Generating the Bot
Generating the Bot
Generating the Bot
DIRECT queries
Basic communication
GUIDED queries
Conversational approach
What was the pollution yesterday?
This is the data for yesterday…
Show me the air quality data
Do you want to apply a filter?
No, I won’t add filters
Alright! this is the data…
The user directly asks what is needed
Intents Filters Intents Filters Flow
The user converses with the bot and the request
is built as the conversation flows
Example: Example:
Generating the Bot
DIRECT queries
Basic communication
GUIDED queries
Conversational approach
What was the pollution yesterday?
This is the data for yesterday…
Show me the air quality data
Do you want to apply a filter?
No, I won’t add filters
Alright! this is the data…
The user directly asks what is needed
Intents Filters Intents Filters Flow
The user converses with the bot and the request
is built as the conversation flows
Example: Example:
Example
Example
Example
Tool Support
unsplash/glenn-carstens-peters
Conclusion
Conclusion
• Model-based approach to generate chatbots as user-friendly interfaces to query
Open Data sources published as Web APIs
• Support for direct and guided conversations
• Implemented as Eclipse plugin supporting SOCRATA, ODATA, CKAN, and OPENAPI
What we have shown
What we want to do next
Support for advanced queries
Composition of several Open Data sources
Chatbot generation for Open Data portals
Voice-driven chatbots
Additional types of data sources
Conclusion
• Model-based approach to generate chatbots as user-friendly interfaces to query
Open Data sources published as Web APIs
• Support for direct and guided conversations
• Implemented as Eclipse plugin supporting SOCRATA, ODATA, CKAN, and OPENAPI
What we have shown
What we want to do next
Support for advanced queries
Composition of several Open Data sources
Chatbot generation for Open Data portals
Voice-driven chatbots
Additional types of data sources
Thanks!
Except where otherwise noted, content on this presentation is licensed under a Creative Commons Attribution 4.0 International license.
Javier L. Cánovas Izquierdo
jcanovasi@uoc.edu
@jlcanovas
Hamza Ed-douibi
hed-douibi@uoc.edu
@mazamiz
Jordi Cabot
jordi.cabot@icrea.cat
@jordicabot
https://github.com/opendata-for-all/open-data-chatbot-generator
Gwendal Daniel
gdaniel@uoc.edu
@g__daniel

More Related Content

Similar to A Model-based Chatbot Generation Approach to Converse with Open Data Sources

TC16_Fostering_a_Successful_Tableau_Deployment
TC16_Fostering_a_Successful_Tableau_DeploymentTC16_Fostering_a_Successful_Tableau_Deployment
TC16_Fostering_a_Successful_Tableau_Deployment
Erin Gengo
 
#ALAAC15 Linked Data Love
#ALAAC15 Linked Data Love #ALAAC15 Linked Data Love
#ALAAC15 Linked Data Love
Kristi Holmes
 

Similar to A Model-based Chatbot Generation Approach to Converse with Open Data Sources (20)

Understanding the Basics of Personal Data: Vendors, Users, and You (Web 2.0 NYC)
Understanding the Basics of Personal Data: Vendors, Users, and You (Web 2.0 NYC)Understanding the Basics of Personal Data: Vendors, Users, and You (Web 2.0 NYC)
Understanding the Basics of Personal Data: Vendors, Users, and You (Web 2.0 NYC)
 
Being open, accessible, and understandable by Jonathan Challener, OECD - #ima...
Being open, accessible, and understandable by Jonathan Challener, OECD - #ima...Being open, accessible, and understandable by Jonathan Challener, OECD - #ima...
Being open, accessible, and understandable by Jonathan Challener, OECD - #ima...
 
We hear you!. Collecting and processing user feedback, for real!
We hear you!. Collecting and processing user feedback, for real!We hear you!. Collecting and processing user feedback, for real!
We hear you!. Collecting and processing user feedback, for real!
 
Social Media Presentation at VAS
Social Media Presentation at VASSocial Media Presentation at VAS
Social Media Presentation at VAS
 
Social media and websites for government meeting planners
Social media and websites for government meeting plannersSocial media and websites for government meeting planners
Social media and websites for government meeting planners
 
Social Networking In Extension
Social Networking In ExtensionSocial Networking In Extension
Social Networking In Extension
 
Welcome to User Experience (UX) Design at EMBL-EBI
Welcome to User Experience (UX) Design at EMBL-EBI Welcome to User Experience (UX) Design at EMBL-EBI
Welcome to User Experience (UX) Design at EMBL-EBI
 
Digital Disruptions In the Arts - What's Next?
Digital Disruptions In the Arts - What's Next?Digital Disruptions In the Arts - What's Next?
Digital Disruptions In the Arts - What's Next?
 
Community Media 2.0:
Community Media 2.0:  Community Media 2.0:
Community Media 2.0:
 
Isle of Man open data overview
Isle of Man open data overviewIsle of Man open data overview
Isle of Man open data overview
 
The Use of Distance Technologies in the Provision of Technical Assistance
The Use of Distance Technologies in the Provision of Technical AssistanceThe Use of Distance Technologies in the Provision of Technical Assistance
The Use of Distance Technologies in the Provision of Technical Assistance
 
The Use of Distance Technologies in the Provision of Technical Assistance
The Use of Distance Technologies in the Provision of Technical AssistanceThe Use of Distance Technologies in the Provision of Technical Assistance
The Use of Distance Technologies in the Provision of Technical Assistance
 
TC16_Fostering_a_Successful_Tableau_Deployment
TC16_Fostering_a_Successful_Tableau_DeploymentTC16_Fostering_a_Successful_Tableau_Deployment
TC16_Fostering_a_Successful_Tableau_Deployment
 
Open data 4 startups (2°edition)
Open data 4 startups (2°edition)Open data 4 startups (2°edition)
Open data 4 startups (2°edition)
 
Innovative Public Engagement Techniques
Innovative Public Engagement TechniquesInnovative Public Engagement Techniques
Innovative Public Engagement Techniques
 
Final report sine space mini user case study 28-apr-2020
Final report   sine space mini user case study 28-apr-2020Final report   sine space mini user case study 28-apr-2020
Final report sine space mini user case study 28-apr-2020
 
SXSWi '11: Beyond Wordclouds: Analyzing Trends with Social Media APIs
SXSWi '11: Beyond Wordclouds: Analyzing Trends with Social Media APIsSXSWi '11: Beyond Wordclouds: Analyzing Trends with Social Media APIs
SXSWi '11: Beyond Wordclouds: Analyzing Trends with Social Media APIs
 
Alamw15 VIVO
Alamw15 VIVOAlamw15 VIVO
Alamw15 VIVO
 
#ALAAC15 Linked Data Love
#ALAAC15 Linked Data Love #ALAAC15 Linked Data Love
#ALAAC15 Linked Data Love
 
Realizing a Semantic Web Application - ICWE 2010 Tutorial
Realizing a Semantic Web Application - ICWE 2010 TutorialRealizing a Semantic Web Application - ICWE 2010 Tutorial
Realizing a Semantic Web Application - ICWE 2010 Tutorial
 

More from Javier Canovas

More from Javier Canovas (20)

On the Analysis of Non-Coding Roles in Open Source Development
On the Analysis of Non-Coding Roles in Open Source DevelopmentOn the Analysis of Non-Coding Roles in Open Source Development
On the Analysis of Non-Coding Roles in Open Source Development
 
Open Source Software Governance Guide: Developing a Matrix of Leading Questio...
Open Source Software Governance Guide: Developing a Matrix of Leading Questio...Open Source Software Governance Guide: Developing a Matrix of Leading Questio...
Open Source Software Governance Guide: Developing a Matrix of Leading Questio...
 
Chatbots to Democratize the Access to Information and Internet Services
Chatbots to Democratize the Access to Information and Internet ServicesChatbots to Democratize the Access to Information and Internet Services
Chatbots to Democratize the Access to Information and Internet Services
 
Analysis and Modeling of the Governance in General Programming Languages
Analysis and Modeling of the Governance in General Programming LanguagesAnalysis and Modeling of the Governance in General Programming Languages
Analysis and Modeling of the Governance in General Programming Languages
 
Automatic Generation of Test Cases for REST APIs: a Specification-Based Approach
Automatic Generation of Test Cases for REST APIs: a Specification-Based ApproachAutomatic Generation of Test Cases for REST APIs: a Specification-Based Approach
Automatic Generation of Test Cases for REST APIs: a Specification-Based Approach
 
A UML Profile for Privacy Enforcement
A UML Profile for Privacy EnforcementA UML Profile for Privacy Enforcement
A UML Profile for Privacy Enforcement
 
The Role of Foundations in Open Source Projects
The Role of Foundations in Open Source ProjectsThe Role of Foundations in Open Source Projects
The Role of Foundations in Open Source Projects
 
An Empirical Study on the Maturity of the Eclipse Modeling Ecosystem
An Empirical Study on the Maturity of the Eclipse Modeling EcosystemAn Empirical Study on the Maturity of the Eclipse Modeling Ecosystem
An Empirical Study on the Maturity of the Eclipse Modeling Ecosystem
 
Example-driven Web API Specification Discovery
Example-driven Web API Specification DiscoveryExample-driven Web API Specification Discovery
Example-driven Web API Specification Discovery
 
Software Modernization Revisited: Challenges and Prospects
Software Modernization Revisited:Challenges and ProspectsSoftware Modernization Revisited:Challenges and Prospects
Software Modernization Revisited: Challenges and Prospects
 
Findings from GitHub. Methods, Datasets and Limitations
Findings from GitHub. Methods, Datasets and LimitationsFindings from GitHub. Methods, Datasets and Limitations
Findings from GitHub. Methods, Datasets and Limitations
 
Enabling the Definition and Enforcement of Governance Rules in Open Source Sy...
Enabling the Definition and Enforcement of Governance Rules in Open Source Sy...Enabling the Definition and Enforcement of Governance Rules in Open Source Sy...
Enabling the Definition and Enforcement of Governance Rules in Open Source Sy...
 
Exploring the Use of Labels to Categorize Issues in Open-Source Software Pro...
Exploring the Use of Labels to Categorize Issues in Open-Source Software Pro...Exploring the Use of Labels to Categorize Issues in Open-Source Software Pro...
Exploring the Use of Labels to Categorize Issues in Open-Source Software Pro...
 
Composing JSON-based Web APIs
Composing JSON-based Web APIsComposing JSON-based Web APIs
Composing JSON-based Web APIs
 
Retos Actuales en el Desarrollo de Lenguajes Específicos del Dominio
Retos Actuales en el Desarrollo de Lenguajes Específicos del DominioRetos Actuales en el Desarrollo de Lenguajes Específicos del Dominio
Retos Actuales en el Desarrollo de Lenguajes Específicos del Dominio
 
Discovering Implicit Schemas in JSON Data
Discovering Implicit Schemas in JSON DataDiscovering Implicit Schemas in JSON Data
Discovering Implicit Schemas in JSON Data
 
Enabling the Collaborative Definition of DSMLs
Enabling the Collaborative Definition of DSMLsEnabling the Collaborative Definition of DSMLs
Enabling the Collaborative Definition of DSMLs
 
Domain-Specific Languages
Domain-Specific LanguagesDomain-Specific Languages
Domain-Specific Languages
 
Modernization in Eclipse
Modernization in EclipseModernization in Eclipse
Modernization in Eclipse
 
Software Modernization
Software ModernizationSoftware Modernization
Software Modernization
 

Recently uploaded

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Recently uploaded (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

A Model-based Chatbot Generation Approach to Converse with Open Data Sources

  • 3. We live in a world surrounded by online data services unsplash/Alfons Taekema
  • 4. The Open Data Movement unsplash/NASA Promotion of free distribution of data for everyone to consume and republish Publishing Open Data sources released as “web-friendly” artifacts to facilitate their consumption by external applications Citizens can monitor and control the action of government bodies and organizations WHAT HOW OPENAPI CKAN ODATA SOCRATA Consuming Open Data sources is hard, and regular citizens hardly benefit from them PROBLEM
  • 5. unsplash/DariaNepriakhina Unsplash/imgix How to communicate with them? unsplash/imgix
  • 7. Chatbots to the rescue unsplash/TinchoFranco Intelligent conversational agents to automate tasks and improve user experience Users can ask questions or send requests to the chatbot using natural language WHAT HOW Model-based approach to generate chatbots for specific Open Data sources SOLUTION Using chatbots as interface to access and query Open Data sources No need to learn any technical knowledge, language or skill
  • 10. Importing Open Data APIs as Models
  • 11. Importing Open Data APIs as Models
  • 12. Importing Open Data APIs as Models
  • 13. Importing Open Data APIs as Models
  • 14. Importing Open Data APIs as Models
  • 15. OPENDATA Profile Set of stereotypes to represent technical details required by the chatbot to communicate with the Open Data API Importing Open Data APIs as Models BOT Profile Set of stereotypes to enable the generation of conversational bots
  • 16. Example Transparency Portal from Catalonia Government SOURCE API Surveillance network for pollution data DESCRIPTION The network registers the air quality in several locations in Catalonia from 1991 until now. It is updated daily SPECIFICACION OVERVIEW Defined following SOCRATA specification It reports on air quality data at different locations and addresses
  • 23. Generating the Bot DIRECT queries Basic communication GUIDED queries Conversational approach What was the pollution yesterday? This is the data for yesterday… Show me the air quality data Do you want to apply a filter? No, I won’t add filters Alright! this is the data… The user directly asks what is needed Intents Filters Intents Filters Flow The user converses with the bot and the request is built as the conversation flows Example: Example:
  • 24. Generating the Bot DIRECT queries Basic communication GUIDED queries Conversational approach What was the pollution yesterday? This is the data for yesterday… Show me the air quality data Do you want to apply a filter? No, I won’t add filters Alright! this is the data… The user directly asks what is needed Intents Filters Intents Filters Flow The user converses with the bot and the request is built as the conversation flows Example: Example:
  • 30. Conclusion • Model-based approach to generate chatbots as user-friendly interfaces to query Open Data sources published as Web APIs • Support for direct and guided conversations • Implemented as Eclipse plugin supporting SOCRATA, ODATA, CKAN, and OPENAPI What we have shown What we want to do next Support for advanced queries Composition of several Open Data sources Chatbot generation for Open Data portals Voice-driven chatbots Additional types of data sources
  • 31. Conclusion • Model-based approach to generate chatbots as user-friendly interfaces to query Open Data sources published as Web APIs • Support for direct and guided conversations • Implemented as Eclipse plugin supporting SOCRATA, ODATA, CKAN, and OPENAPI What we have shown What we want to do next Support for advanced queries Composition of several Open Data sources Chatbot generation for Open Data portals Voice-driven chatbots Additional types of data sources
  • 32. Thanks! Except where otherwise noted, content on this presentation is licensed under a Creative Commons Attribution 4.0 International license. Javier L. Cánovas Izquierdo jcanovasi@uoc.edu @jlcanovas Hamza Ed-douibi hed-douibi@uoc.edu @mazamiz Jordi Cabot jordi.cabot@icrea.cat @jordicabot https://github.com/opendata-for-all/open-data-chatbot-generator Gwendal Daniel gdaniel@uoc.edu @g__daniel