3 Ways to Enhance Your Product With Cognitive News
Thursday | May 14, 2015 | 12pm ET/9am PT
Pawan LakshmananDirector of Engineering
Kelly TaylorProduct Manager
1. Learn how cognitive news streamlines the aggregation and enrichment process
2. Hear 3 ways the News API can enhance your apps and products today
3. See query examples and understand how to integrate the News API into your project
Goals of this session:
• Open AlchemyAPI docs http://www.alchemyapi.com/api • Open News API docs http://docs.alchemyapi.com • Open the Query Builder http://querybuilder.alchemyapi.com • Get a free API key http://www.alchemyapi.com/api/register.html
Pro Tips for this session:
Cognitive computing involves self-learning systems that use data mining, pattern recognition and natural language processing to mimic the way the human brain works.
Every day we crawl and use natural language processing to enrich more than 250,000 news articles and blog posts from
over 75,000 unique sources.
Use Cases include Sales CRM enrichment, Media monitoring, Content recommendations, Trending topics, Signal detection, Alerts, Research, Historical analysis
http://blog.alchemyapi.com/using-news-api-to-query-worlds-financial-news-like-a-database
• Build a highly targeted, real-time alerting system for financial news
• Find and monitor financial blogs that cover a specific topic or company you want to
• Monitor build an event detection system (company acquisitions, bankruptcy, natural disasters, etc.)
• Research on a particular topic or person • Track trending financial news topics or articles
More Use Cases
• Get a feed of recent news articles that mention "NYSE" • What is the news coverage volume for "GRPN" over time? • Which companies are most co-mentioned with "Yahoo"? • List of company acquisitions by "IBM Watson" • Product and other announcements by "GoPro" • News articles which indicate "S&P 500" involved in lawsuits • Personnel hired/fired by "AMZN" • Get articles where targeted sentiment is ‘positive’ for the "Tesla" • Stock analyst upgrade/downgrade within the "NASDAQ" • Insider trading disclosures by key employees of "Enron" • List of websites who write most about "Alibaba" the company
With the News API, you can understand macro trends or find “needles in the haystack”
http://blog.alchemyapi.com/using-news-api-to-query-worlds-financial-news-like-a-database
AlchemyData News endpoint:
http://access.alchemyapi.com/calls/data/GetNews
For brevity’s sake, this will be referred as {endpoint} in the query examples
Question:How many times was “apple” mentioned in news over the past 1 day?
Question:How many times was “apple” mentioned in news over the past 1 day?
Query:{endpoint}?apikey=KEY&outputMode=json&start=now-1d&end=now&q.enriched.url.title=apple
Question:What are the most recent 50 articles about “apple” in the news?
Question:What are the most recent 50 articles about “Apple” in the news?
Query:{endpoint}?apikey=KEY&outputMode=json&start=now-1d&end=now&q.enriched.url.title=apple &count=50&return=enriched.url.url,enriched.url.title
Question:What are the most recent 50 articles about “Apple” the company in the news?
Question:What are the most recent 50 articles about “Apple” the company in the news?
Query:{endpoint}?apikey=KEY&outputMode=json&start=now-1d&end=now&q.enriched.url.enrichedTitle.entities.entity=|text=apple,type=company|&count=50&return=enriched.url.url,enriched.url.title
Question:What are the most recent 50 articles about “Apple” the company in the news and the sentiment is negative?
Question:What are the most recent 50 articles about “Apple” the company in the news and the sentiment is negative?
Query:{endpoint}?apikey=KEY&outputMode=json&start=now-1d&end=now&q.enriched.url.enrichedTitle.entities.entity=|text=apple,type=company, sentiment.type=negative,sentiment.score=<-0.5|&count=50&return=enriched.url.url,enriched.url.title
Give me articles about “apple”
| \/
Give me articles over past 1 day where sentiment for “apple” the company is highly negative
Trendline Queries
Question: How is“Apple Watch” trending in the news?
Question:How is“Apple Watch” trending in the news?
Query:{endpoint}?apikey=KEY&outputMode=json&start=now-30d&end=now&timeSlice=1d&q.enriched.url.title=A[apple^watch]
Bonus Question: Find news articles that mention a“company acquisition”?
Hint: Use “relations”
Question:Find news articles that mention a“company acquisition”?
Query:{endpoint}?apikey=KEY&outputMode=json&start=now-7d&end=now &count=25&q.enriched.url.enrichedTitle.relations.relation=|subject.entities.entity.type=Company,action.verb.text=acquire,object.entities.entity.type=Company|&return=enriched.url.title,enriched.url.url
Power of Relations!
• Startups raising money • Company announcing new products • Key hirings by companies
Anything that can be represented by a Subject-Verb-Object relation
http://www.alchemyapi.com/api/relation-extraction
Drop us an email describing how the News API can make your app better and we’ll increase your daily limit by
10,000 transactions through June.
http://blog.alchemyapi.com/whos-in-the-news-an-alchemydata-news-application
Pawan LakshmananDirector of Engineering
Kelly TaylorProduct Manager
Thanks and Following Up with Questions