concept person in category graphs

appears as: person, A person, A person, Person, Person, person
Graph Databases in Action

This is an excerpt from Manning's book Graph Databases in Action.

Given a list of employees and managers in a company, as shown in Figure 1.4, let’s examine how we would determine a person’s reporting hierarchy.

  • A person is friends with another person
  • Applying these best practices, we settle on the label: person as shown in Figure 2.7.

    Figure 2.7 - Example vertex with the label of person
    SELECT *
    FROM person AS Ted
           JOIN friends ON friends.person_id = Ted.id
           JOIN person AS Friend ON Friend.id = friends.friend_id
    WHERE Ted.first_name = 'Ted';