Using Watson to Build 
IoT Apps on Bluemix 
Watson’s address is Bluemix.net
Using Watson to Build 
IoT Apps on Bluemix 
Watson’s address is Bluemix.net
Speakers 
Greg Knowles 
Product Manager, Smarter Infrastructure 
@gtkwahoo 
Swami Chandrasekaran 
Executive Architect, Watson Innovations 
@SwamiChandra 
Swami’s Blog 
Nathan Vega (Moderator) 
Developer Engagement, IBM Bluemix 
@IBMBluemix 
Š 2014 IBM Corporation 3
Internet of Things 
Greg Knowles, IBM Software Group 
Product Management & Strategy, Internet of Things 
gknowles@us.ibm.com 
@gtkwahoo 
Š 2014 IBM Corporation 4
The Internet of Things is here, and growing 
 9 billion devices around the world are currently 
connected to the Internet 
 The number of connected devices is expected to 
increase dramatically within the next decade, 
including many new types of connected devices, with 
estimates ranging from 50 Billion devices to 
1 trillion 
 The Internet of Things has the potential to create 
economic value of $2.7 trillion to 
$6.2 trillion annually by 2025 
Source: Disruptive Technologies, McKinsey Global Institute, May 2013 
Š 2014 IBM Corporation 5
What is IoT being used for today? 
Extend the value of goods and services 
• Lock/Unlock/Find your car 
• Tell me when the wash cycle is done 
Monetize through new business models 
• Ad-hoc car hire & sharing (e.g. Uber, Car2Go) 
• Pay-as-you-drive insurance 
Optimize by understanding behaviour and anticipating actions 
• Appliance manufacturer understanding customer behaviour 
• Improved product support & maintenance 
• Smarter Supply Chain 
Control and automate remote behaviour 
• Home automation / remote control 
• Energy Demand Management 
• Smarter Cities 
• Manufacturing 
Key areas 
• Automotive 
• Consumer products 
• Energy and Utilities 
• Government 
• Healthcare 
• Home Automation 
• Insurance 
• Manufacturing 
• Transport 
• Oil and Gas 
Š 2014 IBM Corporation 6
The Internet of Things is an integrated fabric of devices, 
data, connections, processes and people 
The Internet of Things is based on a careful balance between both the Internet 
and the things within it—locally and globally, in the design lab and on the 
assembly line, whether in buildings, on roads, and in our very own pockets. 
I invent. 
I operate. 
IBM can help you design, operate and manage the things you deliver for 
optimized performance. We can help you mitigate warranty costs, 
minimize product recalls and gain new insight into customer use 
patterns that will empower entirely new levels of product and service 
innovation. 
IBM can help you bring things together from multiple vendors across 
heterogeneous environments, optimizing the whole to deliver greater 
than the sum of its parts. We deliver the insights that enable you to 
reduce utility costs, optimize compliance and exceed customer 
expectations. And offer exceptional levels of privacy and security. 
Š 2014 IBM Corporation 7
IoT solution patterns span the device lifecycle 
Design & 
Engineer 
• Develop connected products 
• Testing and requirements 
• Analyze operations & maintenance 
data to improve designs 
Manage Operate 
verification 
• Integrate across 
heterogeneous devices 
• Optimize processes for 
business outcomes 
• Predict quality issues 
• Analyze heterogeneous 
fleets 
• Monitor device health 
• Predict failures 
• Manage and maintain 
devices 
• Analyze warranty & 
support data 
Š 2014 IBM Corporation 8
IoT solution patterns span the device lifecycle 
Design & 
Engineer 
• Develop connected products 
• Testing and requirements 
• Analyze operations & maintenance 
data to improve designs 
Inventors 
Manage Operate 
verification 
• Integrate across 
heterogeneous devices 
• Optimize processes for 
business outcomes 
• Predict quality issues 
• Analyze heterogeneous 
fleets 
Operators 
• Monitor device health 
• Predict failures 
• Manage and maintain 
devices 
• Analyze warranty & 
support data 
Š 2014 IBM Corporation 9
Internet of Things Foundation 
A fully managed, cloud-hosted service that makes it simple to Internet of 
Things (IoT) solutions 
Manage 
Assemble 
Connect 
Real Time MQTT Build 
Collect 
REST 
Simple APIs 
IBM® Bluemix™ 
https://bluemix.net/ 
Š 2014 IBM Corporation 10
IoT Foundation is part of Bluemix…and a Composable Business 
IoT-related Bluemix services 
Rules, Push, Geo location, Analytics, Asset management, Predictive Maintenance… 
IoT Foundation 
Secure Device Registration, Scalable Device Connectivity, Historian, Visual wiring 
Š 2014 IBM Corporation 11 
Devices & Gateways 
REST APIs 
IoT end-end solutions 
REST APIs 
Connected appliance solutions, Smarter home solutions… 
Realtime MQTT APIs
Getting started 
https://internetofthings.ibmcloud.com/#/ 
https://developer.ibm.com/iot/ 
Š 2014 IBM Corporation 12
Examples of applying Watson Cognitive 
Services in IOT Applications 
Swami Chandrasekaran 
Executive Architect - CTO Office 
IBM Watson Innovations 
swamchan@us.ibm.com 
@swamichandra 
Š 2014 IBM Corporation 13
Anatomy of an IoT Solution / Application - Setting Context 
Systems Integration 
Applications 
Cognitive Services 
Data at Rest Analytics 
✔ 
Data Ingestion & Streaming Analytics 
Connectivity Management 
Network 
Devices / Sensors 
Platform & 
Services 
Connectivity 
& Devices 
Users of Things 
Wizard’s 
stitching the 
perfect 
Composable 
Apps 
Platform, 
Services, 
IoT Cloud 
Providers of 
Connectivity 
Makers of Things 
Š 2014 IBM Corporation 14
Until now, access to Watson services has been limited. Today, 
the barriers are gone…What will you do with Watson? 
Š 2014 IBM Corporation 15
Watson Developer Cloud Services are the basis for Watson 
Solutions 
Discovery Engagement Decision Policy Partner-created 
User Modeling 
Language Identification 
Machine Translation 
Concept Expansion 
Message Resonance 
Question/Answer 
Relationship Extraction 
Visualization Rendering 
Analytics Exploration 
Data 
IBM Watson Services on Bluemix 
Big Data & Analytics 
Curation 
Curation 
Local Data Sources 
Cloud Data Sources 
Š 2014 IBM Corporation 16
8 services are available today with more on the way 
User Modeling 
Personality profiling to help engage users on their own terms. 
Language Identification 
Identifies the language in which text is written 
Machine Translation 
Globalize on the fly. Translate text from one language to another. 
Concept Expansion 
Maps euphemisms or colloquial terms to more commonly understood phrases 
Message Resonance 
Communicate with people with a style and words that suits them 
Question Answer 
Direct responses to users inquiries fueled by primary document sources 
Relationship Extraction 
Intelligently finds relationships between sentences components (nouns, verbs, subjects, objects, etc.) 
Visualization Rendering 
Graphical representations of data analysis for easier understanding 
Š 2014 IBM Corporation 17
Cognitive Enabled IoT Apps / Solutions – Art of the Possible 
Connected Car Digital Life Smarter Cities Smarter Care 
API Management 
Cognitive Services Platform 
Observe Interpret & Evaluate Decide 
Models | Annotations | Content | Tools 
Orchestration 
Mediation | Composition | Rules 
Device Registration & Connectivity 
Connectivity | Awareness | Security & Privacy | Asset mgmt 
Big Data Analytics 
Streaming | Batch Analytics 
Data services 
Historian | File | Archive 
Š 2014 IBM Corporation 18
Meet Rosy 
• Recently purchased and installed a 
smarter thermostat 
• Very savvy smart phone user 
• She has a question about restricting 
only authorized users to be able to 
configure & access the thermostat 
• Has a smart phone app that allows 
her to pose questions in natural 
language and have a 
conversational dialog 
I need to restrict the access to modify certain capabilities in the 
thermostat. How can set it up? 
Integrate via API 
Q&A Dialog 
Interact 
using NL 
Product Corpus 
Manuals 
Š 2014 IBM Corporation 19
Meet Zhang 
• Remotely monitored patient 
• Can use an app to interact with his 
healthcare providers 
• English not first language 
• Need for understanding nuances in 
his less than formal communications 
• Concept Expansion service returns a 
ranked list of contextually similar 
terms 
• Learned from the provided 'seed list' 
against the Zhang’s interaction 
history 
Integrate via API 
Concept Expansion 
Interact 
using NL 
informally 
Interaction Seed List 
History 
Š 2014 IBM Corporation 20
Demo – User Modeled Radio 
Swami Chandrasekaran 
Executive Architect - CTO Office 
IBM Watson Innovations 
swamchan@us.ibm.com 
@swamichandra 
Š 2014 IBM Corporation 21
What is Watson User Modeling? 
• Use linguistic analytics to extract personality and social traits, including 
Big 5, Values, and Needs, from the way that a person communicates. 
• Analyze any digital footprint that the user makes available, such as 
email, text messages, tweets, forum posts, and more. 
• Leverage cognitive and social characteristics with their corresponding 
percentile values as the basis for analyzing personality and social traits. 
• Can be used anywhere improving customer engagement for an 
organization differentiate itself and also drive personality-driven 
engagements (offers, recommendations etc.) 
Š 2014 IBM Corporation 22
Consider this Scenario for a moment…. 
• Meet John Smith 
• Very vocal person and 
maintains a strong digital 
presence 
• Has a long day at work !! 
• Tweets with certain emotions 
and walks to his car 
2. Walk to Car 
1. Tweets before 
leaving work 
Š 2014 IBM Corporation 23
What if John Smith’s Connected Car app understood 
him at a deeper level including the current state of his 
personality? 
Š 2014 IBM Corporation 24
Now reconsider this Scenario again …. 
• Meet John Smith 
• Very vocal person and maintains a strong digital 
presence 
• Has a long day at work !! 
• Tweets with certain emotions and walks to his car 
• The Connected Car app in his car has done a 
psychographic analysis of his tweets using Watson 
User Modeling 
• User Modeling service provides the Big 5, Values, 
and Needs characteristics & associated values 
• Connected Car app recommends or auto-tunes to 
track / radio channel that would be appropriate 
• Could potentially suggest the app other car settings 
incl seat adjustment, air conditioning, max speed 
limit * 
Walk to Car 
Share Location & 
Context 
User Modeling 
Recommended 
Infotainment 
Prediction 
Past 
Interactions 
Š 2014 IBM Corporation 25
Architecture of the User Modeled Radio App 
Search for 
radio stations 
Š 2014 IBM Corporation 26 
IBM BlueMix 
Drivers Connected Car App 
Responsive Front-end (View) 
(HTML5, Twitter Bootstrap, jQuery) 
Node.js (Controller) 
(HTML5, Twitter Bootstrap, jQuery) 
Express 
Eclipse 
Nodeclipse 
Deploy & 
Manage Code 
RESTful 
RESTful Communication 
User Modeling 
(driver’s 
psychographic model) 
Twitter API 
8tracks Fetch driver 
Tweets 
Tweets 
AngularJS Template AngularJS Controller
User Modeled Radio – Connected Car App 
Š 2014 IBM Corporation 27
User Modeled Radio – Connected Car App 
Radio tracks / station 
from 8tracks played 
based on User 
Modeling 
characteristics 
Extracted Tweets from 
the driver 
Explanation for why 
the track / station was 
selected from 8tracks 
Watson User Modeling 
characteristics & 
values 
Š 2014 IBM Corporation 28
Visual depiction of the flow ** 
** Not implemented in Node-RED. Meant to convey the concept. 
Š 2014 IBM Corporation 29
Get hands on fast! 
• Get a Bluemix account 
• Try the Watson services free of charge 
for 30 days 
• Take the next step toward further 
development or production 
deployment 
Š 2014 IBM Corporation 30
IBMWatson 
IBM Bluemix 
facebook.com/ibmbluemix Bluemix.net @ibmbluemix 
IBM Internet of Things 
internetofthings.ibmcloud.com developer.ibm.com/iot/ @ibmiot 
Š 2014 IBM Corporation 31
Š 2014 IBM Corporation 32

Using Watson to build Cognitive IoT Apps on Bluemix

  • 1.
    Using Watson toBuild IoT Apps on Bluemix Watson’s address is Bluemix.net
  • 2.
    Using Watson toBuild IoT Apps on Bluemix Watson’s address is Bluemix.net
  • 3.
    Speakers Greg Knowles Product Manager, Smarter Infrastructure @gtkwahoo Swami Chandrasekaran Executive Architect, Watson Innovations @SwamiChandra Swami’s Blog Nathan Vega (Moderator) Developer Engagement, IBM Bluemix @IBMBluemix © 2014 IBM Corporation 3
  • 4.
    Internet of Things Greg Knowles, IBM Software Group Product Management & Strategy, Internet of Things gknowles@us.ibm.com @gtkwahoo Š 2014 IBM Corporation 4
  • 5.
    The Internet ofThings is here, and growing  9 billion devices around the world are currently connected to the Internet  The number of connected devices is expected to increase dramatically within the next decade, including many new types of connected devices, with estimates ranging from 50 Billion devices to 1 trillion  The Internet of Things has the potential to create economic value of $2.7 trillion to $6.2 trillion annually by 2025 Source: Disruptive Technologies, McKinsey Global Institute, May 2013 © 2014 IBM Corporation 5
  • 6.
    What is IoTbeing used for today? Extend the value of goods and services • Lock/Unlock/Find your car • Tell me when the wash cycle is done Monetize through new business models • Ad-hoc car hire & sharing (e.g. Uber, Car2Go) • Pay-as-you-drive insurance Optimize by understanding behaviour and anticipating actions • Appliance manufacturer understanding customer behaviour • Improved product support & maintenance • Smarter Supply Chain Control and automate remote behaviour • Home automation / remote control • Energy Demand Management • Smarter Cities • Manufacturing Key areas • Automotive • Consumer products • Energy and Utilities • Government • Healthcare • Home Automation • Insurance • Manufacturing • Transport • Oil and Gas © 2014 IBM Corporation 6
  • 7.
    The Internet ofThings is an integrated fabric of devices, data, connections, processes and people The Internet of Things is based on a careful balance between both the Internet and the things within it—locally and globally, in the design lab and on the assembly line, whether in buildings, on roads, and in our very own pockets. I invent. I operate. IBM can help you design, operate and manage the things you deliver for optimized performance. We can help you mitigate warranty costs, minimize product recalls and gain new insight into customer use patterns that will empower entirely new levels of product and service innovation. IBM can help you bring things together from multiple vendors across heterogeneous environments, optimizing the whole to deliver greater than the sum of its parts. We deliver the insights that enable you to reduce utility costs, optimize compliance and exceed customer expectations. And offer exceptional levels of privacy and security. © 2014 IBM Corporation 7
  • 8.
    IoT solution patternsspan the device lifecycle Design & Engineer • Develop connected products • Testing and requirements • Analyze operations & maintenance data to improve designs Manage Operate verification • Integrate across heterogeneous devices • Optimize processes for business outcomes • Predict quality issues • Analyze heterogeneous fleets • Monitor device health • Predict failures • Manage and maintain devices • Analyze warranty & support data © 2014 IBM Corporation 8
  • 9.
    IoT solution patternsspan the device lifecycle Design & Engineer • Develop connected products • Testing and requirements • Analyze operations & maintenance data to improve designs Inventors Manage Operate verification • Integrate across heterogeneous devices • Optimize processes for business outcomes • Predict quality issues • Analyze heterogeneous fleets Operators • Monitor device health • Predict failures • Manage and maintain devices • Analyze warranty & support data © 2014 IBM Corporation 9
  • 10.
    Internet of ThingsFoundation A fully managed, cloud-hosted service that makes it simple to Internet of Things (IoT) solutions Manage Assemble Connect Real Time MQTT Build Collect REST Simple APIs IBM® Bluemix™ https://bluemix.net/ © 2014 IBM Corporation 10
  • 11.
    IoT Foundation ispart of Bluemix…and a Composable Business IoT-related Bluemix services Rules, Push, Geo location, Analytics, Asset management, Predictive Maintenance… IoT Foundation Secure Device Registration, Scalable Device Connectivity, Historian, Visual wiring © 2014 IBM Corporation 11 Devices & Gateways REST APIs IoT end-end solutions REST APIs Connected appliance solutions, Smarter home solutions… Realtime MQTT APIs
  • 12.
    Getting started https://internetofthings.ibmcloud.com/#/ https://developer.ibm.com/iot/ Š 2014 IBM Corporation 12
  • 13.
    Examples of applyingWatson Cognitive Services in IOT Applications Swami Chandrasekaran Executive Architect - CTO Office IBM Watson Innovations swamchan@us.ibm.com @swamichandra Š 2014 IBM Corporation 13
  • 14.
    Anatomy of anIoT Solution / Application - Setting Context Systems Integration Applications Cognitive Services Data at Rest Analytics ✔ Data Ingestion & Streaming Analytics Connectivity Management Network Devices / Sensors Platform & Services Connectivity & Devices Users of Things Wizard’s stitching the perfect Composable Apps Platform, Services, IoT Cloud Providers of Connectivity Makers of Things © 2014 IBM Corporation 14
  • 15.
    Until now, accessto Watson services has been limited. Today, the barriers are gone…What will you do with Watson? © 2014 IBM Corporation 15
  • 16.
    Watson Developer CloudServices are the basis for Watson Solutions Discovery Engagement Decision Policy Partner-created User Modeling Language Identification Machine Translation Concept Expansion Message Resonance Question/Answer Relationship Extraction Visualization Rendering Analytics Exploration Data IBM Watson Services on Bluemix Big Data & Analytics Curation Curation Local Data Sources Cloud Data Sources Š 2014 IBM Corporation 16
  • 17.
    8 services areavailable today with more on the way User Modeling Personality profiling to help engage users on their own terms. Language Identification Identifies the language in which text is written Machine Translation Globalize on the fly. Translate text from one language to another. Concept Expansion Maps euphemisms or colloquial terms to more commonly understood phrases Message Resonance Communicate with people with a style and words that suits them Question Answer Direct responses to users inquiries fueled by primary document sources Relationship Extraction Intelligently finds relationships between sentences components (nouns, verbs, subjects, objects, etc.) Visualization Rendering Graphical representations of data analysis for easier understanding Š 2014 IBM Corporation 17
  • 18.
    Cognitive Enabled IoTApps / Solutions – Art of the Possible Connected Car Digital Life Smarter Cities Smarter Care API Management Cognitive Services Platform Observe Interpret & Evaluate Decide Models | Annotations | Content | Tools Orchestration Mediation | Composition | Rules Device Registration & Connectivity Connectivity | Awareness | Security & Privacy | Asset mgmt Big Data Analytics Streaming | Batch Analytics Data services Historian | File | Archive © 2014 IBM Corporation 18
  • 19.
    Meet Rosy •Recently purchased and installed a smarter thermostat • Very savvy smart phone user • She has a question about restricting only authorized users to be able to configure & access the thermostat • Has a smart phone app that allows her to pose questions in natural language and have a conversational dialog I need to restrict the access to modify certain capabilities in the thermostat. How can set it up? Integrate via API Q&A Dialog Interact using NL Product Corpus Manuals © 2014 IBM Corporation 19
  • 20.
    Meet Zhang •Remotely monitored patient • Can use an app to interact with his healthcare providers • English not first language • Need for understanding nuances in his less than formal communications • Concept Expansion service returns a ranked list of contextually similar terms • Learned from the provided 'seed list' against the Zhang’s interaction history Integrate via API Concept Expansion Interact using NL informally Interaction Seed List History © 2014 IBM Corporation 20
  • 21.
    Demo – UserModeled Radio Swami Chandrasekaran Executive Architect - CTO Office IBM Watson Innovations swamchan@us.ibm.com @swamichandra © 2014 IBM Corporation 21
  • 22.
    What is WatsonUser Modeling? • Use linguistic analytics to extract personality and social traits, including Big 5, Values, and Needs, from the way that a person communicates. • Analyze any digital footprint that the user makes available, such as email, text messages, tweets, forum posts, and more. • Leverage cognitive and social characteristics with their corresponding percentile values as the basis for analyzing personality and social traits. • Can be used anywhere improving customer engagement for an organization differentiate itself and also drive personality-driven engagements (offers, recommendations etc.) © 2014 IBM Corporation 22
  • 23.
    Consider this Scenariofor a moment…. • Meet John Smith • Very vocal person and maintains a strong digital presence • Has a long day at work !! • Tweets with certain emotions and walks to his car 2. Walk to Car 1. Tweets before leaving work © 2014 IBM Corporation 23
  • 24.
    What if JohnSmith’s Connected Car app understood him at a deeper level including the current state of his personality? © 2014 IBM Corporation 24
  • 25.
    Now reconsider thisScenario again …. • Meet John Smith • Very vocal person and maintains a strong digital presence • Has a long day at work !! • Tweets with certain emotions and walks to his car • The Connected Car app in his car has done a psychographic analysis of his tweets using Watson User Modeling • User Modeling service provides the Big 5, Values, and Needs characteristics & associated values • Connected Car app recommends or auto-tunes to track / radio channel that would be appropriate • Could potentially suggest the app other car settings incl seat adjustment, air conditioning, max speed limit * Walk to Car Share Location & Context User Modeling Recommended Infotainment Prediction Past Interactions © 2014 IBM Corporation 25
  • 26.
    Architecture of theUser Modeled Radio App Search for radio stations © 2014 IBM Corporation 26 IBM BlueMix Drivers Connected Car App Responsive Front-end (View) (HTML5, Twitter Bootstrap, jQuery) Node.js (Controller) (HTML5, Twitter Bootstrap, jQuery) Express Eclipse Nodeclipse Deploy & Manage Code RESTful RESTful Communication User Modeling (driver’s psychographic model) Twitter API 8tracks Fetch driver Tweets Tweets AngularJS Template AngularJS Controller
  • 27.
    User Modeled Radio– Connected Car App © 2014 IBM Corporation 27
  • 28.
    User Modeled Radio– Connected Car App Radio tracks / station from 8tracks played based on User Modeling characteristics Extracted Tweets from the driver Explanation for why the track / station was selected from 8tracks Watson User Modeling characteristics & values © 2014 IBM Corporation 28
  • 29.
    Visual depiction ofthe flow ** ** Not implemented in Node-RED. Meant to convey the concept. Š 2014 IBM Corporation 29
  • 30.
    Get hands onfast! • Get a Bluemix account • Try the Watson services free of charge for 30 days • Take the next step toward further development or production deployment © 2014 IBM Corporation 30
  • 31.
    IBMWatson IBM Bluemix facebook.com/ibmbluemix Bluemix.net @ibmbluemix IBM Internet of Things internetofthings.ibmcloud.com developer.ibm.com/iot/ @ibmiot Š 2014 IBM Corporation 31
  • 32.
    Š 2014 IBMCorporation 32