Episode 1: Building an App Using the News API
#BuildingWithWatson
Housekeeping Items
• Webinar widgets
• Twitter - #BuildingWithWatson, @IBMWatson
• Follow up
• Webinar slides, live recording and Q&A transcript
• Watson trivia!
©  2015  International  Business  Machines  Corporation
#BuildingWithWatson
Our Expert: Zach Walchuk
©  2015  International  Business  Machines  Corporation
Developer Evangelist,
AlchemyAPI and Watson
Developer Cloud
#BuildingWithWatson
What will be covered today?
• Overview of the Cognitive News API
(AlchemyData News)
• Sample Application
• Sample Call
• Live Demo
• Q&A
©  2015  International  Business  Machines  Corporation
#BuildingWithWatson
Overview
• AlchemyData News collects and enhances
around 300,000 news articles every day
• The full set of AlchemyLanguage NLP enrichments
are available as fields in your query and your
output
• For more information on making calls to the News
service, see our Cognitive News episode of
Alchemist Hour
©  2015  International  Business  Machines  Corporation
#BuildingWithWatson
Sample Application: Who's in the News
• Find recent mentions of celebrities using an
AlchemyData News Query
• For disambiguated celebrities, use DBpedia link to
grab a thumbnail
• Display photos with links to the articles in which the
celebrities are mentioned
©  2015  International  Business  Machines  Corporation
#BuildingWithWatson
Sample Call
©  2015  International  Business  Machines  Corporation
https://access.alchemyapi.com/calls/data/GetNews?outputMode=
json&start=now-
1h&end=now&count=25&q.enriched.url.enrichedTitle.entities.en
tity=|type=person,disambiguated.dbpedia=dbpedia|&return=enri
ched.url.enrichedTitle.entities.entity.disambiguated,enriche
d.url.title,enriched.url.url,enriched.url.enrichedTitle.enti
ties.entity.type&apikey=YOUR_API_KEY
#BuildingWithWatson
Sample Response
©  2015  International  Business  Machines  Corporation
{
"source": {
"enriched": {
"url": {
"enrichedTitle": {
"entities": [
{
"disambiguated": {
"dbpedia": "http://dbpedia.org/resource/Jeb_Bush",
"name": "Jeb Bush",
"subType": [
"Politician",
"Governor",
"PoliticalAppointer",
],
"website": "http://www.jeb.org"
},
"type": "Person"
}
]
},
"title": "Jeb Bush offers plan to repeal, replace ACA: 9 things to know",
"url": "http://www.beckershospitalreview.com/legal-regulatory-issues/jeb-bush-offers-
plan-to-repeal-replace-aca-9-things-to-know.html"
}
}
}
}
#BuildingWithWatson
Are you ready to get started?
• Get more examples from the Watson App Gallery
• The AlchemyData News docs can be found here
• Host your applications on IBM Bluemix and get full access
to all Watson Developer Cloud services
• Join us for more discussion on Slack: go to http://wdc-
slack-inviter.mybluemix.net/ for an invite
©  2015  International  Business  Machines  Corporation
#BuildingWithWatson©  2015  International  Business  Machines  Corporation
Q&A
#BuildingWithWatson
©  2015  International  Business  Machines  Corporation
What’s next?
• Further discussion on Slack
• Follow up email
• The series continues bi-weekly on Wednesdays @ 12pm ET / 9am PT
• October 28th: Taking Speech to a New Level of
Intelligence with Watson’s Language Services
#BuildingWithWatson
©  2015  International  Business  Machines  Corporation
Thank you for attending!
Contact us
Phone: 1-877-253-0308
Email: zach@alchemyapi.com
Online: Watson Developer Cloud

Building with Watson - Using the News API

  • 1.
    Episode 1: Buildingan App Using the News API
  • 2.
    #BuildingWithWatson Housekeeping Items • Webinarwidgets • Twitter - #BuildingWithWatson, @IBMWatson • Follow up • Webinar slides, live recording and Q&A transcript • Watson trivia! ©  2015  International  Business  Machines  Corporation
  • 3.
    #BuildingWithWatson Our Expert: ZachWalchuk ©  2015  International  Business  Machines  Corporation Developer Evangelist, AlchemyAPI and Watson Developer Cloud
  • 4.
    #BuildingWithWatson What will becovered today? • Overview of the Cognitive News API (AlchemyData News) • Sample Application • Sample Call • Live Demo • Q&A ©  2015  International  Business  Machines  Corporation
  • 5.
    #BuildingWithWatson Overview • AlchemyData Newscollects and enhances around 300,000 news articles every day • The full set of AlchemyLanguage NLP enrichments are available as fields in your query and your output • For more information on making calls to the News service, see our Cognitive News episode of Alchemist Hour ©  2015  International  Business  Machines  Corporation
  • 6.
    #BuildingWithWatson Sample Application: Who'sin the News • Find recent mentions of celebrities using an AlchemyData News Query • For disambiguated celebrities, use DBpedia link to grab a thumbnail • Display photos with links to the articles in which the celebrities are mentioned ©  2015  International  Business  Machines  Corporation
  • 7.
    #BuildingWithWatson Sample Call ©  2015 International  Business  Machines  Corporation https://access.alchemyapi.com/calls/data/GetNews?outputMode= json&start=now- 1h&end=now&count=25&q.enriched.url.enrichedTitle.entities.en tity=|type=person,disambiguated.dbpedia=dbpedia|&return=enri ched.url.enrichedTitle.entities.entity.disambiguated,enriche d.url.title,enriched.url.url,enriched.url.enrichedTitle.enti ties.entity.type&apikey=YOUR_API_KEY
  • 8.
    #BuildingWithWatson Sample Response ©  2015 International  Business  Machines  Corporation { "source": { "enriched": { "url": { "enrichedTitle": { "entities": [ { "disambiguated": { "dbpedia": "http://dbpedia.org/resource/Jeb_Bush", "name": "Jeb Bush", "subType": [ "Politician", "Governor", "PoliticalAppointer", ], "website": "http://www.jeb.org" }, "type": "Person" } ] }, "title": "Jeb Bush offers plan to repeal, replace ACA: 9 things to know", "url": "http://www.beckershospitalreview.com/legal-regulatory-issues/jeb-bush-offers- plan-to-repeal-replace-aca-9-things-to-know.html" } } } }
  • 9.
    #BuildingWithWatson Are you readyto get started? • Get more examples from the Watson App Gallery • The AlchemyData News docs can be found here • Host your applications on IBM Bluemix and get full access to all Watson Developer Cloud services • Join us for more discussion on Slack: go to http://wdc- slack-inviter.mybluemix.net/ for an invite ©  2015  International  Business  Machines  Corporation
  • 10.
    #BuildingWithWatson©  2015  International Business  Machines  Corporation Q&A
  • 11.
    #BuildingWithWatson ©  2015  International Business  Machines  Corporation What’s next? • Further discussion on Slack • Follow up email • The series continues bi-weekly on Wednesdays @ 12pm ET / 9am PT • October 28th: Taking Speech to a New Level of Intelligence with Watson’s Language Services
  • 12.
    #BuildingWithWatson ©  2015  International Business  Machines  Corporation Thank you for attending! Contact us Phone: 1-877-253-0308 Email: zach@alchemyapi.com Online: Watson Developer Cloud