Developers

Is six degrees of separation for real? We’ve built an app for that.

Share this post:

Six degrees of separation is the theory that anyone on earth can be connected to any other person on the planet through a chain of acquaintances with no more than five intermediaries. Prolific character actor Kevin Bacon has become an icon for the concept of interconnectedness and popularized by the trivia game, “Six Degrees of Kevin Bacon.” Movie buffs challenge each other to find the shortest path between Bacon and an arbitrary actor. The challenge is navigating through endless sources of news to identify individual articles and a clean match-up.

Now there’s an API for that. Using a basic API to query and uncover trends and aggregations across hundreds of thousands of articles and blogs, Watson can get there in half as many steps.

Pre-enriched news content included in the Watson Discovery Service can identify the connections between current newsmakers using a vast pre-populated data set. Within this public, unstructured data you’ll find insights that connect people, businesses, and more.

Zach Walchuk, a Developer Evangelist for Watson Services, created a sample app that uses Watson Discovery to analyze and dig down to find connections between people. The application is dynamic network visualization, built using D3.js for visuals and a network map that can expand and stretch with natural language processing (NLP) metadata.

Princess Leia to Beyonce in three steps

In a video demo now available on YouTube, Zach shows how to set up and run a navigation query over recent news articles containing a given search term in the title. Using “Star Wars” as the search phrase, the query recognizes “people” entities as both characters from the epic film series and the actors who portrayed them: Darth Vader, Princess Leia, Harrison Ford, Daisy Ridley, and Felicity Jones all make appearances. Going deeper into the network map, a search for articles about actor Felicity Jones connects to pop diva Beyoncé, who Jones said in published interviews inspired her Rogue One: A Star Wars Story character.

image 1

Princess Leia to Felicity Jones to Beyoncé. Three degrees of separation.

Are you ready to build on your own with Watson? Find Zach’s code recipe for this app in GitHub and uncover your own degrees of separation. Get a free trial of Discovery Service on Bluemix and share your results on Twitter using #BuildingWithWatson.

Discovery News Demo

Even if you’re not (yet) a skilled developer, you can create your own six degrees of separation between any two people, places, or things using a free and interactive demo of Discovery News. Enter sample queries and view quick output results about entities making the news. Query news content to:

  • Find top entities (people, topics, companies)
  • Extract sentiment over time
  • View sentiment analysis
  • Analyze most frequently co-mentioned entities

Are you ready to start building with Watson?

Senior Copywriter - Digital Services Group

More Developers stories
July 30, 2018

IBM’s data privacy policy for an AI-powered world

Concerning data privacy, IBM Watson services are trained and designed to process files such as customer contracts, disclosures, and reports which facilitate transparency and enable us to comply with international laws and policies.

Continue reading

July 26, 2018

Deep Learning in the Real World

IBM experts discuss the latest trends in machine learning and how businesses are applying deep learning to real-world use cases. Understand the importance of equipping your data science teams with the tools they need to build powerful models in an accessible, open AI environment.

Continue reading

July 16, 2018

Building trust in the age of AI – How businesses can build fairness into their machine learning models

Every organization that develops or uses AI, or hosts or processes data, must do so in ways that allow them to rationalize the decisions or recommendations in a way that is easily consumable. Let's examine Forrester's recommendations how organizations can leverage AI for the good of humankind, while avoiding the ethical pitfalls associated with perceived discrimination.

Continue reading