O'Reilly logo

Neo4j Cookbook by Ankur Goel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Social data modeling with Neo4j

Data sources, such as Twitter, Facebook, and LinkedIn, are excellent sources of social data, and this data can be modeled in Neo4j to get useful insights.

In this recipe, you will learn how to model LinkedIn data using Neo4j.

Getting ready

Install the Neo4j graph database on the host machine using the recipe described in Chapter 1, Getting Started with Neo4j. This installation process will depend on your preference for your machine OS type.

For this recipe, we will use data from LinkedIn, which although it is not open, some part of it can be obtained using the LinkedIn API.

How to do it...

Let's model this data to get some insights from LinkedIn:

User – [IS_FRIEND_OF] – User[s] User – [IS_EMPLOYEE_OF] – Company[s] User ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required